In
combinatorial game theory
Combinatorial game theory is a branch of mathematics and theoretical computer science that typically studies sequential games with perfect information. Study has been largely confined to two-player games that have a ''position'' that the playe ...
, and particularly in the theory of
impartial game In combinatorial game theory, an impartial game is a game in which the allowable moves depend only on the position and not on which of the two players is currently moving, and where the payoffs are symmetric. In other words, the only difference betw ...
s in
misère Misère (French language, French for "destitution"), misere, bettel, betl, or (German language, German for "begging, beggar"; equivalent terms in other languages include , , ) is a bidding, bid in various card games, and the player who bids misè ...
play, an indistinguishability quotient is a
commutative monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids a ...
that generalizes and localizes the
Sprague–Grundy theorem
In combinatorial game theory, the Sprague–Grundy theorem states that every impartial game under the normal play convention is equivalent to a one-heap game of nim, or to an infinite generalization of nim. It can therefore be represented a ...
for a specific game's rule set.
In the specific case of misere-play impartial games, such commutative monoids have become known as misere quotients.
Example: Misere Nim variant
Suppose the game of
Nim
Nim is a mathematical two player game.
Nim or NIM may also refer to:
* Nim (programming language)
* Nim Chimpsky, a signing chimpanzee Acronyms
* Network Installation Manager, an IBM framework
* Nuclear Instrumentation Module
* Negative index met ...
is played as usual with heaps of objects, but that at the start of play,
every heap is restricted to have either one or two objects in it. In the
normal-play convention, players take turns to remove any number of objects from a heap, and the last player to take an object from a heap is declared the winner of the game; in Misere play, that player is the loser of the game.
Regardless of whether the normal or misere play convention is in effect, the outcome of such a position is necessarily of one
of two types:
; N : The Next player to move has a forced win in best play; or
; P : The Previous player to move has a forced win.
We can write down a commutative monoid presentation for the misere quotient of this 1- and 2-pile Nim game by
first recasting its conventional
nimber
In mathematics, the nimbers, also called ''Grundy numbers'', are introduced in combinatorial game theory, where they are defined as the values of heaps in the game Nim. The nimbers are the ordinal numbers endowed with ''nimber addition'' and '' ...
-based solution into a multiplicative form,
and then modifying that slightly for misere play.
Normal-play analysis
The
nimber
In mathematics, the nimbers, also called ''Grundy numbers'', are introduced in combinatorial game theory, where they are defined as the values of heaps in the game Nim. The nimbers are the ordinal numbers endowed with ''nimber addition'' and '' ...
s that occur in the normal play of such positions are *0, *1, *2, and *3.
These four nim values combine according to the
Klein four-group
In mathematics, the Klein four-group is a group with four elements, in which each element is self-inverse (composing it with itself produces the identity)
and in which composing any two of the three non-identity elements produces the third on ...
:
:
The Klein four-group is also defined by the commutative
group presentation
In mathematics, a presentation is one method of specifying a group. A presentation of a group ''G'' comprises a set ''S'' of generators—so that every element of the group can be written as a product of powers of some of these generators—an ...
:
.
The elements of
can be thought of as in one-to-correspondence with the nim values
that occur in the play of this simplified Nim game; they combine exactly in the same way.
So far, this formal introduction of the Klein four-group has added nothing new to the conventional analysis of 1- and 2-pile Nim using nimbers and nim-addition.
Instead, we have merely recast the theory into a multiplicative form.
Misere-play analysis
The advantage of the multiplicative form is that it allows us to write down a similar solution for the misere quotient of Nim played with heaps of size one and two only.
We introduce the commutative
monoid presentation
In algebra, a presentation of a monoid (or a presentation of a semigroup) is a description of a monoid (or a semigroup) in terms of a set of generators and a set of relations on the free monoid (or the free semigroup ) generated by . The mon ...
:
whose six elements are
The solution to the correct play of misere Nim was already fully described by Bouton in 1902. In the final sentence of that paper, Bouton writes that in misere Nim, "the safe combinations are the same as before, except that an odd number of piles, each containing one, is now safe
e, is an P-position while an even number of ones is not safe
e, is an N-position" The misere quotient formulation above is easily seen to be equivalent in the case of Nim played with heaps of size one and two only.
Formal definition
Suppose
is a set of impartial combinatorial games that is finitely-generated with respect to disjunctive sums and closed in both of the following senses:
(1) Additive closure: If
and
are games in
, then their disjunctive sum
is also in
.
(2) Hereditary closure: If
is a game in
and
is an option of
, then
is also in
.
Next, define on
the indistinguishability congruence ≈ that relates two games
and
if for every choice of a game
in
, the two positions
and
have the same outcome (i.e., are either both first-player wins in best play of
, or alternatively are both second-player wins).
One easily checks that ≈ is indeed a congruence on the set of all disjunctive position sums in
, and that this is true regardless of whether the game is played in normal or misere play. The totality of all the congruence classes form the indistinguishability quotient.
If
is played as a normal-play (last-playing winning) impartial game, then the congruence classes of
are in one-to-one correspondence with the nim values that occur in the play of the game (themselves determined by the
Sprague–Grundy theorem
In combinatorial game theory, the Sprague–Grundy theorem states that every impartial game under the normal play convention is equivalent to a one-heap game of nim, or to an infinite generalization of nim. It can therefore be represented a ...
).
In misere play, the congruence classes form a
commutative monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids a ...
, instead, and it has become known as a misere quotient.
Algorithms for computing misere quotients
Many more complicated and intricate misere quotients have been calculated for various impartial games, and particularly for
octal games.
A general-purpose algorithm for computing the misere quotient monoid presentation of a given a finite set of misere impartial game positions has been devised by Aaron N. Siegel and is described
in its Appendix C.
See also
*
Sprague–Grundy theorem
In combinatorial game theory, the Sprague–Grundy theorem states that every impartial game under the normal play convention is equivalent to a one-heap game of nim, or to an infinite generalization of nim. It can therefore be represented a ...
*
Genus theory
References
{{Refend
External links
* http://miseregames.org/
Combinatorial game theory