Surreal number
The definition and construction of the surreals is due to John Conway, and exemplifies Conway's characteristic notational cleverness and originality. They were introduced in Donald Knuth's 1974 book Surreal Numbers: How Two Ex-Students Turned on to Pure Mathematics and Found Total Happiness. This book is a mathematical novelette, and is notable as one of the rare cases where a new mathematical idea was first presented in a work of fiction. In his book, which takes the form of a dialogue, Knuth coined the term surreal numbers for what Conway had simply called numbers originally. Conway liked the new name, and later adopted it himself. Conway then described the surreal numbers and used them for analyzing games in his 1976 book On Numbers and Games.
Constructing surreal numbers
The basic idea behind the construction of surreal numbers is similar to Dedekind cuts. We construct new numbers by representing them with two sets of numbers, L and R, that approximate the new number; the set L contains a set of numbers below the new number and the set R contains a set of numbers above the new number. We will write such an approximation as { L | R }. We will pose no restrictions upon L and R except that each of the numbers in L should be smaller than any number in R. For example, { {1, 2} | {5, 8} } is a valid construction of a certain number between 2 and 5. (Which number exactly and why will be explained later on.) The sets are explicitly allowed to be empty. The informal interpretation of a pair { L | {} } will be "a number higher than any number in L", and of { {} | R } "a number lower than any number in R". This leads to the following construction rule:
;Construction Rule: If L and R are two sets of surreal numbers and no member of R is less than or equal to any member of L then { L | R } is a surreal number.
Given a surreal number x = { XL | XR } the sets XL and XR are called the left set of x and right set of x respectively. To avoid lots of brackets we will write { {a, b, ... } | { x, y, ... } } simply as { a, b, ... | x, y, ... } and { {a} | {} } as { a | } and { {} | {a} } as { | a }.
In order for the generated numbers to actually qualify as numbers there has to be a "less than or equal to" relation (here written as ≤) defined on them. This is supplied by the following rule:
;Comparison Rule: For a surreal number x = { XL | XR } and y = { YL | YR } it holds that x ≤ y if and only if y is less than or equal to no member of XL, and no member of YR is less than or equal to x.
The two rules are recursive, so we need some form of induction to put them to work. An obvious candidate would be finite induction, i.e., generate all numbers that can be constructed by applying the construction rule a finite number of times, but, as will be explained later on, things get really interesting if we also allow transfinite induction, i.e., apply the rule more often than that. If we want the generated numbers to represent numbers then the ordering that is defined upon them should be a total order. However, the relation ≤ defines only a total preorder, i.e., it is not antisymmetric. To remedy this we define the binary relation == over the generated surreal numbers such that
- x == y iff x ≤ y and y ≤ x.
Let us now consider some examples and see how they behave under the ordering. The most simple example is of course
- { | } ie: { {} | {} }
- { 0 | }, { | 0 } and { 0 | 0 }
- { | 0 } < 0 < { 0 | }
- { | 0 } < 0 < { 0 | }
- -1 < 0 < 1.
- { | -1 }
{ | -1, 0 }
{ | -1, 1 } == { | -1, 0, 1 } < - { | 0, 1 } == -1 <
- { -1 | 0 } == { -1 | 0, 1 } <
- { -1 | }
{ | 1 }
{ -1 | 1 } == 0 < - { 0 | 1 } == { -1, 0 | 1 } <
- { -1, 0 | } == 1 <
- { 1 | }
{ 0, 1 | }
{ -1, 1 | } == { -1, 0, 1 | }
- We have found four new equivalence classes: [{ | -1 }], [{ -1 | 0 }], [{ 0 | 1 }], and [{ 1 | }].
- All equivalence classes now contain more than one element.
- The equivalence class of a number depends only on the maximal element of its left set and the minimal element of the right set.
The second observation raises the question if we can still replace the surreal numbers with their equivalence classes. Fortunately the answer is yes because it can be shown that
- if [XL] = [YL] and [XR] = [YR] then [{ XL | XR }] = [{ YL | YR }]
- { | -1 }
{ | -1, 0 }
{ | -1, 1 } == { | -1, 0, 1 } < - { |0, 1 } == -1 <
- { -1 | 0 } == { -1| 0, 1 } <
- { -1 | }
{ | 1 }
{ -1 | 1 } == 0 < - { 0 | 1 } == { -1, 0 | 1 } <
- { -1, 0 | } == 1 <
- { 1 | }
{ 0, 1 | }
{ -1, 1 | } == { -1, 0, 1 | }
- -2 < -1 < -1/2 < 0 < 1/2 < 1 < 2.
Computing with surreal numbers
The addition and multiplication of surreal numbers are defined by the following three rules:
;Addition: x + y = { XL + y ∪ x + YL | XR + y ∪ x + YR }
where X + y = { x + y | x in X } and x + Y = { x + y | y in Y }.
;Negation: -x = { -XR | -XL }
where -X = { -x | x in X }
;Multiplication: xy = { (XLy + xYL - XLYL) ∪ (XRy + xYR - XRYR) | (XLy + xYR - XLYR) ∪ (XRy + xYL - XRYL) }
where XY = { xy | x in X and y in Y }, Xy = X{y} and xY = {x}Y.
These operations can be shown to be well-defined for surreal numbers, i.e., if they are applied to well-defined surreal numbers then the result will again be a well-defined surreal number, i.e., the left set of the result will be "smaller" than the right set.
With these rules we can now verify that the chosen names of the numbers we found so far are appropriate. It holds for instance that 0 + 0 = 0, 1 + 1 = 2, -(1) = -1 and 1/2 + 1/2 == 1. (Note the use of equality = and equivalence ==!)
The operations as defined above are defined for surreal numbers but we would like to generalize them for the equivalence classes we defined on them. This can be done without ambiguity because it holds that
- if [x] = [x' ] and [y]=[y' ] then [x + y] = [x' + y' ] and [-x] = [-x' ] and [xy] = [x'y' ]
From now on we don't distinguish a surreal number from its equivalence class, and call the equivalence class itself a surreal number.
Generating surreal numbers using finite induction
Until now we have not really looked at what numbers we can and cannot create by applying the construction rule. We will first start with the numbers that can be created by applying the rule a finite number of times. We do this by inductively defining Sn with n a natural number as follows:
- S0 = {0}
- Si + 1 is Si plus the set of all surreal numbers that are generated by the construction rule from subsets of Si.
- S0 = { 0 }
- S1 = { -1 < 0 < 1 }
- S2 = { -2 < -1 < -1/2 < 0 < 1/2 < 1 < 2}
- S3 = { -3 < -2 < -1 1/2 < -1 < -3/4 < -1/2 < -1/4 < 0 < 1/4 < 1/2 < 3/4 < 1 < 1 1/2 < 2 < 3 }
- S4 = ...
- In every step the maximum (minimum) is increased (decreased) by 1.
- In every step we find the numbers that are in the middle of two consecutive numbers from the previous step.
- a / 2b
"To Infinity and Beyond"
The next step consists of taking Sω and continuing to apply the construction rule to it and thus constructing Sω+1, Sω+2 et cetera. Note that the left sets and right sets may now become infinite.
In fact, we can define a set Sa for any ordinal number a by transfinite induction. The first time a given surreal number appears in this process is called its birthday. Every surreal number has an ordinal number as its birthday. For example, the birthday of 0 is 0, and the birthday of 1/2 is 2.
Already in Sω+1 will we find the fractions that were missing in Sω. For example, the fraction 1/3 can be defined as
- 1/3 = { { a / 2b in Sω | 3a < 2b } | { a / 2b in Sω | 3a > 2b } }.
- 3(1 / 3) == 1.
Not only do all the rest of the rational numbers appear in Sω+1; the remaining finite real numbers do too. For example
- π = {3, 25/8, 201/64, ... | ..., 101/32, 51/16, 13/4, 7/2, 4}.
- ε = { 0 | ..., 1/16, 1/8, 1/4, 1/2, 1 }.
- 2ε = { ε | ..., ε + 1/16, ε + 1/8, ε + 1/4, ε + 1/2, ε + 1 } and
- ε / 2 = { 0 | ε }.
Next to infinitely small numbers also infinitely big numbers are generated such as
- ω = { Sω | }.
- ω = [{ 1, 2, 3, 4, ... | }]
- ω + 1 = { ω | } and
- ω - 1 = { Sω | ω }.
- ω + 2 = { ω + 1 | },
- ω + 3 = { ω + 2 | },
- ω - 2 = { Sω | ω - 1 } and
- ω - 3 = { Sω | ω - 2 }
- ω + ω = { ω + Sω | }
- ω/2 = { Sω | ω - Sω }
- 1 / ε = ω
Since every surreal number is constructed from surreal numbers "older" than itself, we can prove many theorems about surreals using transfinite induction: We show that a theorem holds for 0, and then show that it holds for x = { XL | XR } if it holds for all elements of XL and XR.
Lots of numbers can be generated this way; in fact so many that no set can hold them all. The surreal numbers, like the ordinal numbers, form a proper class.
Games
The definition of surreal numbers contained one restriction: each element of L must be strictly less than each element of R. If this restriction is dropped we can generate a more general class known as games. All games are constructed according to this rule:
;Construction Rule: If L and R are two sets of games then { L | R } is a game.
Addition, negation, multiplication, and comparison are all defined the same way for both surreal numbers and games.
Every surreal number is a game, but not all games are surreal numbers, e.g. the game { 0 | 0 } is not a surreal number. The class of games is more general than the surreals, and has a simpler definition, but lacks some of the nicer properties of surreal numbers. The class of surreal numbers forms a field, but the class of games does not. The surreals have a total order: given any two surreals, they are either equal, or one is greater than the other. The games have only a partial order: there exist pairs of games that are neither equal, greater than, nor less than each other. Each surreal number is either positive, negative, or zero. Each game is either positive, negative, zero, or fuzzy (incomparable with zero, such as {1|-1}).
A move in a game involves the player whose move it is choosing a game from those available in L (for the left player) or R (for the right player) and then passing this chosen game to the other player. A player who cannot move because the choice is from the empty set has lost. A positive game represents a win for the left player, a negative game for the right player, a zero game for the second player to move, and a fuzzy game for the first player to move.
If x, y, and z are surreals, and x=y, then x z=y z. However, if x, y, and z are games, and x=y, then it is not always true that x z=y z. Note that "=" here means equality, not identity.
Surreal numbers and combinatorial game theory
The surreal numbers were originally motivated by studies of the game Go, and there are numerous connections between popular games and the surreals. In this section, we will use a capitalized Game for the mathematical object {L|R}, and the lowercase game for recreational games like Chess or Go.
We consider games with these properties:
- Two players (named Left and Right)
- Deterministic (no dice or shuffled cards)
- No hidden information (such as cards or tiles that a player hides)
- Players alternate taking turns
- Every game must end in a finite number of moves, even when the players don't alternate, and one player can move multiple times in a row
- As soon as there are no legal moves left for a player, the game ends, and that player loses
- If x>0 then Left will win
- If x<0 then Right will win
- If x=0 then the player who goes second will win
- If x is fuzzy then the player who goes first will win
- If a big game decomposes into two smaller games, and the small games have associated Games of x and y, then the big game will have an associated Game of x+y.
Historically, Conway developed the theory of surreal numbers in the reverse order of how it has been presented here. He was analyzing Go endgames, and realized that it would be useful to have some way to combine the analyses of non-interacting subgames. From this he invented the concept of a Game and the addition operator for it. From there he moved on to developing a definition of negation and comparison. Then he noticed that a certain class of Games had interesting properties; this class became the surreal numbers. Finally, he developed the multiplication operator, and proved that the surreals are actually a field, and that it includes both the reals and ordinals.
Further reading
- Donald Knuth's original exposition: Surreal Numbers: How Two Ex-Students Turned on to Pure Mathematics and Found Total Happiness. 1974, ISBN 0201038129. More information can be found at the book's official homepage
- An update of the classic 1976 book defining the surreal numbers, and exploring their connections to games: On Numbers And Games, 2nd ed., John Conway, 2001, ISBN 1568811276.
- An update of the first part of the 1981 book that presented surreal numbers and the analysis of games to a broader audience: Winning Ways for Your Mathematical Plays, vol. 1, 2nd ed., Berlekamp, Conway, and Guy, 2001, ISBN 1568811306.
- Martin Gardner Penrose Tiles to Trapdoor Ciphers chapter 4 — not especially technical overview; reprints the 1976 Scientific American article
External links
| Topics in mathematics related to quantity | Edit |
| Numbers | Natural numbers | Integers | Rational numbers | Constructible numbers | Algebraic numbers | Computable numbers | Real numbers | Complex numbers | Split-complex numbers | Hypercomplex numbers | Quaternions | Octonions | Sedenions | Superreal numbers | Hyperreal numbers | Surreal numbers | Ordinal numbers | Cardinal numbers | p-adic numberss | Integer sequences | Mathematical constants | Infinity | |