Theoremmem_namesU
Statement
theorem mem_namesU {U : List BVar} {s : String} : s ∈ namesU U ↔ ∃ v ∈ U, v.name? = some sProof
by
simp only [namesU, List.mem_filterMap]Proved with tactics, which Lean expands into a proof term that its kernel checks.
Used by
In StandardElmMech/Stat/Schemes.lean: Type functions, schemes and their canonical form, instances (Gen, genAt), explicit variables (NewFor), closure (closGroup, A93).
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.