Elm Exactly

Theoremagrees_ofList

StandardElmMech/Determinism.lean:67 · tactic proof

Statement

theorem agrees_ofList (L : List Bool) : Agrees (Oracle.ofList L) 0 L

Proof

by
  intro i h; simp [Oracle.ofList, List.getD, h]

Proved with tactics, which Lean expands into a proof term that its kernel checks.

Used by

In StandardElmMech/Determinism.lean: noValue_of_stuck, evExp_unique, evExp_unique_l, evExp_complete, noValue_iff, and the same for applications and declarations.

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.