TheoremsynOK_of_dec
Statement
theorem synOK_of_dec {p : SProgram} (h : decSynOK p = true) : SynOK pProof
(decSynOK_iff p).mp hProved by a term, which Lean's kernel checks directly.
Theorems it uses
In StandardElmMech/Src/Restrictions.lean: The 27 syntactic restrictions decidable on a syntax tree, each a Prop as the book states it, decidable; ModuleOK, ProgramOK, SynOK, ModulesSynOK.
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.