TheoremprincipalModDer_check
Statement
theorem principalModDer_check {B : SBasis} {m : BModule} {B' : SBasis} {E : Env}
(h : PrincipalModDer B m B' E) :
∃ a, a.erase = m ∧ checkModule B a = true ∧ a.result B = some (B', E) ∧ FurtherMod B aProof
by
obtain ⟨a, he, hp, hr, hf⟩ := h
exact ⟨a, he, hp.1, hr, hf⟩Proved with tactics, which Lean expands into a proof term that its kernel checks.
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.