The areas / V04. Order and lattices
Mathlib.Order.BooleanAlgebra.Set
160 declarations and 80 deprecated aliases. Mathlib docs · Source
Boolean algebra of sets
This file proves that Set α is a Boolean algebra, and proves results about set difference and
complement.
Notation
sᶜfor the complement ofs
Tags
set, sets, subset, subsets, complement
Lemmas about complement
Lemmas about set difference
If-then-else for sets
instance Set.instHImp E0 #
{α : Type u_1} → HImp (Set α)
theorem Set.mem_himp_iff E0 #
∀ {α : Type u_1} {s t : Set α} {a : α}, a ∈ s ⇨ t ↔ a ∈ s → a ∈ t
instance Set.instBooleanAlgebra E3 #
{α : Type u_1} → BooleanAlgebra (Set α)
theorem Set.himp_def E0 #
∀ {α : Type u_1} {s t : Set α}, s ⇨ t = t ∪ sᶜ
theorem Set.inter_sdiff_assoc E1 #
∀ {α : Type u_1} (a b c : Set α), (a ∩ b) \ c = a ∩ (b \ c)
See also Set.sdiff_inter_right_comm.
theorem Set.sdiff_inter_right_comm E1 #
∀ {α : Type u_1} (s t u : Set α), s \ t ∩ u = (s ∩ u) \ t
See also Set.inter_sdiff_assoc.
theorem Set.inter_sdiff_left_comm E1 #
∀ {α : Type u_1} (s t u : Set α), s ∩ (t \ u) = t ∩ (s \ u)
theorem Set.sdiff_union_sdiff_cancel E1 #
∀ {α : Type u_1} {s t u : Set α}, t ⊆ s → u ⊆ t → s \ t ∪ t \ u = s \ u
theorem Set.sdiff_union_sdiff_cancel' E1 #
∀ {α : Type u_1} {s t u : Set α}, s ∩ u ⊆ t → t ⊆ s ∪ u → s \ t ∪ t \ u = s \ u
A version of sdiff_union_sdiff_cancel with more general hypotheses.
theorem Set.sdiff_sdiff_eq_sdiff_union E1 #
∀ {α : Type u_1} {s t u : Set α}, u ⊆ s → s \ (t \ u) = s \ t ∪ u
theorem Set.inter_sdiff_distrib_left E1 #
∀ {α : Type u_1} (s t u : Set α), s ∩ (t \ u) = (s ∩ t) \ (s ∩ u)
theorem Set.inter_sdiff_distrib_right E1 #
∀ {α : Type u_1} (s t u : Set α), s \ t ∩ u = (s ∩ u) \ (t ∩ u)
theorem Set.sdiff_inter_distrib_right E1 #
∀ {α : Type u_1} (s t r : Set α), (t ∩ r) \ s = t \ s ∩ (r \ s)
theorem Set.compl_def E0 #
∀ {α : Type u_1} (s : Set α), sᶜ = {x | x ∉ s}
theorem Set.mem_compl E0 #
∀ {α : Type u_1} {s : Set α} {x : α}, x ∉ s → x ∈ sᶜ
theorem Set.compl_ofPred E1 #
∀ {α : Type u_3} (p : α → Prop), {a | p a}ᶜ = {a | ¬p a}
theorem Set.notMem_of_mem_compl E1 #
∀ {α : Type u_1} {s : Set α} {x : α}, x ∈ sᶜ → x ∉ s
theorem Set.notMem_compl_iff E0 #
∀ {α : Type u_1} {s : Set α} {x : α}, x ∉ sᶜ ↔ x ∈ s
theorem Set.inter_compl_self E1 #
∀ {α : Type u_1} (s : Set α), s ∩ sᶜ = ∅
theorem Set.compl_inter_self E1 #
∀ {α : Type u_1} (s : Set α), sᶜ ∩ s = ∅
theorem Set.compl_empty E0 #
∀ {α : Type u_1}, ∅ᶜ = Set.univ
theorem Set.compl_union E1 #
∀ {α : Type u_1} (s t : Set α), (s ∪ t)ᶜ = sᶜ ∩ tᶜ
theorem Set.compl_inter E1 #
∀ {α : Type u_1} (s t : Set α), (s ∩ t)ᶜ = sᶜ ∪ tᶜ
theorem Set.compl_univ E0 #
∀ {α : Type u_1}, Set.univᶜ = ∅
theorem Set.compl_empty_iff E0 #
∀ {α : Type u_1} {s : Set α}, sᶜ = ∅ ↔ s = Set.univ
theorem Set.compl_univ_iff E0 #
∀ {α : Type u_1} {s : Set α}, sᶜ = Set.univ ↔ s = ∅
theorem Set.compl_ne_univ E1 #
∀ {α : Type u_1} {s : Set α}, sᶜ ≠ Set.univ ↔ s.Nonempty
theorem Set.inl_compl_union_inr_compl E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {t : Set β}, Sum.inl '' sᶜ ∪ Sum.inr '' tᶜ = (Sum.inl '' s ∪ Sum.inr '' t)ᶜ
theorem Set.nonempty_compl E1 #
∀ {α : Type u_1} {s : Set α}, sᶜ.Nonempty ↔ s ≠ Set.univ
theorem Set.union_eq_compl_compl_inter_compl E1 #
∀ {α : Type u_1} (s t : Set α), s ∪ t = (sᶜ ∩ tᶜ)ᶜ
theorem Set.inter_eq_compl_compl_union_compl E1 #
∀ {α : Type u_1} (s t : Set α), s ∩ t = (sᶜ ∪ tᶜ)ᶜ
theorem Set.union_compl_self E1 #
∀ {α : Type u_1} (s : Set α), s ∪ sᶜ = Set.univ
theorem Set.compl_union_self E1 #
∀ {α : Type u_1} (s : Set α), sᶜ ∪ s = Set.univ
theorem Set.compl_subset_comm E1 #
∀ {α : Type u_1} {s t : Set α}, sᶜ ⊆ t ↔ tᶜ ⊆ s
theorem Set.subset_compl_comm E1 #
∀ {α : Type u_1} {s t : Set α}, s ⊆ tᶜ ↔ t ⊆ sᶜ
theorem Set.compl_subset_compl E1 #
∀ {α : Type u_1} {s t : Set α}, sᶜ ⊆ tᶜ ↔ t ⊆ s
theorem Set.compl_subset_compl_of_subset E1 #
∀ {α : Type u_1} {s t : Set α}, t ⊆ s → sᶜ ⊆ tᶜ
theorem Set.subset_union_compl_iff_inter_subset E1 #
∀ {α : Type u_1} {s t u : Set α}, s ⊆ t ∪ uᶜ ↔ s ∩ u ⊆ t
theorem Set.compl_subset_iff_union E1 #
∀ {α : Type u_1} {s t : Set α}, sᶜ ⊆ t ↔ s ∪ t = Set.univ
theorem Set.inter_subset E1 #
∀ {α : Type u_1} (a b c : Set α), a ∩ b ⊆ c ↔ a ⊆ bᶜ ∪ c
theorem Set.inter_compl_nonempty_iff E0 #
∀ {α : Type u_1} {s t : Set α}, (s ∩ tᶜ).Nonempty ↔ ¬s ⊆ t
theorem Set.subset_compl_iff_disjoint_left E1 #
∀ {α : Type u_1} {s t : Set α}, s ⊆ tᶜ ↔ Disjoint t s
theorem Set.subset_compl_iff_disjoint_right E1 #
∀ {α : Type u_1} {s t : Set α}, s ⊆ tᶜ ↔ Disjoint s t
theorem Set.disjoint_compl_left_iff_subset E1 #
∀ {α : Type u_1} {s t : Set α}, Disjoint sᶜ t ↔ t ⊆ s
theorem Set.disjoint_compl_right_iff_subset E1 #
∀ {α : Type u_1} {s t : Set α}, Disjoint s tᶜ ↔ s ⊆ t
theorem Disjoint.subset_compl_right E1 #
∀ {α : Type u_1} {s t : Set α}, Disjoint s t → s ⊆ tᶜ
Alias of the reverse direction of Set.subset_compl_iff_disjoint_right.
theorem Disjoint.subset_compl_left E1 #
∀ {α : Type u_1} {s t : Set α}, Disjoint t s → s ⊆ tᶜ
Alias of the reverse direction of Set.subset_compl_iff_disjoint_left.
theorem Set.nonempty_compl_of_nontrivial E0 #
∀ {α : Type u_1} [Nontrivial α] (x : α), {x}ᶜ.Nonempty
theorem Set.mem_compl_singleton_iff E0 #
∀ {α : Type u_1} {a b : α}, a ∈ {b}ᶜ ↔ a ≠ b
theorem Set.compl_singleton_eq E0 #
∀ {α : Type u_1} (a : α), {a}ᶜ = {x | x ≠ a}
theorem Set.compl_ne_eq_singleton E0 #
∀ {α : Type u_1} (a : α), {x | x ≠ a}ᶜ = {a}
theorem Set.subset_compl_singleton_iff E0 #
∀ {α : Type u_1} {s : Set α} {a : α}, s ⊆ {a}ᶜ ↔ a ∉ s
theorem Set.notMem_sdiff_of_mem E1 #
∀ {α : Type u_1} {s t : Set α} {x : α}, x ∈ t → x ∉ s \ t
theorem Set.mem_of_mem_sdiff E0 #
∀ {α : Type u_1} {s t : Set α} {x : α}, x ∈ s \ t → x ∈ s
theorem Set.notMem_of_mem_sdiff E1 #
∀ {α : Type u_1} {s t : Set α} {x : α}, x ∈ s \ t → x ∉ t
theorem Set.sdiff_eq_compl_inter E1 #
∀ {α : Type u_1} {s t : Set α}, s \ t = tᶜ ∩ s
theorem Set.sdiff_nonempty E1 #
∀ {α : Type u_1} {s t : Set α}, (s \ t).Nonempty ↔ ¬s ⊆ t
theorem Set.sdiff_subset E1 #
∀ {α : Type u_1} {s t : Set α}, s \ t ⊆ s
theorem Set.sdiff_subset_compl E1 #
∀ {α : Type u_1} (s t : Set α), s \ t ⊆ tᶜ
theorem Set.union_sdiff_cancel' E1 #
∀ {α : Type u_1} {s t u : Set α}, s ⊆ t → t ⊆ u → t ∪ u \ s = u
theorem Set.union_sdiff_cancel E1 #
∀ {α : Type u_1} {s t : Set α}, s ⊆ t → s ∪ t \ s = t
theorem Set.union_sdiff_cancel_left E1 #
∀ {α : Type u_1} {s t : Set α}, s ∩ t ⊆ ∅ → (s ∪ t) \ s = t
theorem Set.union_sdiff_cancel_right E1 #
∀ {α : Type u_1} {s t : Set α}, s ∩ t ⊆ ∅ → (s ∪ t) \ t = s
theorem Set.union_sdiff_left E1 #
∀ {α : Type u_1} {s t : Set α}, (s ∪ t) \ s = t \ s
theorem Set.union_sdiff_right E1 #
∀ {α : Type u_1} {s t : Set α}, (s ∪ t) \ t = s \ t
theorem Set.union_sdiff_distrib E1 #
∀ {α : Type u_1} {s t u : Set α}, (s ∪ t) \ u = s \ u ∪ t \ u
theorem Set.inter_sdiff_self E1 #
∀ {α : Type u_1} (a b : Set α), a ∩ (b \ a) = ∅
theorem Set.inter_union_sdiff E1 #
∀ {α : Type u_1} (s t : Set α), s ∩ t ∪ s \ t = s
theorem Set.sdiff_union_inter E1 #
∀ {α : Type u_1} (s t : Set α), s \ t ∪ s ∩ t = s
theorem Set.inter_union_compl E1 #
∀ {α : Type u_1} (s t : Set α), s ∩ t ∪ s ∩ tᶜ = s
theorem Set.subset_inter_union_compl_left E1 #
∀ {α : Type u_1} (s t : Set α), t ⊆ s ∩ t ∪ sᶜ
theorem Set.subset_inter_union_compl_right E1 #
∀ {α : Type u_1} (s t : Set α), s ⊆ s ∩ t ∪ tᶜ
theorem Set.union_inter_compl_left_subset E1 #
∀ {α : Type u_1} (s t : Set α), (s ∪ t) ∩ sᶜ ⊆ t
theorem Set.union_inter_compl_right_subset E1 #
∀ {α : Type u_1} (s t : Set α), (s ∪ t) ∩ tᶜ ⊆ s
theorem Set.sdiff_subset_sdiff E1 #
∀ {α : Type u_1} {s₁ s₂ t₁ t₂ : Set α}, s₁ ⊆ s₂ → t₂ ⊆ t₁ → s₁ \ t₁ ⊆ s₂ \ t₂
theorem Set.sdiff_subset_sdiff_left E1 #
∀ {α : Type u_1} {s₁ s₂ t : Set α}, s₁ ⊆ s₂ → s₁ \ t ⊆ s₂ \ t
theorem Set.sdiff_subset_sdiff_right E1 #
∀ {α : Type u_1} {s t u : Set α}, t ⊆ u → s \ u ⊆ s \ t
theorem Set.sdiff_subset_sdiff_iff_subset E1 #
∀ {α : Type u_1} {s t r : Set α}, s ⊆ r → t ⊆ r → (r \ s ⊆ r \ t ↔ t ⊆ s)
theorem Set.compl_eq_univ_sdiff E1 #
∀ {α : Type u_1} (s : Set α), sᶜ = Set.univ \ s
theorem Set.empty_sdiff E0 #
∀ {α : Type u_1} (s : Set α), ∅ \ s = ∅
theorem Set.sdiff_eq_empty E1 #
∀ {α : Type u_1} {s t : Set α}, s \ t = ∅ ↔ s ⊆ t
theorem Set.sdiff_empty E0 #
∀ {α : Type u_1} {s : Set α}, s \ ∅ = s
theorem Set.sdiff_univ E0 #
∀ {α : Type u_1} (s : Set α), s \ Set.univ = ∅
theorem Set.sdiff_sdiff E1 #
∀ {α : Type u_1} {s t u : Set α}, (s \ t) \ u = s \ (t ∪ u)
theorem Set.sdiff_sdiff_comm E1 #
∀ {α : Type u_1} {s t u : Set α}, (s \ t) \ u = (s \ u) \ t
theorem Set.sdiff_subset_iff E0 #
∀ {α : Type u_1} {s t u : Set α}, s \ t ⊆ u ↔ s ⊆ t ∪ u
theorem Set.subset_sdiff_union E1 #
∀ {α : Type u_1} (s t : Set α), s ⊆ s \ t ∪ t
theorem Set.sdiff_union_of_subset E1 #
∀ {α : Type u_1} {s t : Set α}, t ⊆ s → s \ t ∪ t = s
theorem Set.sdiff_subset_comm E1 #
∀ {α : Type u_1} {s t u : Set α}, s \ t ⊆ u ↔ s \ u ⊆ t
theorem Set.sdiff_inter E1 #
∀ {α : Type u_1} {s t u : Set α}, s \ (t ∩ u) = s \ t ∪ s \ u
theorem Set.sdiff_inter_sdiff E1 #
∀ {α : Type u_1} {s t u : Set α}, s \ t ∩ (s \ u) = s \ (t ∪ u)
theorem Set.sdiff_compl E1 #
∀ {α : Type u_1} {s t : Set α}, s \ tᶜ = s ∩ t
theorem Set.compl_sdiff E1 #
∀ {α : Type u_1} {s t : Set α}, (t \ s)ᶜ = s ∪ tᶜ
theorem Set.sdiff_sdiff_right E1 #
∀ {α : Type u_1} {s t u : Set α}, s \ (t \ u) = s \ t ∪ s ∩ u
theorem Set.inter_sdiff_right_comm E1 #
∀ {α : Type u_1} {s t u : Set α}, (s ∩ t) \ u = s \ u ∩ t
theorem Set.union_sdiff_self E1 #
∀ {α : Type u_1} {s t : Set α}, s ∪ t \ s = s ∪ t
theorem Set.sdiff_union_self E1 #
∀ {α : Type u_1} {s t : Set α}, s \ t ∪ t = s ∪ t
theorem Set.sdiff_inter_self E1 #
∀ {α : Type u_1} {a b : Set α}, b \ a ∩ a = ∅
theorem Set.sdiff_inter_self_eq_sdiff E1 #
∀ {α : Type u_1} {s t : Set α}, s \ (t ∩ s) = s \ t
theorem Set.sdiff_self_inter E1 #
∀ {α : Type u_1} {s t : Set α}, s \ (s ∩ t) = s \ t
theorem Set.sdiff_self E1 #
∀ {α : Type u_1} {s : Set α}, s \ s = ∅
theorem Set.sdiff_sdiff_right_self E1 #
∀ {α : Type u_1} (s t : Set α), s \ (s \ t) = s ∩ t
theorem Set.sdiff_sdiff_cancel_left E1 #
∀ {α : Type u_1} {s t : Set α}, s ⊆ t → t \ (t \ s) = s
theorem Set.union_eq_sdiff_union_sdiff_union_inter E1 #
∀ {α : Type u_1} (s t : Set α), s ∪ t = s \ t ∪ t \ s ∪ s ∩ t
theorem Set.sdiff_sep_self E0 #
∀ {α : Type u_1} (s : Set α) (p : α → Prop), s \ {a | a ∈ s ∧ p a} = {a | a ∈ s ∧ ¬p a}
theorem Set.disjoint_sdiff_left E1 #
∀ {α : Type u_1} {s t : Set α}, Disjoint (t \ s) s
theorem Set.disjoint_sdiff_right E1 #
∀ {α : Type u_1} {s t : Set α}, Disjoint s (t \ s)
theorem Set.disjoint_sdiff_inter E1 #
∀ {α : Type u_1} {s t : Set α}, Disjoint (s \ t) (s ∩ t)
theorem Set.subset_sdiff E1 #
∀ {α : Type u_1} {s t u : Set α}, s ⊆ t \ u ↔ s ⊆ t ∧ Disjoint s u
theorem Set.disjoint_of_subset_iff_left_eq_empty E1 #
∀ {α : Type u_1} {s t : Set α}, s ⊆ t → (Disjoint s t ↔ s = ∅)
theorem Set.sdiff_ssubset_left_iff E0 #
∀ {α : Type u_1} {s t : Set α}, s \ t ⊂ s ↔ (s ∩ t).Nonempty
theorem LE.le.sdiff_ssubset_of_nonempty E1 #
∀ {α : Type u_1} {s t : Set α}, s ⊆ t → s.Nonempty → t \ s ⊂ t
theorem Set.ssubset_iff_sdiff_singleton E1 #
∀ {α : Type u_1} {s t : Set α}, s ⊂ t ↔ ∃ a ∈ t, s ⊆ t \ {a}
theorem Set.sdiff_singleton_subset_iff E0 #
∀ {α : Type u_1} {s t : Set α} {a : α}, s \ {a} ⊆ t ↔ s ⊆ insert a t
theorem Set.subset_sdiff_singleton E1 #
∀ {α : Type u_1} {s t : Set α} {a : α}, s ⊆ t → a ∉ s → s ⊆ t \ {a}
theorem Set.subset_insert_sdiff_singleton E1 #
∀ {α : Type u_1} (x : α) (s : Set α), s ⊆ insert x (s \ {x})
theorem Set.sdiff_insert_of_notMem E1 #
∀ {α : Type u_1} {s t : Set α} {a : α}, a ∉ s → s \ insert a t = s \ t
theorem Set.insert_sdiff_of_mem E0 #
∀ {α : Type u_1} {t : Set α} {a : α} (s : Set α), a ∈ t → insert a s \ t = s \ t
theorem Set.insert_sdiff_of_notMem E1 #
∀ {α : Type u_1} {t : Set α} {a : α} (s : Set α), a ∉ t → insert a s \ t = insert a (s \ t)
theorem Set.insert_sdiff_self_of_notMem E1 #
∀ {α : Type u_1} {s : Set α} {a : α}, a ∉ s → insert a s \ {a} = s
theorem Set.insert_sdiff_self_of_mem E0 #
∀ {α : Type u_1} {s : Set α} {a : α}, a ∈ s → insert a (s \ {a}) = s
theorem Set.insert_sdiff_subset E1 #
∀ {α : Type u_1} {s t : Set α} {a : α}, insert a s \ t ⊆ insert a (s \ t)
theorem Set.insert_erase_invOn E1 #
∀ {α : Type u_1} {a : α}, Set.InvOn (insert a) (fun s ↦ s \ {a}) {s | a ∈ s} {s | a ∉ s}
theorem Set.union_left_inj E1 #
∀ {α : Type u_1} {s t u : Set α}, Disjoint u s → Disjoint u t → (s ∪ u = t ∪ u ↔ s = t)
theorem Set.disjoint_injOn_union_left E1 #
∀ {α : Type u_1} (s : Set α), Set.InjOn (fun x ↦ x ∪ s) {t | Disjoint s t}
theorem Set.superset_injOn_sdiff E1 #
∀ {α : Type u_1} (s : Set α), Set.InjOn (fun x ↦ x \ s) {t | s ⊆ t}
theorem Set.insert_right_inj E1 #
∀ {α : Type u_1} {s t : Set α} {a : α}, a ∉ s → a ∉ t → (insert a s = insert a t ↔ s = t)
theorem Set.insert_injOn_notMem E1 #
∀ {α : Type u_1} (a : α), Set.InjOn (insert a) {s | a ∉ s}
theorem Set.sdiff_singleton_injOn_mem E1 #
∀ {α : Type u_1} (a : α), Set.InjOn (fun x ↦ x \ {a}) {s | a ∈ s}
theorem Set.sdiff_singleton_eq_self E0 #
∀ {α : Type u_1} {s : Set α} {a : α}, a ∉ s → s \ {a} = s
theorem Set.sdiff_singleton_ssubset E1 #
∀ {α : Type u_1} {s : Set α} {a : α}, s \ {a} ⊂ s ↔ a ∈ s
theorem Set.insert_sdiff_singleton E0 #
∀ {α : Type u_1} {s : Set α} {a : α}, insert a (s \ {a}) = insert a s
theorem Set.insert_sdiff_singleton_comm E1 #
∀ {α : Type u_1} {a b : α}, a ≠ b → ∀ (s : Set α), insert a (s \ {b}) = insert a s \ {b}
theorem Set.insert_sdiff_insert E0 #
∀ {α : Type u_1} {s t : Set α} {a : α}, insert a (s \ insert a t) = insert a (s \ t)
theorem Set.mem_sdiff_singleton E0 #
∀ {α : Type u_1} {s : Set α} {a b : α}, a ∈ s \ {b} ↔ a ∈ s ∧ a ≠ b
theorem Set.mem_sdiff_singleton_empty E0 #
∀ {α : Type u_1} {s : Set α} {t : Set (Set α)}, s ∈ t \ {∅} ↔ s ∈ t ∧ s.Nonempty
theorem Set.subset_insert_iff E0 #
∀ {α : Type u_1} {s t : Set α} {a : α}, s ⊆ insert a t ↔ s ⊆ t ∨ a ∈ s ∧ s \ {a} ⊆ t
theorem Set.pair_sdiff_left E1 #
∀ {α : Type u_1} {a b : α}, a ≠ b → {a, b} \ {a} = {b}
theorem Set.pair_sdiff_right E1 #
∀ {α : Type u_1} {a b : α}, a ≠ b → {a, b} \ {b} = {a}
def Set.ite E1 #
{α : Type u_1} → Set α → Set α → Set α → Set α
ite for sets: Set.ite t s s' ∩ t = s ∩ t, Set.ite t s s' ∩ tᶜ = s' ∩ tᶜ.
Defined as s ∩ t ∪ s' \ t.
theorem Set.ite_inter_self E0 #
∀ {α : Type u_1} (t s s' : Set α), t.ite s s' ∩ t = s ∩ t
theorem Set.ite_compl E0 #
∀ {α : Type u_1} (t s s' : Set α), tᶜ.ite s s' = t.ite s' s
theorem Set.ite_inter_compl_self E0 #
∀ {α : Type u_1} (t s s' : Set α), t.ite s s' ∩ tᶜ = s' ∩ tᶜ
theorem Set.ite_sdiff_self E0 #
∀ {α : Type u_1} (t s s' : Set α), t.ite s s' \ t = s' \ t
theorem Set.ite_same E0 #
∀ {α : Type u_1} (t s : Set α), t.ite s s = s
theorem Set.ite_left E0 #
∀ {α : Type u_1} (s t : Set α), s.ite s t = s ∪ t
theorem Set.ite_right E0 #
∀ {α : Type u_1} (s t : Set α), s.ite t s = t ∩ s
theorem Set.ite_empty E0 #
∀ {α : Type u_1} (s s' : Set α), ∅.ite s s' = s'
theorem Set.ite_univ E0 #
∀ {α : Type u_1} (s s' : Set α), Set.univ.ite s s' = s
theorem Set.ite_empty_left E0 #
∀ {α : Type u_1} (t s : Set α), t.ite ∅ s = s \ t
theorem Set.ite_empty_right E0 #
∀ {α : Type u_1} (t s : Set α), t.ite s ∅ = s ∩ t
theorem Set.ite_mono E1 #
∀ {α : Type u_1} (t : Set α) {s₁ s₁' s₂ s₂' : Set α}, s₁ ⊆ s₂ → s₁' ⊆ s₂' → t.ite s₁ s₁' ⊆ t.ite s₂ s₂'
theorem Set.ite_subset_union E1 #
∀ {α : Type u_1} (t s s' : Set α), t.ite s s' ⊆ s ∪ s'
theorem Set.inter_subset_ite E1 #
∀ {α : Type u_1} (t s s' : Set α), s ∩ s' ⊆ t.ite s s'
theorem Set.ite_inter_inter E1 #
∀ {α : Type u_1} (t s₁ s₂ s₁' s₂' : Set α), t.ite (s₁ ∩ s₂) (s₁' ∩ s₂') = t.ite s₁ s₁' ∩ t.ite s₂ s₂'
theorem Set.ite_inter E1 #
∀ {α : Type u_1} (t s₁ s₂ s : Set α), t.ite (s₁ ∩ s) (s₂ ∩ s) = t.ite s₁ s₂ ∩ s
theorem Set.ite_inter_of_inter_eq E0 #
∀ {α : Type u_1} (t : Set α) {s₁ s₂ s : Set α}, s₁ ∩ s = s₂ ∩ s → t.ite s₁ s₂ ∩ s = s₁ ∩ s
theorem Set.subset_ite E1 #
∀ {α : Type u_1} {t s s' u : Set α}, u ⊆ t.ite s s' ↔ u ∩ t ⊆ s ∧ u \ t ⊆ s'
theorem Set.ite_eq_of_subset_left E1 #
∀ {α : Type u_1} (t : Set α) {s₁ s₂ : Set α}, s₁ ⊆ s₂ → t.ite s₁ s₂ = s₁ ∪ s₂ \ t
theorem Set.ite_eq_of_subset_right E1 #
∀ {α : Type u_1} (t : Set α) {s₁ s₂ : Set α}, s₂ ⊆ s₁ → t.ite s₁ s₂ = s₁ ∩ t ∪ s₂
Deprecated aliases
| Name | New name | Since |
|---|---|---|
HasSubset.Subset.diff_ssubset_of_nonempty | LE.le.sdiff_ssubset_of_nonempty | 2026-06-03 |
HasSubset.Subset.disjoint_compl_left | LE.le.disjoint_compl_left | 2026-06-05 |
HasSubset.Subset.disjoint_compl_right | LE.le.disjoint_compl_right | 2026-06-05 |
HasSubset.Subset.sdiff_ssubset_of_nonempty | LE.le.sdiff_ssubset_of_nonempty | 2026-06-05 |
Set.compl_diff | Set.compl_sdiff | 2026-06-03 |
Set.compl_eq_univ_diff | Set.compl_eq_univ_sdiff | 2026-06-03 |
Set.compl_setOf | Set.compl_ofPred | 2026-07-09 |
Set.diff_compl | Set.sdiff_compl | 2026-06-03 |
Set.diff_diff | Set.sdiff_sdiff | 2026-06-03 |
Set.diff_diff_cancel_left | Set.sdiff_sdiff_cancel_left | 2026-06-03 |
Set.diff_diff_comm | Set.sdiff_sdiff_comm | 2026-06-03 |
Set.diff_diff_eq_sdiff_union | Set.sdiff_sdiff_eq_sdiff_union | 2026-06-03 |
Set.diff_diff_right | Set.sdiff_sdiff_right | 2026-06-03 |
Set.diff_diff_right_self | Set.sdiff_sdiff_right_self | 2026-06-03 |
Set.diff_empty | Set.sdiff_empty | 2026-06-03 |
Set.diff_eq_compl_inter | Set.sdiff_eq_compl_inter | 2026-06-03 |
Set.diff_eq_empty | Set.sdiff_eq_empty | 2026-06-03 |
Set.diff_insert_of_notMem | Set.sdiff_insert_of_notMem | 2026-06-03 |
Set.diff_inter | Set.sdiff_inter | 2026-06-03 |
Set.diff_inter_diff | Set.sdiff_inter_sdiff | 2026-06-03 |
Set.diff_inter_distrib_right | Set.sdiff_inter_distrib_right | 2026-06-03 |
Set.diff_inter_right_comm | Set.inter_sdiff_right_comm | 2026-06-03 |
Set.diff_inter_self | Set.sdiff_inter_self | 2026-06-03 |
Set.diff_inter_self_eq_diff | Set.sdiff_inter_self_eq_sdiff | 2026-06-03 |
Set.diff_nonempty | Set.sdiff_nonempty | 2026-06-03 |
Set.diff_self | Set.sdiff_self | 2026-06-03 |
Set.diff_self_inter | Set.sdiff_self_inter | 2026-06-03 |
Set.diff_singleton_eq_self | Set.sdiff_singleton_eq_self | 2026-06-03 |
Set.diff_singleton_ssubset | Set.sdiff_singleton_ssubset | 2026-06-03 |
Set.diff_singleton_subset_iff | Set.sdiff_singleton_subset_iff | 2026-06-03 |
Set.diff_ssubset_left_iff | Set.sdiff_ssubset_left_iff | 2026-06-03 |
Set.diff_subset | Set.sdiff_subset | 2026-06-03 |
Set.diff_subset_comm | Set.sdiff_subset_comm | 2026-06-03 |
Set.diff_subset_compl | Set.sdiff_subset_compl | 2026-06-03 |
Set.diff_subset_diff | Set.sdiff_subset_sdiff | 2026-06-03 |
Set.diff_subset_diff_iff_subset | Set.sdiff_subset_sdiff_iff_subset | 2026-06-03 |
Set.diff_subset_diff_left | Set.sdiff_subset_sdiff_left | 2026-06-03 |
Set.diff_subset_diff_right | Set.sdiff_subset_sdiff_right | 2026-06-03 |
Set.diff_subset_iff | Set.sdiff_subset_iff | 2026-06-03 |
Set.diff_union_diff_cancel | Set.sdiff_union_sdiff_cancel | 2026-06-03 |
Set.diff_union_diff_cancel' | Set.sdiff_union_sdiff_cancel' | 2026-06-03 |
Set.diff_union_inter | Set.sdiff_union_inter | 2026-06-03 |
Set.diff_union_of_subset | Set.sdiff_union_of_subset | 2026-06-03 |
Set.diff_union_self | Set.sdiff_union_self | 2026-06-03 |
Set.diff_univ | Set.sdiff_univ | 2026-06-03 |
Set.empty_diff | Set.empty_sdiff | 2026-06-03 |
Set.insert_diff_insert | Set.insert_sdiff_insert | 2026-06-03 |
Set.insert_diff_of_mem | Set.insert_sdiff_of_mem | 2026-06-03 |
Set.insert_diff_of_notMem | Set.insert_sdiff_of_notMem | 2026-06-03 |
Set.insert_diff_self_of_mem | Set.insert_sdiff_self_of_mem | 2026-06-03 |
Set.insert_diff_self_of_notMem | Set.insert_sdiff_self_of_notMem | 2026-06-03 |
Set.insert_diff_singleton | Set.insert_sdiff_singleton | 2026-06-03 |
Set.insert_diff_singleton_comm | Set.insert_sdiff_singleton_comm | 2026-06-03 |
Set.insert_diff_subset | Set.insert_sdiff_subset | 2026-06-03 |
Set.inter_diff_assoc | Set.inter_sdiff_assoc | 2026-06-03 |
Set.inter_diff_distrib_left | Set.inter_sdiff_distrib_left | 2026-06-03 |
Set.inter_diff_distrib_right | Set.inter_sdiff_distrib_right | 2026-06-03 |
Set.inter_diff_self | Set.inter_sdiff_self | 2026-06-03 |
Set.inter_union_diff | Set.inter_union_sdiff | 2026-06-03 |
Set.ite_diff_self | Set.ite_sdiff_self | 2026-06-03 |
Set.mem_diff_singleton | Set.mem_sdiff_singleton | 2026-06-03 |
Set.mem_diff_singleton_empty | Set.mem_sdiff_singleton_empty | 2026-06-03 |
Set.mem_of_mem_diff | Set.mem_of_mem_sdiff | 2026-06-03 |
Set.notMem_diff_of_mem | Set.notMem_sdiff_of_mem | 2026-06-03 |
Set.notMem_of_mem_diff | Set.notMem_of_mem_sdiff | 2026-06-03 |
Set.pair_diff_left | Set.pair_sdiff_left | 2026-06-03 |
Set.pair_diff_right | Set.pair_sdiff_right | 2026-06-03 |
Set.subset_diff | Set.subset_sdiff | 2026-06-03 |
Set.subset_diff_singleton | Set.subset_sdiff_singleton | 2026-06-03 |
Set.subset_diff_union | Set.subset_sdiff_union | 2026-06-03 |
Set.subset_insert_diff_singleton | Set.subset_insert_sdiff_singleton | 2026-06-03 |
Set.union_diff_cancel | Set.union_sdiff_cancel | 2026-06-03 |
Set.union_diff_cancel' | Set.union_sdiff_cancel' | 2026-06-03 |
Set.union_diff_cancel_left | Set.union_sdiff_cancel_left | 2026-06-03 |
Set.union_diff_cancel_right | Set.union_sdiff_cancel_right | 2026-06-03 |
Set.union_diff_distrib | Set.union_sdiff_distrib | 2026-06-03 |
Set.union_diff_left | Set.union_sdiff_left | 2026-06-03 |
Set.union_diff_right | Set.union_sdiff_right | 2026-06-03 |
Set.union_diff_self | Set.union_sdiff_self | 2026-06-03 |
Set.union_eq_diff_union_diff_union_inter | Set.union_eq_sdiff_union_sdiff_union_inter | 2026-06-03 |