TheoremappVal_sound_out
Statement
theorem appVal_sound_out {o : Oracle} {n : Nat} {f v : Val} {k : Nat} {w : Val}
(h : (appVal o n f v k).out = .value w) : AppValL f v w (appVal o n f v k).logProof
by
rcases hr : appVal o n f v k with ⟨out, l, k'⟩
rw [hr] at h; simp only at h; subst h
exact appVal_sound_l hrProved with tactics, which Lean expands into a proof term that its kernel checks.
Theorems it uses
Used by
In StandardElmMech/Eff/Task.lean: Task reduction (TaskRed, 7 rules, r_e_task_*) and its logged twin, focus and plug, the property of task reduction (taskRed_iff, taskRed_outcome, taskRed_kind, taskRed_silent_same, taskRed_none), and the executable step stepTaskL, sound, complete and unique.
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.