Documentation

LeanPool.Circuitlib.Circuit.Belnap.Basic

Belnap circuits #

References #

@[inline]

The AND wire-function on a pair of Belnap-valued wires.

Equations
Instances For
    @[simp]
    theorem Circuit.Belnap.and_leq {a₁ a₂ b₁ b₂ : BelnapLevel} (h0 : a₁ b₁) (h1 : a₂ b₂) :
    a₁.and a₂ b₁.and b₂
    @[inline]

    The OR wire-function on a pair of Belnap-valued wires.

    Equations
    Instances For
      @[simp]
      theorem Circuit.Belnap.or_leq {a₁ a₂ b₁ b₂ : BelnapLevel} (h0 : a₁ b₁) (h1 : a₂ b₂) :
      a₁.or a₂ b₁.or b₂
      @[inline]

      The NOT wire-function on a single Belnap-valued wire.

      Equations
      Instances For
        @[simp]
        theorem Circuit.Belnap.not_leq {x y : BelnapLevel} (h : x y) :
        x.not y.not