Elm Exactly

TheoremevConBindOpt_sound

StandardElmMech/Mod/Sound.lean:89 · term proof

Statement

theorem evConBindOpt_sound : ∀ (cb : Option ConBind), EvalConBindOpt cb (evConBindOpt cb)
  | none => by simp only [evConBindOpt]; exact .opt_none
  | some cb => by simp only [evConBindOpt]; exact .opt_some cb _ (evConBind_sound cb)

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.