Elm Exactly

Theoremnever_value

StandardElmMech/Theorems.lean:69, The values of Basics written in Elm (sec:appendix-dynamic-basis-elm) · term proof

ME0 binds never to that value.

Statement

theorem never_value : (recVE [("never", .closure neverPat neverBody E_K [])]) = [("never", neverValue)]

Proof

rfl

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

In StandardElmMech/Theorems.lean: The command #mod_program_theorems (one theorem per program, in module form, in Lib.Btest; tagged [library] when the program names a core library value), budgetNative, the rulings stated directly, and theorems that D1 makes possible (a43_one_unique, a51_one_choice, log_order_demo).

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.