TheoremelabTyList_sound
Statement
theorem elabTyList_sound (C : Ctx) : (ts : List BTy) → (τs : List Ty) → elabTyList C ts = some τs → ElTyList C ts τs
| [], τs, h => by unfold elabTyList at h; cases h; exact .seq_nil
| t :: ts, τs, h => by
unfold elabTyList at h
split at h
· rename_i τ τs' h1 h2
cases h
exact .seq_cons (elabTy_sound C t _ h1) (elabTyList_sound C ts _ h2)
· cases hProof
Proved by a term, which Lean's kernel checks directly.
Used by
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.