TheoremnoneIsBatch_sound
Statement
theorem noneIsBatch_sound {E : Env} (h : noneIsBatchB E = true) :
EvalDec E (.val (.var "none" noneBody none)) [("none", .batch [])]Proof
by
unfold noneIsBatchB at h
split at h
· rename_i x l k hr
simp only [beq_iff_eq] at h; subst h
exact evDec_sound (by rw [hr])
· cases hProved with tactics, which Lean expands into a proof term that its kernel checks.
Theorems it uses
Used by
In StandardElmMech/Mod/ME0.lean: The dynamic ME0 of the default-imported modules (plan decision D3), the harness Html and Btest (D2), E_default (the environment the default imports give, derived by the rules), the texts of none.
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.