Theoremce_checks
Both check, in the bases they build from the test basis.
Statement
theorem ce_checks : checkProgram Btest ceA = true ∧ checkProgram Btest ceA' = trueProof
by
decide +kernelProved 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.
Used by
In StandardElmMech/Stat/RenameCounterexample.lean: Two principal derivations of one program that specialisation once told apart (finding of 2026-11-12), kept as a regression theorem (ce_equal).
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.