Set coercion to a type #
Disjointness #
theorem
Disjoint.notMem_of_mem_left
{α : Type u}
{s t : Set α}
:
Disjoint s t → ∀ ⦃a : α⦄, a ∈ s → a ∉ t
Alias of the forward direction of Set.disjoint_left.
theorem
Disjoint.notMem_of_mem_right
{α : Type u}
{s t : Set α}
:
Disjoint s t → ∀ ⦃a : α⦄, a ∈ t → a ∉ s
Alias of the forward direction of Set.disjoint_right.
Alias of the reverse direction of Set.not_disjoint_iff_nonempty_inter.
theorem
Set.disjoint_iff_forall_ne
{α : Type u}
{s t : Set α}
:
Disjoint s t ↔ ∀ ⦃a : α⦄, a ∈ s → ∀ ⦃b : α⦄, b ∈ t → a ≠ b
theorem
Disjoint.ne_of_mem
{α : 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
{α : Type u}
{s t u : Set α}
(h : s ⊆ u)
(d : Disjoint u t)
:
Disjoint s t
theorem
Set.disjoint_of_subset_right
{α : Type u}
{s t u : Set α}
(h : t ⊆ u)
(d : Disjoint s u)
:
Disjoint s t
theorem
Set.disjoint_of_subset
{α : Type u}
{s₁ s₂ t₁ t₂ : Set α}
(hs : s₁ ⊆ s₂)
(ht : t₁ ⊆ t₂)
(h : Disjoint s₂ t₂)
:
Disjoint s₁ t₁
@[simp]
@[simp]
@[simp]
@[simp]
Disjoint sets #
theorem
Disjoint.subset_left_of_subset_union
{α : Type u_1}
{s t u : Set α}
(h : s ⊆ t ∪ u)
(hac : Disjoint s u)
:
s ⊆ t
theorem
Disjoint.subset_right_of_subset_union
{α : Type u_1}
{s t u : Set α}
(h : s ⊆ t ∪ u)
(hab : Disjoint s t)
:
s ⊆ u
theorem
Set.mem_union_of_disjoint
{α : Type u_1}
{s t : Set α}
(h : Disjoint s t)
{x : α}
:
x ∈ s ∪ t ↔ Xor' (x ∈ s) (x ∈ t)