Theoremnot_synOK_of_dec
Statement
theorem not_synOK_of_dec {p : SProgram} (h : decSynOK p = false) : ¬ SynOK pProof
by
intro hs; rw [(decSynOK_iff p).mpr hs] at h; cases hProved with tactics, which Lean expands into a proof term that its kernel checks.
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.