Elm Exactly

Theoremnot_synOK_of_dec

StandardElmMech/Src/Restrictions.lean:444, Deciders · tactic proof

Statement

theorem not_synOK_of_dec {p : SProgram} (h : decSynOK p = false) : ¬ SynOK p

Proof

by
  intro hs; rw [(decSynOK_iff p).mpr hs] at h; cases h

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