Elm Exactly

TheoremceSwap_apply

StandardElmMech/Stat/RenameCounterexample.lean:84 · term proof

Statement

theorem ceSwap_apply (a : TyVar) : ceSwap.tvApply a =
    if a = .fresh 5 .num then .named "number" else if a = .named "number" then .fresh 5 .num else a

Proof

rfl

Proved by a term, which Lean's kernel checks directly.

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.