The areas / V03. Sets, finite structures and big operators
Mathlib.Data.Finset.Pairwise
10 declarations. Mathlib docs · Source
instance instDecidablePairwiseCoeFinsetOfDecidableEqOfDecidableRel E0 #
{α : Type u_1} → [DecidableEq α] → {r : α → α → Prop} → [DecidableRel r] → {s : Finset α} → Decidable ((↑s).Pairwise r)
theorem Finset.pairwiseDisjoint_range_singleton E1 #
∀ {α : Type u_1}, (Set.range singleton).PairwiseDisjoint id
theorem Set.PairwiseDisjoint.elim_finset E1 #
∀ {α : Type u_1} {ι : Type u_2} {s : Set ι} {f : ι → Finset α},
s.PairwiseDisjoint f → ∀ {i j : ι}, i ∈ s → j ∈ s → ∀ a ∈ f i, a ∈ f j → i = j
theorem Set.PairwiseDisjoint.image_finset_of_le E1 #
∀ {α : Type u_1} {ι : Type u_2} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : DecidableEq ι] {s : Finset ι}
{f : ι → α},
(↑s).PairwiseDisjoint f → ∀ {g : ι → ι}, (∀ (a : ι), f (g a) ≤ f a) → (↑(Finset.image g s)).PairwiseDisjoint f
theorem Set.PairwiseDisjoint.attach E1 #
∀ {α : Type u_1} {ι : Type u_2} [inst : PartialOrder α] [inst_1 : OrderBot α] {s : Finset ι} {f : ι → α},
(↑s).PairwiseDisjoint f → (↑s.attach).PairwiseDisjoint (f ∘ Subtype.val)
theorem Set.PairwiseDisjoint.biUnion_finset E1 #
∀ {α : Type u_1} {ι : Type u_2} {ι' : Type u_3} [inst : Lattice α] [inst_1 : OrderBot α] {s : Set ι'}
{g : ι' → Finset ι} {f : ι → α},
(s.PairwiseDisjoint fun i' ↦ (g i').sup f) →
(∀ i ∈ s, (↑(g i)).PairwiseDisjoint f) → (⋃ i ∈ s, ↑(g i)).PairwiseDisjoint f
Bind operation for Set.PairwiseDisjoint. In a complete lattice, you can use
Set.PairwiseDisjoint.biUnion.
theorem List.pairwise_of_coe_toFinset_pairwise E1 #
∀ {α : Type u_1} [inst : DecidableEq α] {r : α → α → Prop} {l : List α},
(↑l.toFinset).Pairwise r → l.Nodup → List.Pairwise r l
theorem List.pairwise_iff_coe_toFinset_pairwise E1 #
∀ {α : Type u_1} [inst : DecidableEq α] {r : α → α → Prop} {l : List α} [Std.Symm r],
l.Nodup → ((↑l.toFinset).Pairwise r ↔ List.Pairwise r l)
theorem List.pairwise_disjoint_of_coe_toFinset_pairwiseDisjoint E1 #
∀ {α : Type u_4} {ι : Type u_5} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : DecidableEq ι] {l : List ι}
{f : ι → α}, (↑l.toFinset).PairwiseDisjoint f → l.Nodup → List.Pairwise (Function.onFun Disjoint f) l
theorem List.pairwiseDisjoint_iff_coe_toFinset_pairwise_disjoint E1 #
∀ {α : Type u_4} {ι : Type u_5} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : DecidableEq ι] {l : List ι}
{f : ι → α}, l.Nodup → ((↑l.toFinset).PairwiseDisjoint f ↔ List.Pairwise (Function.onFun Disjoint f) l)