Pre-sets #
A pre-set is inductively defined by its indexing type and its members, which are themselves pre-sets.
After defining pre-sets we define extensional equality over them, also inductively. We construct a
Setoid
instance from it, and in Mathlib/SetTheory/ZFC/Basic.lean
we define ZFC sets as the
quotient of pre-sets by extensional equality.
Main definitions #
PSet
: Pre-set.PSet.Type
: Underlying type of a pre-set.PSet.Func
: Underlying family of pre-sets of a pre-set.PSet.Equiv
: Extensional equivalence of pre-sets. Defined inductively.PSet.omega
: The von Neumann ordinalω
as aPSet
.
The underlying pre-set family of a pre-set
Equations
Instances For
Two pre-sets are extensionally equivalent if every element of the first family is extensionally equivalent to some element of the second family and vice-versa.
Equations
Instances For
A pre-set is a subset of another pre-set if every element of the first family is extensionally equivalent to some element of the second family.
Equations
Instances For
Alias of PSet.notMem_of_subset
.
A nonempty set is one that contains some element.
Equations
Instances For
Two pre-sets are equivalent iff they have the same members.
Alias of PSet.notMem_empty
.
Insert an element into a pre-set
Equations
Instances For
Equations
The pre-set separation operation {x ∈ a | p x}
Equations
Instances For
The pre-set powerset operator
Equations
Instances For
Embedding of one universe in another