Elm Exactly

TheoremsconTest_iff

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

Statement

theorem sconTest_iff {v : Val} {sc : SCon} : sconTest v sc = true ↔ v = valof sc

Proof

⟨sconTest_true, fun h => by subst h; cases sc <;> simp [sconTest, valof]⟩

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.