Often, some components of a game will be hot in the sense that both players wish to move there as soon as possible, while other components may be cold in the sense that neither player wants to move there before moving elsewhere.
Example 5.1 Consider the Domineering position shown below, equal to .
Because both players prefer to move in over , we say that is hotter than .
We will leave the formal definition of temperature for a bit later in the course. For now, you should just informally note that a game is hot if it admits a great advantage for the player who moves in it first, that is, if some is much larger than any . Moreover, the larger the difference, the hotter the game. Hence both and are hot, but the first one is hotter.One also sometimes calls games tepid if any advantage one gains in them by moving first is infinitesimal.
By contrast, a game is cold if it confers a disadvantage to the player who moves in it first. For instance, is cold simply because neither can move in it, but also a game like is cold because , so moving in it first yields a strictly worse position for that player. This suggests the following definition for the coldest games of all, which we call numbers.
Definition 5.2 A game is called a number if all options of are numbers, and for all left and right options and .
As usual, this definition is recursive, but we can bootstrap ourselves up using the fact that has no options and is therefore a number. From this we see that and are numbers, but is not a number since . However, is a number since .
An important property of numbers is that they lie between their left and right options.
Proof. We need to show is positive. If Left goes first, she can win by moving to . If instead Right goes first, he can either move to
, which is positive since is a number, or to
, but then Left can reply to , which is positive by induction since is a number.
A similar argument shows that is negative.
Another important property is that the sum of two numbers is a number.
Proof. Both left options of (namely and ) are numbers by induction, and both are less than since and . Similarly, both right options are numbers and larger than , so all are less than all .
The simplest numbers to construct are the integers.
As an exercise, check that each of these expressions is in canonical form.
In order to avoid confusion between the integers that we all know and love and the “integers” that we defined as games above, we will temporarily refer to the game as . Hence will mean the number in the usual sense, while will mean the game with a single left option of . In the future, these numbers will behave exactly like we expect them to, so we will eventually drop the brackets when there is no longer any chance of confusion.
It is straightforward to check the following claims by induction.
Proof. Part (a) is easy.The base case is clear since as both are the game with no options. For , (by induction), which is the definition of .For part (b), it suffices to check by induction that
For part (c), simply expand all terms using part (a) and (b).Each term will expand into a sum of ’s or ’s, and after cancellation there will be either ’s if or ’s if .For part (d), if and only if . The result then follows from part (a) and (b), using the fact that .If , then is a sum of a bunch of positive terms , while if , then is a sum of a bunch of negative terms .
In many rulesets, it is easy to come up with games that are equal to integers. For instance, in Hackenbush, any (nonempty) position with only blue edges is a positive integer, while any (nonempty) position with only red edges is a negative integer.Note, however, that such positions will usually not be in canonical form. See, for instance, Example 3.15.
In Example 4.27, we showed that the game satisfies . Also is a number since its left option is less than its right option , so it is natural to give the name .
It turns out that it is not hard to define related rational numbers such as
and so forth, provided that they are dyadic.
Definition 5.7 A rational number is called dyadic if its denominator (when written in lowest terms) is a power of .
Definition 5.8 For any integers and , define the dyadic rational as follows.
If and , then .
For , .
For negative , define as the negative of , and if or is , then define to be the corresponding integer.
It is easy to verify that all dyadic rationals defined in this ways are numbers in the sense that we defined earlier. In particular, if by induction we know that is a number, then it is larger than its left option , so is also a number.
Note that there is one potential problem with this definition: if is not written in lowest terms, then we have two different definitions for the same rational number. For instance, since as ordinary rational numbers , we must check that
Luckily, if we group terms appropriately, it suffices to check that , or in general, to check the following proposition.
Proof. Recall that any number lies between its left and right options, so for all .
We check that is a second player win.
If Right goes first, he can only move to or , so he loses.
If Left goes first, she can only move to or by induction, so she loses.
It follows that our definition of dyadic rationals is well-defined.Every dyadic rational has a reduced expression of the form with odd, and all other expressions have the form for some . But these are all equal since we can expand as a sum of and then write each as a sum of copies of using the previous proposition.
It is now straightforward to prove the following proposition, which is the analogue of our earlier result for integers. Again, for the sake of clarity, we use to refer to the game corresponding to the dyadic rational number .
Proof. Express and as dyadic rationals with the same denominator , and then expand each as a sum of (or if negative). The result follows easily as in Proposition 5.6.
While things seem to be working out cleanly, one issue is that our definition of dyadic rationals is not so useful since if the numerator is large, the only expression we have for these rational numbers is as a large sum. Luckily, it is not too difficult to determine the canonical form of any dyadic rational.
Theorem 5.11 For and odd, the canonical form of is
(after each option is reduced to lowest terms and written in canonical form).
Proof. Without loss of generality, assume that is positive. Then
It suffices to show that this form is canonical. There is only one option on either side, so there are no dominated options.
Note that when reduced has a smaller denominator for some . Hence by induction, the right option of its canonical form is some number of the form . Thus is not a reversible option. Similarly, neither is , so the result follows.
Now that we have all the dyadic rationals at our disposal, it is natural to ask whether there are any other numbers. After all, we can potentially form a new number by taking any dyadic rationals and that we like provided . Of course, the dyadic rationals are totally ordered,For any two dyadic rationals and , either or so that means that all but one of the options on either side will be dominated. Still, what happens if we try to form a game like ?
Unsurprisingly, also turns out to be a dyadic rational. However, it may not be the one that you expect.
Example 5.13 We claim that equals . To see this, we just need to check that is a second player win.
If Left goes first, she can only move to , so she loses.
If Right goes first, then he can move to or ,Recall that any number, such as , is larger than its left options.so he also loses.
Given two dyadic rationals , it seems reasonable that is also a dyadic rational, but which one? The answer is that it is the simplest one between and .
Definition 5.14 The simplest number between and is the one with the smallest birthday. Equivalently, it is:
the integer of smallest absolute value if one exists, or
the dyadic rational with the smallest denominator.
Example 5.15 To determine which number the game equals, we must find the simplest number between and . There is no integer between them, and the number between and divisible by the highest power of is . Hence .
Of course, it is not clear that the two definitions we gave for simplest are the same, so we will prove that now.
Proof. A straightforward induction shows that, for , the birthday of or is , while the birthday of any rational number between and (or and ) with denominator is . If the integer of smallest absolute value between and is or , then all non-integer dyadic rationals in that interval will have birthday at least . If there is no integer between and , then the entire interval lies between two integers, so the smallest birthday is determined solely by having be the smallest.
It is also not so clear that this notion of simplest is unique, though it is not hard to show this from the second definition.Between any two dyadic rationals with same denominator, there is one with a smaller denominator.In any case, it will follow immediately from the following Simplicity Theorem.
Theorem 5.17 Let be numbers. Then is the unique dyadic rational of minimum birthday satisfying .Note that we also allow for the possibility that or is not present, in which case, for instance, is the unique dyadic rational of minimum birthday satisfying .
Proof. Let be a dyadic rational of minimum birthday satisfying . We need to show that is a second player win. If Left goes first, she loses if she moves to since , so suppose instead that she moves to . But has a smaller birthday than , so we must have that is not between and ; since , we must have . Then Right can win by moving to .
A similar argument shows that Right loses going first, so .
Proof. Follows from the theorem since every short game that is a number has the form with with and numbers.Again, either or could be missing.
Actually, the above theorem can be slightly strengthened using essentially the same proof: if is any game, and there exists a number such that for all and , then is the (unique) simplest such number.
The corollary above was intentionally phrased to indicate that one can extend the definition of numbers to games that are not short. This larger set of numbers, called surreal numbers, will be investigated towards the end of the course.
As mentioned earlier, numbers are cold in the sense that each player has a disincentive to move in them. We can make this more precise in the following Number Avoidance Theorem.
Theorem 5.19 Suppose that is equal to a number and is not. Then if a player has a winning move in , she has a winning move of the form .
Proof. We may assume that is in canonical form. Suppose Left has a winning move of the form . Since is not equal to a number, , so , meaning Left has a winning move on . By induction on , she must have a winning move of the form . But , so is a winning move for Left in , as desired.
Actually, this is known as the weak form of the Number Avoidance Theorem. We will defer the statement and proof of the strong form until a bit later.