Theorema82_main_not_exposed
Statement
theorem a82_main_not_exposed :
∃ w, EvalProgram (Btest []) [mA82] w ∧ (Expect.con "node#" [.str "ok"]).holds wProof
programValue_sound (o := .const false) (by decide +kernel)Proved by decide +kernel: Lean's kernel itself runs the decision procedure, here the evaluator, and checks that the answer is true, so nothing outside the kernel is trusted.
Theorems it uses
In StandardElmMech/Mod/Rulings.lean: A82, A38 and A28 on programs written by hand.
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.