Elm Exactly

Theoremnot_legal_of_syn_one

StandardElmMech/Stat/RefuseAll.lean:37 · term proof

The refusal of a one-module program step 8 refuses in its canonical order.

Statement

theorem not_legal_of_syn_one {B : SBasis} {sp : SProgram} (h1 : sp.modules.length = 1)
    (h : ¬ Src.SynOK sp) : ¬ LegalProgram B sp

Proof

not_legal_of_syn (not_synOKSet_of_one h1 h)

Proved by a term, which Lean's kernel checks directly.

Theorems it uses

In StandardElmMech/Stat/RefuseAll.lean: The refusal deciders certify tries, and the refusals of step 8's syntactic restrictions for one-module programs and texts without main.

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.