TheoremlastConfig_append
Statement
theorem lastConfig_append (K : Config) (π : PathL) (x : Option Event × Log × Config) :
lastConfig K (π ++ [x]) = x.2.2Proof
by
simp [lastConfig, List.foldl_append]Proved with tactics, which Lean expands into a proof term that its kernel checks.
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.