Elm Exactly

Theoremany_find?_mapV

StandardElmMech/Stat/RefuseScope.lean:1266, Skeletons of interfaces: what the elaboration of imports reads of them · tactic proof

Statement

theorem any_find?_mapV (VE : ValEnv) (k : String) :
    (FMap.find? (FMap.mapV VE Prod.snd) k).any (· == .c) = (FMap.find? VE k).any (·.2 == .c)

Proof

by
  rw [find?_mapV]
  cases FMap.find? VE k <;> rfl

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

Theorems it uses

Used by

In StandardElmMech/Stat/RefuseScope.lean: Refusals by scope, constructor arity and imports, for one module and for a module after a helper (scopeFailB).

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.