Label the vertices of a universal countable uniform hypergraph by the natural numbers and remove the largest vertex of each hyperedge. The resulting -uniform hypergraph is complete. For any prescribed -set , apply the hypergraph extension property to a finite initial segment containing , prescribing that extend to an edge. The resulting vertex is larger than every member of , so this deletion produces . This supplies a useful example of a projection that destroys the nonedge information of a random structure.
Multiplication Created 2026-09-24 Updated 2026-10-13
Multiplication combines two factors into their product of numbers. For a natural number , is the sum of copies of ; with no copies the result is zero. This repeated-addition interpretation directly explains integer grouping, while multiplication of arbitrary real numbers also describes scaling by noninteger factors.
A rectangle of side lengths and has area . Split the second side into lengths and . The two areas are and , giving the visible identity
Rotating the same rectangle interchanges the sides without changing its area, explaining . These pictures illustrate distributivity and commutativity for ordinary positive numbers; matrix multiplication and other operations require their own rules.
Figure 1.
Partitioning a rectangle explains distributivity; partitioning a unit square gives an exact product of fractions
. Details.
For a fractional example, take of a quantity and then of that result: the combined scale is . The two fractions are multiplicative inverses. In the unit square on the right, the overlap of a strip occupying of the width with one occupying of the height contains six of twelve equal cells. Its area is . The product stays exact even though the decimal expansion of repeats. [ref]
Nonincreasing function 2026-10-14
A real-valued function is a nonincreasing function if every pair in its domain of a function satisfies . Equal outputs and flat intervals are allowed. For example, is a nonincreasing function, with a falling segment between two flat portions. Requiring instead gives a strictly decreasing function. Negating a nondecreasing function gives a nonincreasing function.
A nonincreasing sequence of natural numbers has finitely many strict drops, so it is eventually constant. This differs from a strictly decreasing sequence, which cannot continue indefinitely within the natural numbers.
Number Created 2026-10-13 Updated 2026-10-14
Numbers are mathematical objects used to express quantities and carry out operations. Familiar families include the natural numbers, integers, rational numbers, real numbers, and complex numbers; specifying the family determines which operations and solutions are available.
Pairing function Created 2026-10-03 Updated 2026-10-14
A pairing function is a computable function that gives a bijection from the Cartesian product to , with two computable functions recovering its coordinates. Here consists of the natural numbers, including zero. If is the pairing function and its decoding functions, the requirements are
Every ordered pair has exactly one code, every code represents an ordered pair, and decoding always terminates. For a bijection given by a total computable function, computability of the inverse function also follows by enumerating all ordered pairs until the one with code appears. A primitive recursive pairing function makes the stronger requirement that both encoding and coordinate decoding are primitive recursive.
The Cantor pairing function makes this concrete through triangular numbers:
On the diagonal , list . There are ordered pairs there, and ordered pairs on earlier diagonals. Their codes therefore occupy precisely the consecutive natural numbers from through . These intervals touch without overlapping and cover all natural numbers; within each interval the offset determines the ordered pair. This proves both injectivity and surjectivity, hence the bijection. It also explains why the infinite grid is a countably infinite set: every ordered pair is reached after finitely many steps. A row-by-row listing would never finish its first infinite row. Authored treatments give the same diagonal construction with the coordinates exchanged.[ref]
For example, the Cantor pairing function gives
The order of the coordinates matters: and are different ordered pairs with different codes.
Figure 1.
The Cantor pairing function on a finite window: labels are codes, and the first 21 ordered pairs fill diagonals zero through five
. Details.
To decode a natural number , find the unique diagonal index satisfying
The inequality gives , so both recovered coordinates are natural numbers. At , , hence , , and . At , and both coordinates are zero. Solving the quadratic inequality gives the equivalent floor function expression
This is exact as a statement about the real numbers and their square roots. An implementation using floating-point arithmetic can round across a diagonal boundary, especially for large . Use an exact integer square root instead: with computed using integer arithmetic, . Alternatively, search for the diagonal using exact integer comparisons. The primitive recursive pairing function proof below uses bounded minimization and needs no approximate square root.
A pairing function is a reversible encoding: unlike a hash function mapping arbitrarily many inputs into a fixed finite range, it loses no coordinates. This works because the mathematical natural numbers have no upper bound. A machine word with binary digits has possible values, while two such words have possible ordered pairs; a bijection into one word of the same width is impossible. Evaluating the Cantor pairing function in a fixed-width integer type can overflow, including in the intermediate product . Exact implementation requires sufficiently large integer storage or an explicit restricted input range. One mathematical code need not occupy fewer binary digits than its two inputs.
Iterating a pairing function gives a reversible encoding of tuples of any fixed positive length. With the left-nesting convention, the Cantor pairing function encodes as
Decode the outer ordered pair first: gives . Decode its first coordinate to recover , giving the nested ordered pair and thus the original tuple .
Figure 2.
Decoding a known three-entry tuple: first unpair 257 into (18, 4), then unpair 18 into (2, 3)
. Details.
The tuple length and nesting convention must be known. The same code represents as a two-entry tuple and as a three-entry tuple; nesting alone does not make variable-length tuples self-describing. To encode variable-length tuples, supply their length or another explicit termination convention as part of the encoding. This simple change of representation is useful in computability theory and Gödel numbering: a function of several natural numbers can be studied through a single numerical input, while all coordinates remain recoverable. The striking fact is that a whole infinite grid can be serialized without omitting a point.
A historical reference for comparing sets through bijections is Georg Cantor's paper Ein Beitrag zur Mannigfaltigkeitslehre, published in 1878 in volume 84 of Journal für die reine und angewandte Mathematik, pages 242–258.[ref]
All independence assertions here are relative consistency results. Begin with a first-order model of ZF; for the choice-preserving side use ZFC. The original first-order model already gives the side where foundation holds. We construct the opposite side while checking the other axioms, then add a symmetry restriction to make choice fail.
Let , and let interchange the old objects and , fixing everything else. They are distinct. On the same domain define the Rieger-Bernays permutation model by
Write ; the -members of are exactly the old members of . In particular , and has no other -member. Thus is a Quine atom, and the nonempty -set has no member disjoint from itself. Foundation fails.
Here are the other axioms explicitly. Equal -extensions imply by old extensionality, hence . An -pair of is . An -union of is
Its elements are precisely objects with an -membership chain of length two into . The -power set of is
since means . These are old sets by power set and replacement.
Translate any first-order formula by replacing its membership symbol with , a definable relation with parameter . Separation on produces the representative of the old set . For replacement, functionality in the new structure is exactly functionality of the translated first-order formula on the old set ; old replacement gives its range, and represents that range as an -set. Thus the full schemas, not merely their quantifier-free instances, survive. The old finite ordinals and are fixed by , so their empty-set and successor relations are unchanged; the old witnesses axiom of infinity.
If the original first-order model satisfies AC, the new one does too. For an -family of nonempty -sets, old choice selects for each . The -ordered-pair construction is definable, so old replacement forms the graph of this selection in -pair codes; applying makes it an -function. It chooses an -member from each member of the family. Therefore a full membership permutation alone does not refute choice. We have proved
with choice preserved if it was initially present. Together with the unchanged well-founded first-order model, this proves foundation's independence from the remaining axioms.
For the choice-failing extension, work in an ambient first-order model of ZFC and build the extensional cumulative universe over Quine atoms. Let be a countably infinite collection of distinct tagged objects. Give each the membership extension . Adjoin sets in successive construction ranks, representing a set-sized collection by a unique new tagged object with extension , except that the representative of is the already existing . Denote this representative by again. Thus ; adjoining a second, distinct ordinary singleton would incorrectly violate extensionality.
More formally take atom tags of kind zero, put , and define
The extension of is , and the extension of an atom is . Tags of the two kinds are disjoint. Any set-sized collection of objects has bounded construction ranks and hence a representative at a later stage. This proves pairing, union, power set, separation and replacement by representing their extensions, just as above. For axiom of infinity, recursively construct the pure finite ordinals, collect these representatives in an ambient set by replacement, and apply to that collection. The resulting inductive set is fixed by every atom permutation. Every object has a unique extension, so full extensionality holds, although foundation fails at the atoms.
Let be the full symmetric group of . Extend by , recursively on the non-atomic construction ranks. This preserves membership, including the atomic self-loops. An object is supported by a finite if every permutation fixing pointwise fixes it. Retain the hereditarily finite-supported Quine-atom model : every object reachable from a retained object by finitely many membership steps has finite support. In particular all members of a retained object are retained, every atom is supported by itself, and is supported by the empty set.
We verify the schemas in , rather than assuming that an arbitrary invariant class is a first-order model. For separation, a subset of a retained set definable in from parameters is fixed by permutations fixing the union of their finite supports. Its members are already in , so its representative belongs to . For replacement, a definable functional image of is a set in the ambient universe. Uniqueness makes it invariant under every permutation fixing and the parameters, although the individual outputs can have different supports. Those outputs are in by the relativized first-order formula, so the range representative is hereditarily supported. This proves replacement without falsely requiring one finite support for every individual value.
The internal power set is the representative of
It is an ambient set and is fixed by the support of , because a permutation carries retained subsets of to retained subsets of . Every member is retained by its definition. This proves the internal power-set axiom. Finite unions of supports handle pairing and union; the pure natural numbers have empty support; extensionality is inherited because is membership-transitive. Hence satisfies all ZF axioms except foundation, which still fails.
In form the family of all two-element subsets of , a family with empty support. Suppose it had a choice function , with finite support . Choose distinct . Their transposition fixes and the argument , but interchanges its two possible chosen values. Equivariance gives a contradiction. Thus
The full construction over , before restricting to , has choice by ambient choice and the representability of choice graphs. Alternatively an ordinary ZFC first-order model gives the positive choice side. This proves the independence of AC from ZF minus foundation. The required metatheoretic consistency can be expressed using Con(ZF), since the constructible universe of a ZF first-order model supplies ZFC, as explained in the next solution. No assumption of a transitive model follows from mere consistency or is needed for these interpreted first-order model constructions.
A complete type over is a maximal consistent set of first-order formulas in a fixed finite tuple of variables with parameters from , consistent with the theory of that parameter expansion. A first-order model is a saturated model of degree if every such type with is realized in . It suffices to require this for one-variable types and realize a finite tuple successively. Without a subscript, saturated commonly means -saturated; some contexts specify only finite-parameter saturation. We state the degree explicitly.
The saturated elementary extension theorem says that every first-order structure has a -saturated elementary extension for any specified infinite . It suffices to prove this for regular , since a larger regular degree implies the requested degree. At a single stage , list all complete one-variable types over all subsets of of size below . This collection is a set. Adjoin a witness constant for each type to the elementary diagram of and require that constant to satisfy its type. Every finite subset is satisfiable in : each type's finite conjunction has a witness there, and the finitely many new constants have no cross-constraints. The compactness theorem gives an elementary extension realizing all these types simultaneously.
Repeat this step along an elementary chain , taking unions at limit stages, and let be its union. The elementary chain theorem follows here by induction on first-order formulas: an existential statement true in the union has a witness in a later stage; elementarity brings an existential witness back to the earlier stage containing its parameters. Thus each stage is elementary in .
If has size below regular , all its elements lie in a single , by taking the supremum of their fewer-than- stage indices. Any complete type over consistent with is already consistent over , since these structures have the same parameter theory. It was therefore realized in . This proves -saturation of .
A corresponding theorem about full saturation is available with a stated cardinal-size hypothesis: if is uncountable regular, , and , then every infinite first-order model of size at most has an elementary extension of size which is -saturated. First adjoin pairwise distinct constants to the elementary diagram; every finite fragment is satisfiable because the original first-order model is infinite. A Skolem hull of their realizations and the original domain has size . There are at most small parameter sets and at most types over each of them. Compactness and the downward elementary-submodel construction keep each realization stage of size . Taking a Skolem hull of the preceding stage and the chosen witnesses closes under at most finite terms and proves this size bound and elementarity. The same length- chain is consequently a fully saturated model of size . The cardinal hypothesis is not silently asserted to hold for every cardinal.
We now prove consistency of NFU by the permitted alternative method of indiscernibles and a domain-shifting structure automorphism. This can start from an explicit set structure available in ZFC, so we need not assume that there is a first-order model of all ZFC. Let
and give the value off the natural numbers. Regard as a first-order structure, with a named object . The graph of is an external set in the metatheory; it need not be a member of . This structure is extensional and satisfies every separation instance in the pure membership language: any subset of has rank below and belongs to . It also satisfies, for natural ,
since a subset of has rank at most and hence belongs to .
Apply the indiscernible construction proved in question 7(i) to a Skolem expansion of this set structure, requiring to be increasing members of its named natural-number object. For every finite fragment use an increasing sequence of ordinary natural numbers in the initial structure in the Ramsey argument. The resulting generated elementary hull has an external structure automorphism with , preserving and the named . Put and . Then , and satisfies the displayed subset-containment assertion between successive domains. No claim that satisfies replacement is required.
All membership and subset statements about these objects are interpreted inside . The hull is necessarily externally nonstandard: the natural-number objects give an external descending chain. The external structure automorphism is not an object that must be definable within that first-order model.
On the external domain define
This is the rank-shifting NFU model with explicit set predicate. The guard is essential: an object not contained in could still have some ordinary members in , and must not thereby become a nonempty atom. The objects failing have no -members. If two objects satisfying have the same -members, their images under are subsets of with the same members, so extensionality in and injectivity of make the original objects equal. Thus set-extensionality and the atom condition hold.
It remains to prove every comprehension instance. Use the domains just constructed, equivalently , for integer sorts. The map is a bijection from the objects of to the objects of , and every subset of that exists in is an element of . In sort define the set predicate by ; from sort to define membership by ordinary membership guarded by .
For a stratified formula, assign integer types to its variables with equal types for equality and adjacent types for membership. Shift all types uniformly if necessary so the finitely many used types are nonnegative. Replace a variable of type by of its untyped value, quantify it over , and use the typed relations just described. Applying to the untyped definition shows that each atomic first-order formula has the same truth value under this translation; induction on connectives and quantifiers proves the same for the whole first-order formula. Importantly the translated first-order formula is an ordinary first-order formula of with finitely many domain and transformed-parameter constants, not a first-order formula containing the external structure automorphism as a predicate.
If the comprehension variable has type , separation in produces its extension . The subset-containment assertion gives . Put . Then , hence , and for every ,
This verifies stratified comprehension with arbitrary parameters. The empty extension gives a distinguished empty set; the always-true first-order formula gives a universal set. The unstratified Russell predicate is not an allowed comprehension instance. Thus
Starting from the actual set structure and applying compactness constructs a set first-order model, so this is a consistency proof in ZFC, not merely an assumption of Con(ZFC). It proves the requested consistency with an explicit interpretation; it does not depend on treating the much stronger full extensionality of NF as already consistent. The external is a tool of the construction, not an extra symbol permitted in NFU's comprehension scheme.
In the game , where , the players alternately choose natural numbers and produce a sequence . Player I wins exactly when . A strategy in an infinite game assigns a move to every finite position where its player is to move; it is winning if every play following it is won by that player. A game is determined if one player has a winning strategy. Both cannot have winning strategies, since their joint play would have to be won by both. The axiom of determinacy asserts
Without assuming AD, one can prove determinacy for finite games by backward induction, and for games with open or closed payoffs by the following argument. Give its product topology of discrete move coordinates. If is open, let be the finite positions whose entire cylinder of extensions lies in . Form a winning-position attractor in an infinite game by transfinite recursion: add an I-position if some child has already been added, and add an II-position if all its children have already been added. Take unions at limits. The process stabilizes because there are only set-many positions and each genuine successor change adds a new one.
An added nonterminal position receives its least entry ordinal. At an I-position in the stable attractor, choose a child of smaller rank; at an II-position every child has smaller rank. Thus every play following I's rank-decreasing strategy must reach : an infinite strictly descending sequence of ordinals cannot exist. The resulting play is in , so I wins from any position in the attractor.
Outside the attractor, every child of an I-position remains outside, and an II-position has some child outside. Otherwise the ranks of all its children would have a set-sized supremum and the parent would have been added at a later stage. II chooses such a child and keeps the play outside forever. If its outcome were in the open set , some finite prefix would have its entire cylinder in , contrary to this avoidance. Therefore II wins from outside. With natural-number moves the least suitable child may be chosen at each position, so no choice axiom is needed for these strategies. This proves open determinacy. For a closed payoff, apply the same argument to its open complement with the players' winning roles interchanged. Clopen payoffs are included in both results.
Now assume AC and construct an undetermined game. The set of strategies for either player has cardinality , since a strategy is a function on a countably infinite set of positions. Each fixed strategy is compatible with plays: the other player's sequence of freely chosen moves determines distinct full plays. Use choice to enumerate I's strategies as and II's as , and well-order the space of plays.
Recursively choose following and following , with all selected plays distinct. At stage fewer than plays have been used, while each compatible-play set has size , so fresh choices exist; take the least ones in the fixed well-order. This does not require regularity of , since for every below its initial ordinal.
Put . Every I-strategy has the losing compatible play , and every II-strategy has the losing compatible play . Therefore neither player has a winning strategy. This choice diagonalization of an undetermined game proves
The elementary determinacy proofs above concern specified definable payoff classes; the diagonal construction explains why extending them to every arbitrary subset of the play space is incompatible with choice.
Number the natural numbers from one. If the power set could be enumerated as , form . For each , membership of in is opposite to its membership in , so . This contradicts completeness of the enumeration. Thus the Cantor diagonal argument proves that the power set is an uncountable set.
For a finite subset , define . This is a nonnegative integer and the map is injective: if two finite subsets differ, let be their largest differing element. Its contribution exceeds the sum of all smaller possible contributions, so their codes differ. There are infinitely many singleton subsets. Hence the countability of finite subsets of a countable set here is countable infinitude.
To treat all bijections, associate to every subset the permutation that swaps and when , and fixes both when . These disjoint pair swaps define a bijection of . Different subsets give different permutations, so the map from the power set into is injective. Therefore is an uncountable set.
Every finitely supported permutation fixes all elements above some . A bijection fixing that tail must permute : it cannot send a smaller element into the fixed tail without violating injectivity. There are exactly such permutations. Thus
is a countable union of finite sets. Enumerate first by , then by one of the finitely many permutations at that ; duplicates can be omitted. Infinitely many distinct pair swaps belong to , so is countably infinite. The full family is uncountable, while the finitely supported family is countably infinite.
A countable set is a set that is finite or can be put in bijection with the natural numbers; equivalently, it admits an injective function into the natural numbers. To enumerate the rational numbers, list pairs with , in increasing order of , and then list , discarding repetitions. Each level is finite and every rational eventually appears. An enumeration of the rationals then enumerates by listing in diagonals of constant . Thus
To prove that the real numbers are uncountable, suppose had an enumeration . Write each in its decimal expansion that does not end in an infinite string of nines. Define a new decimal by taking if the th digit of is , and otherwise. Then , has no ambiguous terminating/nines representation, and differs from at digit . The Cantor diagonal argument contradicts the supposed enumeration. Consequently the real numbers are uncountable.
For the discs, use the enumeration of just constructed. Every positive-radius disc contains a rational-coordinate point: its interior contains a small open rectangle, and each coordinate interval contains a rational number. For each disc , let be the least index of an enumerated rational-coordinate point in its interior. This minimum exists and requires no arbitrary simultaneous choice. Disjoint discs cannot receive the same point, so is an injective function into the natural numbers. This proves the countability of pairwise disjoint open disks and also the same conclusion for closed discs, by using their disjoint interiors.
For circles, take all concentric circles centred at the origin with radii . Two different radii give disjoint circles, and every radius is positive. The radius map is a bijection from the uncountable interval to this family. An uncountable disjoint family of nontrivial circles is therefore possible: the rational-point argument for discs relies on their nonempty interiors, which circumferences do not have.
The axiom of determinacy, , says that every infinite game of perfect information in which two players alternately choose natural numbers and Player I wins according to a specified payoff is a determined infinite game. A strategy specifies a move at every finite position where its player moves; it is winning if every compatible infinite play is won by that player.
Finite games are determined by backward induction. For infinite games, open determinacy has a direct proof. Let consist of the finite positions whose extension cylinder sets lie in the open payoff . Build the winning-position attractor in an infinite game by transfinite recursion: start with , add an I-position if some successor has already entered, add a II-position if every successor has already entered, and take unions at limit stages. The process stabilizes because there are only countably many finite positions.
At a position in the attractor but outside , I can choose a successor with strictly smaller entry rank, and every move of II has smaller entry rank. There is no infinite descending sequence of ordinals, so I forces entry into and wins. Outside the attractor, every I-move stays outside it, while II can choose a successor outside it; that strategy avoids forever. Since is open, a play belongs to exactly when some prefix belongs to . Thus II wins from outside the attractor. This proves determination for open payoffs; swapping the players proves it for closed payoffs too. The stronger Borel determinacy theorem gives determination for every Borel set payoff, whereas asserts this for arbitrary payoffs.
To contradict from choice, enumerate both players' strategies as and , where . There are strategies because the set of finite positions is countable; there are also plays following any fixed strategy because the other player's moves are arbitrary. At stage of the choice diagonalization of an undetermined game, choose a fresh play following and then a different fresh play following , avoiding all earlier reservations. This is possible because fewer than plays have been reserved at every ; regularity of is not required.
Set . Every loses on , and every loses on . Thus neither player has a winning strategy, and AD and AC are inconsistent together.
An ultraproduct assembles a family of nonempty first-order structures in one fixed language, using an ultrafilter to specify which coordinate statements hold almost everywhere. Its universe is
Functions are interpreted coordinatewise, and an -ary relation holds on when its coordinate truth set belongs to . Changing representatives changes such a truth set only off a -large set, so these definitions are well defined. A principal ultrafilter simply recovers its distinguished factor; a nonprincipal ultrafilter can produce new elements and structures.
The fundamental result is the Łoś theorem:
Prove it by structural induction on first-order formulas. Atomic formulas are the definition. Intersections handle conjunction, while exactly one of a set and its complement belongs to an ultrafilter, handling negation. For the existential step, if the coordinate existential truth set is in , use choice to select witnesses there and arbitrary values elsewhere; their product function is an ultraproduct witness. Conversely a product witness makes the coordinate existential truth set contain a -large set. Other connectives and universal quantification follow.
In an ultrapower, all factors are one structure . The diagonal map is an elementary embedding by the Łoś theorem. For a nonprincipal on , the class of in an ultrapower of the standard natural numbers is larger than every constant natural number, since each tail belongs to . This gives a nonstandard model of Peano arithmetic. Similarly, an ultraproduct of finite fields with distinct primes tending to infinity has characteristic zero: for every fixed positive integer , the equation fails in all sufficiently late factors. An infinite structure can therefore arise from finite factors.
Ultraproducts prove the compactness theorem. If each finite subset of a theory has a model , index these models by . The cones have the finite intersection property. Extend their filter to an ultrafilter using the ultrafilter lemma. The Łoś theorem makes the resulting ultraproduct satisfy every . This construction also gives elementary extensions realizing prescribed finitely satisfiable types.
A useful stronger property is countable saturation of an ultraproduct over omega. Let a countable type be finitely satisfiable in an ultraproduct over a nonprincipal on . Choose coordinate representatives of its parameters. Let be the coordinates where the first formulas have a simultaneous witness; then , the decrease, and we can replace by . At coordinate , choose a witness to the first formulas, where is the largest with , taking an arbitrary value if there is none. For each fixed , the set where is -large. Its class realizes the entire type. This proof uses countable incompleteness of , not arbitrary completeness or automatic saturation at larger cardinals.
Finally, complete ultrafilters connect ultraproducts to large cardinals. A countably complete ultrafilter prevents an externally infinite descending membership chain in an ultrapower of a well-founded universe: intersect the countably many coordinate truth sets and obtain an impossible descending chain at one coordinate. A kappa-complete nonprincipal ultrafilter on consequently supplies the ultrapower embedding associated with a measurable cardinal. Thus the same construction supports both elementary compactness arguments and large-cardinal embeddings, with the completeness hypothesis deciding which well-foundedness and closure properties survive.