Finite Ramsey theorem Created 2026-09-24 Updated 2026-10-14
Fix positive integers with . There is an integer , depending only on , such that every finite coloring
has a subset of size for which the restriction of a function to is a constant function. Here , and denotes the collection of all -element subsets of , rather than its binomial coefficient cardinality. The notation abbreviates this property. Thus is a homogeneous set for a colouring; when , the monochromatic set consists of its -element subsets, not its individual elements. This is the finite assertion in Ramsey's original Theorem B, p. 267.
For , this is the pigeonhole principle, with sharp threshold . For instance, every red-blue coloring of five objects has three of one color; four objects can split two and two. For , and , the sharp threshold is six, as shown by the Ramsey number for triangles. Coloring pairs makes this a problem about edges of a complete graph. For larger , the analogous viewpoint uses a hypergraph.
The finite Ramsey theorem lets an existence argument discard most of a large finite set while retaining a prescribed amount of uniform structure. Its threshold applies to every coloring; one does not need an assumption that colors were assigned randomly. A diagonal compactness argument deduces finite existence from Ramsey's theorem, but does not by itself identify the smallest threshold. For pairs, a Ramsey number makes that optimization explicit.
Let be the vertices of a regular polygon, indexed cyclically so that is an isometry. We first prove the product lemma needed for the cyclic-symmetry argument.
Suppose has the property that, for every number of colors, a finite witness forces a copy of on which the vertices corresponding to are monochromatic. We claim that for every there is a finite witness forcing an -invariant copy of . Proceed by mathematical induction on . The case is the assumption. For the step, choose a finite set that forces an -invariant for a coloring with colors, and choose that forces an -monochromatic for a coloring with colors.
Given a -coloring of , color by its complete vector . In the resulting copy of in , that vector is the same for every member of . Each can therefore be colored by the vector consisting of for one and the colors for . Applying the choice of gives an -invariant copy of , and its product with the chosen copy of in is the desired -invariant copy of . This proves the lemma rather than assuming it.
We now prove by induction on that a finite witness forces a copy of whose first vertices have one color. The case is trivial. For , use that a line segment is a Euclidean Ramsey set; each occurrence of a segment congruent to can be extended to a copy of the regular polygon, and only finitely many extensions are needed for a finite witness.
Assume the assertion for , and put . The product lemma lets us work inside an -invariantly colored copy of , with as large as required. For an increasing -element subset of and , define a word by putting in coordinate , with subscripts read modulo , and putting in every other coordinate. Color by the -tuple
By the Finite Ramsey theorem, for sufficiently large there are coordinates on which all -subsets have the same tuple color.
For , let be the word whose entries in coordinates are
cyclically, and whose other entries are . For , the word differs from only in coordinate , where the two entries lie in . Similarly differs from only in coordinate , again by two members of . The -invariance and the homogeneous choice of the therefore give
Hence have one color.
The cyclic words form an isometric copy of : in each of the varying coordinates the cyclic shift is an isometry, so every squared distance is multiplied by . Rescaling the finite witness by gives a copy of . The induction reaches , proving that every regular polygon is a Euclidean Ramsey set.
For three consecutive vertices of a regular -gon scaled to have side length one,
Since the polygon is Euclidean Ramsey, choosing large enough proves that is an approximately Euclidean Ramsey set.
In fact every finite is approximately Ramsey. First perturb each coordinate of each point onto a sufficiently fine lattice , changing all pairwise distances by less than . For each coordinate, map the finitely many required integers to consecutive vertices of a very large regular polygon, scaled so that one angular step has arc length . If the step angle is , the chord replacing a difference of lattice steps has length
as , uniformly over the finitely many differences involved. Taking the orthogonal Cartesian product of such polygons therefore embeds the perturbed points with a further distance error below . Each polygon is Euclidean Ramsey, and their product is Euclidean Ramsey by the product theorem for Euclidean Ramsey sets. A monochromatic copy of that product contains the corresponding approximate copy of , completing the proof.
Suppose the Finite Ramsey theorem failed for fixed positive integers . For every choose a -coloring with no monochromatic -set. There are only finitely many colorings of , so an infinite subsequence of the agrees there. Pass to a further infinite subsequence agreeing on , and continue. The diagonal argument produces compatible colorings such that and no has a monochromatic -set.
Define whenever . Compatibility makes this a well-defined finite coloring of . By Ramsey's theorem it has an infinite monochromatic set, whose first elements contradict the defining property of a sufficiently large . This compactness argument proves the finite statement.
Ramsey theory Created 2026-09-24 Updated 2026-10-13
Ramsey theory studies configurations that every finite coloring of a sufficiently large structure must contain. Its striking message is that some order is unavoidable even when no organized construction was used. A basic example is the Ramsey number for triangles: color every edge of a complete graph on six vertices red or blue, in any way, and some triangle in a graph has all three edges the same color. Five vertices do not suffice.
The objects receiving colors matter. In the Ramsey number for triangles, colors belong to edges, which represent all unordered pairs of distinct vertices; the vertices themselves have no colors. In the finite Ramsey theorem, colors can instead belong to all -element subsets of a finite set. A monochromatic set or homogeneous set for a colouring expresses agreement among the appropriate colored objects.
Why is this useful? Ramsey theory provides existence guarantees in combinatorics that survive every possible assignment of a fixed finite number of colors. The Ramsey theorem turns this into a structural dichotomy: every sufficiently large graph contains a large clique or a large independent set. In arithmetic, the Van der Waerden theorem guarantees monochromatic arithmetic progressions. The beauty is the universal quantifier: an adversary can choose every color and still cannot prevent the promised configuration.
These guarantees concern precisely specified configurations under stated hypotheses. They do not justify selecting arbitrary patterns in empirical data after seeing the data, or attributing statistical significance to a selected pattern. A mathematical guarantee of some monochromatic configuration alone says nothing about the empirical meaning of that configuration.
The subject's name comes from F. P. Ramsey's [ref]. The [ref] records receipt on 28 November 1928 and presentation on 13 December 1928. Ramsey introduced the Ramsey theorem for r-sets and finite Ramsey theorem as tools for a problem in mathematical logic, while recognizing their independent interest in combinatorics. He also distinguished proving that a finite threshold exists from finding its smallest value, the quantitative question captured by a Ramsey number.