Elm Exactly

TheoremfurtherExpOptB_sound

StandardElmMech/Stat/PatternsProof.lean:1092, The further restrictions of a derivation, decided · term proof

Statement

theorem furtherExpOptB_sound (tbl : ConTable) : (e : Option AExp) → furtherExpOptB tbl e = true → FurtherExpOpt tbl e
  | none, _ => trivial
  | some e, h => furtherExpB_sound tbl e h

Proof

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.