Elm Exactly

TheoremnotModulesSynOKSet_of_setFails

StandardElmMech/Src/SynSet.lean:109, Refusals whatever the order · tactic proof

Statement

theorem notModulesSynOKSet_of_setFails {p : SProgram} (h : SetFails p) : ¬ ModulesSynOKSet p

Proof

by
  rintro ⟨q, hp, _, hm, hmp, hd, hio, _⟩
  exact not_setFails_of hm hmp hd hio (setFails_perm hp h)

Proved with tactics, which Lean expands into a proof term that its kernel checks.

Theorems it uses

In StandardElmMech/Src/SynSet.lean: The restrictions of the set of a program's modules (SynOKSet) and the refusals of every order.

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.