The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V03. Sets, finite structures and big operators

Mathlib.Data.Set.Disjoint

32 declarations. Mathlib docs · Source

Theorems about the Disjoint relation on Set.

Set coercion to a type

Disjointness

Disjoint sets

theorem Set.disjoint_iff E0 #

∀ {α : Type u} {s t : Set α}, Disjoint s t ↔ s ∩ t ⊆ ∅

theorem Set.disjoint_iff_inter_eq_empty E1 #

∀ {α : Type u} {s t : Set α}, Disjoint s t ↔ s ∩ t = ∅

theorem Disjoint.inter_eq E0 #

∀ {α : Type u} {s t : Set α}, Disjoint s t → s ∩ t = ∅

theorem Set.disjoint_left E1 #

∀ {α : Type u} {s t : Set α}, Disjoint s t ↔ ∀ ⦃a : α⦄, a ∈ s → a ∉ t

theorem Disjoint.notMem_of_mem_left E1 #

∀ {α : Type u} {s t : Set α}, Disjoint s t → ∀ ⦃a : α⦄, a ∈ s → a ∉ t

Alias of the forward direction of Set.disjoint_left.

theorem Set.disjoint_right E1 #

∀ {α : Type u} {s t : Set α}, Disjoint s t ↔ ∀ ⦃a : α⦄, a ∈ t → a ∉ s

theorem Disjoint.notMem_of_mem_right E1 #

∀ {α : Type u} {s t : Set α}, Disjoint s t → ∀ ⦃a : α⦄, a ∈ t → a ∉ s

Alias of the forward direction of Set.disjoint_right.

theorem Set.not_disjoint_iff E0 #

∀ {α : Type u} {s t : Set α}, ¬Disjoint s t ↔ ∃ x ∈ s, x ∈ t

theorem Set.not_disjoint_iff_nonempty_inter E1 #

∀ {α : Type u} {s t : Set α}, ¬Disjoint s t ↔ (s ∩ t).Nonempty

theorem Set.Nonempty.not_disjoint E1 #

∀ {α : Type u} {s t : Set α}, (s ∩ t).Nonempty → ¬Disjoint s t

Alias of the reverse direction of Set.not_disjoint_iff_nonempty_inter.

theorem Set.disjoint_or_nonempty_inter E1 #

∀ {α : Type u} (s t : Set α), Disjoint s t ∨ (s ∩ t).Nonempty

theorem Set.disjoint_iff_forall_ne E1 #

∀ {α : Type u} {s t : Set α}, Disjoint s t ↔ ∀ ⦃a : α⦄, a ∈ s → ∀ ⦃b : α⦄, b ∈ t → a ≠ b

theorem Disjoint.ne_of_mem E1 #

∀ {α : Type u} {s t : Set α}, Disjoint s t → ∀ ⦃a : α⦄, a ∈ s → ∀ ⦃b : α⦄, b ∈ t → a ≠ b

Alias of the forward direction of Set.disjoint_iff_forall_ne.

theorem Set.disjoint_of_subset_left E1 #

∀ {α : Type u} {s t u : Set α}, s ⊆ u → Disjoint u t → Disjoint s t

theorem Set.disjoint_of_subset_right E1 #

∀ {α : Type u} {s t u : Set α}, t ⊆ u → Disjoint s u → Disjoint s t

theorem Set.disjoint_of_subset E1 #

∀ {α : Type u} {s₁ s₂ t₁ t₂ : Set α}, s₁ ⊆ s₂ → t₁ ⊆ t₂ → Disjoint s₂ t₂ → Disjoint s₁ t₁

theorem Set.disjoint_union_left E1 #

∀ {α : Type u} {s t u : Set α}, Disjoint (s ∪ t) u ↔ Disjoint s u ∧ Disjoint t u

theorem Set.disjoint_union_right E1 #

∀ {α : Type u} {s t u : Set α}, Disjoint s (t ∪ u) ↔ Disjoint s t ∧ Disjoint s u

theorem Set.disjoint_empty E0 #

∀ {α : Type u} (s : Set α), Disjoint s ∅

theorem Set.empty_disjoint E0 #

∀ {α : Type u} (s : Set α), Disjoint ∅ s

theorem Set.univ_disjoint E0 #

∀ {α : Type u} {s : Set α}, Disjoint Set.univ s ↔ s = ∅

theorem Set.disjoint_univ E0 #

∀ {α : Type u} {s : Set α}, Disjoint s Set.univ ↔ s = ∅

theorem Set.disjoint_range_iff E0 #

∀ {α : Type u} {β : Sort u_1} {γ : Sort u_2} {x : β → α} {y : γ → α},
  Disjoint (Set.range x) (Set.range y) ↔ ∀ (i : β) (j : γ), x i ≠ y j

theorem Disjoint.union_left E1 #

∀ {α : Type u_1} {s t u : Set α}, Disjoint s u → Disjoint t u → Disjoint (s ∪ t) u

theorem Disjoint.union_right E1 #

∀ {α : Type u_1} {s t u : Set α}, Disjoint s t → Disjoint s u → Disjoint s (t ∪ u)

theorem Disjoint.inter_left E1 #

∀ {α : Type u_1} {s t : Set α} (u : Set α), Disjoint s t → Disjoint (s ∩ u) t

theorem Disjoint.inter_left' E1 #

∀ {α : Type u_1} {s t : Set α} (u : Set α), Disjoint s t → Disjoint (u ∩ s) t

theorem Disjoint.inter_right E1 #

∀ {α : Type u_1} {s t : Set α} (u : Set α), Disjoint s t → Disjoint s (t ∩ u)

theorem Disjoint.inter_right' E1 #

∀ {α : Type u_1} {s t : Set α} (u : Set α), Disjoint s t → Disjoint s (u ∩ t)

theorem Disjoint.subset_left_of_subset_union E1 #

∀ {α : Type u_1} {s t u : Set α}, s ⊆ t ∪ u → Disjoint s u → s ⊆ t

theorem Disjoint.subset_right_of_subset_union E1 #

∀ {α : Type u_1} {s t u : Set α}, s ⊆ t ∪ u → Disjoint s t → s ⊆ u

theorem Set.mem_union_of_disjoint E0 #

∀ {α : Type u_1} {s t : Set α}, Disjoint s t → ∀ {x : α}, x ∈ s ∪ t ↔ Xor (x ∈ s) (x ∈ t)