Elm Exactly

Theoremagrees_nil

StandardElmMech/Complete.lean:159, Agreement of an oracle with a list of choices (for completeness, Completeness.lean) · term proof

Statement

theorem agrees_nil {o : Oracle} {k : Nat} : Agrees o k []

Proof

fun i h => absurd h (by simp)

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

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.