Elm Exactly

TheoremfurtherModInB_sound

StandardElmMech/Stat/PatternsProof.lean:1129, The further restrictions of a derivation, decided · tactic proof

Statement

theorem furtherModInB_sound {B : SBasis} {E : Env} {a : AModule} (h : furtherModInB B E a = true) :
    FurtherModIn B E a

Proof

by
  unfold furtherModInB at h
  unfold FurtherModIn
  split at h
  · rename_i d hd; exact furtherTopDecB_sound _ d h
  · trivial

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

Theorems it uses

Used by

In StandardElmMech/Stat/PatternsProof.lean: The pattern decider is correct: every type is inhabited (inhabited), useful_spec, exhDec_sound, irrDec_sound.

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.