9 Surreal numbers

   9.1.  Enders
   9.2.  Hackenbush beanstalks
   9.3.  Ordinal numbers
   9.4.  Surreal numbers
     9.4.1.  Multiplication
     9.4.2.  Division
     9.4.3.  The ω-map
     9.4.4.  Real closed fields

For the final topic of the course, we will make a brief foray into the world of games that are not short. The main difference will be that when defining a game G = {GL∣GR}, we will allow GL and GR to be sets of infinite size. Our treatment will be a bit nonrigorous so as to avoid needing to introduce an excessive amount of background from set theory.

9.1 Enders

Recall that a game is short if it has only finitely many positions (and no positions repeat). This condition was introduced in order to guarantee that there was no way that the game could continue indefinitely, so that we could declare a definitive winner and loser.

We can loosen this restriction by allowing infinitely many positions in the following way.

Definition 9.1 A game G is called an ender if any sequence of moves by either player terminates. In other words, there is no infinite sequence of moves (where each move is played by either Left or Right) that can be played in G.

It is important to note that in this definition, the players need not alternate turns.

Example 9.2 Suppose that we play the following variant of Nim: on your turn, you may replace a pile of n stones with any number of piles of stones, provided that each new pile has fewer than n stones. For instance, one can replace a pile of size 4 with a million piles of size 3, a billion piles of size 2, and one pile of size 1.

As long as the starting position has a pile with more than one stone in it, the game will not be short because the first player can on her turn create an arbitrary number of piles, thus ensuring that the game will last at least that many turns. Nevertheless, it is an ender, since it is impossible for any sequence of moves to continue forever. Indeed, by induction, there can only be finitely many moves before a pile of maximum size is touched. This move will then either decrease the number of piles of maximum size or the maximum size of a pile will decrease.

Despite the unlimited number of possibilities at each move, it is not too hard to determine the 𝒫 positions in this game.

Example 9.3 Consider the infinite Hackenbush beanstalk shown below.

Explicitly, this game is given by ω = {0,1,2,3,… ⁡∣}. The only possible moves are for Left, and after the first move, it will become a short game, so ω is an ender.

It is not hard to see that ω is larger than any short game. Indeed, if G is short, then in ω − G, Left needs only play her first move from ω to N, where N is any number larger than G. (For instance, Left could take N > b(G).)

You may be wondering why we require that there be no infinite sequences of moves by either player, as opposed to just forbidding alternating sequences of moves. The reason is that if a game appears as a component in a sum of games, then there is no guarantee that the moves in a single component alternate.

Example 9.4 Consider the following two Hackenbush flowers with an infinite number of petals.

If we look only at the blue flower as an isolated game, it is not an ender since Left can pluck petals indefinitely. This does not seem to be a problem under normal play with players moving alternately, since the game must end when Right is forced to cut the stem. The problem arises only in the sum of the blue and red flower: this sum is not guaranteed to end since both players can (and will under best play!)The first player to cut a stem loses since the other player will cut the other stem.pluck petals indefinitely.

Most of our definitions related to addition, comparison, and equivalence of games will apply directly to enders, so we will not repeat them here.

9.2 Hackenbush beanstalks

Let’s take a look at some infinite Blue-Red Hackenbush beanstalks. We have already seen ω = {0,1,2,3,… ⁡∣}, shown below next to its negative − ω = {∣0,−1,−2,−3,… ⁡}. As noted earlier, ω is larger than any short game, and similarly − ω is smaller than any short game.

Consider next the following beanstalk G.
Explicitly, this is the game G = {0∣1, 1 2, 1 4, 1 8,… ⁡}.Recall that the Hackenbush stalk consisting of a single blue edge with n red edges on top equals 1 2n.Clearly G is positive since Left wins regardless of who goes first by cutting the blue edge. However, it is smaller than 1 2n for any positive integer n: in G − 1 2n, Right can win immediately by moving from G to 1 2n, while Right can also respond to any move that Left makes by playing symmetrically.If Left moves to, say, G − 1 2n−1 , then Right can move to 1 2n−1 − 1 2n−1 .Hence G is a positive infinitesimal; we call G = 1 ω.

Next, let us look at the following beanstalk H with alternating red and blue edges.

Explicitly, H = {0, 1 2, 5 8, 21 32,… ⁡∣1, 3 4, 11 16, 43 64,… ⁡}. Both the possible left options and the possible right options approach 2 3, so it seems reasonable to call H = 2 3. Indeed, one can check that H + H + H = 2. For instance, in H + H + H − 2, if Left moves in one copy of H to some dyadic rational x < 2 3, then Right can move in another copy of H to some dyadic rational y > 2 3 such that y −2 3 < 2 3 − x, so x + y < 4 3, or x + y − 2 < −2 3. Since Left can only move in the last copy of H to a number z that is less than 2 3, she can only move to x + y + z − 2 < 0, so she loses.

In fact, one can assign to any real number x a beanstalk whose value equals x in the sense that all the usual rules of addition for real numbers apply as games. Indeed, one needs only figure out what signs need to be chosen to ensure thatThis is essentially obtained by finding the binary expansion of x.(for some positive integer n)

x = n − 1 2 ± 1 4 ± 1 8 ± 1 16 ±⋯

or

x = −n + 1 2 ± 1 4 ± 1 8 ± 1 16 ±⋯.

Then converting the n and the signs into blue and red edges gives the corresponding beanstalk. For instance,

2 3 = 1 − 1 2 + 1 4 − 1 8 + 1 16 −⋯,

resulting in the alternating beanstalk shown above, whereas

π = 4 − 1 2 − 1 4 − 1 8 + 1 16 − 1 32 − 1 64 + 1 128 −⋯

shows that π is equal to the beanstalk shown (partially) below.

In this case, cutting the beanstalk at a blue edge will leave a dyadic rational less than π, and cutting the beanstalk at a red edge will leave a dyadic rational greater than π, and either sequence of options approaches π. It follows that this game is bigger than all dyadic rationals less than π and smaller than all dyadic rationals less than π, so there is really no better name to call it than π.This is essentially equivalent to the construction of real numbers from the rationals using Dedekind cuts.

It might seem that beanstalks of height ω are as tall as we can go, but actually there’s nothing stopping us from building even taller beanstalks. For instance, we can put another blue edge on top of ω to get the game ω + 1 = {ω∣}, or we can put a red edge on top to get the game ω − 1 = {0,1,2,3,… ⁡∣ω}. We can even put another ω beanstalk on top of ω to get 2ω = {ω,ω + 1,ω + 2,… ⁡∣}, or put a − ω beanstalk on top of ω to get ω 2 = {0,1,2,3,… ⁡∣ω,ω − 1,ω − 2,ω − 3,… ⁡}.

9.3 Ordinal numbers

The beanstalks that consist of only blue edges are the so-called ordinal numbers.

Definition 9.5 An ordinal number is a game of the form G = {GL∣}, where GL is a set of ordinal numbers.

As usual, this definition is recursive and so requires us to bootstrap our way up from nothing to finite ordinals and then to infinite ordinals. The sequence of ordinals constructed in this manner looks like:
0,1,2,… ⁡,ω,ω + 1,ω + 2,… ⁡,2ω,2ω + 1,2ω + 2,… ⁡,3ω,… ⁡,4ω,… ⁡,
ω2,ω2 + 1,… ⁡,ω2 + ω,… ⁡,2ω2,… ⁡,3ω2,… ⁡,ω3,… ⁡,ω4,… ⁡,ωω,… ⁡,ωωω ,… ⁡,ωωωω… ⁡ ,… ⁡

More explicitly, there are two kinds of (nonzero) ordinals. The first kind, the successor ordinals, occur when GL has a largest element α. Then G = α + 1 = {α∣} is the successor to α. All finite ordinals are successor ordinals, as are ω + 1, ω + 2, 2ω + 1, and so forth.

The second kind, the limit ordinals, occur when GL has no largest element. In this case, GL consists of all ordinals constructed thus far. In other words, any time that we have constructed all possible successors to all of our ordinals, we can construct a new ordinal by taking all of them as our GL. For instance, this occurs when we construct:

ω = {0,1,2,… ⁡∣}, 2ω = {0,1,2,… ⁡,ω,ω + 1,ω + 2,… ⁡∣}, ω2 = {0,1,2,… ⁡,ω,ω + 1,ω + 2,… ⁡,2ω,… ⁡,3ω,… ⁡∣}.

Sometimes 0 is considered a limit ordinal since 0L consists of all ordinals already constructed (of which there are none).

Since ordinals are all constructed either by using the successor operation or the limit operation, there is a version of induction for ordinals called transfinite induction. If one wants to prove a statement for all ordinals α, one assumes the statement for all ordinals β < α and shows that this implies the statement for α. Often one needs to consider two cases depending on whether α is a successor or a limit ordinal.

Transfinite induction is essentially equivalent to the fact that the ordinals are well-ordered.

Definition 9.6 Let (S,<) be a totally ordered set.We say < is a total order of a set S if it is a partial order, and for any x,y ∈ S, either x ≤ y or y ≤ x.Then S is well-ordered if any nonempty subset of S has a least element.

For instance, the nonnegative integers are well-ordered since any subset of nonnegative integers has a least element.For instance, suppose S is a subset of nonnegative integers that has no least element. Then clearly 0∉S since 0 would be the least element. But this implies that 1∉S since then 1 would be the least element. Continuing in this manner, if S does not contain any number less than n, it cannot contain n, so S must be empty by induction.However, the nonnegative real numbers is not well-ordered since, for instance, the set of positive real numbers has no least element.

In fact, any well-ordered set has order type given by an ordinal number. In other words, for any well-ordered set S, there exists an ordinal α such that there is a bijection between S and the ordinals less than α that respects the order relation.

Example 9.7 Consider the set N2 under lexicographic order, that is, (x1,y1) < (x2,y2) if either x1 < x2, or x1 = x2 and y1 < y2. Then N2 has order type ω2, as can be seen by mapping (x1,y1)↦x1ω + y1.

Example 9.8 Consider the variant of Nim described in Example 9.2. If we associate to a position with ci piles of size i the ordinal ∑ ⁡ iciωi−1, then any move will decrease this ordinal.Any move replaces some ωk with a finite sum of some ωl for l < k, which is smaller.Since ordinals are well-ordered, this implies that there can be no infinite sequence of moves.

For a similar but more complicated result, see Goodstein’s Theorem.

9.4 Surreal numbers

We can use ordinals to make more formal our construction of long games.

Definition 9.9 For any ordinal α, let Gα be the set of games G = {𝒢 L∣𝒢 R}, where 𝒢 L, 𝒢 R ⊆⋃ ⁡ β<αGβ. A long game is an element of Gα for any α.

The birthday of a long game G is the least α such that G ∈Gα.

It is natural also to extend our definition of numbers to the setting of long games.

Definition 9.10 A surreal number is a long game G = {GL∣GR} such that GL < GR for all GL and GR, and all GL and GR are surreal numbers.

The surreal numbers with finite birthdays are just the dyadic rationals, but once we add birthdays of larger ordinals, we also get all ordinals and all real numbers as well as more exotic numbers like:

1 ω = {0∣1, 1 2, 1 4,… ⁡}, 1 2ω = {0∣ 1 ω}, 1 ω2 = {0∣ 1 ω, 1 2ω, 1 4ω,… ⁡}, 1 ωω = {0∣ 1 ω, 1 ω2 , 1 ω4 ,… ⁡}, ω − 1 = {0,1,2,… ⁡∣ω}, ω 2 = {0,1,2,… ⁡∣ω,ω − 1,ω − 2,… ⁡} ω = {0,1,2,… ⁡∣ω, ω 2 , ω 4 ,… ⁡}, ω1∕ω = {0,1,2,… ⁡∣ω,ω,ω4,… ⁡}.

We have already discussed comparison, equivalence, and addition of games and numbers, and most of those definitions and results still apply for long games and surreal numbers.

In particular, the following results carry over with essentially the same proofs.

Proposition 9.11 Let x and y be surreal numbers. Then

(a)

xL < x < xR for all xL, xR.

(b)

x + y is a surreal number.

(c)

The surreal numbers are totally ordered, i.e., either x ≤ y or y ≤ x.

Proof. Parts (a) and (b) follow as for dyadic rationals. For part (c), it suffices by (b) to show that no number can be fuzzy. But if x were fuzzy, then we would have some xL ≥ 0 ≥ xR, which contradicts that x is a number.  

Theorem 9.12 (Simplicity Theorem) Let x = {xL∣xR} be a surreal number. Then x equals the simplest number z such that xL < z < xR for all xL, xR, where simplest means having the (unique) minimum birthday.

Proof. Essentially the same as the proof of Theorem 5.17.  

9.4.1 Multiplication

One notion that we have not yet described is multiplication.

Definition 9.13 Let x and y be surreal numbers. Then the product of x and y is defined to be

xy = {xLy + xyL − xLyL,xRy + xyR − xRyR∣xLy + xyR − xLyR,xRy + xyL − xRyL}.

This definition may look quite strange and complicated at first, but its motivation lies in the following reasoning. Suppose we know that xL < x < xR and yL < y < yR. What can we deduce about xy? Well, x − xL > 0 and y − yL > 0, so this means that

(x − xL)(y − yL) = xy − xLy − xyL + xLyL > 0,

or

xy > xLy + xyL − xLyL.

Hence it makes sense that xLy + xyL − xLyL should be a left option of xy. The other options are derived similarly.

It is straightforward to prove the following properties of multiplication.

Proposition 9.14 For surreal numbers x,y,z, the following properties of multiplication hold.

(a)

0x≅ ⁡0.

(b)

xy≅ ⁡yx.

(c)

1x≅ ⁡x.

(d)

(xy)z = x(yz).

(e)

(x + y)z = xz + yz.

(f)

xy is a surreal number.

(g)

If x = y, then xz = yz.

(h)

If x ≤ y and z ≥ 0, then xz ≤ yz.

Example 9.15 Let us show that 1 2 ⋅ 1 2n = 1 2n+1 . When n = 0, this follows from parts (b) and (c) above. Otherwise,

1 2 ⋅ 1 2n = {0∣1}⋅{0∣ 1 2n−1 } = {0, 1 2n + 1 2 ⋅ 1 2n−1 − 1 2n−1 ∣1 2 ⋅ 1 2n−1 , 1 2n} = {0∣ 1 2n} = 1 2n+1

by induction.

From this, it is easy to deduce that multiplication on dyadic rationals behaves as expected using parts (d) and (e) above.

Example 9.16 Let us show that ω = {0,1,2,… ⁡∣} and 1 ω = {0∣1, 1 2, 1 4, 1 8,… ⁡} have product 1. The definitions of ω and 1 ω tell us that ω − n > 0, 1 ω > 0, and 1 ω − 1 2m < 0 for all nonnegative integers n. Hence (ω − n) 1 ω > 0 implies ω ⋅ 1 ω > n ⋅ 1 ω, while (ω − n)( 1 ω − 1 2m) < 0 implies ω ⋅ 1 ω < ω ⋅ 1 2m + n ⋅ 1 ω − n ⋅ 1 2m. Hence ω ⋅ 1 ω is the simplest number that is greater than all n ⋅ 1 ω, which are positive infinitesimals, and less than all ω ⋅ 1 2m + n ⋅ 1 ω − n ⋅ 1 2m > (ω − n) ⋅ 1 2m, which are larger than all positive integers. Clearly 1 satisfies these conditions while 0 does not, so ω ⋅ 1 ω = 1 by the Simplicity Theorem.

9.4.2 Division

One can also divide surreal numbers. As usual, division can be represented by multiplying by the inverse of the dominator, provided that we can define the inverse appropriately.

Definition 9.17 Let x = {0,xL∣xR} be a positive surreal number (with xL > 0). Then the inverse of x is the number

y = {0, 1 + (xR − x)yL xR , 1 + (xL − x)yR xL ∣1 + (xL − x)yL xL , 1 + (xR − x)yR xR } .
A word about this definition: you’ll note that yL and yR appear in the definition of y. You should take this to mean that once one finds a certain value of yL or yR, one should plug it in recursively to find new values of yL and yR. Such a construction is necessary since, for instance, 1 3 is born on day ω and thus needs an infinite number of left and right options.

Example 9.18 Let us compute y = 1 3, the inverse of x = 3 = {2∣}. The definition of inverse above gives

y = {0, 1 − yR 2 ∣1 − yL 2 }.

Initially, we have only 0 as a left option of y. But plugging 0 in for yL then gives 1−0 2 = 1 2 as a right option. Then plugging in 1 2 for yR gives 1 4 for yL, which gives 3 8 for yR, and so on. Iterating gives

1 3 = {0, 1 4, 5 16, 21 64,… ⁡∣1 2, 3 8, 11 32,… ⁡},

which one can check agrees with the construction of 1 3 as a real number using approximation by dyadic rationals.

Proposition 9.19 Let y be the inverse of x > 0.

(a)

xyL < 1 < xyR for all yL, yR.

(b)

y is a surreal number.

(c)

xy = 1.

Proof. For part (a), consider yL′ = 1+(xR−x)yL xR . This can be rearranged as

1 − xyL′ = 1 −x(1 + (xR − x)yL) xR = (xR − x) − xyL(xR − x) xR = (1 − xyL)xR − x xR .

Hence if 1 − xyL > 0, then 1 − xyL′ > 0 as well. The inequalities for the other left and right options of y follow similarly.

For part (b), we clearly cannot now have yL ≥ yR since that would violate (a) after multiplying by x. For (c), note that 0 is always a left option of xy so it sufficies to show by the Simplicity Theorem that (xy)L < 1 < (xy)R. Note that if we take yL′ = 1+(xR−x)yL xR as above, then

1 < 1 + xR(y − yL′) = xRy − xRyL + xyL,

which is one of the right options (xy)R. The claim for the other options of xy follows similarly.  

Since surreal numbers have an addition, subtraction, multiplication, and division that are all compatible with the < relation, they form what is called an ordered Field.The reason we write the word “Field” with a capital ‘F’ is that the collection of surreal numbers is a proper classA proper class is a collection of sets that is not itself a set since it is, in a sense, too big. Proper classes exist because allowing objects like “the set of all sets” leads to paradoxes like “Does the set of all sets that don’t contain themselves contain itself?”.and not a set, and “fields” with a lowercase ‘f’ are generally required to be sets.

9.4.3 The ω-map

One can also define exponentiation with base ω.

Definition 9.20 Let x be a surreal number. Then

ωx = {0,rωxL ∣rωxR },

where r ranges over positive dyadic rationals.

Example 9.21 If x = 0, then ω0 = {0∣} = 1.

If x = −1 = {∣0}, then ω−1 = {0∣r} = {0∣1, 1 2, 1 4,… ⁡}.

This ω-map satisfies the following properties, which we leave as an exercise.

Proposition 9.22 Let x and y be surreal numbers.

(a)

ω0 = 1.

(b)

ω−x = 1 ωx.

(c)

ωx+y = ωx ⋅ ωy.

(d)

If x = y, then ωx = ωy.

(e)

If x < y, then ωx ≪ ωy (meaning n ⋅ ωx < ωy for any positive integer n).

One reason for defining this map is that the powers of ω can be used to determine when two numbers are equivalent up to a finite factor.

Definition 9.23 Positive surreal numbers x and y are commensurate if x < ny and y < nx for some positive integer n.

Proposition 9.24 Every positive surreal number x is commensurate with ωy for some surreal number y.

Proof. If x is commensurate with any of its left or right options, we are done by induction. Otherwise, if xL is commensurate with ωyL for some yL, then x > nxL implies that x > rωyL for any positive dyadic rational r. Similarly, x < rωyR if xR is commensurate with ωyR . It then follows that x = ωy for y = {yL∣yR}.  

In general, the numbers ωx are the simplest numbers in their commensurate equivalence class. One can also show that every surreal number can be expanded uniquely as the sum of a series

∑ β<αωyβ rβ,

involving multiples of powers of ω, where rβ is a real nonzero number and the yβ are a decreasing sequence of numbers, although note that the length α of this series will typically be an arbitrary ordinal number (i.e., possibly longer than ω).

9.4.4 Real closed fields

The surreal number contain the real numbers as a subfield.

Definition 9.25 A surreal number x is a real number if − n < x < n for some integer n, and x = {x − 1,x −1 2,x −1 3,… ⁡∣x + 1,x + 1 2,x + 1 3,… ⁡}.One can also use only the dyadic rationals in place of 1 n here.

One can check from the results above that the real numbers act in the same manner as the real numbers as they are usually defined, all dyadic rationals are real, and all other real numbers have birthday ω.

One special kind of field that possesses many properties analogous to those of the real numbers is called a real closed field.

Definition 9.26 A real closed field is an ordered field such that

  • every positive element has a square root; and

  • every polynomial of odd degree with coefficients in the field has a root.

Real closed fields have the property that they are elementarily equivalent to the real numbers, which roughly means that any “elementary” statement using addition, subtraction, multiplication, division, and comparisons that is true in the real numbers is also true in a real closed field.Specifically, the types of statements that carry over are those in first order logic. These include essentially any statement that involves quantifiers over individual elements (“for all x there exists y such that…”) but not quantifiers over subsets (“for all subsets S…”).

Theorem 9.27 The surreal numbers form a real closed Field.