TheoremevProgram_sound
Statement
theorem evProgram_sound {o : Oracle} {n : Nat} {B : Basis} {p : List Module} {k : Nat} {v : Val} :
(evProgram o n B p k).out = .value v → EvalProgram B p vProof
by
intro h
rcases hr : evProgram o n B p k with ⟨out, l, k'⟩
rw [hr] at h; simp only at h; subst h
exact EvalProgramL.forget (evProgram_sound_l hr)Proved with tactics, which Lean expands into a proof term that its kernel checks.
Theorems it uses
Used by
In StandardElmMech/Mod/Sound.lean: Its soundness.
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.