TheoremevDec_noValue_of_stuck
Statement
theorem evDec_noValue_of_stuck {o : Oracle} {n : Nat} {E : Env} {d : Dec} {k : Nat} {l : Log}
(h : evDec o n E d k = ⟨.stuck, l, k⟩) : ¬ ∃ VE, EvalDec E d VEProof
by
rintro ⟨VE, dd⟩
obtain ⟨l', d'⟩ := EvalDec.lift dd
rcases EvalDecL.nostuck d' o n k _ h with h1 | h1 | h1 <;> simp at h1Proved with tactics, which Lean expands into a proof term that its kernel checks.
Theorems it uses
In StandardElmMech/Determinism.lean: noValue_of_stuck, evExp_unique, evExp_unique_l, evExp_complete, noValue_iff, and the same for applications and declarations.
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.