Theorema77_start_any_flags
A77: with unit flags, the start does not depend on the flags.
Statement
theorem a77_start_any_flags (PE : PortEnv) (j j' : BVal) (r : List (String × Val)) (K : Config) :
Start PE .unit j r K ↔ Start PE .unit j' r KProof
by
constructor <;>
· intro h
cases h with
| r_p_init fi fs v1 v cm cs L P Q H sb h1 h2 h3 h4 h5 h6 h7 h8 =>
exact .r_p_init _ _ _ _ fi fs v1 v cm cs L P Q H sb h1 h2
(flagsVal_unit.mpr (flagsVal_unit.mp h3)) h4 h5 h6 h7 h8Proved with tactics, which Lean expands into a proof term that its kernel checks.
Rules of the book it uses
Theorems it uses
About ruling A77 of the book, where the implementations disagreed or were silent and the definition decides.
In StandardElmMech/Prog/Rulings.lean: The rulings A62, A72, A77, A79, A80 and A81 as theorems, and a66_batch_order_open: a program whose batch is delivered in either order.
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.