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
See also Set.sdiff_inter_right_comm.
See also Set.inter_diff_assoc.
theorem
Set.diff_union_diff_cancel'
{α : Type u_1}
{s t u : Set α}
(hi : s ∩ u ⊆ t)
(hu : t ⊆ s ∪ u)
:
A version of diff_union_diff_cancel with more general hypotheses.
Lemmas about complement #
@[simp]
Alias of the reverse direction of Set.subset_compl_iff_disjoint_right.
Alias of the reverse direction of Set.subset_compl_iff_disjoint_left.
Alias of the reverse direction of Set.disjoint_compl_left_iff_subset.
Alias of the reverse direction of Set.disjoint_compl_right_iff_subset.
@[simp]
@[simp]
Lemmas about set difference #
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
If-then-else for sets #
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]