Documentation

PrimParser.Necessity

inductive Necessity :

Three-valued modality tracking whether a property holds always, possibly, or never.

Instances For
    @[instance_reducible]
    Equations
    Equations
    Instances For
      @[reducible, noinline]
      Equations
      Instances For
        @[reducible, noinline]
        Equations
        Instances For
          @[instance_reducible]
          Equations
          @[instance_reducible]
          Equations
          @[instance_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          @[instance_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          @[instance_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          @[instance_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          @[instance_reducible]
          Equations
          @[simp]
          theorem Necessity.max_idem (a : Necessity) :
          Max.max a a = a
          @[simp]
          @[reducible, inline]
          abbrev Necessity.ite (sel a b : Necessity) :

          Conditional selection: when sel is always returns a, when never returns b, when possibly returns a conservative value (see theorem ite_possibly and ite_possibly_cases).

          Equations
          Instances For
            @[simp]
            theorem Necessity.ite_always (a b : Necessity) :
            always.ite a b = a
            @[simp]
            theorem Necessity.ite_never (a b : Necessity) :
            never.ite a b = b
            @[simp]
            theorem Necessity.ite_idem (a b : Necessity) :
            b.ite a a = a