Theoremce_erase
The inferred derivation is a derivation of the program.
Statement
theorem ce_erase : ceA.map AModule.erase = (bareOf ceProg).modulesProof
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.