def
definition
def or abbrev
bnot
show as:
view Lean formalization →
formal statement (Lean)
52def bnot (a : StableState) : StableState := by
proof body
Definition body.
53 refine ⟨1 - a.bit, ?_⟩
54 rcases a.is_bit with ha | ha <;> simp [ha]
55
56/-- The stable arithmetic states form a Boolean-style algebraic fragment. -/