Elm Exactly

TheoremstepTaskL_sound_eq

StandardElmMech/Prog/Sched.lean:413, Soundness · tactic proof

Statement

theorem stepTaskL_sound_eq {o : Oracle} {n fr : Nat} {tk : Val} {k : Nat} {a : Option Action} {tk' : Val}
    {l : Log} {k' : Nat} (h : stepTaskL o n fr tk k = ⟨.value (a, tk'), l, k'⟩) : TaskRedL tk a tk' l

Proof

by
  have := stepTaskL_sound (o := o) (n := n) (fr := fr) (tk := tk) (k := k) (a := a) (tk' := tk') (by rw [h])
  rw [h] at this; exact this

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

Theorems it uses

Used by

In StandardElmMech/Prog/Sched.lean: The default scheduler (run): one choice per iteration, overridable per test, each transition proved by doChoice_sound; run_sound: every run is an execution.

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.