How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Relations, Functions, and Quotients
1 · Prerequisites
2 · Summary
The axioms and the basic constructions supply everything used here: the Kuratowski ordered pair and its characterising property, the Cartesian product built by Separation inside a double power set, unions, intersections, differences and their algebraic laws, and the power set itself. Separation is the tool that turns each collection described below into a set, and Extensionality is what makes each of them the unique set with its members.
A relation is a set of ordered pairs; its domain, range and field come from , and inverses, composites and restrictions are shown to be sets before they are named. The generic properties of a relation are fixed, partial and total orders are named among them, and the reflexive and irreflexive orders are put into exact correspondence. A function is a single-valued relation, the codomain belonging to the declaration rather than to the set; composites, injections, surjections and bijections, two-sided and left inverses, images and preimages follow. The set , indexed families, indexed unions and intersections and the product of a family are then constructed, and the Axiom of Choice is stated in terms of choice functions and assumed in no proof. Equivalence relations close the page: the kernel of a function, the universal property of the quotient and the canonical factorisation through it.
3 · Logical flowchart
4 · Definitions, theorems and proofs
If every element of is an ordered pair, then and are sets, both included in
Statement
Let be a set every element of which is an ordered pair. Then the classes
are sets, and both are included in .
Facts & Assumptions
Given: a set every element of which is an ordered pair.
is the set whose elements are exactly and , and (The unordered pair and the singleton ).
is the set whose elements are exactly the elements of the elements of (The union of a set, and the binary union ).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
Proof
Let . The elements of are and , and is an element of , so and are elements of .
The elements of and of are elements of ; hence and whenever .
Separation applied to with the formula and the parameter gives the set ; by step 2.1 every satisfying that formula already lies in , so this set has exactly the elements of the first class. The second class is obtained the same way from the formula .
Relation, , , , and the specialisations "relation from to " and "relation on "
Definition
A relation is a set every element of which is an ordered pair (The Kuratowski ordered pair ). We write for .
By If every element of is an ordered pair, then and are sets, both included in the following two classes are sets, so the notation is legitimate:
the domain and the range of . The field of is (The union of a set, and the binary union ).
is a relation from to when (The Cartesian product , Subset , proper subset , and the separation notation ), and a relation on when .
Remarks
-
Domain and range are intrinsic; the sets and are not. A relation determines its own domain and range, but it is a relation from to for many different and : any containing and any containing will do. That is the content of Every relation satisfies , and is a relation from to if and only if and , and it is the same distinction that makes a codomain part of the declaration rather than of the set in A function is a relation with and implying ; , the value , domain and codomain.
-
The empty set is a relation. It has no elements, so the requirement that every element be an ordered pair holds vacuously, and . It is a relation on every set.
Every relation satisfies , and is a relation from to if and only if and
Statement
Let be a relation and let and be sets. Then
- (i) ;
- (ii) if and only if and .
Facts & Assumptions
Given: a relation and sets , .
A relation is a set every element of which is an ordered pair (Relation, , , , and the specialisations "relation from to " and "relation on ").
holds if and only if for some and some (The Cartesian product ).
if and only if and ( if and only if and ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
Proof
Claim (i): let . Since is a relation, for some sets and ; then and by the defining conditions, so .
Claim (ii), from left to right: assume . If then for some , so , so with and , and the characterising property gives . The argument for is the same on the second coordinate.
Claim (ii), from right to left: assume and , and let . Then with and , so .
Claims (i) and (ii) are established, which is the statement.
For relations and and a set , the collections , and are sets
Statement
Let and be relations and a set. Then each of
is a set; the first is included in , the second in , and the third in .
Facts & Assumptions
Given: relations and and a set .
A relation is a set every element of which is an ordered pair (Relation, , , , and the specialisations "relation from to " and "relation on ").
holds if and only if for some and some (The Cartesian product ).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
Proof
If then and , so ; separating inside that product with the formula and the parameter therefore yields exactly the first collection.
If and then and , so ; separating inside that product with the formula and the parameters and yields exactly the second collection.
The third collection consists of elements of , and separating inside with the formula and the parameters and yields exactly it; every element of is an ordered pair, so the formula selects the intended pairs.
All three collections are therefore sets, with the stated inclusions.
The inverse relation , the composite , and the restriction
Definition
Let and be relations (Relation, , , , and the specialisations "relation from to " and "relation on ") and let be a set. By For relations and and a set , the collections , and are sets the three collections below are sets, and each is again a relation, since each of its elements is an ordered pair (The Kuratowski ordered pair ):
- the inverse ;
- the composite ;
- the restriction .
Membership in each is exactly as written: holds if and only if ; holds if and only if and for some ; and holds if and only if and .
Remarks
-
The order in . applies first and second. This is the convention that makes the composite of functions read , and it is the one the rest of the library uses. The opposite convention exists in the literature and would reverse every composite written here.
-
Restriction cuts the domain, not the range. keeps the pairs of whose first coordinate lies in and discards the rest; need not be included in , and .
The image and the preimage of a set under a relation
Definition
Let be a relation (Relation, , , , and the specialisations "relation from to " and "relation on ") and let and be sets. The image of under and the preimage of under are
sets by The Axiom Schema of Separation: for each formula , applied inside and respectively. Thus holds if and only if for some , and holds if and only if for some (The Kuratowski ordered pair ).
The notation is consistent: applying the first clause to the inverse relation of The inverse relation , the composite , and the restriction gives , which has exactly the elements just described, since says and .
Remarks
-
The bracket is not an application. is the set of things related to something in ; it is written with square brackets precisely so that it is never confused with a value , which for a general relation does not exist. Even for a function, and mean different things, and only the bracket form is used here.
-
Image and range. Taking gives , and taking gives , since no lies in .
The identity relation and the membership relation
Definition
Let be a set. The identity relation and the membership relation on are
sets by The Axiom Schema of Separation: for each formula , applied inside (The Cartesian product ), and relations on in the sense of Relation, , , , and the specialisations "relation from to " and "relation on ". Thus holds if and only if and , and holds if and only if and both lie in (The Kuratowski ordered pair ).
Remarks
-
carries the set with it. and are different relations when , because . That is what makes usable as a neutral element for composition on the left and on the right, with the correct set in each position.
-
The membership relation is the one Foundation constrains. is set membership restricted to , so Under Foundation, for every set , there are no sets with , and there are no sets with says that it has no cycle of length one, two or three.
, , , , and for a relation from to
Statement
Let , , be relations and let , be sets. Then
- (i) ;
- (ii) ;
- (iii) ;
- (iv) and ;
- (v) if is a relation from to , then and .
Facts & Assumptions
Given: relations , , and sets , .
holds if and only if ; holds if and only if and for some (The inverse relation , the composite , and the restriction ).
A relation is a set every element of which is an ordered pair (Relation, , , , and the specialisations "relation from to " and "relation on ").
holds if and only if and (The identity relation and the membership relation ).
if and only if and ( if and only if and ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
if and only if and (Every relation satisfies , and is a relation from to if and only if and ).
Proof
Claim (i): every element of either side is an ordered pair, and lies in exactly when there is with and , that is, exactly when there are and with , and . Reading the same condition with the middle pair grouped the other way gives membership in .
Claim (ii): exactly when , that is, exactly when there is with and ; and that says exactly that and for some , which is .
Claim (iii): every element of is an ordered pair , and exactly when , exactly when ; both sides consist of ordered pairs, so they are equal.
Claim (iv): exactly when for some , exactly when for some , exactly when ; the second identity is the same argument with the coordinates exchanged.
Claim (v): let be a relation from to , so and . Then exactly when there is with and , that is, exactly when and ; and already forces , so the two sets are equal. Symmetrically exactly when and , and forces .
Claims (i) to (v) are established, which is the statement.
, , , implies , and
Statement
Let and be relations and , sets. Then
- (i) ;
- (ii) ;
- (iii) ;
- (iv) if then ;
- (v) .
Facts & Assumptions
Given: relations and and sets , .
holds if and only if for some (The image and the preimage of a set under a relation).
holds if and only if and for some (The inverse relation , the composite , and the restriction ).
holds if and only if or (, , , , and ).
holds if and only if and (, , , , and ).
holds exactly when and (The difference , the symmetric difference , and the complement relative to a set ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
A relation is a set every element of which is an ordered pair (Relation, , , , and the specialisations "relation from to " and "relation on ").
Proof
Claim (i): exactly when for some with or ; that is exactly when for some , or for some , which is .
Claim (ii): if then for some lying in both and ; that same witnesses and .
Claim (iii): if then for some , and no element of is related to ; in particular that is not in , so and .
Claim (iv): if and then for some , and that lies in .
Claim (v): exactly when for some , that is, exactly when there are and with and ; and that says exactly that for some , which is .
Claims (i) to (v) are established, which is the statement.
Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set
Definition
Let be a set and let be a relation on , that is (Relation, , , , and the specialisations "relation from to " and "relation on ", The Cartesian product ). Then is:
- reflexive on when for every ;
- irreflexive when for every ;
- symmetric when implies , for all ;
- asymmetric when implies , for all ;
- antisymmetric when and imply , for all ;
- transitive when and imply , for all ;
- connex on when, for all , or .
Reflexivity and irreflexivity have short forms in terms of the identity relation of The identity relation and the membership relation , because the elements of are exactly the pairs with : is reflexive on if and only if (Subset , proper subset , and the separation notation ), and irreflexive if and only if and have no common element.
Remarks
-
Reflexivity and connexity mention ; the others do not. Whether is symmetric, asymmetric, antisymmetric or transitive depends on alone, whereas "reflexive on " and "connex on " depend on the ambient set: the empty relation is reflexive on and on no other set. The qualifier is therefore kept in the name of those two.
-
"Total" is ambiguous, "connex" is not. The connex property above is also called total in much of the literature, but "total relation" is used elsewhere for the unrelated condition that every element of is related to something. Only "connex" is used here for the property defined above.
-
The named combinations, and the exact agreement with Partial order and partially ordered set. That item names its structures in terms of a relation on a set , and each of its clauses is one of the properties above applied to , so the two vocabularies describe one set of conditions and not two:
- a partial order on is a relation on satisfying its clauses (R), (A) and (T), which are reflexivity on , antisymmetry and transitivity as defined above, quantified over the same set ;
- the strict order and associated there with a partial order is the relation of the properties above, and it is irreflexive and transitive; that identification and the fact that nothing is lost in passing between the two presentations are proved in On a set , and are mutually inverse bijections between the partial orders on and the irreflexive, transitive relations on ; is the strict order of , and every irreflexive transitive relation is asymmetric, whose clause on asymmetry also reconciles the two usual definitions of a strict order;
- two elements are comparable there when or , so a relation on is connex on exactly when every two elements of are comparable;
- consequently what that item calls a total order — a partial order in which every two elements are comparable — is a relation on that is reflexive on , antisymmetric, transitive and connex on . "Connex" here and "total order" there are therefore the same condition read twice: connexity is the single extra clause that turns a partial order into a total one, and it is the connex reading of the word total, never the left-total one warned against above.
Reflexive on , symmetric and transitive is what Equivalence relation, equivalence class, and the quotient set calls an equivalence relation.
Partial order and partially ordered set
Definition
Let be a set. A partial order on is a binary relation on such that, for all :
- (R) reflexivity: ;
- (A) antisymmetry: if and , then ;
- (T) transitivity: if and , then .
The pair is a partially ordered set, abbreviated poset. When the order is clear we write for the pair.
The associated strict order is defined by
Two elements are comparable if or , and incomparable otherwise. A partial order in which every two elements are comparable is a total order (equivalently a linear order), and is then a totally ordered set.
Remarks
- Partiality is the whole point: a partial order is permitted to leave pairs incomparable, which is what makes maximal elements and chains worth distinguishing at all. In a total order every subset is a chain, and a maximal element is automatically the greatest element.
- All three axioms are used essentially in the proofs that rest on this definition: reflexivity in The cut at an extremal element is closed under ↗ and The image of an extremal element is extremal ↗, transitivity almost everywhere, and antisymmetry in Bourbaki–Witt fixed point theorem ↗, where the fixed point is obtained by passing from and to . Antisymmetry is also what makes a least upper bound unique when it exists, and uniqueness is what licenses the functional notation used in Chain-complete poset ↗.
- Dropping antisymmetry gives a preorder. Preorders are genuinely useful elsewhere (a directed set is preordered).
- Inclusion on the power set of any set is the standard example, and it is the order that appears concretely in Zorn's lemma ↗, which applies Bourbaki–Witt fixed point theorem ↗ to the set of chains of ordered by inclusion, and in Zorn's lemma implies the Axiom of Choice ↗, which applies Zorn's lemma to partial choice functions ordered by extension, an inclusion order on their graphs. The results themselves are stated for an arbitrary poset and are used that way: Zorn's lemma ↗ is applied to whatever poset a later page brings, and the refutation in FALSE: every maximal element is a greatest element ↗ runs in a bare two-element antichain that is not presented as an order by inclusion at all.
On a set , and are mutually inverse bijections between the partial orders on and the irreflexive, transitive relations on ; is the strict order of , and every irreflexive transitive relation is asymmetric
Statement
Let be a set. Write for the collection of relations on that are reflexive on , antisymmetric and transitive — that is, the partial orders on in the sense of Partial order and partially ordered set — and for the collection of relations on that are irreflexive and transitive. Then:
- (i) and are sets, both subsets of ;
- (ii) every is asymmetric;
- (iii) for every ;
- (iv) for every ;
- (v) for every , and for every ;
- (vi) for every and all , the pair lies in if and only if and ; that is, is exactly the strict order associated with the partial order .
Clauses (iii) to (v) are what it means for the two assignments to be mutually inverse bijections between and , and clause (vi) identifies the first assignment with the passage from a partial order to its strict order.
Facts & Assumptions
Given: a set .
is reflexive on when for every (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).
is irreflexive when for every (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).
is antisymmetric when and imply , for all (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).
is transitive when and imply , for all (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).
is asymmetric when implies , for all (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).
holds if and only if and (The identity relation and the membership relation ).
holds exactly when and (The difference , the symmetric difference , and the complement relative to a set ).
holds if and only if or (, , , , and ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
holds if and only if (The power set ).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
is a relation on when (Relation, , , , and the specialisations "relation from to " and "relation on ").
holds if and only if for some and some (The Cartesian product ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
A partial order on is a binary relation on such that, for all : ; if and , then ; and if and , then (Partial order and partially ordered set).
The strict order associated with a partial order is defined by if and only if and (Partial order and partially ordered set).
Proof
Claim (i): a relation on is exactly an element of , so and are obtained by separating inside that set with the formulas expressing the three, respectively two, listed properties, with parameter .
Claim (ii): let be irreflexive and transitive and suppose and . Transitivity gives , which irreflexivity forbids; so implies .
Claim (vi): let , so that is a partial order on . If then , because ; so for such a pair holds exactly when . Hence if and only if and , and that is the defining condition of the strict order associated with .
Claim (iii): let and put . For the pair lies in , so it is not in , and is irreflexive. If and then , so ; and would give and , whence by antisymmetry, contradicting . So and . Finally .
Claim (iv): let and put . Then , so is reflexive on , and since both parts are. If and then neither pair lies in , so both lie in , contradicting asymmetry; hence is antisymmetric. If , then or makes one of the two given pairs, and otherwise both lie in and transitivity of gives .
Claim (v): for reflexivity gives , so and have the same elements; for irreflexivity gives that no element of lies in , so and have the same elements.
Clauses (i) to (vi) are established, so the two assignments send into and back and undo one another, and the first of them is the passage to the strict order, which is the statement.
Remarks
-
What the correspondence says about the vocabulary of Partial order and partially ordered set. The relations collected in are exactly the partial orders on , and by clause (vi) the assignment is not a new construction but the one that item already performs when it passes from to . Clauses (iii) to (v) then say that nothing is lost either way: a partial order and its strict order carry the same information, and every irreflexive transitive relation arises as the strict order of exactly one partial order. Clause (ii) reconciles the definition of a strict order as irreflexive and transitive with the definition as asymmetric and transitive.
-
Connexity is untouched by the correspondence. The extra clause that makes a partial order a total order in Partial order and partially ordered set is connexity, and it is not carried across by : a total order is connex on , whereas an irreflexive relation relates no element of to itself, so it is connex on only when is empty. The strict counterpart of connexity is trichotomy, which is not among the properties fixed in Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set, and the correspondence above is stated for partial orders rather than for total ones.
A function is a relation with and implying ; , the value , domain and codomain
Definition
A function is a relation such that and imply ; "relation" is as in Relation, , , , and the specialisations "relation from to " and "relation on ".
For there is such a , and by the condition just stated there is only one; denotes that unique , so that holds if and only if and ( if and only if and ).
We write , and say is a function from to , when is a function with and (Subset , proper subset , and the separation notation ); is the domain of and is a codomain for . Equivalently with (The Cartesian product , The Kuratowski ordered pair ).
Remarks
-
The codomain belongs to the declaration, not to the set. A function is a set of ordered pairs, and that set determines its domain and its range but not a codomain: the same satisfies for every containing . So being onto is a property of the declaration rather than of , while being one-to-one is a property of alone. This convention is what makes a function for every at once.
-
Total on its domain by construction. There is no partial function here: if then is not defined, and a function has equal to exactly, not merely included in it.
Functions and are equal if and only if and for every in that common domain
Statement
Let and be functions. Then if and only if and for every .
Facts & Assumptions
Given: functions and .
A function is a relation such that and imply (A function is a relation with and implying ; , the value , domain and codomain).
if and only if and ( if and only if and ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
Proof
From left to right: if then the two sets have the same elements, so the defining conditions for the domain and for the value at a point are the same for both.
From right to left: assume and for every in that set. Let . Then is an ordered pair with and ; hence and , so . The same argument with and exchanged gives the reverse inclusion, so the two sets have the same elements.
Both implications hold, which is the statement.
Injection, surjection, bijection
Definition
Let and be sets and let be a function (A function is a relation with and implying ; , the value , domain and codomain).
- is injective (one-to-one) if implies , for all .
- is surjective (onto) if for every there is some with ; equivalently, the image equals .
- is bijective if it is both injective and surjective.
For we write for the image of , and for we write for the preimage of ; these are the image and preimage of a set under read as a relation (The image and the preimage of a set under a relation).
Remarks
-
Composition. If and are both injective then so is , since forces and then ; if both are surjective then so is , since any is for some and that is for some . Hence a composition of bijections is a bijection. These verifications, together with the two partial converses, are For and : if both are injective so is ; if both are surjective so is ; if is injective so is ; and if is surjective so is .
-
Inverses. is bijective exactly when there is a function with for all and for all ; that two-sided inverse is unique, and it is itself a bijection. Injectivity alone gives a bijection from onto the image , and hence an inverse defined on only. No choice principle is involved: the value is the unique with , so it is determined rather than selected. The full statement, with the uniqueness of the two-sided inverse, is is a bijection if and only if there is a function with and ; such a is unique, equals the inverse relation , and is itself a bijection; the corresponding statement for an arbitrary surjection is not available at this point in the reading order, because a right inverse for every surjection is equivalent to the Axiom of Choice.
-
What this item does and does not do. A function is a set of ordered pairs, single valued and total on (A function is a relation with and implying ; , the value , domain and codomain); ordered pairs, Cartesian products, images and preimages are fixed by The Kuratowski ordered pair , The Cartesian product and The image and the preimage of a set under a relation. This item only fixes the three adjectives and the notation used for them. Nothing here is proved.
If and are functions then is a function with domain and there; is a function with ; and for
Statement
Let and be functions and let , be sets. Then
- (i) is a function, , and for every in that domain;
- (ii) is a function with and for every ;
- (iii) if then and .
Facts & Assumptions
Given: functions and , and sets , .
A function is a relation such that and imply (A function is a relation with and implying ; , the value , domain and codomain).
holds if and only if and for some (The inverse relation , the composite , and the restriction ).
holds if and only if for some (The image and the preimage of a set under a relation).
holds if and only if and (The identity relation and the membership relation ).
if is a relation from to , then and (, , , , and for a relation from to ).
Proof
Claim (i), single-valuedness: is a relation, and if and both lie in it, there are and with and ; single-valuedness of gives , and then single-valuedness of gives .
Claim (ii): if and lie in then , so is a function; its domain is , because exactly for , and its value at is .
Claim (iii): a function has and , so it is a relation from to , and the identity laws for relations apply verbatim.
Claim (i), domain and values: holds exactly when there are and with and , that is, exactly when and ; and that is exactly the condition . For such an the pair lies in , so by step 1.1.
Claims (i), (ii) and (iii) are established, which is the statement.
For and : if both are injective so is ; if both are surjective so is ; if is injective so is ; and if is surjective so is
Statement
Let and . Then , and
- (i) if and are injective then so is ;
- (ii) if and are surjective then so is ;
- (iii) if is injective then so is ;
- (iv) if is surjective then so is .
In particular a composite of bijections is a bijection.
Facts & Assumptions
Given: functions and .
is injective (one-to-one) if implies , for all (Injection, surjection, bijection).
is surjective (onto) if for every there is some with (Injection, surjection, bijection).
is bijective if it is both injective and surjective (Injection, surjection, bijection).
is a function, , and for every in that domain (If and are functions then is a function with domain and there; is a function with ; and for ).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
holds if and only if for some (The image and the preimage of a set under a relation).
Proof
: its domain is , which is because and ; and its values lie in .
Claim (i): assume and injective and let with . Injectivity of gives , and injectivity of gives .
Claim (ii): assume and surjective and let . Surjectivity of gives with , and surjectivity of gives with ; then .
Claim (iii): assume injective and let with . Then , so .
Claim (iv): assume surjective and let . There is with , and is an element of , so is a value of .
Claims (i) to (iv) are established; combining (i) and (ii) gives that a composite of bijections is injective and surjective, hence a bijection.
is a bijection if and only if there is a function with and ; such a is unique, equals the inverse relation , and is itself a bijection
Statement
Let . Then is a bijection if and only if there is a function with and . When such a exists it is unique, it is the inverse relation , and it is itself a bijection .
No choice principle is used: the value is the unique with , so it is determined rather than selected.
Facts & Assumptions
Given: a function .
is injective (one-to-one) if implies , for all (Injection, surjection, bijection).
is surjective (onto) if for every there is some with (Injection, surjection, bijection).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
holds if and only if (The inverse relation , the composite , and the restriction ).
is a function, , and for every in that domain (If and are functions then is a function with domain and there; is a function with ; and for ).
is a function with and for every (If and are functions then is a function with domain and there; is a function with ; and for ).
if and only if and for every (Functions and are equal if and only if and for every in that common domain).
holds if and only if and (The identity relation and the membership relation ).
Proof
Suppose is a bijection. The inverse relation is a function: if and lie in it then , so by injectivity. Its domain is , which is by surjectivity, and its range is ; hence .
Conversely, suppose satisfies and . If then , so is injective; and any satisfies , so is a value of and is surjective. Hence is a bijection.
Any two such functions agree: if and both satisfy the two identities then, for , , so ; both have domain , so .
For a bijection , the function of step 1.1 satisfies the two identities: and are functions with domain , and for ; likewise and are functions with domain agreeing at every point.
Such a is itself a bijection: is a function with and , which is the hypothesis of step 1.2 applied to in place of .
Such a is the inverse relation: satisfies the two identities by step 2.1, and step 1.3 says there is only one function that does.
The two directions, the uniqueness, the identification with and the bijectivity of are established, which is the statement.
For with : is injective if and only if there is with ; for the empty function is injective and has a left inverse if and only if
Statement
Let .
- (i) If , then is injective if and only if there is a function with .
- (ii) If , then and is injective; and there is a function with if and only if .
The hypothesis in (i) is not removable: for and the empty function is injective and has no left inverse at all.
Facts & Assumptions
Given: a function .
is injective (one-to-one) if implies , for all (Injection, surjection, bijection).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
is a function, , and for every in that domain (If and are functions then is a function with domain and there; is a function with ; and for ).
is a function with and for every (If and are functions then is a function with domain and there; is a function with ; and for ).
holds if and only if and (The identity relation and the membership relation ).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
holds if and only if for some (The image and the preimage of a set under a relation).
There is exactly one set with no elements, written (There is exactly one set with no elements, written ).
holds if and only if for some and some (The Cartesian product ).
if and only if or (, , , ; if and only if or ; and for nonempty and , if and only if and ).
Proof
Claim (i), from right to left: if and for , then .
Claim (i), from left to right: assume injective and , and fix . Separating inside gives the set . For the first alternative supplies exactly one , by injectivity, and the second supplies none; for with the first supplies none, since , and the second supplies alone. Hence is a function with domain and range inside , so .
Claim (ii): if then , so has no element and ; the injectivity condition quantifies over elements of and holds vacuously.
Claim (i) concluded: with as in step 1.2, and are functions with domain , and for every , since selects the first alternative; so the two functions are equal.
Claim (ii) concluded: a function has , so , giving and . Conversely, if then is a function , and and are both , so the identity holds.
Claims (i) and (ii) are established, which is the statement.
Remarks
- Why the surjective analogue is missing. The corresponding statement, that every surjection has a right inverse, is not proved on this page: it is equivalent to the Axiom of Choice, which this page states at The Axiom of Choice and assumes in no proof, and choosing one preimage for each point of the codomain is exactly the simultaneous selection no proof here makes. The Axiom of Choice is stated on this page and assumed by no proof on it; the two statements that would need it are identified and left unsettled records where that boundary falls.
For and : , , , and
Statement
Let and let . Then
Facts & Assumptions
Given: a function and subsets of .
holds if and only if for some (The image and the preimage of a set under a relation).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
holds if and only if or (, , , , and ).
holds if and only if and (, , , , and ).
holds exactly when and (The difference , the symmetric difference , and the complement relative to a set ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
Proof
Membership criterion: for any , holds exactly when and . Indeed says for some , and says and .
First identity: exactly when and or , which is exactly or .
Second identity: exactly when and lies in both and , which is exactly and .
Third identity: exactly when , and ; the last two conditions say and , since for membership in is exactly .
Fourth identity: exactly when , and ; the condition is automatic because , so this says and .
The four identities are established, which is the statement.
For and : , and ; both inclusions are equalities for all and if and only if is injective
Statement
Let and let . Then
- (i) ;
- (ii) ;
- (iii) .
Moreover the inclusions in (ii) and (iii) are equalities for all if and only if is injective.
Facts & Assumptions
Given: a function and subsets of .
holds if and only if for some (The image and the preimage of a set under a relation).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
is injective (one-to-one) if implies , for all (Injection, surjection, bijection).
holds if and only if or (, , , , and ).
holds if and only if and (, , , , and ).
holds exactly when and (The difference , the symmetric difference , and the complement relative to a set ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
, the singleton of , is the set whose only element is (The unordered pair and the singleton ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
There is exactly one set with no elements, written (There is exactly one set with no elements, written ).
Proof
Membership criterion: for , holds exactly when for some , since with says .
Claim (i): exactly when for some lying in or in , which is exactly or .
Claim (ii): if then for some in both and , so and .
Claim (iii): if then for some , and no element of is sent to ; in particular , so and .
If is injective, both inclusions are equalities. For (ii): gives with and , and injectivity gives , so . For (iii): gives with and ; if were for some then injectivity would give , so and .
Conversely, suppose is not injective, so for some with . Take and . Then , so , while lies in ; the inclusion in (ii) is therefore proper for this pair.
Claims (i), (ii) and (iii) hold in general, and steps 2.4 and 2.5 show that the two inclusions are equalities for all and exactly when is injective.
For : for every , with equality for every such if and only if is injective; and for every , so equality with holds for every such if and only if is surjective
Statement
Let . Then
- (i) for every ;
- (ii) equality holds in (i) for every if and only if is injective;
- (iii) for every ;
- (iv) for every if and only if is surjective.
Facts & Assumptions
Given: a function .
holds if and only if for some (The image and the preimage of a set under a relation).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
is injective (one-to-one) if implies , for all (Injection, surjection, bijection).
is surjective (onto) if for every there is some with ; equivalently, the image equals (Injection, surjection, bijection).
holds if and only if and (, , , , and ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
, the singleton of , is the set whose only element is (The unordered pair and the singleton ).
Proof
Membership criteria used throughout: for , exactly when for some ; and for , exactly when and .
Claim (i): if then , so .
Claim (iii): if then with and , so and ; conversely if and with , then puts in and in .
Claim (ii): suppose is injective and for some . Then , so for some , and injectivity gives ; with step 2.1 this is equality. Conversely, if is not injective, take in with and put ; then while , so equality fails for that .
Claim (iv): if is surjective then , so for claim (iii) gives . Conversely, if the equality holds for every , take ; claim (iii) gives , which is surjectivity.
Claims (i) to (iv) are established, which is the statement.
Remarks
- Only one of the two criteria needs the injectivity lemma. Claim (ii) is the round-trip form of the equality criterion in For and : , and ; both inclusions are equalities for all and if and only if is injective; the argument is repeated here because the witness used to break equality is a singleton rather than a pair of sets.
For sets and the collection of all functions is a set, being a subset of
Statement
Let and be sets. Then there is a set whose elements are exactly the functions , and it is a subset of .
Facts & Assumptions
Given: sets and .
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
For a relation , if and only if and (Every relation satisfies , and is a relation from to if and only if and ).
holds if and only if (The power set ).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
holds if and only if for some and some (The Cartesian product ).
Proof
A function is a relation with and , so and therefore .
Separating inside with the formula saying that is a function and , with parameters and , gives a set whose elements are exactly those elements of that are functions ; by step 1.1 every function is such an element, so that set has exactly the intended elements and is included in .
The set of all functions
Definition
Let and be sets. By For sets and the collection of all functions is a set, being a subset of the functions (A function is a relation with and implying ; , the value , domain and codomain) form a set; it is written
Thus holds if and only if .
Remarks
-
The notation collides with exponentiation, and the collision is deliberate. is the same symbol the library already uses for a space of functions in The vector space of all functions with pointwise operations, and as the case ↗, where is the set of functions carrying a vector-space structure; the underlying set there is the one defined here. Some set-theory texts write instead, reserving for ordinal and cardinal exponentiation. This library keeps for the function set, and Ordinal and cardinal are different operations that share one notation ↗ is where the arithmetic exponentiations are distinguished from one another.
-
Degenerate cases. has exactly one element, the empty function, for every , since a function with empty domain has no elements at all. is empty whenever is nonempty, since a function with domain must take a value at each point of , and again has the empty function as its only element.
An indexed family is a function with domain ; is its range
Definition
Let be a set. An indexed family with index set is a function (A function is a relation with and implying ; , the value , domain and codomain) with . It is written , and abbreviates the value .
The set of its members is its range (Relation, , , , and the specialisations "relation from to " and "relation on "):
Remarks
-
An indexed family is not the set of its members. Two different indices may carry the same member, and the family records that while the set does not. The family with and has , and it is a different function from the family indexed by alone.
-
Every set is the range of some family. For a set , the identity relation is a function with domain and range , so is the set of members of the family it indexes. This is why the family forms of the distributive and De Morgan laws below say no less than the unindexed ones.
, and for
Definition
Let be an indexed family (An indexed family is a function with domain ; is its range). Its indexed union is
the union of its range (The union of a set, and the binary union ); so holds if and only if for some .
When its indexed intersection is
which is legitimate because a family with has a value at some index, so its range is nonempty (Relation, , , , and the specialisations "relation from to " and "relation on ") and For a set the collection is a set, and it does not depend on the member of used to separate it applies (The intersection of a nonempty set, the binary intersection , and disjointness); so holds if and only if for every .
Remarks
-
The empty index set. , because the empty family has empty range and (There is exactly one set with no elements, written ). The indexed intersection is left undefined there, for the reason recorded at There is no set with , so is undefined: no set has every set as an element.
-
Indexing changes nothing about the operations. Both notations are the primitive and applied to the range of the family, so every law proved for and transfers verbatim; that transfer is For a nonempty index set : , , , and .
For a nonempty index set : , , , and
Statement
Let be an indexed family with and let and be sets. Then , and are indexed families with index set , and
Facts & Assumptions
Given: an indexed family with , and sets and .
(, and for ).
An indexed family with index set is a function with (An indexed family is a function with domain ; is its range).
for a set with ( and ; and for a nonempty set , and ).
for a set with ( and ; and for a nonempty set , and ).
holds exactly when and (The difference , the symmetric difference , and the complement relative to a set ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
holds if and only if (The power set ).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
holds if and only if for some and some (The Cartesian product ).
A function is a relation such that and imply (A function is a relation with and implying ; , the value , domain and codomain).
Proof
The three derived families exist. Each is a subset of , so separating inside with the formula gives a set; it is a function, since the value at each is determined, and its domain is . The same construction inside and inside gives and .
Write , which is and is nonempty because is. The range of is exactly , since the values of the derived family are the sets with and the elements of are exactly the with ; the same holds for the other two derived families.
Substituting into the family laws for therefore gives all four identities: the indexed operations are by definition the primitive and applied to the range of the family concerned, and step 2.1 identifies those ranges with the sets appearing in the laws.
The derived families exist and the four identities hold, which is the statement.
For an indexed family the collection of functions with domain and for every is a set
Statement
Let be an indexed family. Then there is a set whose elements are exactly the functions with and for every , and it is a subset of where .
Facts & Assumptions
Given: an indexed family , and .
An indexed family with index set is a function with (An indexed family is a function with domain ; is its range).
holds if and only if for some (, and for ).
holds if and only if (The set of all functions ).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
Proof
Let be a function with and for every . Every element of is for some , hence lies in and therefore in ; so and , that is, .
Separating inside with the formula saying that for every , with parameters and the family, gives a set whose elements are exactly the members of with that property; by step 1.1 every function of the kind described already lies in , so this set has exactly the intended elements and is included in .
The product
Definition
Let be an indexed family (An indexed family is a function with domain ; is its range) and write (, and for ). By For an indexed family the collection of functions with domain and for every is a set the following collection is a set; it is the product of the family:
So an element of is a function with domain that takes its value at each index inside the member carried by that index; "function" is as in A function is a relation with and implying ; , the value , domain and codomain.
Remarks
-
Nonemptiness of the product is exactly the Axiom of Choice. Nothing in this definition decides whether is nonempty when every is nonempty. That assertion, for an arbitrary index set, is one of the standard formulations of the Axiom of Choice, stated later on this page at The Axiom of Choice. The product formulation recorded there, that is nonempty whenever every is nonempty, quantifies over exactly the object defined here: it is this definition that fixes what the symbol in that formulation denotes, and what its elements are. What is decided without any choice principle is the degenerate arithmetic: the empty index set and a family with an empty member, both in ; if for some then ; and for the evaluation is a bijection , together with the families whose product can be written down explicitly.
-
Why the ambient set is . The definition separates inside the set of all functions , so the ambient set must contain every function with domain whose value at lies in . Taking to be the union of the members secures that, since such a value lies in and hence in ; and is the smallest set that includes every member of the family.
Choice function
Definition
Let be a family of sets, every member of which is nonempty. A choice function for is a function (A function is a relation with and implying ; , the value , domain and codomain)
Given a set , a choice function on means a choice function for the family (The power set , The difference , the symmetric difference , and the complement relative to a set ) of nonempty subsets of .
Remarks
- The requirement is only that pick some element of each member. Nothing requires the choices to be coherent, definable, or computable, and this is exactly where the difficulty lies: for a single nonempty set the existence of an element to pick is immediate, and for a family presented as the values of a function on a natural number the picks can be made one after another (Every natural-number-indexed list of nonempty sets has a choice function on its family of values ↗). What is not available in ZF is a simultaneous choice across an arbitrary family.
- A choice function often exists for a concrete family with no appeal to any axiom, because the family carries extra structure that names a canonical element. Every nonempty set of natural numbers has a least element, so is an explicit choice function on ( is a choice function on ↗). The contrast with families that admit no such rule is the content of Russell's shoes and socks ↗.
- Members of must be nonempty: no function can select an element of . The family itself is allowed to be empty, and the empty function is then a choice function for it.
The Axiom of Choice
Definition
The Axiom of Choice (AC) is the following statement.
Every family of nonempty sets has a choice function (Choice function).
Written out: for every set all of whose members are nonempty, there exists a function with domain satisfying for all .
An equivalent formulation is that a product of nonempty sets is nonempty: if for every , then . Here is the set of functions with domain such that for every ; when a family of nonempty sets is indexed by itself, such an is precisely a choice function for it.
Remarks
- This is an axiom, not a theorem, and it is deliberately not derived here. Assume ZF is consistent. Then AC is independent of the axioms of Zermelo–Fraenkel set theory: Gödel (1938) showed that ZF, if consistent, cannot refute it (Gödel 1938: ZF does not refute the Axiom of Choice ‡), and Cohen (1963) showed that ZF, if consistent, cannot prove it (Cohen 1963: ZF does not prove the Axiom of Choice ‡). The consistency hypothesis is not decoration and cannot be dropped: an inconsistent ZF proves everything, AC included, so both halves of the independence would fail. Nor can the hypothesis be discharged inside ZF. Both directions also require machinery (the constructible universe and forcing) that this library does not yet contain, so both are recorded with references rather than proved. FALSE: Zorn's lemma is a theorem of ZF ↗ carries the same consistency assumption explicitly in its Given; The choice ledger: what costs the Axiom of Choice and what does not ↗ records the weaker choice principles.
- Being an axiom, AC carries no well-definedness obligation, which is why this
item has no
justified_by. - The case of a family listed by a natural number, which is the finite case once finiteness is defined, is a theorem of ZF and needs no axiom (Every natural-number-indexed list of nonempty sets has a choice function on its family of values ↗). AC is exactly the extension of that theorem to arbitrary index sets, and the gap between the two is not a matter of degree: Russell's shoes and socks ↗ exhibits the difference concretely.
- "ZFC" abbreviates ZF together with AC. A result that invokes AC should say so where it is stated, so that a reader can tell which theorems are choice-free; that bookkeeping is the purpose of The choice ledger: what costs the Axiom of Choice and what does not ↗. What the ultrafilter lemma costs: a choice principle strictly weaker than AC ↗ carries the narrower question of what the ultrafilter lemma costs, and on cited authority, and under the hypothesis that ZF is consistent, places that principle strictly between ZF and AC.
; if for some then ; and for the evaluation is a bijection
Statement
Let be an indexed family. Then
- (i) if then ;
- (ii) if for some then ;
- (iii) if then the evaluation is a bijection .
Clauses (i) and (ii) pull in opposite directions and are the two cases most often mis-stated: an empty index set gives a product with one element, while a single empty member collapses the product entirely.
Facts & Assumptions
Given: an indexed family .
an element of is a function with domain that takes its value at each index inside the member carried by that index (The product ).
A function is a relation such that and imply (A function is a relation with and implying ; , the value , domain and codomain).
is injective (one-to-one) if implies , for all (Injection, surjection, bijection).
is surjective (onto) if for every there is some with (Injection, surjection, bijection).
if and only if and for every (Functions and are equal if and only if and for every in that common domain).
There is exactly one set with no elements, written (There is exactly one set with no elements, written ).
is the set whose elements are exactly and , and (The unordered pair and the singleton ).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
holds if and only if for some and some (The Cartesian product ).
holds if and only if for some (, and for ).
If every satisfies if and only if , then (The Axiom of Extensionality: ).
Proof
Claim (i): let . A function with domain has no elements, since each of its elements would be a pair whose first coordinate lies in its domain, so the only such function is ; and it satisfies the condition " for every " vacuously. Hence is the only element of the product, and the product is .
Claim (ii): let with . An element of the product would satisfy , and has no elements; so the product has no elements.
Claim (iii), the map: let and write . Each has , so as displayed is a set by separation inside , is single valued because is, has domain , and has range inside ; thus with .
Claim (iii), injectivity: if for , then and have the same domain and agree at , hence are equal.
Claim (iii), surjectivity: let and put . This is a function with domain and , and lies in , so and .
Claims (i), (ii) and (iii) are established, which is the statement.
Remarks
- Where the general question is settled, and where it is not. These three computations use no choice principle: in (i) and (ii) nothing is selected, and in (iii) the single value is determined. None of them is an instance of the general question, because each names its elements outright. Whether a product of nonempty members over an arbitrary index set is nonempty is that general question, and it is exactly the product formulation of the Axiom of Choice, stated earlier on this page at The Axiom of Choice; clause (ii) is the reason that formulation carries the hypothesis that every member is nonempty.
For with and , the map is a bijection
Statement
Let and be sets, put and let be the family with and , that is, the function . Write . Then
is a bijection .
Facts & Assumptions
Given: sets and , the index set , the family above, and .
an element of is a function with domain that takes its value at each index inside the member carried by that index (The product ).
holds if and only if for some and some (The Cartesian product ).
if and only if and ( if and only if and ).
is injective (one-to-one) if implies , for all (Injection, surjection, bijection).
is surjective (onto) if for every there is some with (Injection, surjection, bijection).
if and only if and for every (Functions and are equal if and only if and for every in that common domain).
is the set whose elements are exactly and , and (The unordered pair and the singleton ).
There is exactly one set with no elements, written (There is exactly one set with no elements, written ).
A function is a relation such that and imply (A function is a relation with and implying ; , the value , domain and codomain).
An indexed family with index set is a function with (An indexed family is a function with domain ; is its range).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
holds if and only if for some (, and for ).
holds if and only if or (, , , , and ).
Proof
The index set has exactly the two elements and , and they are distinct because the second has an element and the first has none; so is single valued, has domain , and is an indexed family with and .
is a function : for we have and , so the pair lies in ; separating inside gives , it is single valued because that pair is determined by , its domain is , and its range lies in .
is injective: if then the characterising property gives and ; and have the same domain , whose elements are exactly those two, so .
is surjective: given , put . It is single valued because , its domain is , and with , so by the union bound and .
is a function that is injective and surjective, hence a bijection.
Equivalence relation, equivalence class, and the quotient set
Definition
A binary relation on a set is a subset (Relation, , , , and the specialisations "relation from to " and "relation on ", The Cartesian product ); we write for and read it " is related to ".
A binary relation on is an equivalence relation when it is reflexive on , symmetric and transitive (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set), that is, when it is
- reflexive: for every ;
- symmetric: implies , for all ;
- transitive: and imply , for all .
Let be an equivalence relation on . For , the equivalence class of is the subset
and any with is called a representative of the class . The quotient set is the set of all classes,
a subset of the power set of (The power set ). The map (A function is a relation with and implying ; , the value , domain and codomain) with is the quotient map; it is surjective by construction (Injection, surjection, bijection).
Remarks
-
What the classes look like is the content of The equivalence classes of an equivalence relation are nonempty, cover , and are pairwise equal or disjoint; conversely every such cover arises from exactly one equivalence relation: they are nonempty, they cover , and any two of them are either equal or disjoint. That lemma also runs the converse, so "equivalence relation on " and "partition of " are two names for the same data.
-
Well-definedness. A rule that assigns a value to by a formula in the representative defines a function on only if the value is the same for every representative, that is, only if implies that the formula returns the same value at and at . The general statement of that obligation, with the uniqueness of the induced function, is Let be an equivalence relation on with quotient map , and let . There is a function with if and only if implies ; and such a is then unique. The constructions of and of discharge it for their own operations (Integer addition and negation are well defined ↗, Integer multiplication is well defined ↗, Rational arithmetic is well defined ↗).
-
Where the general notion is used. The construction of verifies the three properties for the concrete relation (The integer-defining relation is an equivalence relation ↗), and the construction of does the same for its own relation (The rational-defining relation is an equivalence relation ↗). Each of those items settles one relation and defines no general notion. Cosets, quotient groups, congruence classes and quotient rings are further instances of the definition given here.
The equivalence classes of an equivalence relation are nonempty, cover , and are pairwise equal or disjoint; conversely every such cover arises from exactly one equivalence relation
Statement
Let be an equivalence relation on a set , with classes and quotient set (Equivalence relation, equivalence class, and the quotient set ). Then:
- for every ; hence every class is nonempty and the classes cover , that is, the union of the members of is ;
- if and only if ;
- for all , either or .
Conversely, call a set of subsets of a partition of when every member of is nonempty, distinct members of are disjoint, and the union of the members of is . For such a define to mean that some contains both and . Then is an equivalence relation on whose quotient set is exactly , and it is the only equivalence relation on whose quotient set is .
Facts & Assumptions
Given: An equivalence relation on a set , with and (Equivalence relation, equivalence class, and the quotient set ); and, for the converse, a partition of in the sense stated above.
Reflexivity: for every (Equivalence relation, equivalence class, and the quotient set ).
Symmetry: implies (Equivalence relation, equivalence class, and the quotient set ).
Transitivity: and imply (Equivalence relation, equivalence class, and the quotient set ).
Proof
For every reflexivity gives , that is ; so each class is nonempty, each class is a subset of by construction, and each lies in the class , whence the union of the members of is exactly . This is claim 1.
Suppose . If then , so by transitivity, so ; thus . Symmetry gives , and the same argument with and interchanged gives ; hence .
Every member of is nonempty, distinct members of are disjoint, and the union of is ; consequently each lies in at least one , and in only one, since two members containing are not disjoint and therefore are not distinct. Write for that unique member.
Suppose . By step 1.1, , which says . Together with step 1.2 this is claim 2.
Suppose and pick in the intersection, so and . Symmetry gives , and transitivity then gives , so by step 1.2. Hence for any either the classes are disjoint or they are equal, which is claim 3.
is reflexive, since gives ; it is symmetric, since the defining condition is symmetric in and ; and it is transitive, for if and with , then , so and are not disjoint and hence not distinct, giving and . So is an equivalence relation on .
Fix and write for its class under . If then some contains and , and by the uniqueness in step 1.3, so ; conversely if then contains both and , so . Hence .
Every class of is a member of by step 3.1, and every is nonempty, so choosing gives , a class; therefore the quotient set of is exactly .
Uniqueness. Let be any equivalence relation on whose quotient set is , and fix . Its class lies in and contains by step 1.1 applied to , so by the uniqueness in step 1.3. Then holds exactly when , which by step 3.1 holds exactly when ; so and relate the same pairs and are equal as subsets of .
Claims 1, 2 and 3 are steps 1.1, 2.1 and 2.2; the converse is steps 2.3, 4.1 and 4.2.
Remarks
-
Claim 2 is the fact used constantly in practice: an equation between classes may always be replaced by a relation between representatives, and conversely. Claim 3 is what makes a quotient set behave like a set of disjoint boxes.
-
The converse half is what licenses building an equivalence relation by describing its classes rather than its pairs. The uniqueness clause matters: it says that no information is lost either way, so a partition and an equivalence relation are interchangeable descriptions of the same structure.
For a function the relation is an equivalence relation on
Statement
Let be a function. Then
is a set, is a relation on , and is an equivalence relation on .
Facts & Assumptions
Given: a function .
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
holds if and only if for some and some (The Cartesian product ).
is a relation on when (Relation, , , , and the specialisations "relation from to " and "relation on ").
reflexive: for every (Equivalence relation, equivalence class, and the quotient set ).
symmetric: implies , for all (Equivalence relation, equivalence class, and the quotient set ).
transitive: and imply , for all (Equivalence relation, equivalence class, and the quotient set ).
is transitive when and imply , for all (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).
Proof
is a set and a relation on : it is obtained by separating inside with the formula and the parameters and , so it is a subset of and each of its elements is an ordered pair.
It is reflexive on : for the value is a single set, so and .
It is symmetric: if then , hence and .
It is transitive: if and then and , hence and .
is a relation on that is reflexive on , symmetric and transitive, which is what it means to be an equivalence relation on .
Let be an equivalence relation on with quotient map , and let . There is a function with if and only if implies ; and such a is then unique
Statement
Let be an equivalence relation on a set , let be its quotient set and let , the quotient map. Let . Then is a surjective function with , and:
- (i) there is a function with if and only if whenever ;
- (ii) when such a exists it is unique, and it satisfies for every .
Facts & Assumptions
Given: an equivalence relation on a set and a function .
reflexive: for every (Equivalence relation, equivalence class, and the quotient set ).
symmetric: implies , for all (Equivalence relation, equivalence class, and the quotient set ).
transitive: and imply , for all (Equivalence relation, equivalence class, and the quotient set ).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
if and only if and for every (Functions and are equal if and only if and for every in that common domain).
is surjective (onto) if for every there is some with (Injection, surjection, bijection).
holds if and only if for some and some (The Cartesian product ).
For any parameters and any set , there is a set whose elements are exactly the elements of for which holds (The Axiom Schema of Separation: for each formula , ).
is a function, , and for every in that domain (If and are functions then is a function with domain and there; is a function with ; and for ).
holds if and only if (The power set ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
Proof
holds if and only if . If , then for we get exactly when , and symmetry with transitivity turns that into , so ; the same argument with and exchanged gives the reverse inclusion. Conversely by reflexivity, so gives , that is , and symmetry gives .
is a surjective function with : it is a set by separation inside , it is single valued because is determined by , its domain is since for every , and every element of is for some , so it is onto.
Uniqueness in (ii): if and are functions with , then for choose with ; then . Both have domain , so .
Claim (i), from left to right: suppose satisfies , and let . Then , so .
Claim (i), from right to left: suppose whenever , and separate inside to obtain . It is single valued: if with values and , then and the hypothesis gives . Its domain is , since every class is some and then , and its range lies in ; so with . Finally and are functions with domain and , so .
Both directions of (i) hold, and step 1.3 supplies the uniqueness in (ii) while step 2.2 supplies the formula , which is the statement.
Every function factors as with the surjective quotient map, the bijection , and the inclusion injection; is the only function making the factorisation hold
Statement
Let , write for and let be the quotient map. Put , the identity relation on . Then
- (i) is surjective;
- (ii) there is a function with for every , and it is a bijection;
- (iii) is an injective function with ;
- (iv) ;
- (v) is the only function satisfying (iv).
Facts & Assumptions
Given: a function , with denoting .
is a set, is a relation on , and is an equivalence relation on (For a function the relation is an equivalence relation on ).
there is a function with if and only if whenever (Let be an equivalence relation on with quotient map , and let . There is a function with if and only if implies ; and such a is then unique).
when such a exists it is unique, and it satisfies for every (Let be an equivalence relation on with quotient map , and let . There is a function with if and only if implies ; and such a is then unique).
is injective (one-to-one) if implies , for all (Injection, surjection, bijection).
is surjective (onto) if for every there is some with (Injection, surjection, bijection).
We write , and say is a function from to , when is a function with and (A function is a relation with and implying ; , the value , domain and codomain).
holds if and only if for some (The image and the preimage of a set under a relation).
is a function with and for every (If and are functions then is a function with domain and there; is a function with ; and for ).
is a function, , and for every in that domain (If and are functions then is a function with domain and there; is a function with ; and for ).
if and only if and for every (Functions and are equal if and only if and for every in that common domain).
holds if and only if and (The identity relation and the membership relation ).
means that every element of is an element of (Subset , proper subset , and the separation notation ).
Proof
is an equivalence relation on and says exactly ; so the hypothesis of the universal property is satisfied, and clause (i) is the surjectivity already recorded for the quotient map.
Claim (iii): is a function with domain and ; its range is , which is contained in because every element of is a value of and . It is injective, since reads .
Claim (ii): the universal property gives a function with and for every . Every value of is therefore a value of , so , and the same set is a function ; call it . It is onto , because each element of is for some ; and it is injective, because gives , that is , and therefore . Hence is a bijection.
Claim (iv): is unambiguous by associativity, it is a function with domain , and for its value is ; so it equals .
Claim (v): if also satisfies , then for choose with and compute ; both have domain , so .
Claims (i) to (v) are established, which is the statement.
The Axiom of Choice is stated on this page and assumed by no proof on it; the two statements that would need it are identified and left unsettled
Remark
The Axiom of Choice is stated on this page, at The Axiom of Choice, together with the notion of a choice function it is stated in terms of, Choice function. Nothing on the page assumes it: every proof here is carried out without any choice principle, and two natural-looking statements are missing from the page for exactly that reason. This is the account of where the line falls.
What is proved without choice, and why. A construction is choice-free when the object it produces is determined by the data rather than selected from several candidates. The two-sided inverse of is a bijection if and only if there is a function with and ; such a is unique, equals the inverse relation , and is itself a bijection is determined: for a bijection and a point of the codomain there is exactly one with , so no selection is made. The left inverse of For with : is injective if and only if there is with ; for the empty function is injective and has a left inverse if and only if needs one arbitrary point of a nonempty set, which is a single existential instantiation and not a choice principle: one point is chosen once, not one point for each index. The function produced by Let be an equivalence relation on with quotient map , and let . There is a function with if and only if implies ; and such a is then unique is likewise determined, because its value on a class is forced to be the common value of on that class, and The equivalence classes of an equivalence relation are nonempty, cover , and are pairwise equal or disjoint; conversely every such cover arises from exactly one equivalence relation is proved from the three defining properties alone.
A choice function is an element of a product, and the two formulations of the axiom are one statement. The Axiom of Choice gives the axiom twice, once as "every family of nonempty sets has a choice function" and once as "a product of nonempty sets is nonempty", and both objects are now defined on this page, so the passage between the two readings can be written out. Let be a set all of whose members are nonempty, and index it by itself: the identity relation of The identity relation and the membership relation is a function with domain sending each to itself, by clause (ii) of If and are functions then is a function with domain and there; is a function with ; and for , hence an indexed family (An indexed family is a function with domain ; is its range) whose range is , so its indexed union is (, and for ). Unfolding The product for that family gives the set of functions with for every , which is word for word the set of choice functions for in Choice function. So a choice function for is exactly an element of the product of the members of , and the two formulations assert the same thing about the same object.
The first statement that would need choice: a right inverse for a surjection. For a surjection (Injection, surjection, bijection) each has at least one preimage, and a right inverse is a rule picking one preimage for every at once. That is a simultaneous selection over the whole of , and no proof on this page makes one: the assertion that every surjection has a right inverse is equivalent to the Axiom of Choice.
The second: a nonempty product. ; if for some then ; and for the evaluation is a bijection settles when has no element, when some member is empty, and when has exactly one element, and For with and , the map is a bijection settles the two-index case, in each case by writing an element down. For an arbitrary index set the assertion that is nonempty whenever every is nonempty is the product formulation of the axiom, which by the identification above is the choice-function formulation read at the family indexed by itself; The product says so where the product is introduced.
Where the rest of the library's account of choice lives. The strength of the weaker choice principles relative to one another, and what survives without any of them, is recorded at The choice ledger: what costs the Axiom of Choice and what does not ↗.
5 · Examples, counterexamples and false statements
None yet.
Sources
Standard references
Recommended treatments; not extraction sources.
- B. Kaya, MATH 320 Set Theory (METU), §2.1
- Binary relation (Wikipedia)
- C. Wilson, A Brief Introduction to ZFC (Chicago REU 2016), Def. 2.9
- B. Kaya, MATH 320 Set Theory (METU), Def. 6 and Def. 11
- Cartesian product (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), Def. 9, Def. 12 and Def. 19
- Composition of relations (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), Def. 7, Def. 8 and Lemma 2
- Image (mathematics) (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), Def. 13 and Def. 14
- Axiom of regularity (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), Exercises 7 and 8
- B. Kaya, MATH 320 Set Theory (METU), Def. 7 and Lemma 2
- B. Kaya, MATH 320 Set Theory (METU), §3.1 and §3.3
- Equivalence relation (Wikipedia)
- Partially ordered set (Wikipedia)
- Total order (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), Lemma 9 and Lemma 10
- B. Kaya, MATH 320 Set Theory (METU), Def. 15 to Def. 17
- C. Wilson, A Brief Introduction to ZFC (Chicago REU 2016), Def. 2.10
- Function (mathematics) (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), §2.2
- J. K. Hunter, An Introduction to Real Analysis
- J. Lebl, Basic Analysis: Introduction to Real Analysis, basic set theory
- Bijection, injection and surjection (Wikipedia)
- T. Tao, Analysis I, 3rd ed., §3.3 (Functions)
- B. Kaya, MATH 320 Set Theory (METU), Lemma 5 and Exercise 11
- Function composition (Wikipedia)
- Inverse function (Wikipedia)
- Algebra of sets (Wikipedia)
- Power set (Wikipedia)
- Exponentiation (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), §2.3
- Indexed family (Wikipedia)
- C. Wilson, A Brief Introduction to ZFC (Chicago REU 2016), Def. 2.13
- Union (set theory) (Wikipedia)
- De Morgan's laws (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), Def. 21
- I. Khatchatourian, The Axiom of Choice (University of Toronto MAT327 notes)
- Choice function (Wikipedia)
- Axiom of choice (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), Def. 21 and Exercise 13
- Empty product (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), Exercise 12
- Equivalence class (Wikipedia)
- T. Tao, Analysis I, 3rd ed., §4.1 (the integers as a quotient)
- Partition of a set (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), §3.2
- Kernel (set theory) (Wikipedia)
- Quotient set (Wikipedia)
- B. Kaya, MATH 320 Set Theory (METU), §5