TheoremfurtherMatchOptB_sound
Statement
theorem furtherMatchOptB_sound (tbl : ConTable) : (m : Option AMatch) → furtherMatchOptB tbl m = true →
FurtherMatchOpt tbl m
| none, _ => trivial
| some m, h => furtherMatchB_sound tbl m hProof
Proved by a term, which Lean's kernel checks directly.
In StandardElmMech/Stat/PatternsProof.lean: The pattern decider is correct: every type is inhabited (inhabited), useful_spec, exhDec_sound, irrDec_sound.
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.