Theoremcover_perm
Statement
theorem cover_perm {l1 l2 : List (List Nat)} (hp : l1.Perm l2) (h : Cover n l1) : Cover n l2Proof
fun x hx => let ⟨c, hc, hxc⟩ := h x hx; ⟨c, hp.mem_iff.mp hc, hxc⟩Proved by a term, which Lean's kernel checks directly.
Used by
In StandardElmMech/Src/GroupingProof.lean: components_valid: the canonical grouping is one the book allows (ValidNumbering).
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.