TheoremexpChecks_sound
Statement
theorem expChecks_sound {o : Oracle} {E : Env} {e : Exp} {cs : List LogCheck} :
expChecksB o E e cs = true → ExpChecks E e csProof
by
unfold expChecksB
split
· rename_i v l k h; intro hc
exact ⟨v, l, evExp_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
Used by
In StandardElmMech/Checks.lean: What a check states (plan decision D9): Expect (structural values) with its decider, the parser of CHECK values, CheckStmt, the log statements EntryPat, LogCheck, ExpChecks with their deciders, regular expressions Rx.
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.