Elm Exactly

Theoremce_erase

StandardElmMech/Stat/RenameCounterexample.lean:117 · kernel-checked (decide +kernel)

The inferred derivation is a derivation of the program.

Statement

theorem ce_erase : ceA.map AModule.erase = (bareOf ceProg).modules

Proof

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.

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.