Elm Exactly

TheoremsynOK_of_dec

StandardElmMech/Src/Restrictions.lean:442, Deciders · term proof

Statement

theorem synOK_of_dec {p : SProgram} (h : decSynOK p = true) : SynOK p

Proof

(decSynOK_iff p).mp h

Proved 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.