TheoremcheckTypes_sound
Statement
theorem checkTypes_sound (C : Ctx) (TE : TyEnv) (VE : ValEnv) (db : Option BDatBind) (tbs : List BTypBind)
(h : checkTypes C TE VE db tbs = true) : TypesOK (C.oplusTE TE) C db tbs TE VE ∧ TyEnv.tyvars TE = []Proof
⟨checkTypesFix_sound C TE VE db tbs (checkTypes_fix h), checkTypes_closed h⟩Proved by a term, which Lean's kernel checks directly.
Theorems it uses
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.