Elm Exactly

TheoremnoMeaning_sound

StandardElmMech/Mod/Program.lean:115, The statements · tactic proof

Statement

theorem noMeaning_sound {B : Basis} {p : List Module} : stuckB B p = true → NoMeaning B p

Proof

by
  unfold stuckB
  split
  · rename_i l h; intro _; exact noMeaning_of_stuck h
  · intro h; cases h

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

Theorems it uses

In StandardElmMech/Mod/Program.lean: A test program in module form (plan step 3): Appendix A's derived form for modules (Module.ofSource: the custom types, the aliases, the ports, then the definitions in components), a program's modules in program order; ViewChecks and NoMeaning with their deciders proved sound; viewChecks_every.

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.