mathlib documentation

data.set.disjointed

def pairwise {α : Type u_1} (p : α → α → Prop) :
Prop

A relation p holds pairwise if p i j for all i ≠ j.

Equations
theorem set.pairwise_on_univ {α : Type u} {r : α → α → Prop} :

theorem set.pairwise_on.on_injective {α : Type u} {β : Type v} {s : set α} {r : α → α → Prop} (hs : s.pairwise_on r) {f : β → α} (hf : function.injective f) (hfs : ∀ (x : β), f x ∈ s) :
pairwise (r on f)

theorem pairwise_on_bool {α : Type u} {r : α → α → Prop} (hr : symmetric r) {a b : α} :
pairwise (r on λ (c : bool), cond c a b) ↔ r a b

theorem pairwise_disjoint_on_bool {α : Type u} [semilattice_inf_bot α] {a b : α} :
pairwise (disjoint on λ (c : bool), cond c a b) ↔ disjoint a b

theorem pairwise.pairwise_on {α : Type u} {p : α → α → Prop} (h : pairwise p) (s : set α) :

theorem pairwise_disjoint_fiber {α : Type u} {β : Type v} (f : α → β) :
pairwise (disjoint on λ (y : β), f ⁻¹' {y})

def set.disjointed {α : Type u} (f : ℕ → set α) (n : ℕ) :
set α

If f : ℕ → set α is a sequence of sets, then disjointed f is the sequence formed with each set subtracted from the later ones in the sequence, to form a disjoint sequence.

Equations
theorem set.disjoint_disjointed {α : Type u} {f : ℕ → set α} :

theorem set.disjoint_disjointed' {α : Type u} {f : ℕ → set α} (i j : ℕ) (a : i ≠ j) :

theorem set.disjointed_subset {α : Type u} {f : ℕ → set α} {n : ℕ} :

theorem set.Union_lt_succ {α : Type u} {f : ℕ → set α} {n : ℕ} :
(⋃ (i : ℕ) (H : i < n.succ), f i) = f n ∪ ⋃ (i : ℕ) (H : i < n), f i

theorem set.Inter_lt_succ {α : Type u} {f : ℕ → set α} {n : ℕ} :
(⋂ (i : ℕ) (H : i < n.succ), f i) = f n ∩ ⋂ (i : ℕ) (H : i < n), f i

theorem set.subset_Union_disjointed {α : Type u} {f : ℕ → set α} {n : ℕ} :
f n ⊆ ⋃ (i : ℕ) (H : i < n.succ), set.disjointed f i

theorem set.Union_disjointed {α : Type u} {f : ℕ → set α} :
(⋃ (n : ℕ), set.disjointed f n) = ⋃ (n : ℕ), f n

theorem set.disjointed_induct {α : Type u} {f : ℕ → set α} {n : ℕ} {p : set α → Prop} (h₁ : p (f n)) (h₂ : ∀ (t : set α) (i : ℕ), p t → p (t \ f i)) :

theorem set.disjointed_of_mono {α : Type u} {f : ℕ → set α} {n : ℕ} (hf : monotone f) :
set.disjointed f (n + 1) = f (n + 1) \ f n

theorem set.Union_disjointed_of_mono {α : Type u} {f : ℕ → set α} (hf : monotone f) (n : ℕ) :
(⋃ (i : ℕ) (H : i < n.succ), set.disjointed f i) = f n