Lemmas about insertion, singleton, and pairs #
This file provides extra lemmas about insert, singleton, and pair.
Tags #
insert, singleton
Set coercion to a type #
Lemmas about insert #
insert a s is the set {a} ∪ s.
@[deprecated LE.le.ssubset_of_mem_notMem (since := "2026-06-05")]
theorem HasSubset.Subset.ssubset_of_mem_notMem {α : Type u_1} {s t : Set α} {a : α} (hst : s ⊆ t) (hat : a ∈ t) (has : ¬a ∈ s) :
s ⊂ t
Alias of LE.le.ssubset_of_mem_notMem.
Inserting an element to a set is equivalent to the option type.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lemmas about singletons #
theorem Set.eq_of_nonempty_of_subsingleton {α : Type u_3} [Subsingleton α] (s t : Set α) [Nonempty ↑s] [Nonempty ↑t] :
theorem Set.eq_of_nonempty_of_subsingleton' {α : Type u_3} [Subsingleton α] {s : Set α} (t : Set α) (hs : s.Nonempty) [Nonempty ↑t] :
theorem Set.Nonempty.eq_zero {α : Type u_1} [Subsingleton α] [Zero α] {s : Set α} (h : s.Nonempty) :
Disjointness #
Lemmas about pairs #
Powerset #
Lemmas about inclusion, the injection of subtypes induced by ⊆ #
Decidability instances for sets #
@[instance_reducible]