Theoremkeys_patRow
Statement
theorem keys_patRow : (r : APatRow) → KeysIn r.ve (patRowVars r.erase)
| .field l x _ rest => by
simp only [APatRow.ve, APatRow.erase, patRowVars]
refine keysIn_modify (keysIn_single (by simp)) ?_
exact keysIn_mono (keys_patRowOpt rest) (by intro x hx; simp [hx])Proof
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.