Let be a word length supplied by the Hales-Jewett theorem for alphabet and two colors. For , embed into by the coordinate duplication for combinatorial lines map
Pull back any two-color finite coloring to this word space. The Hales-Jewett theorem gives a monochromatic combinatorial line with nonempty active set . Its image is a combinatorial line whose active set is
and hence has size , a positive even integer. Therefore
The empty set's presence in the family causes no difficulty: the line just constructed has at least two active coordinates.
Hales–Jewett and the arithmetic-progression consequence. For a finite alphabet and a positive integer , the Hales-Jewett theorem gives an integer such that every -color finite coloring of contains a monochromatic combinatorial line. A combinatorial line has a nonempty active coordinate set: all those coordinates receive the same freely varying letter, and the remaining coordinates are fixed.
We first prove the alphabet insensitivity lemma. Fix two letters , with , and a desired dimension . There is a combinatorial subspace of dimension on which changing to in any variable coordinate, with all other variable coordinates arbitrary, preserves the color.
For the construction, divide the coordinates into consecutive blocks. Choose their lengths from left to right by
Process the blocks from right to left. When processing block , the later blocks already form a -dimensional combinatorial subspace. Color each word in block by the vector of its original colors for every prefix word of length and every assignment to those later variables. There are contexts, and at most such color vectors.
The words , , contain two, indexed by , with the same vector by the pigeonhole principle. Fix the first coordinates to , the coordinates after to , and make coordinates the active set of one new variable. Its values now have identical colors for every prefix and later-variable context. The active set is nonempty. Insensitivity already obtained in later blocks survives, because it held for every unrestricted earlier prefix. After all blocks have been processed, changing in any of the variables preserves the color. This proves the lemma.
Now induct on . For , a one-coordinate combinatorial line is automatically monochromatic. For , let be a length supplied by the theorem for alphabet and colors. Apply the alphabet insensitivity lemma for the letters to obtain a -dimensional combinatorial subspace. Restrict its variables to . Induction gives a monochromatic combinatorial line in those variables. Its values have the same color, and its value has the same color as its value by successively switching the active variables. Lifting this line to the original coordinates proves
For the Van der Waerden theorem, fix a progression length and use the alphabet . Pull back an -color finite coloring of along
A combinatorial line with active set maps to the arithmetic progression , where and its common difference is . The Hales-Jewett theorem makes this progression monochromatic. Length one is trivial, so every finite coloring of the positive integers contains monochromatic arithmetic progressions of every finite length.
The active-coordinate obstruction. Color a word red when its first coordinate is , and blue otherwise. Any combinatorial line whose active coordinate set contains has a red word at variable value and a blue word at variable value , since . Thus
Here adequacy is the adequate family of active coordinate sets property; an active coordinate set is always nonempty.
The Hales-Jewett theorem says that, for every finite alphabet and number of colors , there is such that every -coloring of contains a monochromatic combinatorial line.
We use the standard insensitivity lemma. Assuming the Hales-Jewett theorem for alphabets of size , fix two letters in an -letter alphabet. For every and , there is such that each -coloring of has a -dimensional combinatorial subspace on which changing any selection of variable coordinates from to , or from to , leaves the color unchanged.
Here is the finite fusion proof of the lemma. Choose the sizes of successive coordinate blocks backwards. On the last block, omit and color a word over by the vector of all colors obtained after filling the previously chosen blocks in every possible way and then replacing any chosen occurrences of by . This is a finite derived coloring. The induction hypothesis supplies a combinatorial line on which that entire vector is constant. Treat its active coordinates as one new variable block and repeat. After repetitions, each replacement of by can be pushed into the last block where it was created, and equality of the derived color vectors shows that it does not alter the original color. This proves the insensitivity lemma.
Now induct on . The case is immediate. For , choose the target dimensions backwards and apply the insensitivity lemma successively to the pairs
At every step pass to the resulting nested combinatorial subspace, so the insensitivities already obtained are retained. On the final positive-dimensional subspace, replacing by any other letter does not change the color. Any two words can be connected by such replacements, so the whole subspace is monochromatic. It contains a combinatorial line, completing the induction and the proof.
The Gallai theorem for an integer lattice says that, for every finite and every finite coloring of , there are and such that the homothetic copy
is monochromatic.
Write and apply the Hales-Jewett theorem to the alphabet . Color a word by the color of
where a fixed positive vector keeps the image in under either convention for the natural numbers. On a monochromatic combinatorial line, let be the active coordinate set. The fixed coordinates contribute a vector , while the word whose active letter is maps to
These points form a monochromatic copy , proving Gallai's theorem.
Let be an alphabet. A combinatorial line in is obtained by choosing a nonempty set of active coordinates, fixing every other coordinate, and putting the same variable letter in all active coordinates. The Hales-Jewett theorem states that, for every pair of positive integers , some makes every -coloring of contain a monochromatic combinatorial line.
We prove it by mathematical induction on . The case is immediate. Suppose the result is known for the alphabet , with any finite number of colors. Order each line by its variable letter, and call its last point its focus. Say that lines are color-focused when they share a focus, each line with its focus removed is monochromatic, and those punctured lines have different colors.
We claim that for every there is such that every -coloring of contains either a monochromatic line or color-focused lines. For , restrict a coloring to with . A monochromatic line there becomes a punctured line over after adjoining the point obtained by putting in every active coordinate. It is either already monochromatic or is one color-focused line.
Assume works for , and put
View as . For , record the entire color pattern
This is a coloring with at most colors, so the induction hypothesis on the alphabet supplies a line on which this pattern is constant. Adjoin its focus , whose active coordinates contain the letter , and write for the resulting line over . Thus is independent of for every . It defines a -coloring of .
If has a monochromatic line, fixing any gives one for . Otherwise there are color-focused lines for , with common focus . Couple the active coordinates of each of those lines with the active coordinates of ; this produces punctured lines focused at . The line obtained by fixing the first component at and varying along supplies one more. Its punctured color differs from the preceding colors, since equality with one of them would make the corresponding -line monochromatic. Hence there are color-focused lines. The claim follows by induction on .
Take . The common focus has one of the colors, so it completes the punctured line of that color to a monochromatic line. This proves the Hales-Jewett theorem.
A -dimensional combinatorial subspace has disjoint nonempty active coordinate sets, one for each independent variable. The Extended Hales-Jewett theorem says that, given , every -coloring of contains such a monochromatic subspace when is large enough. To deduce it, choose
and identify
A monochromatic combinatorial line over the alphabet becomes a monochromatic -parameter set over : within every active block, its first coordinates form the first variable set, its second coordinates form the second, and so on. Thus suffices.
The Hales-Jewett theorem states that for positive integers there is such that every -coloring of the words contains a monochromatic combinatorial line.
Here is the standard focused-line proof. Induct on the alphabet size , the case being immediate. Assume the result for and every number of colors. For , prove inductively that some dimension has the following alternative: either there is a monochromatic combinatorial line, or there are color-focused lines, meaning that the lines without their common focus are monochromatic in distinct colors. For , restrict to words on and use the induction hypothesis on .
For the step from to , let work for and view a longer word as . Color each by the complete pattern
which uses at most colors. Taking gives a line on which this entire pattern is constant. Append its missing -letter endpoint. Applying the alternative to the induced coloring of the first block and joining the active coordinate sets produces either a monochromatic line or lines with one common focus and distinct colors. At , the focus has one of the colors, so it completes the line carrying that color. This proves the theorem.
To deduce the Van der Waerden theorem, let and color a word by the color of . On a combinatorial line with active set , these sums are
a monochromatic arithmetic progression of length .
Let be the vertex set of a regular polygon and let the cyclic rotation group act transitively on it. The finite invariant-colouring lemma says that for every number of colours there are positive weights with such that every colouring of the weighted Cartesian power
contains a monochromatic set
For completeness, prove the lemma along a cyclic composition series for . For a prime cyclic quotient, refine each colour to the finite vector of colours obtained by applying the quotient elements in every active coordinate. The Hales-Jewett theorem supplies a variable block on which this vector is constant. Assign that block squared weights summing to the squared weight of the coordinate it replaces. This makes the quotient orbit monochromatic without changing any orbit distance. Iterating through the cyclic factors proves the lemma for the finite cyclic group .
Because rotations commute, for each coordinate satisfies
for a fixed vertex . Hence the squared distance between the two corresponding product points is
The monochromatic orbit is therefore isometric to . This proves that every regular polygon is a Euclidean Ramsey set.
Now consider the edge-colouring definition. If all pairwise distances in are equal, then is a regular simplex. Take a sufficiently large regular simplex of the same side length. The ordinary finite Ramsey theorem gives a monochromatic -vertex complete subgraph, and every such vertex set is isometric to . Thus is an edge Ramsey set.
Conversely, if has two distances, let and be its least and greatest distances. Colour every Euclidean edge by whether its length equals . Every isometric copy of contains both an edge of length and one of length , so no copy is monochromatic. Hence the edge Ramsey sets are exactly the equidistant finite sets.
Allowing similar copies does not change the answer. If , colour an edge of length by the parity of
In every similar copy, the images of a shortest and a longest edge have lengths and , whose displayed integers differ by one. They receive opposite colours. Thus no non-equidistant is edge Ramsey even up to similarity, while the regular-simplex argument already supplies an isometric copy.
For a finite pattern in a real vector space, pull a finite colouring back to words through the displayed sum map. A combinatorial line with active coordinates J maps to . The Hales-Jewett theorem therefore forces a monochromatic homothetic copy. Integer patterns remain in the integer lattice; choosing b sufficiently large gives the positive-lattice version.