Alphabeta Math
Session-authored (Fable 5 assisted)
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.

23 results · all verified · 1 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full by a delegated reviewing agent on the owner's instruction; the judge is an additional, independent cross-model AI review of the proofs. The 22 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

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 R, 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 BA, 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

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

If every element of R is an ordered pair, then {a:b (a,b)R} and {b:a (a,b)R} are sets, both included in R

Statement

Let R be a set every element of which is an ordered pair. Then the classes

{a:b (a,b)R}and{b:a (a,b)R}

are sets, and both are included in R.

Facts & Assumptions

Given: a set R every element of which is an ordered pair.

[L1]
[L2]

{x,y} is the set whose elements are exactly x and y, and {x}:={x,x} (The unordered pair {x,y} and the singleton {x}={x,x}).

[L3]

x is the set whose elements are exactly the elements of the elements of x (The union x of a set, and the binary union ab:={a,b}).

[L4]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

Proof

technique · direct
1.1

Let (a,b)R. The elements of (a,b) are {a} and {a,b}, and (a,b) is an element of R, so {a} and {a,b} are elements of R.

L1L2L3
2.1

The elements of {a} and of {a,b} are elements of R; hence aR and bR whenever (a,b)R.

L2L3step 1.1
3.1

Separation applied to R with the formula b((a,b)R) and the parameter R gives the set {aR:b (a,b)R}; by step 2.1 every a satisfying that formula already lies in R, so this set has exactly the elements of the first class. The second class is obtained the same way from the formula a((a,b)R).

L4L5step 2.1
DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A"

Definition

A relation is a set R every element of which is an ordered pair (The Kuratowski ordered pair (a,b):={{a},{a,b}}). We write aRb for (a,b)R.

By If every element of R is an ordered pair, then {a:b (a,b)R} and {b:a (a,b)R} are sets, both included in R the following two classes are sets, so the notation is legitimate:

domR:={a:b (a,b)R},ranR:={b:a (a,b)R},

the domain and the range of R. The field of R is fldR:=domRranR (The union x of a set, and the binary union ab:={a,b}).

R is a relation from A to B when RA×B (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}, Subset xy, proper subset xy, and the separation notation {zx:φ(z)}), and a relation on A when RA×A.

Remarks

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

Every relation R satisfies RdomR×ranR, and R is a relation from A to B if and only if domRA and ranRB

Statement

Let R be a relation and let A and B be sets. Then

  • (i) RdomR×ranR;
  • (ii) RA×B if and only if domRA and ranRB.

Facts & Assumptions

Given: a relation R and sets A, B.

[L2]

domR:={a:b (a,b)R},ranR:={b:a (a,b)R} (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A").

[L3]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L4]

(a,b)=(c,d) if and only if a=c and b=d ((a,b)=(c,d) if and only if a=c and b=d).

Proof

technique · direct
1.1

Claim (i): let zR. Since R is a relation, z=(a,b) for some sets a and b; then adomR and branR by the defining conditions, so zdomR×ranR.

L1L2L3L5
1.2

Claim (ii), from left to right: assume RA×B. If adomR then (a,b)R for some b, so (a,b)A×B, so (a,b)=(a,b) with aA and bB, and the characterising property gives a=aA. The argument for ranRB is the same on the second coordinate.

L2L3L4L5
1.3

Claim (ii), from right to left: assume domRA and ranRB, and let zR. Then z=(a,b) with adomRA and branRB, so zA×B.

L1L2L3L5
2.1

Claims (i) and (ii) are established, which is the statement.

step 1.1step 1.2step 1.3
LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For relations R and S and a set A, the collections {(b,a):(a,b)R}, {(a,c):b ((a,b)R(b,c)S)} and {(a,b)R:aA} are sets

Statement

Let R and S be relations and A a set. Then each of

{(b,a):(a,b)R},{(a,c):b ((a,b)R(b,c)S)},{(a,b)R:aA}

is a set; the first is included in ranR×domR, the second in domR×ranS, and the third in R.

Facts & Assumptions

Given: relations R and S and a set A.

[L2]

domR:={a:b (a,b)R},ranR:={b:a (a,b)R} (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A").

[L3]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L4]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L7]

Proof

technique · direct
1.1

If (a,b)R then adomR and branR, so (b,a)ranR×domR; separating inside that product with the formula ab(z=(b,a)(a,b)R) and the parameter R therefore yields exactly the first collection.

L2L3L4L6L7
1.2

If (a,b)R and (b,c)S then adomR and cranS, so (a,c)domR×ranS; separating inside that product with the formula ac(z=(a,c)b((a,b)R(b,c)S)) and the parameters R and S yields exactly the second collection.

L2L3L4L6L7
1.3

The third collection consists of elements of R, and separating inside R with the formula ab(z=(a,b)aA) and the parameters A and R yields exactly it; every element of R is an ordered pair, so the formula selects the intended pairs.

L1L4L5L6L7
2.1

All three collections are therefore sets, with the stated inclusions.

step 1.1step 1.2step 1.3
DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

The inverse relation R1, the composite SR, and the restriction RA

Definition

Let R and S be relations (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A") and let A be a set. By For relations R and S and a set A, the collections {(b,a):(a,b)R}, {(a,c):b ((a,b)R(b,c)S)} and {(a,b)R:aA} 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 (a,b):={{a},{a,b}}):

  • the inverse R1:={(b,a):(a,b)R};
  • the composite SR:={(a,c):b ((a,b)R(b,c)S)};
  • the restriction RA:={(a,b)R:aA}.

Membership in each is exactly as written: (b,a)R1 holds if and only if (a,b)R; (a,c)SR holds if and only if (a,b)R and (b,c)S for some b; and (a,b)RA holds if and only if (a,b)R and aA.

Remarks

  • The order in SR. SR applies R first and S second. This is the convention that makes the composite of functions read (gf)(x)=g(f(x)), 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. RA keeps the pairs of R whose first coordinate lies in A and discards the rest; A need not be included in domR, and dom(RA)=domRA.

DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

The image R[A] and the preimage R1[B] of a set under a relation

Definition

Let R be a relation (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A") and let A and B be sets. The image of A under R and the preimage of B under R are

R[A]:={branR:a (aA(a,b)R)},R1[B]:={adomR:b (bB(a,b)R)},

sets by The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ))) applied inside ranR and domR respectively. Thus bR[A] holds if and only if (a,b)R for some aA, and aR1[B] holds if and only if (a,b)R for some bB (The Kuratowski ordered pair (a,b):={{a},{a,b}}).

The notation is consistent: applying the first clause to the inverse relation R1 of The inverse relation R1, the composite SR, and the restriction RA gives R1[B]={aran(R1):b (bB(b,a)R1)}, which has exactly the elements just described, since (b,a)R1 says (a,b)R and ran(R1)=domR.

Remarks

  • The bracket is not an application. R[A] is the set of things related to something in A; it is written with square brackets precisely so that it is never confused with a value R(a), which for a general relation does not exist. Even for a function, f[S] and f(S) mean different things, and only the bracket form is used here.

  • Image and range. Taking A:=domR gives R[domR]=ranR, and taking A:= gives R[]=, since no a lies in .

DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

The identity relation ΔA={(a,b)A×A:a=b} and the membership relation A={(a,b)A×A:ab}

Definition

Let A be a set. The identity relation and the membership relation on A are

ΔA:={(a,b)A×A:a=b},A  :=  {(a,b)A×A:ab},

sets by The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ))) applied inside A×A (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}), and relations on A in the sense of Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A". Thus (a,b)ΔA holds if and only if a=b and aA, and (a,b)A holds if and only if ab and both lie in A (The Kuratowski ordered pair (a,b):={{a},{a,b}}).

Remarks

PropositionStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

T(SR)=(TS)R, (SR)1=R1S1, (R1)1=R, dom(R1)=ranR, and ΔBR=R=RΔA for a relation R from A to B

Statement

Let R, S, T be relations and let A, B be sets. Then

  • (i) T(SR)=(TS)R;
  • (ii) (SR)1=R1S1;
  • (iii) (R1)1=R;
  • (iv) dom(R1)=ranR and ran(R1)=domR;
  • (v) if R is a relation from A to B, then ΔBR=R and RΔA=R.

Facts & Assumptions

Given: relations R, S, T and sets A, B.

[L1]

(b,a)R1 holds if and only if (a,b)R; (a,c)SR holds if and only if (a,b)R and (b,c)S for some b (The inverse relation R1, the composite SR, and the restriction RA).

[L3]

domR:={a:b (a,b)R},ranR:={b:a (a,b)R} (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A").

[L5]

(a,b)=(c,d) if and only if a=c and b=d ((a,b)=(c,d) if and only if a=c and b=d).

[L6]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

[L8]

Proof

technique · direct
1.1

Claim (i): every element of either side is an ordered pair, and (a,d) lies in T(SR) exactly when there is c with (a,c)SR and (c,d)T, that is, exactly when there are b and c with (a,b)R, (b,c)S and (c,d)T. Reading the same condition with the middle pair grouped the other way gives membership in (TS)R.

L1L2L5L6L8
1.2

Claim (ii): (c,a)(SR)1 exactly when (a,c)SR, that is, exactly when there is b with (a,b)R and (b,c)S; and that says exactly that (c,b)S1 and (b,a)R1 for some b, which is (c,a)R1S1.

L1L2L5L6L8
1.3

Claim (iii): every element of R is an ordered pair (a,b), and (a,b)(R1)1 exactly when (b,a)R1, exactly when (a,b)R; both sides consist of ordered pairs, so they are equal.

L1L2L5L6L8
1.4

Claim (iv): adom(R1) exactly when (a,b)R1 for some b, exactly when (b,a)R for some b, exactly when aranR; the second identity is the same argument with the coordinates exchanged.

L1L3L6
2.1

Claim (v): let R be a relation from A to B, so domRA and ranRB. Then (a,c)ΔBR exactly when there is b with (a,b)R and b=cB, that is, exactly when (a,c)R and cB; and (a,c)R already forces cranRB, so the two sets are equal. Symmetrically (a,c)RΔA exactly when aA and (a,c)R, and (a,c)R forces adomRA.

L1L3L4L6L7step 1.4
3.1

Claims (i) to (v) are established, which is the statement.

step 1.1step 1.2step 1.3step 1.4step 2.1
PropositionStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

R[AB]=R[A]R[B], R[AB]R[A]R[B], R[A]R[B]R[AB], AB implies R[A]R[B], and (SR)[A]=S[R[A]]

Statement

Let R and S be relations and A, B sets. Then

  • (i) R[AB]=R[A]R[B];
  • (ii) R[AB]R[A]R[B];
  • (iii) R[A]R[B]R[AB];
  • (iv) if AB then R[A]R[B];
  • (v) (SR)[A]=S[R[A]].

Facts & Assumptions

Given: relations R and S and sets A, B.

[L1]

bR[A] holds if and only if (a,b)R for some aA (The image R[A] and the preimage R1[B] of a set under a relation).

[L2]

(a,c)SR holds if and only if (a,b)R and (b,c)S for some b (The inverse relation R1, the composite SR, and the restriction RA).

[L7]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

Proof

technique · direct
1.1

Claim (i): cR[AB] exactly when (a,c)R for some a with aA or aB; that is exactly when (a,c)R for some aA, or (a,c)R for some aB, which is cR[A]R[B].

L1L3L7
1.2

Claim (ii): if cR[AB] then (a,c)R for some a lying in both A and B; that same a witnesses cR[A] and cR[B].

L1L4L6
1.3

Claim (iii): if cR[A]R[B] then (a,c)R for some aA, and no element of B is related to c; in particular that a is not in B, so aAB and cR[AB].

L1L5L6
1.4

Claim (iv): if AB and cR[A] then (a,c)R for some aA, and that a lies in B.

L1L6
1.5

Claim (v): c(SR)[A] exactly when (a,c)SR for some aA, that is, exactly when there are aA and b with (a,b)R and (b,c)S; and that says exactly that (b,c)S for some bR[A], which is cS[R[A]].

L1L2L7L8
2.1

Claims (i) to (v) are established, which is the statement.

step 1.1step 1.2step 1.3step 1.4step 1.5
DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set

Definition

Let A be a set and let R be a relation on A, that is RA×A (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A", The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}). Then R is:

  • reflexive on A when (a,a)R for every aA;
  • irreflexive when (a,a)R for every aA;
  • symmetric when (a,b)R implies (b,a)R, for all a,bA;
  • asymmetric when (a,b)R implies (b,a)R, for all a,bA;
  • antisymmetric when (a,b)R and (b,a)R imply a=b, for all a,bA;
  • transitive when (a,b)R and (b,c)R imply (a,c)R, for all a,b,cA;
  • connex on A when, for all a,bA, (a,b)R or (b,a)R.

Reflexivity and irreflexivity have short forms in terms of the identity relation ΔA of The identity relation ΔA={(a,b)A×A:a=b} and the membership relation A={(a,b)A×A:ab}, because the elements of ΔA are exactly the pairs (a,a) with aA: R is reflexive on A if and only if ΔAR (Subset xy, proper subset xy, and the separation notation {zx:φ(z)}), and irreflexive if and only if R and ΔA have no common element.

Remarks

  • Reflexivity and connexity mention A; the others do not. Whether R is symmetric, asymmetric, antisymmetric or transitive depends on R alone, whereas "reflexive on A" and "connex on A" 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 A 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 P, 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 P is a relation on P satisfying its clauses (R), (A) and (T), which are reflexivity on P, antisymmetry and transitivity as defined above, quantified over the same set P;
    • the strict order x<y:xy and xy associated there with a partial order is the relation ΔP 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 A, RRΔA and SSΔA are mutually inverse bijections between the partial orders on A and the irreflexive, transitive relations on A; RΔA is the strict order of R, and every irreflexive transitive relation is asymmetric, whose clause on asymmetry also reconciles the two usual definitions of a strict order;
    • two elements x,yP are comparable there when xy or yx, so a relation on A is connex on A exactly when every two elements of A are comparable;
    • consequently what that item calls a total order — a partial order in which every two elements are comparable — is a relation on P that is reflexive on P, antisymmetric, transitive and connex on P. "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 A, symmetric and transitive is what Equivalence relation, equivalence class, and the quotient set A/ calls an equivalence relation.

DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

Partial order and partially ordered set

Definition

Let P be a set. A partial order on P is a binary relation on P such that, for all x,y,zP:

  • (R) reflexivity: xx;
  • (A) antisymmetry: if xy and yx, then x=y;
  • (T) transitivity: if xy and yz, then xz.

The pair (P,) is a partially ordered set, abbreviated poset. When the order is clear we write P for the pair.

The associated strict order is defined by x<y:xy and xy.

Two elements x,yP are comparable if xy or yx, and incomparable otherwise. A partial order in which every two elements are comparable is a total order (equivalently a linear order), and (P,) 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 f 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 f(c)c and cf(c) to f(c)=c. Antisymmetry is also what makes a least upper bound unique when it exists, and uniqueness is what licenses the functional notation sup 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 P 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.
TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

On a set A, RRΔA and SSΔA are mutually inverse bijections between the partial orders on A and the irreflexive, transitive relations on A; RΔA is the strict order of R, and every irreflexive transitive relation is asymmetric

Statement

Let A be a set. Write R for the collection of relations on A that are reflexive on A, antisymmetric and transitive — that is, the partial orders on A in the sense of Partial order and partially ordered set — and S for the collection of relations on A that are irreflexive and transitive. Then:

  • (i) R and S are sets, both subsets of P(A×A);
  • (ii) every SS is asymmetric;
  • (iii) RΔAS for every RR;
  • (iv) SΔAR for every SS;
  • (v) (RΔA)ΔA=R for every RR, and (SΔA)ΔA=S for every SS;
  • (vi) for every RR and all x,y, the pair (x,y) lies in RΔA if and only if (x,y)R and xy; that is, RΔA is exactly the strict order associated with the partial order R.

Clauses (iii) to (v) are what it means for the two assignments to be mutually inverse bijections between R and S, and clause (vi) identifies the first assignment with the passage from a partial order to its strict order.

Facts & Assumptions

Given: a set A.

[L1]

R is reflexive on A when (a,a)R for every aA (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).

[L2]
[L3]

R is antisymmetric when (a,b)R and (b,a)R imply a=b, for all a,bA (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).

[L4]

R is transitive when (a,b)R and (b,c)R imply (a,c)R, for all a,b,cA (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).

[L5]

R is asymmetric when (a,b)R implies (b,a)R, for all a,bA (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).

[L9]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

[L10]

zP(x) holds if and only if zx (The power set P(x)={z:zx}).

[L11]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L13]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L14]
[L15]

A partial order on P is a binary relation on P such that, for all x,y,zP: xx; if xy and yx, then x=y; and if xy and yz, then xz (Partial order and partially ordered set).

[L16]

The strict order associated with a partial order is defined by x<y if and only if xy and xy (Partial order and partially ordered set).

Proof

technique · direct
1.1

Claim (i): a relation on A is exactly an element of P(A×A), so R and S are obtained by separating inside that set with the formulas expressing the three, respectively two, listed properties, with parameter A.

L10L11L12L13L14
1.2

Claim (ii): let S be irreflexive and transitive and suppose (a,b)S and (b,a)S. Transitivity gives (a,a)S, which irreflexivity forbids; so (a,b)S implies (b,a)S.

L2L4L5
1.3

Claim (vi): let RR, so that R is a partial order on A. If (x,y)R then xA, because RA×A; so for such a pair (x,y)ΔA holds exactly when x=y. Hence (x,y)RΔA if and only if (x,y)R and xy, and that is the defining condition of the strict order associated with R.

L6L7L12L13L15L16
2.1

Claim (iii): let RR and put S:=RΔA. For aA the pair (a,a) lies in ΔA, so it is not in S, and S is irreflexive. If (a,b)S and (b,c)S then (a,b),(b,c)R, so (a,c)R; and a=c would give (a,b)R and (b,a)R, whence a=b by antisymmetry, contradicting (a,b)ΔA. So (a,c)ΔA and (a,c)S. Finally SRA×A.

L2L3L4L6L7L12L14step 1.2
2.2

Claim (iv): let SS and put R:=SΔA. Then ΔAR, so R is reflexive on A, and RA×A since both parts are. If (a,b),(b,a)R and ab then neither pair lies in ΔA, so both lie in S, contradicting asymmetry; hence R is antisymmetric. If (a,b),(b,c)R, then a=b or b=c makes (a,c) one of the two given pairs, and otherwise both lie in S and transitivity of S gives (a,c)SR.

L1L3L4L6L8L12L14step 1.2
3.1

Claim (v): for RR reflexivity gives ΔAR, so (RΔA)ΔA and R have the same elements; for SS irreflexivity gives that no element of ΔA lies in S, so (SΔA)ΔA and S have the same elements.

L1L2L6L7L8L9step 2.1step 2.2
4.1

Clauses (i) to (vi) are established, so the two assignments send R into S and back and undo one another, and the first of them is the passage to the strict order, which is the statement.

step 1.1step 1.2step 1.3step 2.1step 2.2step 3.1

Remarks

  • What the correspondence says about the vocabulary of Partial order and partially ordered set. The relations collected in R are exactly the partial orders on A, and by clause (vi) the assignment RRΔA 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 RRΔA: a total order is connex on A, whereas an irreflexive relation relates no element of A to itself, so it is connex on A only when A 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.

DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain

Definition

A function is a relation f such that (a,b)f and (a,c)f imply b=c; "relation" is as in Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A".

For adomf there is such a b, and by the condition just stated there is only one; f(a) denotes that unique b, so that (a,b)f holds if and only if adomf and b=f(a) ((a,b)=(c,d) if and only if a=c and b=d).

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (Subset xy, proper subset xy, and the separation notation {zx:φ(z)}); A is the domain of f and B is a codomain for f. Equivalently fA×B with domf=A (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}, The Kuratowski ordered pair (a,b):={{a},{a,b}}).

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 f satisfies f:AB for every B containing ranf. So being onto is a property of the declaration f:AB rather than of f, while being one-to-one is a property of f alone. This convention is what makes a function B for every B at once.

  • Total on its domain by construction. There is no partial function here: if adomf then f(a) is not defined, and a function f:AB has domf equal to A exactly, not merely included in it.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

Functions f and g are equal if and only if domf=domg and f(x)=g(x) for every x in that common domain

Statement

Let f and g be functions. Then f=g if and only if domf=domg and f(x)=g(x) for every xdomf.

Facts & Assumptions

Given: functions f and g.

[L1]
[L3]

(a,b)=(c,d) if and only if a=c and b=d ((a,b)=(c,d) if and only if a=c and b=d).

[L4]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

[L5]

Proof

technique · direct
1.1

From left to right: if f=g 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.

L1L2L4
1.2

From right to left: assume domf=domg and f(x)=g(x) for every x in that set. Let zf. Then z is an ordered pair (x,y) with xdomf and y=f(x); hence xdomg and y=g(x), so zg. The same argument with f and g exchanged gives the reverse inclusion, so the two sets have the same elements.

L1L2L3L4L5
2.1

Both implications hold, which is the statement.

step 1.1step 1.2
DefinitionDefinition: AI-adaptedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

Injection, surjection, bijection

Definition

Let A and B be sets and let f:AB be a function (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

  • f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA.
  • f is surjective (onto) if for every bB there is some xA with f(x)=b; equivalently, the image f[A]:={f(x):xA} equals B.
  • f is bijective if it is both injective and surjective.

For SA we write f[S]={f(x):xS} for the image of S, and for TB we write f1[T]={xA:f(x)T} for the preimage of T; these are the image and preimage of a set under f read as a relation (The image R[A] and the preimage R1[B] of a set under a relation).

Remarks

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

If f and g are functions then gf is a function with domain f1[domg] and (gf)(x)=g(f(x)) there; ΔA is a function with ΔA(a)=a; and fΔA=f=ΔBf for f:AB

Statement

Let f and g be functions and let A, B be sets. Then

  • (i) gf is a function, dom(gf)=f1[domg], and (gf)(x)=g(f(x)) for every x in that domain;
  • (ii) ΔA is a function with domΔA=A and ΔA(a)=a for every aA;
  • (iii) if f:AB then fΔA=f and ΔBf=f.

Facts & Assumptions

Given: functions f and g, and sets A, B.

[L1]
[L2]

(a,c)SR holds if and only if (a,b)R and (b,c)S for some b (The inverse relation R1, the composite SR, and the restriction RA).

[L4]

aR1[B] holds if and only if (a,b)R for some bB (The image R[A] and the preimage R1[B] of a set under a relation).

Proof

technique · direct
1.1

Claim (i), single-valuedness: gf is a relation, and if (a,c) and (a,c) both lie in it, there are b and b with (a,b),(a,b)f and (b,c),(b,c)g; single-valuedness of f gives b=b, and then single-valuedness of g gives c=c.

L1L2
1.2

Claim (ii): if (a,b) and (a,c) lie in ΔA then b=a=c, so ΔA is a function; its domain is A, because (a,a)ΔA exactly for aA, and its value at a is a.

L1L3L5
1.3

Claim (iii): a function f:AB has domf=A and ranfB, so it is a relation from A to B, and the identity laws for relations apply verbatim.

L6
2.1

Claim (i), domain and values: adom(gf) holds exactly when there are b and c with (a,b)f and (b,c)g, that is, exactly when adomf and f(a)domg; and that is exactly the condition af1[domg]. For such an a the pair (a,g(f(a))) lies in gf, so (gf)(a)=g(f(a)) by step 1.1.

L1L2L3L4step 1.1
3.1

Claims (i), (ii) and (iii) are established, which is the statement.

step 1.1step 1.2step 1.3step 2.1
PropositionStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For f:AB and g:BC: if both are injective so is gf; if both are surjective so is gf; if gf is injective so is f; and if gf is surjective so is g

Statement

Let f:AB and g:BC. Then gf:AC, and

  • (i) if f and g are injective then so is gf;
  • (ii) if f and g are surjective then so is gf;
  • (iii) if gf is injective then so is f;
  • (iv) if gf is surjective then so is g.

In particular a composite of bijections is a bijection.

Facts & Assumptions

Given: functions f:AB and g:BC.

[L1]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA (Injection, surjection, bijection).

[L2]

f is surjective (onto) if for every bB there is some xA with f(x)=b (Injection, surjection, bijection).

[L3]

f is bijective if it is both injective and surjective (Injection, surjection, bijection).

[L5]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L7]

aR1[B] holds if and only if (a,b)R for some bB (The image R[A] and the preimage R1[B] of a set under a relation).

Proof

technique · direct
1.1

gf:AC: its domain is f1[domg]=f1[B], which is A because domf=A and ranfB; and its values g(f(a)) lie in rangC.

L4L5L6L7
2.1

Claim (i): assume f and g injective and let a,aA with g(f(a))=g(f(a)). Injectivity of g gives f(a)=f(a), and injectivity of f gives a=a.

L1L4step 1.1
2.2

Claim (ii): assume f and g surjective and let cC. Surjectivity of g gives bB with g(b)=c, and surjectivity of f gives aA with f(a)=b; then g(f(a))=c.

L2L4step 1.1
2.3

Claim (iii): assume gf injective and let a,aA with f(a)=f(a). Then g(f(a))=g(f(a)), so a=a.

L1L4step 1.1
2.4

Claim (iv): assume gf surjective and let cC. There is aA with g(f(a))=c, and f(a) is an element of B, so c is a value of g.

L2L4L5step 1.1
3.1

Claims (i) to (iv) are established; combining (i) and (ii) gives that a composite of bijections is injective and surjective, hence a bijection.

L3step 2.1step 2.2step 2.3step 2.4
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

f:AB is a bijection if and only if there is a function g:BA with gf=ΔA and fg=ΔB; such a g is unique, equals the inverse relation f1, and is itself a bijection

Statement

Let f:AB. Then f is a bijection if and only if there is a function g:BA with gf=ΔA and fg=ΔB. When such a g exists it is unique, it is the inverse relation f1, and it is itself a bijection BA.

No choice principle is used: the value g(b) is the unique a with f(a)=b, so it is determined rather than selected.

Facts & Assumptions

Given: a function f:AB.

[L1]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA (Injection, surjection, bijection).

[L2]

f is surjective (onto) if for every bB there is some xA with f(x)=b (Injection, surjection, bijection).

[L3]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L4]

(b,a)R1 holds if and only if (a,b)R (The inverse relation R1, the composite SR, and the restriction RA).

[L8]

f=g if and only if domf=domg and f(x)=g(x) for every xdomf (Functions f and g are equal if and only if domf=domg and f(x)=g(x) for every x in that common domain).

Proof

technique · direct
1.1

Suppose f is a bijection. The inverse relation f1 is a function: if (b,a) and (b,a) lie in it then f(a)=b=f(a), so a=a by injectivity. Its domain is ranf, which is B by surjectivity, and its range is domf=A; hence f1:BA.

L1L2L3L4L5L9
1.2

Conversely, suppose g:BA satisfies gf=ΔA and fg=ΔB. If f(a)=f(a) then a=g(f(a))=g(f(a))=a, so f is injective; and any bB satisfies b=ΔB(b)=f(g(b)), so b is a value of f and f is surjective. Hence f is a bijection.

L1L2L6L7L10
1.3

Any two such functions agree: if g and g both satisfy the two identities then, for bB, f(g(b))=b, so g(b)=g(f(g(b)))=ΔA(g(b))=g(b); both have domain B, so g=g.

L6L7L8
2.1

For a bijection f, the function f1 of step 1.1 satisfies the two identities: f1f and ΔA are functions with domain A, and f1(f(a))=a=ΔA(a) for aA; likewise ff1 and ΔB are functions with domain B agreeing at every point.

L4L6L7L8step 1.1
2.2

Such a g is itself a bijection: f is a function AB with fg=ΔB and gf=ΔA, which is the hypothesis of step 1.2 applied to g in place of f.

step 1.2
3.1

Such a g is the inverse relation: f1 satisfies the two identities by step 2.1, and step 1.3 says there is only one function that does.

step 1.3step 2.1
4.1

The two directions, the uniqueness, the identification with f1 and the bijectivity of g are established, which is the statement.

step 1.1step 1.2step 1.3step 2.1step 2.2step 3.1
CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For f:AB with A: f is injective if and only if there is g:BA with gf=ΔA; for A= the empty function is injective and has a left inverse if and only if B=

Statement

Let f:AB.

  • (i) If A, then f is injective if and only if there is a function g:BA with gf=ΔA.
  • (ii) If A=, then f= and f is injective; and there is a function g:BA with gf=ΔA if and only if B=.

The hypothesis A in (i) is not removable: for A= and B the empty function is injective and has no left inverse at all.

Facts & Assumptions

Given: a function f:AB.

[L1]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA (Injection, surjection, bijection).

[L2]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L6]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L7]

bR[A] holds if and only if (a,b)R for some aA (The image R[A] and the preimage R1[B] of a set under a relation).

[L8]

There is exactly one set with no elements, written (There is exactly one set with no elements, written ).

[L9]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L11]

domR:={a:b (a,b)R},ranR:={b:a (a,b)R} (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A").

Proof

technique · direct
1.1

Claim (i), from right to left: if gf=ΔA and f(a)=f(a) for a,aA, then a=ΔA(a)=g(f(a))=g(f(a))=ΔA(a)=a.

L1L3L4
1.2

Claim (i), from left to right: assume f injective and A, and fix a0A. Separating inside B×A gives the set g:={(b,a)B×A:(a,b)f or (bf[A] and a=a0)}. For bf[A] the first alternative supplies exactly one a, by injectivity, and the second supplies none; for bB with bf[A] the first supplies none, since ranf=f[A], and the second supplies a0 alone. Hence g is a function with domain B and range inside A, so g:BA.

L1L2L6L7L8L9L11
1.3

Claim (ii): if A= then domf=, so f has no element and f=; the injectivity condition quantifies over elements of A and holds vacuously.

L1L2L8L11
2.1

Claim (i) concluded: with g as in step 1.2, gf and ΔA are functions with domain A, and g(f(a))=a for every aA, since f(a)f[A] selects the first alternative; so the two functions are equal.

L3L4L5L7step 1.2
2.2

Claim (ii) concluded: a function g:B has rang, so gB×=, giving g= and B=domg=. Conversely, if B= then g:= is a function , and gf and Δ are both , so the identity holds.

L2L3L5L8L9L10L11step 1.3
3.1

Claims (i) and (ii) are established, which is the statement.

step 1.1step 1.2step 1.3step 2.1step 2.2

Remarks

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For f:AB and T,UB: f1[TU]=f1[T]f1[U], f1[TU]=f1[T]f1[U], f1[TU]=f1[T]f1[U], and f1[BT]=Af1[T]

Statement

Let f:AB and let T,UB. Then

f1[TU]=f1[T]f1[U],f1[TU]=f1[T]f1[U],

f1[TU]=f1[T]f1[U],f1[BT]=Af1[T].

Facts & Assumptions

Given: a function f:AB and subsets T,U of B.

[L1]

aR1[B] holds if and only if (a,b)R for some bB (The image R[A] and the preimage R1[B] of a set under a relation).

[L2]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L6]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

Proof

technique · direct
1.1

Membership criterion: for any SB, af1[S] holds exactly when aA and f(a)S. Indeed af1[S] says (a,b)f for some bS, and (a,b)f says adomf=A and b=f(a).

L1L2L7L8
2.1

First identity: af1[TU] exactly when aA and f(a)T or f(a)U, which is exactly af1[T] or af1[U].

L3L6step 1.1
2.2

Second identity: af1[TU] exactly when aA and f(a) lies in both T and U, which is exactly af1[T] and af1[U].

L4L6step 1.1
2.3

Third identity: af1[TU] exactly when aA, f(a)T and f(a)U; the last two conditions say af1[T] and af1[U], since for aA membership in f1[U] is exactly f(a)U.

L5L6step 1.1
2.4

Fourth identity: af1[BT] exactly when aA, f(a)B and f(a)T; the condition f(a)B is automatic because ranfB, so this says aA and af1[T].

L2L5L6step 1.1
3.1

The four identities are established, which is the statement.

step 2.1step 2.2step 2.3step 2.4
PropositionStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For f:AB and S,TA: f[ST]=f[S]f[T], f[ST]f[S]f[T] and f[S]f[T]f[ST]; both inclusions are equalities for all S and T if and only if f is injective

Statement

Let f:AB and let S,TA. Then

  • (i) f[ST]=f[S]f[T];
  • (ii) f[ST]f[S]f[T];
  • (iii) f[S]f[T]f[ST].

Moreover the inclusions in (ii) and (iii) are equalities for all S,TA if and only if f is injective.

Facts & Assumptions

Given: a function f:AB and subsets S,T of A.

[L1]

bR[A] holds if and only if (a,b)R for some aA (The image R[A] and the preimage R1[B] of a set under a relation).

[L2]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L3]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA (Injection, surjection, bijection).

[L7]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

[L8]

{x}:={x,x}, the singleton of x, is the set whose only element is x (The unordered pair {x,y} and the singleton {x}={x,x}).

[L10]

There is exactly one set with no elements, written (There is exactly one set with no elements, written ).

Proof

technique · direct
1.1

Membership criterion: for SA, yf[S] holds exactly when y=f(s) for some sS, since (s,y)f with sSA says y=f(s).

L1L2L9
2.1

Claim (i): yf[ST] exactly when y=f(x) for some x lying in S or in T, which is exactly yf[S] or yf[T].

L4L7step 1.1
2.2

Claim (ii): if yf[ST] then y=f(x) for some x in both S and T, so yf[S] and yf[T].

L5L9step 1.1
2.3

Claim (iii): if yf[S]f[T] then y=f(s) for some sS, and no element of T is sent to y; in particular sT, so sST and yf[ST].

L6L9step 1.1
2.4

If f is injective, both inclusions are equalities. For (ii): yf[S]f[T] gives y=f(s)=f(t) with sS and tT, and injectivity gives s=tST, so yf[ST]. For (iii): yf[ST] gives y=f(s) with sS and sT; if y were f(t) for some tT then injectivity would give s=tT, so yf[T] and yf[S]f[T].

L3L5L6L7step 1.1
2.5

Conversely, suppose f is not injective, so f(a)=f(a) for some a,aA with aa. Take S:={a} and T:={a}. Then ST=, so f[ST]=, while f(a) lies in f[S]f[T]; the inclusion in (ii) is therefore proper for this pair.

L3L5L8L10step 1.1
3.1

Claims (i), (ii) and (iii) hold in general, and steps 2.4 and 2.5 show that the two inclusions are equalities for all S and T exactly when f is injective.

step 2.1step 2.2step 2.3step 2.4step 2.5
CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For f:AB: Sf1[f[S]] for every SA, with equality for every such S if and only if f is injective; and f[f1[T]]=Tf[A] for every TB, so equality with T holds for every such T if and only if f is surjective

Statement

Let f:AB. Then

  • (i) Sf1[f[S]] for every SA;
  • (ii) equality holds in (i) for every SA if and only if f is injective;
  • (iii) f[f1[T]]=Tf[A] for every TB;
  • (iv) f[f1[T]]=T for every TB if and only if f is surjective.

Facts & Assumptions

Given: a function f:AB.

[L1]

bR[A] holds if and only if (a,b)R for some aA (The image R[A] and the preimage R1[B] of a set under a relation).

[L2]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L3]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA (Injection, surjection, bijection).

[L4]

f is surjective (onto) if for every bB there is some xA with f(x)=b; equivalently, the image f[A]:={f(x):xA} equals B (Injection, surjection, bijection).

[L7]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

[L8]

{x}:={x,x}, the singleton of x, is the set whose only element is x (The unordered pair {x,y} and the singleton {x}={x,x}).

Proof

technique · direct
1.1

Membership criteria used throughout: for SA, yf[S] exactly when y=f(s) for some sS; and for TB, af1[T] exactly when aA and f(a)T.

L1L2L6L9
2.1

Claim (i): if sS then f(s)f[S], so sf1[f[S]].

step 1.1
2.2

Claim (iii): if yf[f1[T]] then y=f(a) with aA and f(a)T, so yT and yf[A]; conversely if yT and y=f(a) with aA, then f(a)T puts a in f1[T] and y in f[f1[T]].

L5L7step 1.1
3.1

Claim (ii): suppose f is injective and af1[f[S]] for some SA. Then f(a)f[S], so f(a)=f(s) for some sS, and injectivity gives a=sS; with step 2.1 this is equality. Conversely, if f is not injective, take aa in A with f(a)=f(a) and put S:={a}; then af1[f[S]] while aS, so equality fails for that S.

L3L8step 1.1step 2.1
3.2

Claim (iv): if f is surjective then f[A]=B, so for TB claim (iii) gives f[f1[T]]=TB=T. Conversely, if the equality holds for every TB, take T:=B; claim (iii) gives B=Bf[A]=f[A], which is surjectivity.

L4L5L6L7step 2.2
4.1

Claims (i) to (iv) are established, which is the statement.

step 2.1step 2.2step 3.1step 3.2

Remarks

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For sets A and B the collection of all functions AB is a set, being a subset of P(A×B)

Statement

Let A and B be sets. Then there is a set whose elements are exactly the functions f:AB, and it is a subset of P(A×B).

Facts & Assumptions

Given: sets A and B.

[L1]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L3]

zP(x) holds if and only if zx (The power set P(x)={z:zx}).

[L4]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L6]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

Proof

technique · direct
1.1

A function f:AB is a relation with domf=A and ranfB, so fA×B and therefore fP(A×B).

L1L2L3L5L6
2.1

Separating inside P(A×B) with the formula saying that z is a function and domz=A, with parameters A and B, gives a set whose elements are exactly those elements of P(A×B) that are functions AB; by step 1.1 every function AB is such an element, so that set has exactly the intended elements and is included in P(A×B).

L1L3L4L5step 1.1
DefinitionDefinition: AI-adaptedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

The set BA of all functions AB

Definition

Let A and B be sets. By For sets A and B the collection of all functions AB is a set, being a subset of P(A×B) the functions AB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain) form a set; it is written

BA:={f:f is a function with domf=A and ranfB}.

Thus fBA holds if and only if f:AB.

Remarks

DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

An indexed family (Ai)iI is a function with domain I; {Ai:iI} is its range

Definition

Let I be a set. An indexed family with index set I is a function A (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain) with domA=I. It is written (Ai)iI, and Ai abbreviates the value A(i).

The set of its members is its range (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A"):

{Ai:iI}  :=  ranA.

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 {Ai:iI} does not. The family with I={a,b} and Aa=Ab=X has {Ai:iI}={X}, and it is a different function from the family indexed by {a} alone.

  • Every set is the range of some family. For a set F, the identity relation ΔF is a function with domain F and range F, so F 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.

DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

iIAi:={Ai:iI}, and iIAi:={Ai:iI} for I

Definition

Let (Ai)iI be an indexed family (An indexed family (Ai)iI is a function with domain I; {Ai:iI} is its range). Its indexed union is

iIAi  :=  {Ai:iI},

the union of its range (The union x of a set, and the binary union ab:={a,b}); so ziIAi holds if and only if zAi for some iI.

When I its indexed intersection is

iIAi  :=  {Ai:iI},

which is legitimate because a family with I has a value at some index, so its range is nonempty (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A") and For a set x the collection {z:s(sxzs)} is a set, and it does not depend on the member of x used to separate it applies (The intersection x of a nonempty set, the binary intersection ab:={a,b}, and disjointness); so ziIAi holds if and only if zAi for every iI.

Remarks

CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For a nonempty index set I: BiIAi=iI(BAi), BiIAi=iI(BAi), XiIAi=iI(XAi), and XiIAi=iI(XAi)

Statement

Let (Ai)iI be an indexed family with I and let B and X be sets. Then (BAi)iI, (BAi)iI and (XAi)iI are indexed families with index set I, and

BiIAi=iI(BAi),BiIAi=iI(BAi),

XiIAi=iI(XAi),XiIAi=iI(XAi).

Facts & Assumptions

Given: an indexed family (Ai)iI with I, and sets B and X.

[L2]

An indexed family with index set I is a function A with domA=I (An indexed family (Ai)iI is a function with domain I; {Ai:iI} is its range).

[L7]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

[L9]

zP(x) holds if and only if zx (The power set P(x)={z:zx}).

[L10]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L11]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L12]

Proof

technique · direct
1.1

The three derived families exist. Each BAi is a subset of B, so separating inside I×P(B) with the formula iw(z=(i,w)iIw=BAi) gives a set; it is a function, since the value at each i is determined, and its domain is I. The same construction inside I×P(BiIAi) and inside I×P(X) gives (BAi)iI and (XAi)iI.

L2L9L10L11L12
2.1

Write F:={Ai:iI}, which is ranA and is nonempty because I is. The range of (BAi)iI is exactly {Bb:bF}, since the values of the derived family are the sets BAi with iI and the elements of F are exactly the Ai with iI; the same holds for the other two derived families.

L2L3L8step 1.1
3.1

Substituting into the family laws for F 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.

L1L4L5L6L7step 2.1
4.1

The derived families exist and the four identities hold, which is the statement.

step 1.1step 2.1step 3.1
LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For an indexed family (Ai)iI the collection of functions f with domain I and f(i)Ai for every iI is a set

Statement

Let (Ai)iI be an indexed family. Then there is a set whose elements are exactly the functions f with domf=I and f(i)Ai for every iI, and it is a subset of CI where C:=iIAi.

Facts & Assumptions

Given: an indexed family (Ai)iI, and C:=iIAi.

[L1]

An indexed family with index set I is a function A with domA=I (An indexed family (Ai)iI is a function with domain I; {Ai:iI} is its range).

[L2]
[L3]

fBA holds if and only if f:AB (The set BA of all functions AB).

[L4]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L5]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

Proof

technique · direct
1.1

Let f be a function with domf=I and f(i)Ai for every iI. Every element of ranf is f(i) for some iI, hence lies in Ai and therefore in C; so ranfC and f:IC, that is, fCI.

L1L2L3L4L6L7
2.1

Separating inside CI with the formula saying that z(i)Ai for every iI, with parameters I and the family, gives a set whose elements are exactly the members of CI with that property; by step 1.1 every function of the kind described already lies in CI, so this set has exactly the intended elements and is included in CI.

L3L5L6step 1.1
DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

The product iIAi:={f:IiIAi  f(i)Ai for every iI}

Definition

Let (Ai)iI be an indexed family (An indexed family (Ai)iI is a function with domain I; {Ai:iI} is its range) and write C:=iIAi (iIAi:={Ai:iI}, and iIAi:={Ai:iI} for I). By For an indexed family (Ai)iI the collection of functions f with domain I and f(i)Ai for every iI is a set the following collection is a set; it is the product of the family:

iIAi  :=  {f:IC  f(i)Ai for every iI}.

So an element of iIAi is a function with domain I that takes its value at each index inside the member carried by that index; "function" is as in A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain.

Remarks

  • Nonemptiness of the product is exactly the Axiom of Choice. Nothing in this definition decides whether iIAi is nonempty when every Ai 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 iIXi is nonempty whenever every Xi 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 iAi={}; if Aj= for some jI then iIAi=; and for I={j} the evaluation ff(j) is a bijection iIAiAj, together with the families whose product can be written down explicitly.

  • Why the ambient set is CI. The definition separates inside the set of all functions IC, so the ambient set must contain every function with domain I whose value at i lies in Ai. Taking C to be the union of the members secures that, since such a value lies in Ai and hence in C; and C is the smallest set that includes every member of the family.

DefinitionDefinition: AI-adaptedProof: Not applicableverified 2026-08-03 (gpt-5.6-sol-codex-subscription)Open item page →

Choice function

Definition

Let F be a family of sets, every member of which is nonempty. A choice function for F is a function (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain) g:FFsuch thatg(S)S  for every SF.

Given a set X, a choice function on X means a choice function for the family P(X){} (The power set P(x)={z:zx}, The difference ab, the symmetric difference ab, and the complement Xa relative to a set X) of nonempty subsets of X.

Remarks

  • The requirement is only that g 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 S 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 SminS is an explicit choice function on N (min is a choice function on N ). The contrast with families that admit no such rule is the content of Russell's shoes and socks .
  • Members of F must be nonempty: no function can select an element of . The family F itself is allowed to be empty, and the empty function is then a choice function for it.
DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

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 F all of whose members are nonempty, there exists a function g with domain F satisfying g(S)S for all SF.

An equivalent formulation is that a product of nonempty sets is nonempty: if Xi for every iI, then iIXi. Here iIXi is the set of functions f with domain I such that f(i)Xi for every iI; when a family of nonempty sets is indexed by itself, such an f is precisely a choice function for it.

Remarks

PropositionStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

iAi={}; if Aj= for some jI then iIAi=; and for I={j} the evaluation ff(j) is a bijection iIAiAj

Statement

Let (Ai)iI be an indexed family. Then

  • (i) if I= then iIAi={};
  • (ii) if Aj= for some jI then iIAi=;
  • (iii) if I={j} then the evaluation e:={(f,a)(iIAi)×Aj:a=f(j)} is a bijection iIAiAj.

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 (Ai)iI.

[L1]

an element of iIAi is a function with domain I that takes its value at each index inside the member carried by that index (The product iIAi:={f:IiIAi  f(i)Ai for every iI}).

[L2]
[L3]

domR:={a:b (a,b)R},ranR:={b:a (a,b)R} (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A").

[L4]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA (Injection, surjection, bijection).

[L5]

f is surjective (onto) if for every bB there is some xA with f(x)=b (Injection, surjection, bijection).

[L6]

f=g if and only if domf=domg and f(x)=g(x) for every xdomf (Functions f and g are equal if and only if domf=domg and f(x)=g(x) for every x in that common domain).

[L7]

There is exactly one set with no elements, written (There is exactly one set with no elements, written ).

[L8]

{x,y} is the set whose elements are exactly x and y, and {x}:={x,x} (The unordered pair {x,y} and the singleton {x}={x,x}).

[L9]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L10]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L11]
[L12]

If every z satisfies zx if and only if zy, then x=y (The Axiom of Extensionality: xy(z(zxzy)x=y)).

Proof

technique · direct
1.1

Claim (i): let I=. 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 "f(i)Ai for every iI" vacuously. Hence is the only element of the product, and the product is {}.

L1L2L3L7L8L12
1.2

Claim (ii): let jI with Aj=. An element f of the product would satisfy f(j)Aj, and has no elements; so the product has no elements.

L1L7L12
1.3

Claim (iii), the map: let I={j} and write P:=iIAi. Each fP has f(j)Aj, so e as displayed is a set by separation inside P×Aj, is single valued because f(j) is, has domain P, and has range inside Aj; thus e:PAj with e(f)=f(j).

L1L2L3L9L10
2.1

Claim (iii), injectivity: if e(f)=e(g) for f,gP, then f and g have the same domain {j} and agree at j, hence are equal.

L4L6L8step 1.3
2.2

Claim (iii), surjectivity: let aAj and put f:={(j,a)}. This is a function with domain {j} and f(j)=aAj, and a lies in iIAi, so fP and e(f)=a.

L1L2L3L5L8L11step 1.3
3.1

Claims (i), (ii) and (iii) are established, which is the statement.

step 1.1step 1.2step 1.3step 2.1step 2.2

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 f(j) 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.
LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For I={,{}} with A=A and A{}=B, the map f(f(),f({})) is a bijection iIAiA×B

Statement

Let A and B be sets, put I:={,{}} and let (Ai)iI be the family with A=A and A{}=B, that is, the function {(,A),({},B)}. Write P:=iIAi. Then

Φ:={(f,z)P×(A×B):z=(f(),f({}))}

is a bijection PA×B.

Facts & Assumptions

Given: sets A and B, the index set I:={,{}}, the family (Ai)iI above, and P:=iIAi.

[L1]

an element of iIAi is a function with domain I that takes its value at each index inside the member carried by that index (The product iIAi:={f:IiIAi  f(i)Ai for every iI}).

[L2]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L3]

(a,b)=(c,d) if and only if a=c and b=d ((a,b)=(c,d) if and only if a=c and b=d).

[L4]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA (Injection, surjection, bijection).

[L5]

f is surjective (onto) if for every bB there is some xA with f(x)=b (Injection, surjection, bijection).

[L6]

f=g if and only if domf=domg and f(x)=g(x) for every xdomf (Functions f and g are equal if and only if domf=domg and f(x)=g(x) for every x in that common domain).

[L7]

{x,y} is the set whose elements are exactly x and y, and {x}:={x,x} (The unordered pair {x,y} and the singleton {x}={x,x}).

[L8]

There is exactly one set with no elements, written (There is exactly one set with no elements, written ).

[L9]
[L10]

An indexed family with index set I is a function A with domA=I (An indexed family (Ai)iI is a function with domain I; {Ai:iI} is its range).

[L11]

domR:={a:b (a,b)R},ranR:={b:a (a,b)R} (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A").

[L12]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L13]

Proof

technique · direct
1.1

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 {(,A),({},B)} is single valued, has domain I, and is an indexed family with A=A and A{}=B.

L7L8L9L10L11
2.1

Φ is a function PA×B: for fP we have f()A and f({})B, so the pair (f(),f({})) lies in A×B; separating inside P×(A×B) gives Φ, it is single valued because that pair is determined by f, its domain is P, and its range lies in A×B.

L1L2L9L11L12step 1.1
3.1

Φ is injective: if Φ(f)=Φ(g) then the characterising property gives f()=g() and f({})=g({}); f and g have the same domain I, whose elements are exactly those two, so f=g.

L3L4L6L7step 1.1step 2.1
3.2

Φ is surjective: given (a,b)A×B, put f:={(,a),({},b)}. It is single valued because {}, its domain is I, and f()=aA with f({})=bB, so fP by the union bound and Φ(f)=(a,b).

L1L2L5L7L9L11L13L14step 1.1step 2.1
4.1

Φ is a function PA×B that is injective and surjective, hence a bijection.

step 2.1step 3.1step 3.2
DefinitionDefinition: AI-adaptedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

Equivalence relation, equivalence class, and the quotient set A/

Definition

A binary relation on a set A is a subset RA×A (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A", The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}); we write ab for (a,b)R and read it "a is related to b".

A binary relation on A is an equivalence relation when it is reflexive on A, symmetric and transitive (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set), that is, when it is

  • reflexive: aa for every aA;
  • symmetric: ab implies ba, for all a,bA;
  • transitive: ab and bc imply ac, for all a,b,cA.

Let be an equivalence relation on A. For aA, the equivalence class of a is the subset

[a]  :=  {bA  :  ab}    A,

and any b with [b]=C is called a representative of the class C. The quotient set is the set of all classes,

A/  :=  {[a]  :  aA},

a subset of the power set of A (The power set P(x)={z:zx}). The map π:AA/ (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain) with π(a)=[a] is the quotient map; it is surjective by construction (Injection, surjection, bijection).

Remarks

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

The equivalence classes of an equivalence relation are nonempty, cover A, 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 A, with classes [a] and quotient set A/ (Equivalence relation, equivalence class, and the quotient set A/). Then:

  1. a[a] for every aA; hence every class is nonempty and the classes cover A, that is, the union of the members of A/ is A;
  2. ab if and only if [a]=[b];
  3. for all a,bA, either [a]=[b] or [a][b]=.

Conversely, call a set P of subsets of A a partition of A when every member of P is nonempty, distinct members of P are disjoint, and the union of the members of P is A. For such a P define aPb to mean that some BP contains both a and b. Then P is an equivalence relation on A whose quotient set is exactly P, and it is the only equivalence relation on A whose quotient set is P.

Facts & Assumptions

Given: An equivalence relation on a set A, with [a]={bA:ab} and A/={[a]:aA} (Equivalence relation, equivalence class, and the quotient set A/); and, for the converse, a partition P of A in the sense stated above.

[L1]

Reflexivity: aa for every aA (Equivalence relation, equivalence class, and the quotient set A/).

[L3]

Transitivity: ab and bc imply ac (Equivalence relation, equivalence class, and the quotient set A/).

Proof

technique · direct
1.1

For every aA reflexivity gives aa, that is a[a]; so each class is nonempty, each class is a subset of A by construction, and each aA lies in the class [a], whence the union of the members of A/ is exactly A. This is claim 1.

L1given
1.2

Suppose ab. If c[b] then bc, so ac by transitivity, so c[a]; thus [b][a]. Symmetry gives ba, and the same argument with a and b interchanged gives [a][b]; hence [a]=[b].

L2L3given
1.3

Every member of P is nonempty, distinct members of P are disjoint, and the union of P is A; consequently each aA lies in at least one BP, and in only one, since two members containing a are not disjoint and therefore are not distinct. Write Ba for that unique member.

given
2.1

Suppose [a]=[b]. By step 1.1, b[b]=[a], which says ab. Together with step 1.2 this is claim 2.

step 1.1step 1.2
2.2

Suppose [a][b] and pick c in the intersection, so ac and bc. Symmetry gives cb, and transitivity then gives ab, so [a]=[b] by step 1.2. Hence for any a,b either the classes are disjoint or they are equal, which is claim 3.

step 1.2L2L3choose
2.3

P is reflexive, since aBa gives aPa; it is symmetric, since the defining condition is symmetric in a and b; and it is transitive, for if a,bB and b,cB with B,BP, then bBB, so B and B are not disjoint and hence not distinct, giving B=B and a,cB. So P is an equivalence relation on A.

step 1.3given
3.1

Fix aA and write [a]P for its class under P. If b[a]P then some BP contains a and b, and B=Ba by the uniqueness in step 1.3, so bBa; conversely if bBa then Ba contains both a and b, so b[a]P. Hence [a]P=Ba.

step 1.3step 2.3
4.1

Every class of P is a member of P by step 3.1, and every BP is nonempty, so choosing aB gives B=Ba=[a]P, a class; therefore the quotient set of P is exactly P.

step 1.3step 3.1choose
4.2

Uniqueness. Let be any equivalence relation on A whose quotient set is P, and fix aA. Its class [a] lies in P and contains a by step 1.1 applied to , so [a]=Ba by the uniqueness in step 1.3. Then ab holds exactly when b[a]=Ba, which by step 3.1 holds exactly when aPb; so and P relate the same pairs and are equal as subsets of A×A.

step 1.1step 1.3step 3.1
5.1

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.

step 1.1step 2.1step 2.2step 2.3step 4.1step 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.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

For a function f:AB the relation kerf:={(a,a)A×A:f(a)=f(a)} is an equivalence relation on A

Statement

Let f:AB be a function. Then

kerf  :=  {(a,a)A×A:f(a)=f(a)}

is a set, is a relation on A, and is an equivalence relation on A.

Facts & Assumptions

Given: a function f:AB.

[L1]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L2]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L3]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L5]
[L6]

symmetric: ab implies ba, for all a,bA (Equivalence relation, equivalence class, and the quotient set A/).

[L7]

transitive: ab and bc imply ac, for all a,b,cA (Equivalence relation, equivalence class, and the quotient set A/).

[L8]

R is transitive when (a,b)R and (b,c)R imply (a,c)R, for all a,b,cA (Reflexive, irreflexive, symmetric, asymmetric, antisymmetric, transitive, and connex relations on a set).

Proof

technique · direct
1.1

kerf is a set and a relation on A: it is obtained by separating inside A×A with the formula aa(z=(a,a)f(a)=f(a)) and the parameters A and f, so it is a subset of A×A and each of its elements is an ordered pair.

L1L2L3L4
2.1

It is reflexive on A: for aA the value f(a) is a single set, so f(a)=f(a) and (a,a)kerf.

L1L5step 1.1
2.2

It is symmetric: if (a,a)kerf then f(a)=f(a), hence f(a)=f(a) and (a,a)kerf.

L6step 1.1
2.3

It is transitive: if (a,a)kerf and (a,a)kerf then f(a)=f(a) and f(a)=f(a), hence f(a)=f(a) and (a,a)kerf.

L7L8step 1.1
3.1

kerf is a relation on A that is reflexive on A, symmetric and transitive, which is what it means to be an equivalence relation on A.

step 1.1step 2.1step 2.2step 2.3
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

Let be an equivalence relation on A with quotient map π:AA/, and let f:AB. There is a function g:A/B with gπ=f if and only if aa implies f(a)=f(a); and such a g is then unique

Statement

Let be an equivalence relation on a set A, let A/ be its quotient set and let π:={(a,C)A×(A/):C=[a]}, the quotient map. Let f:AB. Then π is a surjective function AA/ with π(a)=[a], and:

  • (i) there is a function g:A/B with gπ=f if and only if f(a)=f(a) whenever aa;
  • (ii) when such a g exists it is unique, and it satisfies g([a])=f(a) for every aA.

Facts & Assumptions

Given: an equivalence relation on a set A and a function f:AB.

[L1]
[L2]

symmetric: ab implies ba, for all a,bA (Equivalence relation, equivalence class, and the quotient set A/).

[L3]

transitive: ab and bc imply ac, for all a,b,cA (Equivalence relation, equivalence class, and the quotient set A/).

[L4]

[a]  :=  {bA  :  ab}    A (Equivalence relation, equivalence class, and the quotient set A/).

[L5]

A/  :=  {[a]  :  aA} (Equivalence relation, equivalence class, and the quotient set A/).

[L6]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L7]

f=g if and only if domf=domg and f(x)=g(x) for every xdomf (Functions f and g are equal if and only if domf=domg and f(x)=g(x) for every x in that common domain).

[L8]

f is surjective (onto) if for every bB there is some xA with f(x)=b (Injection, surjection, bijection).

[L9]

zA×B holds if and only if z=(a,b) for some aA and some bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[L10]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, pˉxyz(zy(zxφ(z,pˉ)))).

[L12]

domR:={a:b (a,b)R},ranR:={b:a (a,b)R} (Relation, domR, ranR, fldR, and the specialisations "relation from A to B" and "relation on A").

[L13]

zP(x) holds if and only if zx (The power set P(x)={z:zx}).

[L14]

Proof

technique · direct
1.1

[a]=[a] holds if and only if aa. If aa, then for bA we get b[a] exactly when ab, and symmetry with transitivity turns that into ab, so [a][a]; the same argument with a and a exchanged gives the reverse inclusion. Conversely a[a] by reflexivity, so [a]=[a] gives a[a], that is aa, and symmetry gives aa.

L1L2L3L4L14
1.2

π is a surjective function AA/ with π(a)=[a]: it is a set by separation inside A×(A/), it is single valued because [a] is determined by a, its domain is A since [a]A/ for every aA, and every element of A/ is [a] for some aA, so it is onto.

L4L5L6L8L9L10L12
1.3

Uniqueness in (ii): if g and g are functions A/B with gπ=f=gπ, then for CA/ choose aA with C=[a]; then g(C)=g(π(a))=f(a)=g(π(a))=g(C). Both have domain A/, so g=g.

L5L6L7L11
2.1

Claim (i), from left to right: suppose g:A/B satisfies gπ=f, and let aa. Then [a]=[a], so f(a)=g(π(a))=g([a])=g([a])=g(π(a))=f(a).

L11step 1.1step 1.2
2.2

Claim (i), from right to left: suppose f(a)=f(a) whenever aa, and separate inside (A/)×B to obtain g:={(C,y)(A/)×B:a(aAC=[a]y=f(a))}. It is single valued: if C=[a]=[a] with values f(a) and f(a), then aa and the hypothesis gives f(a)=f(a). Its domain is A/, since every class is some [a] and then (C,f(a))g, and its range lies in B; so g:A/B with g([a])=f(a). Finally gπ and f are functions with domain A and (gπ)(a)=g([a])=f(a), so gπ=f.

L5L6L7L9L10L11L12L13step 1.1step 1.2
3.1

Both directions of (i) hold, and step 1.3 supplies the uniqueness in (ii) while step 2.2 supplies the formula g([a])=f(a), which is the statement.

step 1.1step 1.2step 1.3step 2.1step 2.2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-06 (claude-opus-5)Open item page →

Every function f:AB factors as f=ιfˉπ with π:AA/kerf the surjective quotient map, fˉ:A/kerff[A] the bijection [a]f(a), and ι:f[A]B the inclusion injection; fˉ is the only function making the factorisation hold

Statement

Let f:AB, write for kerf and let π:AA/ be the quotient map. Put ι:=Δf[A], the identity relation on f[A]. Then

  • (i) π is surjective;
  • (ii) there is a function fˉ:A/f[A] with fˉ([a])=f(a) for every aA, and it is a bijection;
  • (iii) ι is an injective function f[A]B with ι(y)=y;
  • (iv) ιfˉπ=f;
  • (v) fˉ is the only function A/f[A] satisfying (iv).

Facts & Assumptions

Given: a function f:AB, with denoting kerf.

[L5]

A/  :=  {[a]  :  aA} (Equivalence relation, equivalence class, and the quotient set A/).

[L6]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,yA (Injection, surjection, bijection).

[L7]

f is surjective (onto) if for every bB there is some xA with f(x)=b (Injection, surjection, bijection).

[L8]

We write f:AB, and say f is a function from A to B, when f is a function with domf=A and ranfB (A function is a relation f with (a,b)f and (a,c)f implying b=c; f:AB, the value f(a), domain and codomain).

[L9]

bR[A] holds if and only if (a,b)R for some aA (The image R[A] and the preimage R1[B] of a set under a relation).

[L12]

f=g if and only if domf=domg and f(x)=g(x) for every xdomf (Functions f and g are equal if and only if domf=domg and f(x)=g(x) for every x in that common domain).

[L16]

Proof

technique · direct
1.1

is an equivalence relation on A and aa says exactly f(a)=f(a); so the hypothesis of the universal property is satisfied, and clause (i) is the surjectivity already recorded for the quotient map.

L1L2L3
1.2

Claim (iii): ι=Δf[A] is a function with domain f[A] and ι(y)=y; its range is f[A], which is contained in B because every element of f[A] is a value of f and ranfB. It is injective, since ι(y)=ι(y) reads y=y.

L6L8L9L10L13L14L16
2.1

Claim (ii): the universal property gives a function g:A/B with gπ=f and g([a])=f(a) for every aA. Every value of g is therefore a value of f, so rangf[A], and the same set g is a function A/f[A]; call it fˉ. It is onto f[A], because each element of f[A] is f(a)=fˉ([a]) for some aA; and it is injective, because fˉ([a])=fˉ([a]) gives f(a)=f(a), that is aa, and therefore [a]=[a]. Hence fˉ is a bijection.

L3L4L5L6L7L8L9L13L17step 1.1
3.1

Claim (iv): ιfˉπ is unambiguous by associativity, it is a function with domain A, and for aA its value is ι(fˉ(π(a)))=ι(f(a))=f(a); so it equals f.

L11L12L15step 1.2step 2.1
3.2

Claim (v): if h:A/f[A] also satisfies ιhπ=f, then for CA/ choose a with C=[a] and compute h(C)=ι(h(π(a)))=f(a)=fˉ(C); both have domain A/, so h=fˉ.

L5L10L11L12step 1.2step 2.1
4.1

Claims (i) to (v) are established, which is the statement.

step 1.1step 1.2step 2.1step 3.1step 3.2
RemarkRemark: AI-adaptedProof: Not applicableverified 2026-08-06 (claude-opus-5)Open item page →

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 f:AB is a bijection if and only if there is a function g:BA with gf=ΔA and fg=ΔB; such a g is unique, equals the inverse relation f1, and is itself a bijection is determined: for a bijection f and a point b of the codomain there is exactly one a with f(a)=b, so no selection is made. The left inverse of For f:AB with A: f is injective if and only if there is g:BA with gf=ΔA; for A= the empty function is injective and has a left inverse if and only if B= needs one arbitrary point a0 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 A with quotient map π:AA/, and let f:AB. There is a function g:A/B with gπ=f if and only if aa implies f(a)=f(a); and such a g is then unique is likewise determined, because its value on a class is forced to be the common value of f on that class, and The equivalence classes of an equivalence relation are nonempty, cover A, 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 F be a set all of whose members are nonempty, and index it by itself: the identity relation ΔF of The identity relation ΔA={(a,b)A×A:a=b} and the membership relation A={(a,b)A×A:ab} is a function with domain F sending each S to itself, by clause (ii) of If f and g are functions then gf is a function with domain f1[domg] and (gf)(x)=g(f(x)) there; ΔA is a function with ΔA(a)=a; and fΔA=f=ΔBf for f:AB, hence an indexed family (An indexed family (Ai)iI is a function with domain I; {Ai:iI} is its range) whose range is F, so its indexed union is F (iIAi:={Ai:iI}, and iIAi:={Ai:iI} for I). Unfolding The product iIAi:={f:IiIAi  f(i)Ai for every iI} for that family gives the set of functions g:FF with g(S)S for every SF, which is word for word the set of choice functions for F in Choice function. So a choice function for F is exactly an element of the product of the members of F, 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 f:AB (Injection, surjection, bijection) each bB has at least one preimage, and a right inverse is a rule picking one preimage for every b at once. That is a simultaneous selection over the whole of B, 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. iAi={}; if Aj= for some jI then iIAi=; and for I={j} the evaluation ff(j) is a bijection iIAiAj settles iIAi when I has no element, when some member is empty, and when I has exactly one element, and For I={,{}} with A=A and A{}=B, the map f(f(),f({})) is a bijection iIAiA×B settles the two-index case, in each case by writing an element down. For an arbitrary index set the assertion that iIAi is nonempty whenever every Ai 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 iIAi:={f:IiIAi  f(i)Ai for every iI} 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.