Elm Exactly

TheoremmatchPat_next

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

Statement

theorem matchPat_next {E v p k r} (h : matchPat o n E v p k = r) : k ≤ r.next

Proof

(nextAt o n).2.2.2.2.2.2.2.2.2.2.2.2.2.2.2.1 h

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

Theorems it uses

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.