Surreal numbers were first proposed by John Conway and later detailed by Donald Knuth in his 1974 book Surreal Numbers: How Two Ex-Students Turned on to Pure Mathematics and Found Total Happiness. This book is actually a mathematical novelette, and is notable as perhaps the only time a new mathematical idea has been first presented in a work of fiction. The book takes the form of a dialogue, similar to Douglas Hofstadter's [Goedel Escher Bach]?. (More information can be found at the book's official [homepage].) Conway himself also covered the idea of surreal numbers in his 1976 book On Numbers and Games.
The basic idea behind the construction of surreal numbers is similar to [Dedekind cut]?s. 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:
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:
The two rules are recursive, so we need some form of induction to put them to work. An obvious candidiate 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
Since this defines an equivalence relation the ordering on the equivalence classes implied by <= will be a total order. The interpretation of this will be that if x and y are in the same equivalence class then they actually represent the same number. The equivalence classes to which x and y belong are denoted as [x] and [y] respectively. So if x and y belong to the same equivalence class then [x] = [y].
Let us now consider some examples and see how they behave under the ordering. The most simple example is of course
which can be constructed without any induction at all. We will call this number 0 and the equivalence class [0] will be written as 0. By applying the construction rule we can consider the following three numbers
The last number is however not a valid surreal number because 0 <= 0. If we now consider the ordering of the valid surreal numbers we will see that
where x < y denotes that not(y <= x). We will refer to { | 0 } and { 0 | } as -1 and 1 respectively, and the corresonding equivalence classes as simply -1 and 1, respectively. Since every equivalence class contains only one element we can replace in statements about ordering the surreal numbers with their equivalence classes without the risc of ambiguity. For example, the statement above could also have been written as:
or even
If we apply the construction rule once more we obtain the following ordered set:
We can now make two observations:
The first observation raises the question of the interpretation of these new equivalence classes. Since the informal interpretation of { | -1 } is "the number just before -1" we will call it number -2 and denote its equivalence class as -2. For a similar reason we will call { 1 | } number 2 and its equivalence class 2. The number { -1 | 0 } is a number between -1 and 0 and we will call it -1/2 and its equivalence class -1/2. Finally we will call { 0 | 1 } the number 1/2 and its equivalence class 1/2. More justification for these names will be given once we have defined addition and multiplication.
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
where [X] denotes { [x] | x in X }. So the description of the ordered set that was found above can be rewritten to:
which in turn can be rewritten as
The addition and multiplication of surreal numbers are defined by the following three rules:
where X + y = { x + y | x in X } and x + Y = { x + y | y in Y }.
where -X = { -x | x in X }
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 then the right set.
With these rules we can now verify that the chosen names of the numbers we found sofar are appropriate. It holds for instance that 0 + 0 = 0, 1 + 1 = 2 and 1/2 + 1/2 == 1.
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
Finally it can be shown that the generalized operations on the equivalence classes have the desired algebraic properties, i.e., the equivalence classes plus their ordering and the algebraic operations constitute an ordered field, with the caveat that they do not form a set but a proper class, see below. In fact, it is a very special ordered field: the biggest one. Every other ordered field can be embedded in the surreals. (See also the definition of rational numbers and real numbers.)
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 assumption that we only generate those 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:
This leads to the following observations:
As a consequence all generated numbers are [dyadic fraction]?s, i.e., can be written as an irreducible fraction
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.
Already in Sω+1 will we find the fractions that were missing in Sω. For example, the fraction 1/3 can be defined as
Another number that is already constructed in Sω+1 is
Next to infinitely small numbers also infinitely big numbers are generated such as
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.