Elm Exactly

TheoremconIs_iff

StandardElmMech/Complete.lean:105, The index only grows · term proof

Statement

theorem conIs_iff {v : Val} {c : Con} : conIs v c = true ↔ v = .con c []

Proof

⟨conIs_true, fun h => by subst h; simp [conIs]⟩

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

Theorems it uses

Used by

In StandardElmMech/Complete.lean: The index of the next choice only grows (evExp_next and the others); Agrees; lemmas for the side conditions.

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.