Elm Exactly

TheoremevConBind_sound

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

Statement

theorem evConBind_sound : ∀ (cb : ConBind), EvalConBind cb (evConBind cb)
  | .mk c rest => by
    simp only [evConBind]
    exact .r_dm_conbind c rest _ (evConBindOpt_sound rest)

Proof

Proved by a term, which Lean's kernel checks directly.

Rules of the book it uses

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.