TheoremelabTyRowOpt_sound
Statement
theorem elabTyRowOpt_sound (C : Ctx) : (r : Option BTyRow) → (ρ : Row) → elabTyRowOpt C r = some ρ → ElTyRowOpt C r ρ
| none, ρ, h => by unfold elabTyRowOpt at h; cases h; exact .opt_none
| some r, ρ, h => by unfold elabTyRowOpt at h; exact .opt_some (elabTyRow_sound C r ρ h)Proof
Proved by a term, which Lean's kernel checks directly.
In StandardElmMech/Stat/Deterministic.lean: The deterministic parts as functions, each sound for its relation: type expressions, imports and exposing, type declarations given their names (checkTypes), ports.
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.