Elm Exactly

Theoremce_equal

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

With the fix, the two principal program derivations give the same reduced program.

Statement

theorem ce_equal : (reduceProgram Btest ceA).toOption = (reduceProgram Btest ceA').toOption

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.

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.