TheoremevDatBindOpt_sound
Statement
theorem evDatBindOpt_sound : ∀ (db : Option DatBind), EvalDatBindOpt db (evDatBindOpt db).1 (evDatBindOpt db).2
| none => by simp only [evDatBindOpt]; exact .opt_none
| some db => by simp only [evDatBindOpt]; exact .opt_some db _ _ (evDatBind_sound db)Proof
Proved by a term, which Lean's kernel checks directly.
In StandardElmMech/Mod/Sound.lean: Its soundness.
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.