The areas / V03. Sets, finite structures and big operators
Mathlib.Data.Finset.Attach
4 declarations. Mathlib docs · Source
Attaching a proof of membership to a finite set
Main declarations
Finset.attach: Givens : Finset α,attach sforms a finset of elements of the subtype{a // a ∈ s}; in other words, it attaches elements to a proof of membership in the set.
Tags
finite sets, finset
attach
def Finset.attach E3 #
{α : Type u_1} → (s : Finset α) → Finset ↥s
attach s takes the elements of s and forms a new set of elements of the subtype
{x // x ∈ s}.
theorem Finset.attach_val E0 #
∀ {α : Type u_1} (s : Finset α), s.attach.val = s.val.attach
theorem Finset.mem_attach E0 #
∀ {α : Type u_1} (s : Finset α) (x : ↥s), x ∈ s.attach
theorem Finset.coe_attach E0 #
∀ {α : Type u_1} (s : Finset α), ↑s.attach = Set.univ