TheoremflagsVal_unit
Statement
theorem flagsVal_unit {j : BVal} {v : Val} : FlagsVal .unit j v ↔ v = .unitProof
by
constructor
· rintro (⟨-, rfl⟩ | ⟨h, -⟩)
· rfl
· exact absurd rfl h
· rintro rfl; exact .inl ⟨rfl, rfl⟩Proved with tactics, which Lean expands into a proof term that its kernel checks.
Used by
In StandardElmMech/Prog/Rulings.lean: The rulings A62, A72, A77, A79, A80 and A81 as theorems, and a66_batch_order_open: a program whose batch is delivered in either order.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.