Documentation

LeanPool.Circuitlib.Circuit.Belnap.Level

Belnap levels #

References #

The Belnap four-valued logic lattice on Bool, with a bottom (no information) and a top (conflicting information) adjoined.

Equations
Instances For
    @[instance_reducible]
    Equations
    @[instance_reducible]
    Equations
    @[inline]

    The information ordering on Belnap levels: ⊥ is below everything, everything is below ⊤, and the two classical values are only related to themselves.

    Equations
    Instances For
      theorem Circuit.BelnapLevel.le_trans (a b c : BelnapLevel) :
      a.le b → b.le c → a.le c
      @[instance_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      theorem Circuit.BelnapLevel.le_antisymm (a b : BelnapLevel) :
      a ≤ b → b ≤ a → a = b

      The join (least upper bound) on Belnap levels in the information order.

      Instances For
        theorem Circuit.BelnapLevel.sup_le (a b c : BelnapLevel) :
        a ≤ c → b ≤ c → a.sup b ≤ c
        @[instance_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        @[inline]

        Logical AND.

        Instances For
          @[inline]

          Logical OR.

          Instances For
            @[inline]

            Logical NOT.

            Instances For