6ea2181 Δ 6fbd3ac Δ f6bf760 Δ 56bc728 Δ b1f9bc4 Δ b34550f Δ d0ef47e Δ 763cb89 Δ 0324c48 Δ 392f515 Δ 4ca9a02
editors: nobody
A finite nonempty set $A$ of points in some Euclidean space is Ramsey if, for every integer $r\ge 2$, there is an integer $D\ge 1$ such that every map $c:\R^D\to\{1,\ldots,r\}$ is constant on a congruent copy of $A$. Congruence preserves every pairwise distance at the original scale, and no measurability or other regularity of $c$ is assumed.

./pdf/ramsrc/egmrss.pdf

Erdos, Graham, Montgomery, Rothschild, Spencer and Straus introduced Euclidean Ramsey theory and proved that every finite Ramsey set is spherical: it lies on a sphere of finite radius inside its affine hull. Graham conjectured the converse. Frankl and Rodl settled nondegenerate triangles and then all nondegenerate simplices. Kriz covered finite sets with a soluble transitive isometry group and all cyclic trapezoids. Cantwell treated vertex sets of regular polytopes.

./pdf/ramsrc/graham.pdf
./pdf/ramsrc/frankl-rodl-triangles.pdf
./pdf/ramsrc/frankl-rodl-simplices.pdf
./pdf/ramsrc/kriz-permutation.pdf

Leader, Russell and Walters proposed that a finite set is Ramsey exactly when it embeds in a finite transitive Euclidean set; an isometric subset of a transitive set is subtransitive. The group-theoretic and Hales-Jewett formulations in the same paper led to the Block Sets Conjecture, and Ivan, Leader and Walters analysed possible block sizes.

Karamanlis embedded every simplex in a finite product of regular polygons, and Behague constructed soluble transitive extensions for many known Ramsey classes and further permutation configurations. Ivan, Leader and Walters developed generalized prism constructions under soluble symmetry. Moore and, independently, Mirabi proved that adjoining one point outside the affine span of a Ramsey set preserves the Ramsey property.

./pdf/ramsrc/lrw-transitive.pdf
./pdf/ramsrc/ilw-blocks.pdf
./pdf/ramsrc/karamanlis.pdf
./pdf/ramsrc/behague-subsoluble.pdf
./pdf/ramsrc/ilw-prisms.pdf
./pdf/ramsrc/moore-pyramid.pdf
./pdf/ramsrc/mirabi-extensions.pdf

Palvolgyi built a seven-point circle configuration that is not Ramsey, disproving the spherical conjecture. The appendix to that version states that generic seven-point circle configurations are not Ramsey, and an author's note announces a proof that every finite transitive set is Ramsey. The algebraic classification is independent of those announcements.

./pdf/ramsrc/palvolgyi-heptagon.pdf

Let $A=\{a_1,\ldots,a_s\}\subset\R^d$ be a finite set with $s\ge 2$ and affine span $\R^d$. Write

$$ p_i = (1, a_{i,1}, \ldots, a_{i,d})^{\mathsf T} $$

for $1\le i\le s$, and set

$$ F = \Q\bigl((a_i)_\alpha : 1\le i\le s,\ 1\le\alpha\le d\bigr), \qquad B = F\otimes_\Q F. $$

The ring $B$ is commutative, and the multiplication map $m_F:B\to F$ sends $x\otimes y$ to $xy$. This map need not be injective, so an equality in $B$ is stronger than its image under $m_F$. The entries of $p_i$ and the rows and columns of any $(d+1)\times(d+1)$ matrix are indexed by $0,1,\ldots,d$, with $0$ the constant coordinate.

Theorem. The set $A$ is Ramsey if and only if there is a matrix $P\in\operatorname{Mat}_{d+1}(B)$ satisfying

$$ (p_i\otimes 1)^{\mathsf T} P (1\otimes p_i) = 0 \qquad (1\le i\le s) $$

and

$$ m_F(P_{\alpha\beta}) = \delta_{\alpha\beta} \qquad (1\le\alpha,\beta\le d). $$

The entries of $p_i\otimes 1$ and $1\otimes p_i$ are formed componentwise, and no separate condition is imposed on the multiplied constant row or column of $P$. Only its spatial block is prescribed.

The criterion is congruence-invariant in affine dimension and uses exact relations in the coordinate field; it is not a method for recovering those relations from numerical data. Applying $m_F$ entrywise to the evaluation equations produces an ordinary sphere equation

$$ \|a_i\|^2 + \ell\cdot a_i + c = 0 \qquad (1\le i\le s) $$

for some $\ell\in F^d$ and $c\in F$. The matrix condition asks that the same identities hold in $B$ before multiplication. Every subtransitive set satisfies it, and so does every spherical set whose points give independent functionals on the quadratic polynomials. The latter covers every set of at most five points on a circle, hence every cyclic quadrilateral, and in particular the cyclic kites of Leader, Russell and Walters, so the necessity direction of the subtransitive characterization fails.

Eberhard proved that almost all sets of $d+2$ points on the $(d-1)$-sphere are not subtransitive, so subtransitivity is rare among spherical sets even though it is sufficient.

Nine points obtained from algebraically independent rational parametrizations of the circle, and a twelve-point configuration of three rotated squares containing Liouville's constant, fail the matrix condition and are therefore not Ramsey.

./pdf/ramsrc/lrw-kites.pdf
./pdf/ramsrc/eberhard.pdf
./pdf/ramsrc/liouville1851.pdf

For sufficiency the coordinate-field matrix is converted into a finite rational combination of symmetric tensors of affine functions on $\R^d$. Its evaluations at points of $A$ vanish as rational tensors, while its gradient Gram matrix is $I_d$. For necessity the tensor is assumed to be missing; algebraic separation then yields a fixed finite coloring that avoids $A$ in every ambient dimension.

The tensor cancellations must produce a congruent copy at scale one, with no continuity available from an arbitrary coloring. Such a tensor first determines signed rational multiplicities of finitely many affine functions whose positive and negative parts cancel separately at each evaluation value. A Gaussian smoothing, discretized and then rationalized inside a fixed convolution image, makes the negative gradient second moment small while keeping the cancellations exact.

The positive and negative lists, evaluated at the points of $A$, give vectors $f_i,g_i$ of one fixed length with

$$ \|f_i-f_j\|^2 = \|a_i-a_j\|^2, \qquad \|g_i-g_j\|^2 = q\|a_i-a_j\|^2, $$

where $q>0$ is arbitrarily small and each $g_i$ is a coordinate permutation of $f_i$. Distances and coordinate multisets match exactly.

A free group on letters $\xi_z$, one per real sequence of finite support, then supplies paths: ordered products of $s$-tuples, each of whose factors records either an ordered scaled copy of $A$ or a common element in every position. Equal path endpoints with arbitrarily small weight ratios force the Ramsey property. Because the number $t$ of variable positions in a Hales-Jewett line is unknown in advance, one endpoint is prepared at weights $1,1/2,\ldots,1/n$ after fixing the word length $n$, before the words are colored; an ultrafilter construction realizes the products by finite strings that agree in every common factor, and the $t$ variable positions contribute squared-distance factor $t(1/t)=1$. Compactness then supplies a finite ambient dimension for each number of colors.

The paths supplied by the tensor step must finally be made to share an endpoint; permutation averaging places their discrepancies in a subgroup corrected by appending paths of unit-scale copies, and further averaging makes the correction weight small against the larger original weight.

Set $W=\R\times\R^d$ as a vector space over $\Q$. An element $w=(v,u)$ represents the affine function $a\mapsto v+a\cdot u$, and $e_i(w)=v+a_i\cdot u$ is a $\Q$-linear functional on $W$. Let $\mathcal T(W)\subset W\otimes_\Q W$ be the subspace fixed by the flip $w\otimes w'\mapsto w'\otimes w$, and let $G:\mathcal T(W)\to\operatorname{Sym}_d(\R)$ be the $\Q$-linear map induced by $(v,u)\otimes(v',u')\mapsto u(u')^{\mathsf T}$. Thus $G(w\otimes w)=uu^{\mathsf T}$ for $w=(v,u)$. The tensor condition is the existence of $T\in\mathcal T(W)$ with

$$ (e_i\otimes e_i)(T) = 0 \quad (1\le i\le s), \qquad G(T) = I_d. $$

The first identities live in $\R\otimes_\Q\R$ and are stronger than their images under multiplication.

Proposition. The matrix condition in the theorem is equivalent to the tensor condition.

Proof. Let $\mathscr B=\R\otimes_\Q\R$, let $\tau(x\otimes y)=y\otimes x$, and let $m_\R:\mathscr B\to\R$ be multiplication. Write the standard basis of $W$ as $\mathbf e_0=(1,0)$ and $\mathbf e_\alpha=(0,e_\alpha)$, and identify $W\otimes_\Q W$ with arrays $Q=(Q_{\alpha\beta})_{0\le\alpha,\beta\le d}$ over $\mathscr B$. Under this identification

$$ E_i(Q) = \sum_{\alpha,\beta=0}^d (p_{i,\alpha}\otimes 1) Q_{\alpha\beta} (1\otimes p_{i,\beta}), $$

and the gradient matrix is the spatial block $(m_\R(Q_{\alpha\beta}))_{1\le\alpha,\beta\le d}$. Flip sends $Q$ to $Q^*_{\alpha\beta}=\tau(Q_{\beta\alpha})$, and $E_i(Q^*)=\tau(E_i(Q))$ directly from the formula, while multiplication of $Q^*$ transposes the multiplied array. Hence $\tfrac12(Q+Q^*)$ keeps every zero evaluation and any multiplied spatial block equal to $I_d$. A matrix over $B$ therefore gives a symmetric tensor by the natural inclusion $B\subset\mathscr B$.

Conversely, extending coefficients from $B$ to $\mathscr B$ adds no solutions. Fix an $F$-basis $(r_\lambda)_{\lambda\in\Lambda}$ of $\R$ and use the free $B$-module decomposition

$$ \mathscr B = \bigoplus_{\lambda,\mu\in\Lambda} B(r_\lambda\otimes r_\mu), $$

in which $x\otimes y\in B$ represents $(x r_\lambda)\otimes(y r_\mu)$ on the indicated summand. If an array $Q$ over $\mathscr B$ solves the evaluation equations and has multiplied spatial block $I_d$, its entries have a common finite expansion

$$ Q = \sum_{(\lambda,\mu)\in J} (r_\lambda\otimes r_\mu)P^{\lambda\mu}, \qquad P^{\lambda\mu}\in\operatorname{Mat}_{d+1}(B). $$

Every coefficient appearing in the maps $E_i$ lies in $B$, so $E_i(P^{\lambda\mu})=0$ for all $(\lambda,\mu)$ and $i$. If $C^{\lambda\mu}\in\operatorname{Mat}_d(F)$ is the multiplied spatial block of $P^{\lambda\mu}$, then

$$ I_d = \sum_{(\lambda,\mu)\in J} r_\lambda r_\mu C^{\lambda\mu}. $$

This is a finite linear system with coefficients and right side in $F$, and it is consistent over $\R$; row reduction over $F$ therefore produces $c_{\lambda\mu}\in F$ with $I_d=\sum c_{\lambda\mu}C^{\lambda\mu}$. The matrix

$$ P = \sum_{(\lambda,\mu)\in J} (c_{\lambda\mu}\otimes 1)P^{\lambda\mu} $$

is a solution over $B$. The individual blocks $C^{\lambda\mu}$ need not be symmetric; the descent takes place in the full $\operatorname{Mat}_d(F)$, and the previously proved symmetrization returns a symmetric tensor if one is wanted. This completes the equivalence.

The ring $B$ is Noetherian, so the criterion is genuinely finite. Let $F_0=\Q[(a_i)_\alpha]$, a finitely generated domain, with $F=\operatorname{Frac}(F_0)$. Then $B$ is the localization of $F\otimes_\Q F_0$ at the elements $1\otimes f$ for nonzero $f\in F_0$; the latter ring is a finitely generated $F$-algebra, hence Noetherian. The kernel of the finite evaluation system therefore has finitely many $B$-module generators, and its multiplied spatial image is the $F$-span of their multiplied blocks, since scalars $c\in F$ lift to $c\otimes 1$. The description uses exact coordinate-field relations and does not recover them from numerical inputs.

The tensor condition is congruence-invariant. If $a_i'=Q a_i+t$ with $Q\in O(d)$, the invertible $\Q$-linear map $H(v,u)=(v-t\cdot Qu,Qu)$ satisfies $e_i'\circ H=e_i$ and $G((H\otimes H)T)=Q G(T)Q^{\mathsf T}$, so $H\otimes H$ carries certificates for $A$ to certificates for $A'$ and $H^{-1}\otimes H^{-1}$ does the reverse. Reordering labels only reorders the equations, and any two congruent representatives of the same affine dimension are related by such a map; this recovers representative independence directly from the tensor form.

The necessary direction follows from separating a missing tensor with a $\Q$-linear functional. Regard

$$ \mathcal Y = (\R\otimes_\Q\R)^s \oplus \operatorname{Sym}_d(\R) $$

as a $\Q$-vector space and let $\Phi:\mathcal T(W)\to\mathcal Y$ be $\Phi(T)=((e_i\otimes e_i)(T))_{i=1}^s\oplus G(T)$. If the tensor condition fails, $y_0=(0,\ldots,0,I_d)$ lies outside $\operatorname{im}\Phi$. Extend the nonzero class of $y_0$ in $\mathcal Y/\operatorname{im}\Phi$ to a $\Q$-basis, send that basis element to $1$ and the others to $0$, and obtain a $\Q$-linear $\ell:\mathcal Y\to\R$ with $\ell\circ\Phi=0$ and $\ell(y_0)=1$. Write the components as $\ell_i:\R\otimes_\Q\R\to\R$ and $L:\operatorname{Sym}_d(\R)\to\R$, and set $h_i(x)=\ell_i(x\otimes x)$. Evaluating $\ell\circ\Phi$ on $w\otimes w$ gives

$$ \sum_{i=1}^s h_i(v+a_i\cdot u) + L(uu^{\mathsf T}) = 0, \qquad L(I_d)=1, $$

and $u=0$ gives $\sum_{i=1}^s h_i(x)=0$ for every $x\in\R$. No continuity or measurability enters; these are purely algebraic functionals.

Fix $D$ and put $H_i(z)=\sum_{j=1}^D h_i(z_j)$ for $z\in\R^D$. Every ordered congruent copy $(b_1,\ldots,b_s)$ in $\R^D$ satisfies

$$ \sum_{i=1}^s H_i(b_i) = -1. $$

Indeed, equality of the pairwise distances gives equality of the Gram matrices of $(a_i-a_1)_{i}$ and $(b_i-b_1)_{i}$ by polarization, so sending $a_i-a_1$ to $b_i-b_1$ extends to an inner-product-preserving linear map on the span. Since $A$ affinely spans $\R^d$, there are a linear isometry $Q:\R^d\to\R^D$ and $t\in\R^D$ with $b_i=t+Qa_i$. If $u_j^{\mathsf T}$ denotes the $j$-th row of $Q$, then $(b_i)_j=e_i(t_j,u_j)$ and $\sum_{j=1}^D u_j u_j^{\mathsf T}=Q^{\mathsf T}Q=I_d$. Summing the separated identity over $j$ and using finite additivity of $L$ proves the claim. The same constant cancellation gives $\sum_i H_i(z)=0$ at each single point $z$.

Choose $K=2s+1$ and split $[0,2)$ into $K$ half-open intervals of length $2/K<1/s$. Color a point $z$ by the $s$-tuple of interval labels assigned to the representatives of $H_i(z)$ modulo $2$. This uses at most $r_0=K^s$ colors, uniformly in $D$. If $b_1,\ldots,b_s$ were monochromatic, there would be integers $n_i$ and reals $\varepsilon_i$ with $|\varepsilon_i|<2/K$ and $H_i(b_i)-H_i(b_1)=2n_i+\varepsilon_i$; summing would give $-1=2\sum_i n_i+\sum_i\varepsilon_i$ with $|\sum_i\varepsilon_i|<1$, impossible. The coloring therefore avoids $A$ in every $\R^D$, so every Euclidean Ramsey set satisfies the matrix condition.

The strategy of combining an invariant with a coloring goes back to Erdos, Graham, Montgomery, Rothschild, Spencer and Straus, whose real-variable coloring lemma extends the earlier partition-regularity work of Rado. The modular coloring of the obstruction is proved directly from the separated functional.

./pdf/ramsrc/egmrss.pdf
./pdf/ramsrc/rado.pdf

The sufficiency direction takes a tensor satisfying the tensor conditions and converts exact algebraic cancellations into a congruent copy at scale one.

Assume the tensor condition holds. Fix a symmetric $T\in W\otimes_\Q W$ with $(e_i\otimes e_i)(T)=0$ and $G(T)=I_d$. The factors of $T$ span a finite-dimensional $\Q$-subspace of $W$; choose a basis $w_1,\ldots,w_k$ and write

$$ T = \sum_{a,b=1}^k C_{ab} w_a\otimes w_b, \qquad C\in\operatorname{Mat}_k(\Q),\quad C=C^{\mathsf T}. $$

For $\lambda\in\Q^k$ put $w(\lambda)=\sum_j \lambda_j w_j$. With $w_j=(v_j,u_j)$ let $U=(u_1\ \cdots\ u_k)$ be the real $d\times k$ matrix whose columns are gradients. The gradient identity becomes

$$ U C U^{\mathsf T} = I_d. $$

Set $\Gamma=\Z^k$ and define the evaluation lattices

$$ \Lambda_i = \{\lambda\in\Gamma : e_i(w(\lambda))=0\}, \qquad V_i = \operatorname{span}_\Q \Lambda_i. $$

Clearing denominators shows that $V_i$ is the kernel of the rational linear form $\lambda\mapsto e_i(w(\lambda))$ on $\Q^k$. Hence $\Q^k/V_i$ embeds into $\R$ over $\Q$, and tensoring the injection with itself remains injective. The element $\sum_{a,b} C_{ab}\varepsilon_a\otimes\varepsilon_b$ therefore maps to zero in $(\Q^k/V_i)\otimes_\Q(\Q^k/V_i)$ for each $i$.

Lemma (finite lattice identity). Let $k,s\ge 1$, let $\Lambda_1,\ldots,\Lambda_s$ be subgroups of $\Gamma=\Z^k$, and set $V_i=\operatorname{span}_\Q \Lambda_i$. Let $C\in\operatorname{Mat}_k(\Q)$ be symmetric, and suppose that the image of $\sum_{a,b} C_{ab}\varepsilon_a\otimes\varepsilon_b$ in $(\Q^k/V_i)\otimes_\Q(\Q^k/V_i)$ is zero for every $i$. Then there is a finitely supported $\nu:\Gamma\to\Q$ with

$$ \sum_{\gamma\in q} \nu(\gamma)=0 \qquad (q\in\Gamma/\Lambda_i,\ 1\le i\le s) $$

and

$$ \sum_\gamma \nu(\gamma)=0, \quad \sum_\gamma \nu(\gamma)\gamma = 0, \quad \sum_\gamma \nu(\gamma)\gamma\gamma^{\mathsf T} = C. $$

Proof. The Laurent ring $R=\Q[X_1^{\pm 1},\ldots,X_k^{\pm 1}]$ is the group algebra of $\Gamma$ via $X^\gamma=\prod_j X_j^{\gamma_j}$. The kernel of the quotient map $\Gamma\to\Gamma/\Lambda_i$ is

$$ J_i = (X^h-1 : h\in\Lambda_i). $$

Indeed, a Laurent polynomial vanishes on every coset of $\Lambda_i$ exactly when it is a sum of terms $c_\gamma(X^\gamma-X^{\gamma_0})$ inside the cosets of its support, and each such term lies in $J_i$.

Pass to formal logarithmic coordinates. With $\mathfrak m=(X_1-1,\ldots,X_k-1)$ and $Z_j=X_j-1$, the $\mathfrak m$-adic completion is $\widehat R=\Q[[Z_1,\ldots,Z_k]]$, because the factors $1+Z_j$ are invertible modulo each power of $(Z_1,\ldots,Z_k)$. The substitutions $Y_j=\log(1+Z_j)$ and $Z_j=\exp(Y_j)-1$ identify $\widehat R$ with $\Q[[Y_1,\ldots,Y_k]]$ and $\mathfrak m\widehat R$ with $(Y_1,\ldots,Y_k)$. For $h\in\Gamma$,

$$ X^h-1 = \exp(h\cdot Y)-1 = (h\cdot Y)\sum_{n\ge 0}\frac{(h\cdot Y)^n}{(n+1)!}, $$

and the last factor is a unit, so $J_i\widehat R=(h\cdot Y : h\in\Lambda_i)\widehat R$.

Put $Q_2(Y)=\tfrac12 Y^{\mathsf T}C Y$ and identify $\Q[Y_1,\ldots,Y_k]$ with the symmetric algebra of $\Q^k$ via $\varepsilon_j\mapsto Y_j$. The kernel of the projection onto the symmetric algebra of $\Q^k/V_i$ is generated in degree one by $V_i$; this follows by extending a basis of $V_i$ to a basis of $\Q^k$. Since the tensor $C$ vanishes on the quotient, $Q_2$ lies in the ideal generated by the linear forms $h\cdot Y$, $h\in\Lambda_i$, and therefore $Q_2\in J_i\widehat R$ for every $i$.

The ring $R$ is Noetherian, and $\widehat R$ is flat over $R$ (Tag 00MB of the Stacks project). The injection $R/I\to\bigoplus_i R/J_i$, with $I=\bigcap_i J_i$, therefore survives tensor with $\widehat R$, so $I\widehat R=\bigcap_i J_i\widehat R$ and $Q_2\in I\widehat R$.

Recover a finite Laurent polynomial by truncation. Write $Q_2=\sum_{a=1}^N f_a\alpha_a$ with $f_a\in I$ and $\alpha_a\in\widehat R$. For each $a$, truncate the $Z$-expansion of $\alpha_a$ through degree two to obtain $b_a\in R$ with $b_a-\alpha_a\in\mathfrak m^3\widehat R$. Then $f=\sum_a f_a b_a\in I$ and $f(e^{Y_1},\ldots,e^{Y_k})=\tfrac12 Y^{\mathsf T}C Y \pmod{(Y_1,\ldots,Y_k)^3}$. Write $f=\sum_\gamma \nu(\gamma)X^\gamma$. Membership $f\in J_i$ for all $i$ gives the coset sums. Since $X^\gamma=\exp(\gamma\cdot Y)=1+\gamma\cdot Y+\tfrac12(\gamma\cdot Y)^2 \pmod{(Y)^3}$, comparison of the constant term, gradient and Hessian at $Y=0$ gives the moment identities.

./pdf/ramsrc/stacks-00MB.html

Applied to the matrix and lattices of the tensor, the lemma produces signed rational weights whose positive and negative parts agree in total mass, first moment, and gradient second moment up to the prescribed $C$. Within each evaluation class the two parts balance separately, so when the affine functions $w(\lambda)$ are evaluated at $a_i$, the resulting coordinate multiset is the same on both sides. The next step redistributes these weights so that the negative gradient second moment is small while all equalities remain exact.

The tensor will now produce two configurations at arbitrarily different scales whose coordinate multisets agree at every label. Write $D_C=\tfrac12\sum_{j,l=1}^k C_{jl}\partial_j\partial_l$ for a real symmetric $k\times k$ matrix $C$, and put $r_+=\max\{r,0\}$ and $r_-=\max\{-r,0\}$ for real $r$.

Lemma (two-scale configurations). Let $A=\{a_1,\ldots,a_s\}\subset\R^d$ have affine span $\R^d$ with $s\ge 2$, and let $W=\R^{1+d}$ be regarded as a vector space over $\Q$. Suppose a symmetric tensor $T\in W\otimes_\Q W$ satisfies $(e_i\otimes e_i)(T)=0$ for $1\le i\le s$ and $G(T)=I_d$. For every $\eta>0$ there are an integer $\ell\ge 1$, a real $q=\eta/(1+\eta)$, and vectors $f_i,g_i\in\R^\ell$ with

$$ \|f_i-f_j\|^2 = \|a_i-a_j\|^2, \qquad \|g_i-g_j\|^2 = q\|a_i-a_j\|^2 \quad (1\le i,j\le s), $$

and with $g_i$ a coordinate permutation of $f_i$ for each $i$.

The lemma is proved in three parts. The first is a smoothing estimate, the second turns smoothed weights into rational ones while preserving cancellation, and the third assembles the two lists.

Lemma (compactly supported smoothing). Let $C$ be a real symmetric $k\times k$ matrix and $U$ a real $d\times k$ matrix with $d\ge 1$ and $U C U^{\mathsf T}=I_d$. For every $\eta>0$ there is a nonnegative $b\in C_c^\infty(\R^k)$ with $\int_{\R^k} b(x)\,dx>0$ and

$$ \int_{\R^k} (D_C b)_-(x)\,\|U x\|^2\,dx < \eta \int_{\R^k} b(x)\,dx. $$

Proof. The identity $U C U^{\mathsf T}=I_d$ forces $U$ to have rank $d$. Set $H=\operatorname{im}(U^{\mathsf T})$ and $V=\ker U$, so $\R^k=H\oplus V$ orthogonally. The quadratic form of $C$ on $H$ is positive definite: if $0\ne h=U^{\mathsf T}y$, then $h^{\mathsf T} C h=y^{\mathsf T} U C U^{\mathsf T} y=\|y\|^2>0$. Choose $\epsilon>0$ with $\epsilon\operatorname{tr}(UU^{\mathsf T})<\eta/8$. With $P_H,P_V$ the orthogonal projections, put $S=\epsilon P_H + L P_V$ for $L$ large enough that $S$ and $S+C$ are positive definite. Writing $S+C$ in blocks over $H\oplus V$ as

$$ S+C = \begin{pmatrix} A & B \\ B^{\mathsf T} & C_{VV}+L I_V \end{pmatrix}, \qquad A=C_{HH}+\epsilon I_H>0, $$

the Schur complement criterion gives positive definiteness after enlarging $L$; when $V=\{0\}$ there is no second block. Since $U P_V=0$,

$$ \operatorname{tr}(U S U^{\mathsf T}) = \epsilon\operatorname{tr}(UU^{\mathsf T}) < \eta/8. $$

Every $S+tC$ with $0\le t\le 1$ is a convex combination of two positive definite matrices, hence positive definite.

For a positive definite $Q$ let $\phi_Q$ be the centered Gaussian density with covariance $Q$. Differentiating $\phi_{Q_t}$ with $Q_t=S+tC$ gives

$$ \frac{d}{dt}\phi_{Q_t}(x) = \frac12\bigl(x^{\mathsf T}Q_t^{-1}C Q_t^{-1} x - \operatorname{tr}(Q_t^{-1}C)\bigr)\phi_{Q_t}(x) = D_C\phi_{Q_t}(x). $$

The eigenvalues of $Q_t$ are uniformly bounded above and below, so the densities and every spatial derivative have uniform Gaussian decay. Hence

$$ b_*(x) = \int_0^1 \phi_{S+tC}(x)\,dt $$

is a nonnegative Schwartz function of integral $1$, and differentiation under the integral gives $D_C b_*=\phi_{S+C}-\phi_S$. The pointwise inequality $(\phi_{S+C}-\phi_S)_-\le\phi_S$ and the trace bound give

$$ \int_{\R^k}(D_C b_*)_-(x)\|U x\|^2\,dx \le \int_{\R^k}\phi_S(x)\|U x\|^2\,dx = \operatorname{tr}(U S U^{\mathsf T}) < \eta/8. $$

Compactify by fixing $\chi\in C_c^\infty(\R^k)$ with $0\le\chi\le 1$, equal to $1$ on the unit ball and zero outside the ball of radius $2$, and setting $\chi_R(x)=\chi(x/R)$ and $b_R=\chi_R b_*$. Then $\int b_R\to 1$. The product rule writes $D_C b_R$ as $\chi_R D_C b_*$ plus a term with first derivatives of $\chi_R$ and a term with $D_C\chi_R$. The latter two are supported on the shell $R\le\|x\|\le 2R$, where their bounds are $R^{-1}$ and $R^{-2}$ and where $b_*$ has Gaussian decay, so their weighted integrals tend to zero. Since $r\mapsto r_-$ is $1$-Lipschitz, $\int |(D_C b_R)_--(D_C b_*)_-|\,\|U x\|^2\to 0$. For $R$ large, $\int b_R>1/2$ and the deviation is below $\eta/8$, giving

$$ \int (D_C b_R)_-\|U x\|^2 < \eta/4 < \eta \int b_R. $$

Then $b=b_R$ satisfies the required inequality.

Lemma (finite rational weights). Let $\Gamma=\Z^k$, let $\Lambda_1,\ldots,\Lambda_s$ be subgroups of $\Gamma$, and let $\nu:\Gamma\to\Q$ be finitely supported with zero pushforward on each $\Gamma/\Lambda_i$ and with zero mass, zero first moment, and second moment $\sum_\gamma \nu(\gamma)\gamma\gamma^{\mathsf T}=C$. Let $U$ be a real $d\times k$ matrix with $U C U^{\mathsf T}=I_d$ and $d\ge 1$. For every $\eta>0$ there are an integer $n\ge 1$, a finitely supported $\mu:\Gamma\to\Q$, and a positive rational $\zeta$ with zero pushforward of $\mu$ on each $\Gamma/\Lambda_i$ and

$$ \sum_\lambda \mu(\lambda)\frac{\lambda}{n}\frac{\lambda^{\mathsf T}}{n} = \zeta C, \qquad \sum_\lambda \mu(\lambda)_-\left\|U\frac{\lambda}{n}\right\|^2 < \eta\zeta. $$

Proof. Take $b$ from the smoothing lemma. For a positive integer $n$ set $d_n(\lambda)=n^{2-k}b(\lambda/n)$ and $\mu_n=\nu*d_n$, so $\mu_n(\lambda)=\sum_\gamma \nu(\gamma)d_n(\lambda-\gamma)$. Pushforward to a quotient commutes with convolution, so every required pushforward of $\mu_n$ vanishes. For any finitely supported real $d$ the moment identities of $\nu$ give

$$ \sum_\lambda (\nu*d)(\lambda)=0, \qquad \sum_\lambda (\nu*d)(\lambda)\lambda\lambda^{\mathsf T} = \Bigl(\sum_\beta d(\beta)\Bigr)C, $$

by substituting $\lambda=\beta+\gamma$ and using the vanishing of the mass and first moment of $\nu$. With $\zeta_n=n^{-2}\sum_\lambda d_n(\lambda)=n^{-k}\sum_\lambda b(\lambda/n)$ the exact second-moment identity holds for $(\mu_n,\zeta_n)$, and Riemann sums give $\zeta_n\to\int b>0$.

For $x=\lambda/n$ a Taylor expansion gives

$$ n^k\mu_n(\lambda) = n^2\sum_\gamma \nu(\gamma) b(x-\gamma/n) = D_C b(x)+O(n^{-1}), $$

uniformly in $x$, since the third derivatives of $b$ are bounded and $\sum_\gamma |\nu(\gamma)|\|\gamma\|^3<\infty$. After dividing the lattice by $n$, both the support of $\mu_n$ and the support of $D_C b(\lambda/n)$ stay in a single fixed ball, uniformly in $n$, where $\|U x\|^2$ is bounded. The lattice points in that ball number $O(n^k)$, and $r\mapsto r_-$ is $1$-Lipschitz, so

$$ \sum_\lambda \mu_n(\lambda)_-\|U\lambda/n\|^2 - n^{-k}\sum_\lambda (D_C b(\lambda/n))_-\|U\lambda/n\|^2 = O(n^{-1}). $$

The second sum is a Riemann sum, so by the smoothing lemma,

$$ \sum_\lambda \mu_n(\lambda)_-\|U\lambda/n\|^2 \longrightarrow \int (D_C b)_-\|U x\|^2 < \eta\int b. $$

Fix $n$ large enough that $\zeta_n>0$ and the strict inequality holds for $(\mu_n,\zeta_n)$. Let $E$ be the finite support of $d_n$. The maps $d\mapsto \nu*d$ and $d\mapsto\zeta=n^{-2}\sum_\lambda d(\lambda)$ are linear, and the functional $d\mapsto\sum_{\lambda\in\supp\nu+E}(\nu*d)(\lambda)_-\|U\lambda/n\|^2$ is continuous on $\R^E$. Since $\zeta>0$ and the strict inequality are open conditions on $d$, a rational $d$ supported in $E$ near $d_n$ yields $\mu=\nu*d$ and $\zeta$ both rational, zero pushforwards on every quotient, the exact second moment, and the strict small-negative bound.

Proof of the two-scale lemma. Let $w_j=(v_j,u_j)$, $w(\lambda)=\sum_j \lambda_j w_j$, $U=(u_1\ \cdots\ u_k)$, and $\Lambda_i=\{\lambda\in\Gamma : e_i(w(\lambda))=0\}$ be as before, and let $\nu$ be the weight from the finite lattice identity. The symmetric rational $C$ satisfies $U C U^{\mathsf T}=I_d$. Apply the rational-weight lemma to obtain $n,\mu,\zeta$. Choose a positive integer $M$ with $M\mu(\lambda)\in\Z$ for all $\lambda$. Form the positive list with $M\mu(\lambda)_+$ repetitions of the affine row $w(\lambda/n)$, and the negative list with $M\mu(\lambda)_-$ repetitions.

The zero mass of $\mu$ makes the two lists have equal length. Since $e_i(w(\lambda/n))=e_i(w(\lambda'/n))$ exactly when $\lambda-\lambda'\in\Lambda_i$, the zero pushforward on $\Gamma/\Lambda_i$ says that after evaluating at $a_i$ every real coordinate value appears equally often in the two lists. The evaluation vectors are therefore coordinate permutations of each other.

Divide every row by $\sqrt{\zeta M}$. The gradient Gram matrices become

$$ B_\pm = \frac1\zeta\sum_\lambda \mu(\lambda)_\pm (U\lambda/n)(U\lambda/n)^{\mathsf T}, $$

with $B_+-B_-=I_d$ and $\operatorname{tr}(B_-)<\eta$. Since $B_-$ is positive semidefinite, every eigenvalue is bounded by its trace, and $P=\eta I_d-B_-$ is positive semidefinite. Choose $r_1,\ldots,r_d\in\R^d$ with $\sum_j r_j r_j^{\mathsf T}=P$, for instance the columns of $P^{1/2}$, and append the same affine rows $(0,r_j)$ to both lists. The two Gram matrices become $(1+\eta)I_d$ and $\eta I_d$, and identical appended rows preserve coordinate multiset equality. Dividing the two lists by $\sqrt{1+\eta}$ and letting $f_i,g_i$ be the respective evaluation vectors at $a_i$ preserves coordinate multiset equality and gives

$$ \|f_i-f_j\|^2 = \|a_i-a_j\|^2, \qquad \|g_i-g_j\|^2 = \frac{\eta}{1+\eta}\|a_i-a_j\|^2, $$

because for an affine row $(v,u)$ the difference of evaluations at $a_i$ and $a_j$ is $(a_i-a_j)\cdot u$ and the two gradient Gram identities differ by $I_d$.

The next step converts equal path endpoints into monochromatic copies. Let $\mathcal E=\R^{(\N)}$ be the Euclidean space of real sequences with finite support, and let $K$ be the free group on the letters $\xi_z$, indexed by $z\in\mathcal E$. Write $\Delta g=(g,\ldots,g)\in K^s$ for $g\in K$. A path is a chosen finite sequence of factors in $K^s$ of the following two kinds:

1. a diagonal factor $\Delta g$, assigned weight zero;

2. a copy factor $X_b=(\xi_{b_1},\ldots,\xi_{b_s})$ with $b_1,\ldots,b_s\in\mathcal E$ and $\|b_i-b_j\|^2=u\|a_i-a_j\|^2$ for some $u\ge 0$, assigned weight $u$.

The endpoint of a path is the ordered product of its factors in $K^s$, and its weight is the sum of the assigned weights. The weight belongs to the chosen path, not to its endpoint: two paths with equal endpoint may have different weights.

Proposition (path criterion). Suppose that for every integer $n\ge 1$ there are two paths with the same endpoint and weights $\lambda>0$ and $\mu\ge 0$ satisfying $\mu/\lambda<1/n$. Then $A$ is Euclidean Ramsey.

Three steps lead from the criterion to a monochromatic copy: a compactness reduction to colorings of $\mathcal E$, a synchronization lemma that prepares paths of weight $1/t$ for $1\le t\le n$ ending at a common endpoint, and a Hales-Jewett step that produces a monochromatic combinatorial line.

Lemma (finite-dimensional reduction). Fix $r\ge 2$. If every $r$-coloring of $\mathcal E$ contains a monochromatic congruent copy of $A$, then some $D\ge 1$ has the property that every $r$-coloring of $\R^D$ contains a monochromatic congruent copy of $A$.

./pdf/ramsrc/egmrss.pdf

Proof. Suppose the contrary, so every $\R^D$ admits an $r$-coloring avoiding $A$. Consider the compact product space $\{1,\ldots,r\}^{\mathcal E}$. For each ordered congruent copy $(b_1,\ldots,b_s)$ of $A$ in $\mathcal E$ impose the clopen condition that $b_1,\ldots,b_s$ are not all of the same color. Every finite collection of these conditions involves finitely many finite-support vectors; choosing $D$ large enough that all lie in the first $D$ coordinates, an avoiding coloring of $\R^D$ extends arbitrarily to $\mathcal E$ and satisfies the finite collection. Compactness gives a coloring of $\mathcal E$ satisfying every condition, contrary to the hypothesis.

Lemma (synchronization). Fix $n\ge 1$. Let two paths share an endpoint and have weights $\lambda>0$ and $\mu\ge 0$, with $\rho=\mu/\lambda<1/n$. Then there is an endpoint $w\in K^s$ admitting a path of weight $1/t$ for every integer $1\le t\le n$.

Proof. Set $\alpha_t=(1/t-\rho)/(1-\rho)$ for $1\le t\le n$. These numbers satisfy $0<\alpha_n<\cdots<\alpha_1=1$. Partition $[0,1]$ at the points $\alpha_t$. For each resulting interval of length $l>0$, apply to both paths the endomorphism of $K$ given by $\xi_z\mapsto\xi_{\sqrt{l/\lambda}\,z}$; it preserves every diagonal factor and multiplies every copy-factor weight by $l/\lambda$, so the images share an endpoint and have weights $l$ and $\rho l$. Concatenating these interval paths in increasing interval order produces one endpoint independent of which of the two paths is chosen on each interval. For fixed $t$, choose the larger weight on the intervals before $\alpha_t$ and the smaller weight on the remaining intervals; the total weight is $\alpha_t+\rho(1-\alpha_t)=1/t$. The fixed order of concatenation gives a single endpoint $w$ for all $t$, with no commutation of factors.

The ultrafilter facts required for the final step follow the standard treatment in Hindman-Strauss. Let $\mathcal S$ be the monoid of finite strings on the alphabet $\mathcal E$, with concatenation and the empty string $\epsilon$ as identity. Choose pairwise disjoint infinite coordinate blocks in $\mathcal E$ and let $J_j:\mathcal E\to\mathcal E$ be the corresponding linear isometric embeddings. For a finite string $z=(z_1,\ldots,z_L)$ define $\Phi(z)=\sum_{j=1}^L J_j z_j$. For two strings of the same length,

$$ \|\Phi(z)-\Phi(z')\|^2 = \sum_{j=1}^L \|z_j-z'_j\|^2. $$

Diagonal factors may contain group inverses and cannot be evaluated directly in the string monoid; instead $K$ is mapped into a group of ultrafilters on $\mathcal S$, and common factors are then realised by common strings.

./pdf/ramsrc/ellis.pdf

An ultrafilter on $\mathcal S$ is a maximal proper filter of subsets of $\mathcal S$. Let $\beta\mathcal S$ be the space of all such ultrafilters. For $B\subseteq\mathcal S$ the basic clopen set is $\overline B=\{u\in\beta\mathcal S : B\in u\}$. The space $\beta\mathcal S$ is compact Hausdorff, being a closed subspace of $\{0,1\}^{\mathcal P(\mathcal S)}$. For a string $x$ put $x^{-1}B=\{y\in\mathcal S : xy\in B\}$; this is a preimage under concatenation, not a string inverse. Define the product by

$$ B\in uv \iff \{x\in\mathcal S : x^{-1}B\in v\}\in u, $$

and write $\delta_x$ for the principal ultrafilter at $x$.

Lemma (corner group). The product makes $\beta\mathcal S$ a compact right-topological semigroup with identity $\delta_\epsilon$. It contains an idempotent $p$ with $p(\beta\mathcal S)p$ a group with identity $p$.

Proof. For fixed $v$ the map $B\mapsto\{x : x^{-1}B\in v\}$ preserves finite intersections and complements, so $uv$ is an ultrafilter. For $u,v,w\in\beta\mathcal S$ both parenthesizations of the triple product contain $B$ exactly when $\{x : \{y : \{z : xyz\in B\}\in w\}\in v\}\in u$, which is associativity. For fixed $v$ the inverse image of $\overline B$ under $u\mapsto uv$ is $\overline{\{x : x^{-1}B\in v\}}$, so right translation is continuous, and the assertion about $\delta_\epsilon$ follows from the definition.

Choose a minimal nonempty compact left ideal $L_0$ in $\beta\mathcal S$; the intersection of any chain of nonempty compact left ideals is again such an ideal, so one exists. For $v\in L_0$ the set $(\beta\mathcal S)v$ is a nonempty compact left ideal contained in $L_0$, so it equals $L_0$, and $L_0$ is a compact subsemigroup. Choose a minimal nonempty compact subsemigroup $H_0\subseteq L_0$. For $x\in H_0$ the set $H_0 x$ is a compact subsemigroup, so $H_0 x=H_0$; hence $\{y\in H_0 : yx=x\}$ is nonempty, compact, and a subsemigroup, so it equals $H_0$, and $x^2=x$. In particular $L_0$ contains an idempotent $p$.

The corner $G=p(\beta\mathcal S)p$ is a monoid with identity $p$. Every $y\in G$ lies in $L_0$, so $p=vy$ for some $v\in\beta\mathcal S$. Since $py=y$, one has $(pvp)y=pvy=p$, so $y$ has a left inverse in $G$. A monoid in which every element has a left inverse is a group: if $ay=p$ and $ba=p$, then $b=b(ay)=(ba)y=y$, whence also $ya=p$.

Lemma (simultaneous realization). Let $q_{i,j}\in\beta\mathcal S$ for $1\le i\le s$ and $1\le j\le M$ with $M\ge 1$. Suppose every column $j$ has one of the following forms: either $q_{i,j}=q_j$ is independent of $i$, or $q_{i,j}=\delta_{z_{i,j}}$ for prescribed strings $z_{i,j}\in\mathcal S$. If $B\in q_{i,1}\cdots q_{i,M}$ for every $i$, there are strings $x_{i,j}$ such that all products $x_{i,1}\cdots x_{i,M}$ belong to $B$, with $x_{i,j}$ independent of $i$ in every column of the first form and $x_{i,j}=z_{i,j}$ in every column of the second form.

Proof. Choose the strings from left to right. Before column $j$ let $P_i$ be the chosen prefix and maintain the invariant $P_i^{-1}B\in q_{i,j}\cdots q_{i,M}$. Initially $P_i=\epsilon$. Put $v_i=q_{i,j+1}\cdots q_{i,M}$, with an empty product read as $\delta_\epsilon$. By the product rule the set $E_i=\{x : x^{-1}(P_i^{-1}B)\in v_i\}$ belongs to $q_{i,j}$.

In a common column the finite intersection $\bigcap_i E_i$ belongs to the common ultrafilter, hence is nonempty, and its elements can be chosen equal for all $i$. In a principal column $z_{i,j}\in E_i$, so that string is chosen. Replacing $P_i$ by $P_ix_{i,j}$ preserves the invariant, and after the last column the invariant says $P_i^{-1}B\in\delta_\epsilon$, that is, $P_i\in B$.

Proof of the path criterion. Fix $r\ge 2$ and an arbitrary coloring $c:\mathcal E\to\{1,\ldots,r\}$. Choose $n$ such that every $r$-coloring of $\{1,\ldots,s\}^n$ has a monochromatic combinatorial line, by the Hales-Jewett theorem; any length guaranteed by Shelah's primitive recursive bounds also suffices, because only existence is used. Such a line has a nonempty set of variable positions, occupied by one common letter, and fixed letters elsewhere.

./pdf/ramsrc/hales-jewett.pdf
./pdf/ramsrc/shelah-329.pdf

In the group formulation of Leader, Russell and Walters the number of variable positions is fixed before the word coloring; without that restriction ordinary Hales-Jewett applies, and the line chooses its own number of variable positions. The hypothesis together with synchronization gives an endpoint $w=(w_1,\ldots,w_s)\in K^s$ and a path of weight $1/t$ ending at $w$ for every integer $1\le t\le n$.

./pdf/ramsrc/lrw-transitive.pdf

Color $\mathcal S$ by $c\circ\Phi$ and write its color classes as $B_1,\ldots,B_r$. Choose $p$ as in the corner-group lemma. Since $K$ is free there is a homomorphism

$$ \psi:K\longrightarrow p(\beta\mathcal S)p, \qquad \psi(\xi_z)=p\delta_{(z)}p, $$

where $(z)$ is the one-letter string with entry $z$. Color a word $i_1\cdots i_n$ by the unique index $k$ for which $B_k\in\psi(w_{i_1})\cdots\psi(w_{i_n})$; the coloring is well defined because every ultrafilter contains exactly one class of a finite partition.

Take a monochromatic combinatorial line and let $t$ be its number of variable positions. For each of the line's $s$ words, expand the factor at every variable position using the chosen path of weight $1/t$ ending at $w$. A diagonal path factor contributes one common ultrafilter $\psi(g)$. A copy factor contributes $p\delta_{(b_i)}p$ in role $i$: the two $p$ factors are common and the middle factor is principal at a prescribed one-letter string. Unexpanded fixed positions are common factors as well. The identity of the corner group is $p$; an empty group product is kept as this common factor. The expanded products therefore have the column forms required by the realization lemma, and all contain the same color class $B_k$.

Applying the realization lemma produces strings $z^{(1)},\ldots,z^{(s)}\in B_k$. Every common factor has been realised by the same string in all roles, and every varying factor has length one, so the resulting strings have equal length and their entries align. Common strings contribute zero to their pairwise squared distances, and each of the $t$ expanded paths contributes $\|a_i-a_j\|^2/t$ by its weight. Hence

$$ \|\Phi(z^{(i)})-\Phi(z^{(j)})\|^2 = t\cdot\frac1t\|a_i-a_j\|^2 = \|a_i-a_j\|^2. $$

The images form a monochromatic congruent copy of $A$ in $\mathcal E$. Lemma (finite-dimensional reduction) supplies a finite forcing dimension for this $r$, and since $r$ was arbitrary, $A$ is Euclidean Ramsey.

The final sufficiency step makes the two images from the two-scale lemma share a path endpoint, at the cost of appending paths of unit-scale copies. Let $M\subset K^s$ be the monoid generated by the diagonal subgroup $\Delta K$ and by the tuples $X_b=(\xi_{b_i})_{i=1}^s$ attached to ordered congruent copies $b$ of $A$. A chosen expression for an element of $M$ is a path whose copy factors all have weight one. Its degree is the number of copy factors; diagonal factors have degree zero, and degrees always refer to a chosen expression.

Suppose two paths have endpoints $D_+,D_-\in K^s$. If $D_+^{-1}D_-=uv^{-1}$ with $u,v\in M$, then $D_+u=D_-v$. Appending the chosen expressions for $u$ and $v$ gives equal endpoints, with added weights $\deg u$ and $\deg v$. The goal is to make $\deg u+\deg v$ small against the larger original weight, so that the small-ratio condition is preserved.

To construct the corrections put $N=\ker(K\to\Z,\ \xi_z\mapsto 1)$, and for distinct labels $i,j$ let $M_{ij}$ be the image of $M$ under projection to the coordinates $(i,j)$.

Lemma (pair projections). For every $i\ne j$ the monoid $M_{ij}$ is a group containing $N\times N$.

Proof. Put $r=\|a_i-a_j\|>0$. Every ordered pair $z,z'\in\mathcal E$ at distance $r$ extends to an ordered congruent copy of $A$: send $a_j-a_i$ to $(z'-z)/r$, extend this to an orthonormal frame for the affine span of $A$, and translate so that $a_i$ maps to $z$, choosing the frame inside a finite-dimensional coordinate subspace.

Set $x=\xi_z$ and $y=\xi_{z'}$. Both $(x,y)$ and $(y,x)$ belong to $M_{ij}$, and $(x,y)^{-1}=(x^{-1},x^{-1})(y,x)(y^{-1},y^{-1})\in M_{ij}$. Diagonal generators are invertible in $M_{ij}$, so $M_{ij}$ is a group. It contains

$$ (x,y)(y^{-1},y^{-1})=(xy^{-1},1), \qquad (x,y)(x^{-1},x^{-1})=(1,yx^{-1}), $$

and their conjugates by diagonal elements. The graph on $\mathcal E$ in which two points are joined when their distance is $r$ is connected. Subdivide any displacement into pieces of length at most $2r$, and for the endpoints of each piece pick a common point at distance $r$ by a perpendicular displacement from the midpoint, using an extra coordinate when necessary.

Differences of letters along the graph generate, after taking normal closure in $K$, every element $\xi_z\xi_{z'}^{-1}$. This normal closure is $N$, because identifying all free generators gives the infinite cyclic group. The two displayed types of elements and diagonal conjugation thus yield $N\times N\subset M_{ij}$.

For $g\in K$ let $g^{[i]}\in K^s$ agree with $g$ in coordinate $i$ and vanish elsewhere in the sense of carrying the identity in the remaining coordinates. A right fraction is an element $uv^{-1}$ with $u,v\in M$, and its cost, for chosen expressions of $u$ and $v$, is $\deg u+\deg v$. Define

$$ L_i=\{g\in K : g^{[i]}=uv^{-1}\text{ for some }u,v\in M\}, $$

and for $g\in L_i$ let $c_i(g)$ be the least cost of a right fraction representing $g^{[i]}$; the possible costs form a nonempty set of nonnegative integers.

Lemma (right fractions). Each $L_i$ is a normal subgroup of $K$, and its cost satisfies $c_i(g^{-1})=c_i(g)$, $c_i(kgk^{-1})=c_i(g)$, and $c_i(gh)\le c_i(g)+c_i(h)$ for $g,h\in L_i$ and $k\in K$. Every tuple $(g_i)_{i=1}^s$ with $g_i\in L_i$ has a represented right fraction of cost at most $\sum_i c_i(g_i)$. Moreover

$$ N^{(s-2)}\subset L_i \qquad (1\le i\le s), $$

where $N^{(0)}=N$ and $N^{(r+1)}=[N^{(r)},N^{(r)}]$.

Proof. Inverting a right fraction interchanges numerator and denominator. If $d=\Delta(k)$ and $g^{[i]}=uv^{-1}$, then $(kgk^{-1})^{[i]}=(du)(dv)^{-1}$, so conjugation by a diagonal preserves the represented cost. Applying either operation in both directions proves inversion and conjugation invariance.

The following rule supplies subadditivity. Given a represented right fraction $uv^{-1}$ and $g\in L_i$, put $h=v_i^{-1}gv_i$ and choose $h^{[i]}=ab^{-1}$ of cost $c_i(h)=c_i(g)$. Then

$$ uv^{-1}g^{[i]} = uh^{[i]}v^{-1} = uab^{-1}v^{-1} = (ua)(vb)^{-1}, $$

with cost at most the previous cost plus $c_i(g)$. This gives closure under multiplication, subadditivity, and, together with inversion and conjugation, normality. Applying the same rule to the single-coordinate factors of a tuple $(g_i)_{i=1}^s$ gives the tuple cost bound.

A second multiplication rule handles fractions supported on a pair of coordinates. If $z=cd^{-1}$ is a right fraction supported on a pair $J$ and $uv^{-1}$ is any right fraction, choose $b\in M$ whose projection to $J$ makes $t=vb$ the identity on $J$; this is possible because the projection of $M$ to $J$ is a group. The tuples $t$ and $z$ commute because their supports are disjoint, so

$$ uv^{-1}z = ubt^{-1}z = ubzt^{-1} = ubcd^{-1}t^{-1} = (ubc)(td)^{-1}, $$

a right fraction of finite cost, with no bound required on the auxiliary $b$.

The derived inclusion follows by induction on the number of coordinates, and the argument applies to any submonoid of $K^s$ containing the diagonal whose pair projections are groups containing $N\times N$. For $s=2$ the whole monoid is its pair projection and contains $N\times N$. For $s\ge 3$ fix distinct $i,j,k$. Projecting away $j$ gives a submonoid satisfying the same property; by induction every $a\in N^{(s-3)}$ has, in that projection, a right fraction supported at $i$. Lifting the numerator and denominator to $M$ gives a right fraction $z_a$ supported on $\{i,j\}$ with value $a$ at $i$. Projecting away $k$ similarly gives, for any prescribed $b\in N^{(s-3)}$, a right fraction $z_b$ supported on $\{i,k\}$ with value $b$ at $i$. The four factors of $z_az_bz_a^{-1}z_b^{-1}$ are pair-supported right fractions, and inverses remain right fractions by interchanging numerator and denominator. Repeated use of the pair rule turns the product into a right fraction whose only possibly nonidentity coordinate is $i$, where its value is $[a,b]$. Hence $[a,b]\in L_i$, and the subgroup generated by all such $[a,b]$ is $N^{(s-2)}$.

Set $L=N^{(s-2)}$ and $c(g)=\max_{1\le i\le s} c_i(g)$ for $g\in L$. The subgroup $L$ is normal in $K$, and the function $c$ is finite, invariant under inversion, subadditive, and invariant under conjugation by every element of $K$.

Averaging over coordinate permutations finishes the corrections. Let $H$ be a finite group of coordinate permutations acting on $\mathcal E$, let $Z\subset\mathcal E$ be a finite $H$-invariant set, and consider represented tuples $w=(w_x)_{x\in Z}\in K^Z$ obtained by multiplying diagonal factors and factors $(\xi_{hx})_{x\in Z}$ with $h\in H$. The degree is the number of factors of this second kind; right multiplication by a diagonal element has degree zero, and replacing $w_x$ by $w_{hx}$ preserves degree because it sends a generator indexed by $g$ to the generator indexed by $gh$.

Lemma (permutation averaging). Let $H$ be a finite group of coordinate permutations of $\mathcal E$ and $Z\subset\mathcal E$ a finite $H$-invariant set. For every $\delta>0$ there is a tuple $w\in K^Z$ represented by diagonal factors and factors $(\xi_{hx})_{x\in Z}$, $h\in H$, of some positive degree $m$, such that

$$ w_xw_y^{-1}\in L, \qquad c(w_xw_y^{-1})\le\delta m \quad (x,y\text{ in the same }H\text{-orbit}). $$

Proof. Membership in $L$ is arranged first and costs are made small afterwards. Start with $w_x=\xi_x$, represented with degree one; its differences $w_xw_y^{-1}$ lie in $N$.

Suppose the differences on an orbit $O$ lie in $N^{(r)}$. Choose $x_0\in O$ and right-multiply by $w_{x_0}^{-1}$; then every value on $O$ lies in $N^{(r)}$, and every difference on every orbit is unchanged. Replace the tuple by

$$ w'_x=\prod_{h\in H} w_{hx}, $$

using a fixed order on $H$. For $x\in O$ the list $(hx)_{h\in H}$ visits every point of $O$ with equal multiplicity $|H|/|O|$, so the products have the same image in the abelian group $N^{(r)}/N^{(r+1)}$, and their differences lie in $N^{(r+1)}$.

Any normal-subgroup condition already obtained on another orbit survives: if $w_xw_y^{-1}\in G$ there for a normal $G\lhd K$, corresponding factors of the two products have the same image in $K/G$ and so do their products. Processing the finitely many orbits and increasing the derived depth on each to $s-2$ produces membership in $L$ for all within-orbit differences, with every degree positive. When $s=2$ the initial tuple already has this property.

For the cost bound, fix one orbit $O$ and right-normalize at $x_0$ again so that all values on $O$ lie in $L$. Put $B=\max_{x\in O} c(w_x)$ and $h=|H|$. If $h=1$ all orbits are singletons and the bound holds vacuously. Suppose $h\ge 2$. Repeatedly perform

$$ w'_x=\Bigl(\prod_{g\in H} w_{gx}\Bigr) w_{x_0}^{-1}. $$

For each $x\in O$ one factor of the product is $a=w_{x_0}$; writing the product as $PaQ$, one has $w'_x=P(aQa^{-1})$ and $c(w'_x)\le c(P)+c(Q)\le(h-1)B$. All new values on $O$ still lie in $L$, and the represented degree is multiplied by $h$. Thus, after $k$ repetitions starting from degree $m_0$, the ratio of maximum difference cost to degree is at most

$$ \frac{2B}{m_0}\Bigl(\frac{h-1}{h}\Bigr)^k, $$

using $c(w_xw_y^{-1})\le c(w_x)+c(w_y)$, and this tends to zero.

Treating one orbit must not spoil the bound on another. If $a_jb_j^{-1}\in L$ for $1\le j\le h$, then

$$ c\bigl((a_1\cdots a_h)(b_1\cdots b_h)^{-1}\bigr)\le\sum_{j=1}^h c(a_jb_j^{-1}), $$

as follows by telescoping with $A_j=a_1\cdots a_j$ and $B_j=b_1\cdots b_j$: the identity $A_jB_j^{-1}=(A_{j-1}(a_jb_j^{-1})A_{j-1}^{-1})(A_{j-1}B_{j-1}^{-1})$ reduces the statement for $j$ to the statement for $j-1$. The product in the contraction therefore multiplies the maximum difference cost on any other orbit by at most $h$, while multiplying the degree by exactly $h$, so its ratio cannot increase; appending a common right factor changes no differences. The bound $\delta$ can be achieved on one orbit after another.

Proposition (equal path endpoints). Suppose $q>0$ and $f_i,g_i\in\R^\ell$ satisfy $\|f_i-f_j\|^2=\|a_i-a_j\|^2$ and $\|g_i-g_j\|^2=q\|a_i-a_j\|^2$ for all $i,j$, and each $g_i$ is a coordinate permutation of $f_i$. For every $\delta>0$ there are two paths with equal endpoint and weights $\lambda>0$ and $\mu\ge 0$, with $\mu/\lambda\le q+s\delta$.

Proof. Embed $\R^\ell$ in $\mathcal E$, take for $H$ the full coordinate permutation group acting trivially on the remaining coordinates, and let $Z$ be the union of the $H$-orbits of all $f_i$ and $g_i$; the set $Z$ is finite and $f_i,g_i$ lie in the same orbit for each $i$. Apply the averaging lemma with the given $\delta$ and let $m>0$ be the degree of the resulting represented tuple $w$.

Restricting the same expression to the labels $f_i$ gives the endpoint $D_+=(w_{f_i})_{i=1}^s$ of a path of weight $m$, and restricting to $g_i$ gives the endpoint $D_-=(w_{g_i})_{i=1}^s$ of a path of weight $qm$: each counted factor acts by a coordinate permutation, hence preserves the corresponding distances, and diagonal factors stay diagonal.

For each $i$ put $r_i=w_{f_i}w_{g_i}^{-1}$. By the averaging bound $r_i\in L$ and $c(r_i)\le\delta m$. The $i$-th component of $D_+^{-1}D_-$ is $w_{f_i}^{-1}w_{g_i}=w_{f_i}^{-1}r_i^{-1}w_{f_i}$, so it too lies in $L$ with cost at most $\delta m$. The right-fraction lemma supplies represented $u,v\in M$ with $D_+^{-1}D_-=uv^{-1}$ and $\deg u+\deg v\le s\delta m$. Hence $D_+u=D_-v$. With $a=\deg u$ and $b=\deg v$, the two resulting paths have weights $\lambda=m+a>0$ and $\mu=qm+b\ge 0$, and $\mu/\lambda\le(qm+b)/m\le q+s\delta$.

Completion of sufficiency. Assume the matrix condition. The equivalence with the tensor condition gives a tensor satisfying the two identities. For every integer $n\ge 1$ the two-scale lemma supplies images $f_i,g_i$ with $0<q<1/(2n)$, and the equal-endpoints proposition with $\delta=1/(2sn)$ produces equal-endpoint paths of weights $\lambda>0$ and $\mu\ge 0$ with $\mu/\lambda<1/n$. The path criterion then makes $A$ Euclidean Ramsey. Every choice is made after fixing $n$, and no bound uniform in $n$ on the degrees or on the number of coordinates is needed.

The sphericity theorem of Erdos, Graham, Montgomery, Rothschild, Spencer and Straus follows directly from the criterion. A matrix satisfying the theorem, with $H=m_F(P)$ formed entrywise, gives, after applying $m_F$ to the evaluation equations,

$$ \|a_i\|^2 + \ell\cdot a_i + c = 0 \qquad (1\le i\le s), $$

with $c=H_{00}$ and $\ell_\alpha=H_{0\alpha}+H_{\alpha 0}$ for $1\le\alpha\le d$. The points lie on the sphere with centre $-\ell/2$ and squared radius $\|\ell\|^2/4-c$, which is positive because $A$ has at least two distinct points. No symmetry of the constant row or column of $H$ is required. Every finite Euclidean Ramsey set is therefore spherical.

./pdf/ramsrc/egmrss.pdf

Call a finite Euclidean set transitive if its distance-preserving permutations act transitively on its points, and call an isometric subset of a transitive set subtransitive.

Corollary (subtransitive sets). Every nonempty subset of a finite transitive Euclidean set is Ramsey.

Proof. Singletons are immediate. Let $A\subset\R^d$ with $s\ge 2$ and affine span $\R^d$, and suppose an isometric embedding sends $a_i$ to $y_i$ in a finite transitive set $Y\subset\R^n$. Let $H$ be the finite group of distance-preserving permutations of $Y$. For $h\in H$ the map $a_i\mapsto h(y_i)$ extends to an affine isometry; let $w_{hj}\in W=\R^{1+d}$ be its $j$-th affine coordinate row, so that $e_i(w_{hj})=(h(y_i))_j$, and the gradient Gram matrix of these $n$ rows is $I_d$. With $c_{hj}=((h(y_1))_j,0)\in W$ a constant affine row, the symmetric rational tensor

$$ T = \frac1{|H|}\sum_{h\in H}\sum_{j=1}^n \bigl(w_{hj}\otimes w_{hj} - c_{hj}\otimes c_{hj}\bigr) $$

has $G(T)=I_d$. For each $i$ the multiset $(h(y_i))_{h\in H}$ contains every point of $Y$ with multiplicity $|H|/|Y|$, so the tensor evaluation at $a_i$ matches that at $a_1$, giving $(e_i\otimes e_i)(T)=0$. The criterion makes $A$ Ramsey.

./pdf/ramsrc/lrw-transitive.pdf

A closely related positive direction replaces transitivity by solvable symmetry. Palvolgyi obtains a nearcircumsphere Ramsey theorem for solvable transitive configurations, and the cyclic kite example confirms that subtransitivity is sufficient but far from necessary.

./pdf/ramsrc/palvolgyi-nearcircumsphere.pdf

Quadratic interpolation supplies a further family of tensor certificates. The hypothesis says that quadratic functions can take arbitrary prescribed values on the configuration.

Proposition (quadratic interpolation). Let $A=\{a_1,\ldots,a_s\}\subset\R^d$ be spherical and affinely span $\R^d$. Put $p_i=(1,a_i)^{\mathsf T}$ and let $F$ be its coordinate field. If the $s$ row vectors $(p_{i\alpha}p_{i\beta})_{0\le\alpha,\beta\le d}$ are linearly independent over $F$, then $A$ is Ramsey.

Proof. The singleton case is immediate, so $s\ge 2$. Sphericity provides a real matrix with spatial block $I_d$ and quadratic values zero at every $p_i$. The requirements form a linear system over $F$, and Gaussian elimination over $F$ yields a solution in $F^N$ with $N=(d+1)^2$; denote it by $h$.

Let $D\in\operatorname{Mat}_{s\times N}(B)$ be the tensor evaluation matrix with entry $p_{i\alpha}\otimes p_{i\beta}$ in row $i$ and column $(\alpha,\beta)$. Lift $h$ to $b\in B^N$ by $x\mapsto x\otimes 1$. The row independence permits a choice of $s$ columns of $D$ whose square submatrix $M$ has $\delta=m_F(\det M)\ne 0$. Let $\iota:B^s\to B^N$ insert a vector into these coordinates, so $D\iota=M$. By the adjugate identity,

$$ z = (\det M)b - \iota\operatorname{adj}(M) D b \in \ker D. $$

Since $m_F(D)h=0$, applying $m_F$ gives $m_F(z)=\delta h$. Multiplying $z$ by $\delta^{-1}\otimes 1$ therefore produces a solution of the criterion. The argument does not require $\det M$ to be a unit of $B$.

For at most five circle points, products of two line equations supply the required interpolation.

Corollary (circle points). Every nonempty set of at most five distinct points on a circle is Ramsey. Every cyclic quadrilateral is Ramsey, and the regular pentagon is canonically Ramsey.

Proof. Work in the plane of the circle and extend the set, if necessary, to five distinct points. Let $F$ be the coordinate field of the resulting set. Fix one of its points $a_i$, partition the other four into two pairs, and take the product of affine equations for the two lines through those pairs. No three circle points are collinear, so this quadratic polynomial vanishes at the other four points and is nonzero at $a_i$, with coefficients in $F$. Rescaling the five resulting polynomials shows that quadratic evaluation onto $F^5$ is surjective, so the five row vectors are independent and the proposition makes the five-point set Ramsey. A monochromatic copy of that set contains a congruent copy of the original set. The canonical Ramsey theorem for the regular pentagon of Shaw is a stronger five-point statement for that particular configuration.

./pdf/ramsrc/shaw-pentagon.pdf

Corollary (cyclic kites). For every transcendental $a\in(-1,1)$ the cyclic quadrilateral

$$ K_a = \bigl\{(-1,0),(1,0),(a,\sqrt{1-a^2}),(a,-\sqrt{1-a^2})\bigr\} $$

is Ramsey and is not subtransitive.

Proof. The four points are distinct and lie on the unit circle, so the circle-points corollary makes $K_a$ Ramsey. Leader, Russell and Walters proved that $K_a$ does not embed in any finite transitive Euclidean set. The necessity direction of the Leader-Russell-Walters subtransitive characterization therefore fails, as does the conjecture that the family $K_a$ is not Ramsey.

./pdf/ramsrc/lrw-kites.pdf

Nine algebraically independent points on a rational parametrisation of the circle give a spherical set that is not Ramsey. Palvolgyi's generic seven-point claim already implies this, by passing to a seven-point subset. The criterion reaches it directly by a determinant calculation.

Proposition (nine circle points). Let $t_1,\ldots,t_9$ be algebraically independent real numbers over $\Q$ and put

$$ a_i = \left(\frac{1-t_i^2}{1+t_i^2}, \frac{2t_i}{1+t_i^2}\right) \qquad (1\le i\le 9). $$

The nine points $a_i$ form a spherical set that is not Ramsey.

Proof. The parametrisation lies on the unit circle and is injective, because $t_i=(a_i)_2/(1+(a_i)_1)$; the points are distinct, affinely span $\R^2$, and have coordinate field $F=\Q(t_1,\ldots,t_9)$. Algebraic independence identifies $F$ with a rational function field, so $B=F\otimes_\Q F$ is the localization of $\Q[T_1,\ldots,T_9,U_1,\ldots,U_9]$ inverting all nonzero polynomials in the $T$ variables alone and all nonzero polynomials in the $U$ variables alone. In particular $B$ is a domain and embeds in the fraction field $\Q(T_1,\ldots,T_9,U_1,\ldots,U_9)$.

Put $p(t)=\bigl(1,\frac{1-t^2}{1+t^2},\frac{2t}{1+t^2}\bigr)^{\mathsf T}$. Over the fraction field the nine tensor evaluation equations have coefficient matrix $D$ with rows $(p_\alpha(T_i)p_\beta(U_i))_{0\le\alpha,\beta\le 2}$. The determinant is nonzero: specialize the nine pairs $(T_i,U_i)$ to the grid $\{0,1,-1\}^2$, ordered as $0,1,-1$ in both coordinates. All denominators remain nonzero, and the resulting matrix is the ordinary Kronecker product $C\otimes C$ with

$$ C=\begin{pmatrix}1&1&0\\1&0&1\\1&0&-1\end{pmatrix}, \qquad \det C=2, $$

so its determinant is $2^6=64$. This evaluates the specific determinant expression and does not assert a specialization of the whole localized ring $B$.

The only solution of $D\operatorname{vec}(P)=0$ over the fraction field is therefore $P=0$, and injectivity of the embedding of $B$ gives the same conclusion over $B$. Such a matrix has no multiplied spatial block $I_2$, so the criterion excludes the Ramsey property.

./pdf/ramsrc/palvolgyi-heptagon.pdf

A second negative example uses one transcendental parameter and a derivation inside the coordinate field. Its weighted cancellation parallels the derivation obstruction in Palvolgyi's smaller circular example.

Proposition (three concentric squares). Set

$$ t=\sum_{m=1}^\infty 10^{-m!}, \qquad u=\frac{1-t^2}{1+t^2}, \qquad v=\frac{2t}{1+t^2}, $$

and $Q_0=\{(\pm 1,0),(0,\pm 1)\}$. Define the rotations

$$ R_+=\begin{pmatrix}u&-v\\v&u\end{pmatrix}, \qquad R_-=\begin{pmatrix}u&v\\-v&u\end{pmatrix}, \qquad X = R_+ Q_0 \cup R_- Q_0 \cup Q_0. $$

The twelve points of $X$ lie on the unit circle and are not Ramsey.

Proof. First $0.11<t<0.12$ and $t$ is transcendental. The rational partial sums $t_m=p_m/q_m$ with $q_m=10^{m!}$ satisfy $0<t-t_m<2q_m^{-(m+1)}$ for $m\ge 2$. If $t$ had an irreducible polynomial $P\in\Z[T]$ of degree $d$, then $P(t_m)\ne 0$ and $|P(t_m)|\ge q_m^{-d}$, while a bound $C\ge 1$ for $|P'|$ on $[0,1]$ would give $|P(t_m)|\le C|t-t_m|<2C q_m^{-(m+1)}$, a contradiction for large $m$.

The rotations $R_+$ and $R_-$ act through angles $\theta=2\arctan t$ and $-\theta$ with $0<\theta<\pi/4$. Their pairwise differences and their differences from zero are nonzero and below $\pi/2$ in absolute value, so the three squares are disjoint. All twelve points lie on the unit circle, and $Q_0$ already affinely spans the plane.

The coordinate field of $X$ is $F=\Q(t)$, because its coordinates include $u$ and $v$ and $t=v/(1+u)$. The derivation $\partial=\tfrac{1+t^2}{2}\frac{d}{dt}$ on $F$ has $\partial u=-v$ and $\partial v=u$. Write $R_0=I_2$, label the points $x_{\epsilon,q}=R_\epsilon q$ with $\epsilon\in\{+,-,0\}$ and $q\in Q_0$, and assign weights $\beta_{+,q}=\beta_{-,q}=1$ and $\beta_{0,q}=-2$. Put $p_i=(1,x_i)^{\mathsf T}$ for the twelve labels. Then

$$ \sum_i \beta_i p_i p_i^{\mathsf T}=0, \quad \sum_i \beta_i (\partial p_i) p_i^{\mathsf T}=0, \quad \sum_i \beta_i (\partial p_i)(\partial p_i)^{\mathsf T}=\begin{pmatrix}0&0\\0&4 I_2\end{pmatrix}. $$

The first identity uses $\sum_q \beta_{. q}=0$, $\sum_q q=0$ and $\sum_q q q^{\mathsf T}=2I_2$. Writing $J=\begin{pmatrix}0&-1\\1&0\end{pmatrix}$, the derivatives of the rotations are $\partial R_+=R_+ J$, $\partial R_-=-R_- J$ and $\partial R_0=0$. The spatial squared moment is $2(1+1-2)I_2=0$; the mixed moment is $2J-2J=0$; and the derivative moment is $2I_2+2I_2=4I_2$. The constant and vector entries vanish by the symmetric weights on $Q_0$.

Define the $\Q$-linear map $\Phi:F\otimes_\Q F\to F$ by $\Phi(a\otimes b)=(\partial a)(\partial b)$. Expanding each entry of $P\in\operatorname{Mat}_3(B)$ into pure tensors $a\otimes b$, the product rule expresses $\Phi\bigl((p_i\otimes 1)^{\mathsf T}P(1\otimes p_i)\bigr)$ as a sum of four types of term.

The types carrying $\partial a$ or $\partial b$ alone vanish under $\sum_i \beta_i$ by the first two moment identities and the transpose of the second. The remaining term is $a b\,(\partial p_{i\alpha})(\partial p_{i\beta})$, whose $\beta_i$-summed value is $\begin{pmatrix}0&0\\0&4 I_2\end{pmatrix}_{\alpha\beta}ab$. Hence

$$ \sum_i \beta_i \Phi\bigl((p_i\otimes 1)^{\mathsf T} P(1\otimes p_i)\bigr) = 4\sum_{\alpha=1}^2 m_F(P_{\alpha\alpha}). $$

A matrix satisfying the criterion would make the left side zero and the right side $8$, a contradiction. The argument uses a derivation only on $F$ and adds no regularity condition to the colorings in the definition of the Ramsey property.

./pdf/ramsrc/palvolgyi-heptagon.pdf
./pdf/ramsrc/liouville1851.pdf

The matrix condition and the tensor condition are equivalent, and each holds exactly when $A$ is Euclidean Ramsey.