Documentation

PrimParser.Necessity

inductive Necessity :

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

Instances For
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Equations
      • One or more equations did not get rendered due to their size.
      Equations
      • One or more equations did not get rendered due to their size.
      Equations
      • One or more equations did not get rendered due to their size.
      Equations
      • One or more equations did not get rendered due to their size.
      Equations
      • One or more equations did not get rendered due to their size.
      Equations
      @[simp]
      @[simp]
      @[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_possibly (a b : Necessity) :
        possibly.ite a b = max (min a b) (min possibly (max a b))
        @[simp]
        theorem Necessity.ite_idem (a b : Necessity) :
        b.ite a a = a