TheoremviewChecks_sound
Statement
theorem viewChecks_sound {o : Oracle} {B : Basis} {p : List Module} {cs : List LogCheck} :
viewChecksB o B p cs = true → ViewChecks B p csProof
by
unfold viewChecksB
split
· rename_i v l k h; intro hc
exact ⟨v, l, evProgram_sound_l h, fun c hm => LogCheck.check_sound (List.all_eq_true.mp hc c hm)⟩
· intro h; cases hProved with tactics, which Lean expands into a proof term that its kernel checks.
Theorems it uses
In StandardElmMech/Mod/Program.lean: A test program in module form (plan step 3): Appendix A's derived form for modules (Module.ofSource: the custom types, the aliases, the ports, then the definitions in components), a program's modules in program order; ViewChecks and NoMeaning with their deciders proved sound; viewChecks_every.
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.