Theoremkeys_patOpt
Statement
theorem keys_patOpt : (p : Option APat) → KeysIn (APat.veOpt p) (patVarsOpt (APat.eraseOpt p))
| none => keysIn_nil _
| some p => by
simp only [APat.veOpt, APat.eraseOpt, patVarsOpt]
exact keys_pat pProof
Proved by a term, which Lean's kernel checks directly.
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.