Combinatorial Game Theory
Basic DefinitionsPermalink
Normal play: first player who cannot move loses (and therefore no draws)
Two kinds of normal play:
Impartial: For every position the moves available doesn’t depend on whose turn it is. Partisan: Not impartial
Two players are called Louise and Richard. Let be a position in some normal game:
where is the position where Louise can move from , and is the position where can move from
Types of PositionsPermalink
(L) Louise has a winning strategy regardless of who moves first at (R) Richard has a winning strategy regardless of who moves first at (N) Player who moves next has a winning strategy (P) Player who moves previous has a winning strategy
Definitions, Lemma, and PropositionsPermalink
Prop: If ,then has type:
Some is (R) or (P) | All is (L) or (N) | |
Some is (L) or (P) | N | L |
Some is (R) or (N) | R | P |
Def: Given position ,, not necessary in the same game, define to be a new position where move at consists of moves in or
L | R | P | N | |
L | L | ? | L | ? |
R | ? | R | R | ? |
P | L | R | P | N |
N | ? | ? | N | ? |
Def: If , , we say
Lemma: If , then and has same type
Prop: (1) (2) (3) (4) (5)
Lemma:If , then
Lemma:If is (P), then
Prop: If are (P), then
Lemma: If are both (P), then
Inverse ElementPermalink
We have the identity element (P) now, what about the inverse element, namely: ?
For impartial games: . The strategy is that the second player just copies the first player’s move in other game.
In general normal game:
Impartial GamesPermalink
NimPermalink
Here is the rule and other info about Nim. In short there are multiple heaps of stones. Each turn each player takes out any number(at least one) of stones from one heap.
We define as one heap with stones (Nimber)
Def: is balanced if , in binary appears in even number of ’s.
We know that no stone at all is balanced. Then how do we make unbalanced pile balanced with one move?
Look for the max that appears on odd number of times; take that away, and adjust the lower positions as you like. It is always valie because
Note: when is balanced
Claim: Every unbalanced pile is equivalent to :
Idea: Then: where
Sprague–Grundy TheoremPermalink
Sprague-Grundy Theorm: Every impartial game is equivalent to a nimber.
Def: If , then
Claim: is (P) when (note that can be the position an any game, not just nim). We skip the proof here because I am lazy
Corollary: if , , then , where
Partisan GamesPermalink
HackenbushPermalink
Here is the rule and other info about Hackenbush, and let’s have Richard plays Red and Louise plays Black. Since it is a partisan game, we might want to have some kind of definition of “advantage”. All the following definitions are from Louise’s perspective; namely, Black’s advantage is positive and Red’s is negative.
We use notation to define an advantage of .
Some DefinitionsPermalink
Only ground and nothing else is
Ground with one black on it is , and ground with one red on it is
Ground with blacks on it is , and vice versa for red.
What is advantage of ?
We want , or , which is (P)
So we define one black on the ground, and one red on the black is . Similarly, one black on the ground and red on the black is . (It doesn’t matter how those reds are put on the black, as long as once we take out the black and they all die)
Prop:
Dyadic NumberPermalink
Dyadic numbers are rationals of form
ConstructionPermalink
is born on day 0
are born on day 1
are born on day 2
If are born on days , the numbers born on day are:
It can be easily known that all dyadic numbers will be born.
Lemma: Every open interval in has a unique oldest dyadic number
Def:
Lemma: If , and if , then
Collery: If are dyadic numbers:
If is dyadic:
The Simplicity PrinciplePermalink
Theorm: . Suppose , for some dyadic number , assuming , . Then if , then , where is the unique oldest dyadic number in interval
Lemma: Let . Suppose a player moves to . If Louise moved, If Richard moved,
Comments