Nimber: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
I have doubts about the last edit; I'm undoing it but I'll look into it further.
Nimbers form NOT an algebraically closed field - this field contains only roots of power 2^n.
Line 11: Line 11:
:&alpha; &beta; = mex{&alpha; &prime; &beta; + &alpha; &beta; &prime; &minus; &alpha; &prime; &beta; &prime; : &alpha; &prime; < &alpha;, &beta; &prime; < &beta;} = mex{&alpha; &prime; &beta; + &alpha; &beta; &prime; + &alpha; &prime; &beta; &prime; : &alpha; &prime; < &alpha;, &beta; &prime; < &beta;}.
:&alpha; &beta; = mex{&alpha; &prime; &beta; + &alpha; &beta; &prime; &minus; &alpha; &prime; &beta; &prime; : &alpha; &prime; < &alpha;, &beta; &prime; < &beta;} = mex{&alpha; &prime; &beta; + &alpha; &beta; &prime; + &alpha; &prime; &beta; &prime; : &alpha; &prime; < &alpha;, &beta; &prime; < &beta;}.


Except for the fact that nimbers form a [[class (set theory)|proper class]] and not a [[set]], the class of nimbers determines an [[algebraically closed field]] of [[characteristic (algebra)|characteristic]] 2. The nimber additive identity is the ordinal 0, and the nimber multiplicative identity is the ordinal 1. In keeping with the characteristic being 2, the nimber additive inverse of the ordinal &alpha; is &alpha; itself. The nimber multiplicative inverse of the nonzero ordinal &alpha; is given by 1/&alpha; = mex(''S''), where ''S'' is the smallest set of ordinals (nimbers) such that
Except for the fact that nimbers form a [[class (set theory)|proper class]] and not a [[set]], the class of nimbers determines an infinite [[field (mathematics)|field]] of [[characteristic (algebra)|characteristic]] 2. It is '''not''' an [[algebraically closed field]], but it contains all roots of polynomials, which are [[irreducible polynomial|irreducible]] over GF(2) and have a power 2<sup>''n''</sup> (for some non-negative integer ''n''). The nimber additive identity is the ordinal 0, and the nimber multiplicative identity is the ordinal 1. In keeping with the characteristic being 2, the nimber additive inverse of the ordinal &alpha; is &alpha; itself. The nimber multiplicative inverse of the nonzero ordinal &alpha; is given by 1/&alpha; = mex(''S''), where ''S'' is the smallest set of ordinals (nimbers) such that


# 0 is an [[set|element]] of ''S'';
# 0 is an [[set|element]] of ''S'';

Revision as of 13:22, 5 December 2007

In mathematics, the proper class of nimbers (occasionally called Grundy numbers) is introduced in combinatorial game theory, where they are defined as the values of nim heaps, but arise in a much larger class of games because of the Sprague–Grundy theorem. It is the proper class of ordinals endowed with a new nimber addition and nimber multiplication, which are distinct from ordinal addition and ordinal multiplication.

The Sprague–Grundy theorem states that every impartial game is equivalent to a nim heap of a certain size. Nimber addition (also known as nim-addition) can be used to calculate the size of a single heap equivalent to a collection of heaps. It is defined recursively by

where for a set S of ordinals, mex(S) is defined to be the "minimum excluded ordinal", i.e. mex(S) is the smallest ordinal which is not an element of S. For finite ordinals, the nim sum is easily evaluated on computer by taking the exclusive-or of the corresponding numbers (whereby the numbers are given their binary expansions, and the binary expansion of x xor y is evaluated bit-wise).

Nimber multiplication (nim-multiplication) is defined recursively by

α β = mex{α ′ β + α β ′ − α ′ β ′ : α ′ < α, β ′ < β} = mex{α ′ β + α β ′ + α ′ β ′ : α ′ < α, β ′ < β}.

Except for the fact that nimbers form a proper class and not a set, the class of nimbers determines an infinite field of characteristic 2. It is not an algebraically closed field, but it contains all roots of polynomials, which are irreducible over GF(2) and have a power 2n (for some non-negative integer n). The nimber additive identity is the ordinal 0, and the nimber multiplicative identity is the ordinal 1. In keeping with the characteristic being 2, the nimber additive inverse of the ordinal α is α itself. The nimber multiplicative inverse of the nonzero ordinal α is given by 1/α = mex(S), where S is the smallest set of ordinals (nimbers) such that

  1. 0 is an element of S;
  2. if 0 < α ′ < α and β ′ is an element of S, then [1 + (α ′ − α) β ′ ]/α ′ is also an element of S.

For all natural numbers n, the set of nimbers less than form the Galois field of order .

Just as in the case of nimber addition, there is a means of computing the nimber product of finite ordinals. This is determined by the rules that

  1. The nimber product of distinct Fermat 2-powers (numbers of the form ) is equal to their ordinary product;
  2. The nimber square of a Fermat 2-power x is equal to 3x/2 as evaluated under the ordinary multiplication of natural numbers.

The smallest algebraically closed field of nimbers is the set of nimbers less than the ordinal , where ω is the smallest infinite ordinal. It follows that as a nimber, is transcendental over the field.

Addition and multiplication tables

The following tables exhibit addition and multiplication among the first 16 nimbers. (This subset is closed under both operations, since 16 is of the form .)

Nimber addition
+ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 1 0 3 2 5 4 7 6 9 8 11 10 13 12 15 14
2 2 3 0 1 6 7 4 5 10 11 8 9 14 15 12 13
3 3 2 1 0 7 6 5 4 11 10 9 8 15 14 13 12
4 4 5 6 7 0 1 2 3 12 13 14 15 8 9 10 11
5 5 4 7 6 1 0 3 2 13 12 15 14 9 8 11 10
6 6 7 4 5 2 3 0 1 14 15 12 13 10 11 8 9
7 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8
8 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7
9 9 8 11 10 13 12 15 14 1 0 3 2 5 4 7 6
10 10 11 8 9 14 15 12 13 2 3 0 1 6 7 4 5
11 11 10 9 8 15 14 13 12 3 2 1 0 7 6 5 4
12 12 13 14 15 8 9 10 11 4 5 6 7 0 1 2 3
13 13 12 15 14 9 8 11 10 5 4 7 6 1 0 3 2
14 14 15 12 13 10 11 8 9 6 7 4 5 2 3 0 1
15 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0


Nimber multiplication
× 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2 0 2 3 1 8 10 11 9 12 14 15 13 4 6 7 5
3 0 3 1 2 12 15 13 14 4 7 5 6 8 11 9 10
4 0 4 8 12 6 2 14 10 11 15 3 7 13 9 5 1
5 0 5 10 15 2 7 8 13 3 6 9 12 1 4 11 14
6 0 6 11 13 14 8 5 3 7 1 12 10 9 15 2 4
7 0 7 9 14 10 13 3 4 15 8 6 1 5 2 12 11
8 0 8 12 4 11 3 7 15 13 5 1 9 6 14 10 2
9 0 9 14 7 15 6 1 8 5 12 11 2 10 3 4 13
10 0 10 15 5 3 9 12 6 1 11 14 4 2 8 13 7
11 0 11 13 6 7 12 10 1 9 2 4 15 14 5 3 8
12 0 12 4 8 13 1 9 5 6 10 2 14 11 7 15 3
13 0 13 6 11 9 4 15 2 14 3 8 5 7 10 1 12
14 0 14 7 9 5 11 2 12 10 4 13 3 15 1 8 6
15 0 15 5 10 1 14 4 11 2 13 7 8 3 12 6 9

References