Elm Exactly

TheoremnatLookup_natSet_self

StandardElmMech/Prog/Objects.lean:99 · tactic proof

Statement

theorem natLookup_natSet_self {β : Type} (f : List (Nat × β)) (n : Nat) (e : β) :
    natLookup (natSet f n e) n = some e

Proof

by
  simp [natSet, natLookup]

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

Used by

In StandardElmMech/Prog/Objects.lean: Chapter 9's objects of execution (plan step 5): port environments, processes, configurations, events, SleepReady.

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.