Elm Exactly

TheoremconArgs_none_of

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

Statement

theorem conArgs_none_of {v : Val} {c : Con} {n : Nat} (h : ¬ ∃ vs, v = .con c vs ∧ vs.length = n) :
    conArgs v c n = none

Proof

conArgs_eq_none.mpr (fun vs hv hl => h ⟨vs, hv, hl⟩)

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.