theorem
proved
term proof
stable_forms_boolean_algebra
show as:
view Lean formalization →
formal statement (Lean)
57theorem stable_forms_boolean_algebra :
58 (∀ a b : StableState, (band a b).bit = a.bit * b.bit) ∧
59 (∀ a b : StableState, (bor a b).bit = a.bit + b.bit - a.bit * b.bit) ∧
60 (∀ a : StableState, (bnot a).bit = 1 - a.bit) := by
proof body
Term-mode proof.
61 constructor
62 · intro a b
63 rfl
64 constructor
65 · intro a b
66 rfl
67 · intro a
68 rfl
69
70end PreLogicalCost
71end Foundation
72end IndisputableMonolith