TheoremkeysIn_mono
Statement
theorem keysIn_mono {f : FMap K V} {xs ys : List K} (h : KeysIn f xs) (hs : ∀ x ∈ xs, x ∈ ys) :
KeysIn f ysProof
fun x v hx => hs x (h x v hx)Proved by a term, which Lean's kernel checks directly.
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.