Elm Exactly

Theoremagrees2

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

Statement

theorem agrees2 {o : Oracle} {k : Nat} {L0 L1 : List Bool} (h : Agrees o k (L0 ++ L1)) :
    Agrees o k L0 ∧ Agrees o (k + L0.length) L1

Proof

agrees_append h

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.