Theoremnot_legal_of_syn
A program that breaks a syntactic restriction (whatever the order of its modules, step 8).
Statement
theorem not_legal_of_syn {B : SBasis} {sp : SProgram} (h : ¬ Src.SynOKSet sp) : ¬ LegalProgram B spProof
fun hl => h hl.1Proved by a term, which Lean's kernel checks directly.
Used by
In StandardElmMech/Stat/Refusals.lean: Refusals (milestone 9d): inversion of Chapter 9's rules, and the lemmas that turn "no derivation checks", "no derivation meets the further restrictions" or "no derivation gives main a Chapter 9 type" into ¬ LegalProgram, with no hypothesis about principality.
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.