Elm Exactly

TheoremkeysIn_plusAll

StandardElmMech/Stat/RefuseScope.lean:319, Finite maps · term proof

Statement

theorem keysIn_plusAll {fs : List (FMap K V)} {xs : List K} (h : ∀ f ∈ fs, KeysIn f xs) :
    KeysIn (FMap.plusAll fs) xs

Proof

keysIn_foldl (keysIn_nil xs) h

Proved by a term, which Lean's kernel checks directly.

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.