def dm2

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/f64light.bend:55

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64light.bend as F64light
import Base

55def dm2(+l: Bool, +r: Bool) -> {Bool.or(Bool.not(r), Bool.not(l)) == Bool.not(Bool.and(l, r)) : Bool}:
56  match l r:
57    case True{} True{}:
58      {==}
59    case True{} False{}:
60      {==}
61    case False{} True{}:
62      {==}
63    case False{} False{}:
64      {==}

Uses (4)

Used by (2)