diff 56bc728..f6bf760 finite_euclidean_ramsey_v2.txt
diff --git a/finite_euclidean_ramsey_v2.txt b/finite_euclidean_ramsey_v2.txt
index 2e7e498..533daa7 100644
--- a/finite_euclidean_ramsey_v2.txt
+++ b/finite_euclidean_ramsey_v2.txt
@@ -27,7 +27,7 @@ Palvolgyi built a seven-point circle configuration that is not Ramsey, disprovin
 
 Let A={a_1,...,a_s}subsetR^d be a finite set with sge 2 and affine span R^d. Write
 
- p_i = (1, a_{i,1}, ..., a_{i,d})^{mathsf T}sfT 
+ p_i = (1, a_{i,1}, ..., a_{i,d})^{T} 
 
 for 1le ile s, and set
 
@@ -37,7 +37,7 @@ The ring B is commutative, and the multiplication map m_F:Bto F sends x ⊗  y t
 
 Theorem. The set A is Ramsey if and only if there is a matrix PinMat_{d+1}(B) satisfying
 
- (p_i ⊗  1)^{mathsf T}sfT P (1 ⊗  p_i) = 0  (1le ile s) 
+ (p_i ⊗  1)^{T} P (1 ⊗  p_i) = 0  (1le ile s) 
 
 and
 
@@ -47,7 +47,7 @@ The entries of p_i ⊗  1 and 1 ⊗  p_i are formed componentwise, and no separa
 
 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 + ellcdot a_i + c = 0  (1le ile s) 
+ |a_i|^2 + ell· a_i + c = 0  (1le ile s) 
 
 for some ellin F^d and cin 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.
 
@@ -73,7 +73,7 @@ A free group on letters xi_z, one per real sequence of finite support, then supp
 
 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=RtimesR^d as a vector space over Q. An element w=(v,u) represents the affine function amapsto v+acdot u, and e_i(w)=v+a_icdot u is a Q-linear functional on W. Let mathcal T(W)calT(W)subset W ⊗ _Q W be the subspace fixed by the flip w ⊗  w'mapsto w' ⊗  w, and let G:mathcal T(W)calT(W)toSym_d(R) be the Q-linear map induced by (v,u) ⊗ (v',u')mapsto u(u')^{mathsf T}sfT. Thus G(w ⊗  w)=uu^{mathsf T}sfT for w=(v,u). The tensor condition is the existence of Tinmathcal T(W)calT(W) with
+Set W=RtimesR^d as a vector space over Q. An element w=(v,u) represents the affine function a|-> v+a· u, and e_i(w)=v+a_i· u is a Q-linear functional on W. Let T(W) W ⊗ _Q W be the subspace fixed by the flip w ⊗  w'|-> w' ⊗  w, and let G:T(W) be the Q-linear map induced by (v,u) ⊗ (v',u')|-> u(u')^{T} Thus G(w ⊗  w)=uu^{T} for w=(v,u). The tensor condition is the existence of TinT(W) with
 
  (e_i ⊗  e_i)(T) = 0  (1le ile s),  G(T) = I_d. 
 
@@ -81,17 +81,17 @@ The first identities live in R ⊗ _QR and are stronger than their images under
 
 Proposition. The matrix condition in the theorem is equivalent to the tensor condition.
 
-Proof. Let mathscr B=scrB=R ⊗ _QR, let tau(x ⊗  y)=y ⊗  x, and let m_R:mathscr BscrBtoR be multiplication. Write the standard basis of W as mathbf e_0=(1,0)bfe_0=(1,0) and mathbf e_bfe_alpha=(0,e_alpha), and identify W ⊗ _Q W with arrays Q=(Q_{alphabeta})_{0lealpha,betale d} over mathscr B.scrB. Under this identification
+Proof. Let B= ⊗ _QR, let tau(x ⊗  y)=y ⊗  x, and let m_R:B be multiplication. Write the standard basis of W as mathbf e_0=(1,0)bfe_0=(1,0) and mathbf e_bfe_alpha=(0,e_alpha), and identify W ⊗ _Q W with arrays Q=(Q_{alphabeta})_{0lealpha,betale d} over B. Under this identification
 
  E_i(Q) = sum_{alpha,beta=0}^d (p_{i,alpha} ⊗  1) Q_{alphabeta} (1 ⊗  p_{i,beta}), 
 
-and the gradient matrix is the spatial block (m_R(Q_{alphabeta}))_{1lealpha,betale d}. Flip sends Q to Q^*_{alphabeta}=tau(Q_{betaalpha}), 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 Bsubsetmathscr B.scrB.
+and the gradient matrix is the spatial block (m_R(Q_{alphabeta}))_{1lealpha,betale d}. Flip sends Q to Q^*_{alphabeta}=tau(Q_{betaalpha}), 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 BsubsetB.
 
-Conversely, extending coefficients from B to mathscr BscrB adds no solutions. Fix an F-basis (r_lambda)_{lambdainΛ} of R and use the free B-module decomposition
+Conversely, extending coefficients from B to B adds no solutions. Fix an F-basis (r_lambda)_{lambdainΛ} of R and use the free B-module decomposition
 
- mathscr BscrB = ⊕_{lambda,muinΛ} B(r_lambda ⊗  r_mu), 
+ B = ⊕_{lambda,muinΛ} B(r_lambda ⊗  r_mu), 
 
-in which x ⊗  yin B represents (x r_lambda) ⊗ (y r_mu) on the indicated summand. If an array Q over mathscr BscrB solves the evaluation equations and has multiplied spatial block I_d, its entries have a common finite expansion
+in which x ⊗  yin B represents (x r_lambda) ⊗ (y r_mu) on the indicated summand. If an array Q over 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 ⊗  r_mu)P^{lambdamu},  P^{lambdamu}inMat_{d+1}(B). 
 
@@ -107,15 +107,15 @@ is a solution over B. The individual blocks C^{lambdamu} need not be symmetric;
 
 The ring B is Noetherian, so the criterion is genuinely finite. Let F_0=Q[(a_i)_alpha], a finitely generated domain, with F=Frac(F_0). Then B is the localization of F ⊗ _Q F_0 at the elements 1 ⊗  f for nonzero fin 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 cin F lift to c ⊗  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 Qin O(d), the invertible Q-linear map H(v,u)=(v-tcdot Qu,Qu) satisfies e_i'circ H=e_i and G((H ⊗  H)T)=Q G(T)Q^{mathsf T}sfT, so H ⊗  H carries certificates for A to certificates for A' and H^{-1} ⊗  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 tensor condition is congruence-invariant. If a_i'=Q a_i+t with Qin O(d), the invertible Q-linear map H(v,u)=(v-t· Qu,Qu) satisfies e_i'circ H=e_i and G((H ⊗  H)T)=Q G(T)Q^{T}, so H ⊗  H carries certificates for A to certificates for A' and H^{-1} ⊗  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 YcalY = (R ⊗ _QR)^s  ⊕  Sym_d(R) 
+ Y = (R ⊗ _QR)^s  ⊕  Sym_d(R) 
 
-as a Q-vector space and let Phi:mathcal T(W)calT(W)tomathcal YcalY be Phi(T)=((e_i ⊗  e_i)(T))_{i=1}^s ⊕  G(T). If the tensor condition fails, y_0=(0,...,0,I_d) lies outside imPhi. Extend the nonzero class of y_0 in mathcal Y/imcalY/imPhi to a Q-basis, send that basis element to 1 and the others to 0, and obtain a Q-linear ell:mathcal YcalYtoR with ellcircPhi=0 and ell(y_0)=1. Write the components as ell_i:R ⊗ _QRtoR and L:Sym_d(R)toR, and set h_i(x)=ell_i(x ⊗  x). Evaluating ellcircPhi on w ⊗  w gives
+as a Q-vector space and let Phi:T(W) YcalY be Phi(T)=((e_i ⊗  e_i)(T))_{i=1}^s ⊕  G(T). If the tensor condition fails, y_0=(0,...,0,I_d) lies outside imPhi. Extend the nonzero class of y_0 in Y/imcalY/imPhi to a Q-basis, send that basis element to 1 and the others to 0, and obtain a Q-linear ell:Y with ellcircPhi=0 and ell(y_0)=1. Write the components as ell_i:R ⊗ _QRtoR and L:Sym_d(R)toR, and set h_i(x)=ell_i(x ⊗  x). Evaluating ellcircPhi on w ⊗  w gives
 
- sum_{i=1}^s h_i(v+a_icdot u) + L(uu^{mathsf T}sfT) = 0,  L(I_d)=1, 
+ sum_{i=1}^s h_i(v+a_i· u) + L(uu^{T} = 0,  L(I_d)=1, 
 
 and u=0 gives sum_{i=1}^s h_i(x)=0 for every xinR. No continuity or measurability enters; these are purely algebraic functionals.
 
@@ -123,7 +123,7 @@ Fix D and put H_i(z)=sum_{j=1}^D h_i(z_j) for zinR^D. Every ordered congruent co
 
  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^dtoR^D and tinR^D with b_i=t+Qa_i. If u_j^{mathsf T}sfT 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}sfT=Q^{mathsf T}sfTQ=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.
+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^dtoR^D and tinR^D with b_i=t+Qa_i. If u_j^{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^{T}{T} 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,...,b_s were monochromatic, there would be integers n_i and reals ε_i with |ε_i|<2/K and H_i(b_i)-H_i(b_1)=2n_i+ε_i; summing would give -1=2sum_i n_i+sum_iε_i with |sum_iε_i|<1, impossible. The coloring therefore avoids A in every R^D, so every Euclidean Ramsey set satisfies the matrix condition.
 
@@ -136,17 +136,17 @@ The sufficiency direction takes a tensor satisfying the tensor conditions and co
 
 Assume the tensor condition holds. Fix a symmetric Tin W ⊗ _Q W with (e_i ⊗  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,...,w_k and write
 
- T = sum_{a,b=1}^k C_{ab} w_a ⊗  w_b,  CinMat_k(Q), C=C^{mathsf T}sfT. 
+ T = sum_{a,b=1}^k C_{ab} w_a ⊗  w_b,  CinMat_k(Q), C=C^{T} 
 
 For lambdainQ^k put w(lambda)=sum_j lambda_j w_j. With w_j=(v_j,u_j) let U=(u_1 ... u_k) be the real dtimes k matrix whose columns are gradients. The gradient identity becomes
 
- U C U^{mathsf T}sfT = I_d. 
+ U C U^{T} = I_d. 
 
 Set Gamma=Z^k and define the evaluation lattices
 
  Λ_i = {lambdainGamma : e_i(w(lambda))=0},  V_i = span_Q Λ_i. 
 
-Clearing denominators shows that V_i is the kernel of the rational linear form lambdamapsto 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}ε_a ⊗ ε_b therefore maps to zero in (Q^k/V_i) ⊗ _Q(Q^k/V_i) for each i.
+Clearing denominators shows that V_i is the kernel of the rational linear form lambda|-> 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}ε_a ⊗ ε_b therefore maps to zero in (Q^k/V_i) ⊗ _Q(Q^k/V_i) for each i.
 
 Lemma (finite lattice identity). Let k,sge 1, let Λ_1,...,Λ_s be subgroups of Gamma=Z^k, and set V_i=span_Q Λ_i. Let CinMat_k(Q) be symmetric, and suppose that the image of sum_{a,b} C_{ab}ε_a ⊗ ε_b in (Q^k/V_i) ⊗ _Q(Q^k/V_i) is zero for every i. Then there is a finitely supported nu:GammatoQ with
 
@@ -154,7 +154,7 @@ Lemma (finite lattice identity). Let k,sge 1, let Λ_1,...,Λ_s be subgroups of
 
 and
 
- sum_gamma nu(gamma)=0,  sum_gamma nu(gamma)gamma = 0,  sum_gamma nu(gamma)gammagamma^{mathsf T}sfT = C. 
+ sum_gamma nu(gamma)=0,  sum_gamma nu(gamma)gamma = 0,  sum_gamma nu(gamma)gammagamma^{T} = C. 
 
 Proof. The Laurent ring R=Q[X_1^{pm 1},...,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 GammatoGamma/Λ_i is
 
@@ -164,15 +164,15 @@ Indeed, a Laurent polynomial vanishes on every coset of Λ_i exactly when it is
 
 Pass to formal logarithmic coordinates. With mathfrak m=(X_1-1,...,X_k-1)frakm=(X_1-1,...,X_k-1) and Z_j=X_j-1, the mathfrak m-adicfrakm-adic completion is widehatwidehat R=R=Q[[Z_1,...,Z_k]], because the factors 1+Z_j are invertible modulo each power of (Z_1,...,Z_k). The substitutions Y_j=log(1+Z_j) and Z_j=exp(Y_j)-1 identify widehatwidehat RR with Q[[Y_1,...,Y_k]] and mathfrak mfrakmwidehatwidehat RR with (Y_1,...,Y_k). For hinGamma,
 
- X^h-1 = exp(hcdot Y)-1 = (hcdot Y)sum_{nge 0}((hcdot Y)^n)/((n+1)!), 
+ X^h-1 = exp(h· Y)-1 = (h· Y)sum_{nge 0}((h· Y)^n)/((n+1)!), 
 
-and the last factor is a unit, so J_iwidehatwidehat R=(hR=(hcdot Y : hinΛ_i)widehatwidehat R.R.
+and the last factor is a unit, so J_iwidehatwidehat R=(hR=(h· Y : hinΛ_i)widehatwidehat R.R.
 
-Put Q_2(Y)=tfrac12 Y^{mathsf T}sfTC Y and identify Q[Y_1,...,Y_k] with the symmetric algebra of Q^k via ε_jmapsto 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 hcdot Y, hinΛ_i, and therefore Q_2in J_iwidehatwidehat RR for every i.
+Put Q_2(Y)=tfrac12 Y^{T} Y and identify Q[Y_1,...,Y_k] with the symmetric algebra of Q^k via ε_j|-> 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· Y, hinΛ_i, and therefore Q_2in J_iwidehatwidehat RR for every i.
 
 The ring R is Noetherian, and widehatwidehat RR is flat over R (Tag 00MB of the Stacks project). The injection R/Ito⊕_i R/J_i, with I=∩_i J_i, therefore survives tensor with widehatwidehat R,R, so Iwidehatwidehat R=∩_iR=∩_i J_iwidehatwidehat RR and Q_2in Iwidehatwidehat R.R.
 
-Recover a finite Laurent polynomial by truncation. Write Q_2=sum_{a=1}^N f_aalpha_a with f_ain I and alpha_ainwidehatwidehat R.R. For each a, truncate the Z-expansion of alpha_a through degree two to obtain b_ain R with b_a-alpha_ainmathfrak m^3frakm^3widehatwidehat R.R. Then f=sum_a f_a b_ain I and f(e^{Y_1},...,e^{Y_k})=tfrac12 Y^{mathsf T}sfTC Y pmod{(Y_1,...,Y_k)^3}. Write f=sum_gamma nu(gamma)X^gamma. Membership fin J_i for all i gives the coset sums. Since X^gamma=exp(gammacdot Y)=1+gammacdot Y+tfrac12(gammacdot Y)^2 pmod{(Y)^3}, comparison of the constant term, gradient and Hessian at Y=0 gives the moment identities.
+Recover a finite Laurent polynomial by truncation. Write Q_2=sum_{a=1}^N f_aalpha_a with f_ain I and alpha_ainwidehatwidehat R.R. For each a, truncate the Z-expansion of alpha_a through degree two to obtain b_ain R with b_a-alpha_ainmathfrak m^3frakm^3widehatwidehat R.R. Then f=sum_a f_a b_ain I and f(e^{Y_1},...,e^{Y_k})=tfrac12 Y^{T} Y pmod{(Y_1,...,Y_k)^3}. Write f=sum_gamma nu(gamma)X^gamma. Membership fin J_i for all i gives the coset sums. Since X^gamma=exp(gamma· Y)=1+gamma· Y+tfrac12(gamma· 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
 
@@ -188,23 +188,23 @@ 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 ktimes k matrix and U a real dtimes k matrix with dge 1 and U C U^{mathsf T}sfT=I_d. For every eta>0 there is a nonnegative bin C_c^∞(R^k) with int_{R^k} b(x),dx>0 and
+Lemma (compactly supported smoothing). Let C be a real symmetric ktimes k matrix and U a real dtimes k matrix with dge 1 and U C U^{T} For every eta>0 there is a nonnegative bin C_c^∞(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}sfT=I_d forces U to have rank d. Set H=im(U^{mathsf T}sfT) and V=ker U, so R^k=H ⊕  V orthogonally. The quadratic form of C on H is positive definite: if 0ne h=U^{mathsf T}sfTy, then h^{mathsf T}sfT C h=y^{mathsf T}sfT U C U^{mathsf T}sfT y=|y|^2>0. Choose ε>0 with εtr(UU^{mathsf T}sfT)<eta/8. With P_H,P_V the orthogonal projections, put S=ε P_H + L P_V for L large enough that S and S+C are positive definite. Writing S+C in blocks over H ⊕  V as
+Proof. The identity U C U^{T} forces U to have rank d. Set H=im(U^{T} and V=ker U, so R^k=H ⊕  V orthogonally. The quadratic form of C on H is positive definite: if 0ne h=U^{T}, then h^{T} C h=y^{T} U C U^{T} y=|y|^2>0. Choose ε>0 with εtr(UU^{T}<eta/8. With P_H,P_V the orthogonal projections, put S=ε P_H + L P_V for L large enough that S and S+C are positive definite. Writing S+C in blocks over H ⊕  V as
 
- S+C =  A & B  B^{mathsf T}sfT & C_{VV}+L I_V ,  A=C_{HH}+ε I_H>0, 
+ S+C =  A & B  B^{T} & C_{VV}+L I_V ,  A=C_{HH}+ε 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,
 
- tr(U S U^{mathsf T}sfT) = εtr(UU^{mathsf T}sfT) < eta/8. 
+ tr(U S U^{T} = εtr(UU^{T} < eta/8. 
 
 Every S+tC with 0le tle 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
 
- (d)/(dt)phi_{Q_t}(x) = frac12(x^{mathsf T}sfTQ_t^{-1}C Q_t^{-1} x - tr(Q_t^{-1}C))phi_{Q_t}(x) = D_Cphi_{Q_t}(x). 
+ (d)/(dt)phi_{Q_t}(x) = frac12(x^{T}{-1}C Q_t^{-1} x - tr(Q_t^{-1}C))phi_{Q_t}(x) = D_Cphi_{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
 
@@ -212,21 +212,21 @@ The eigenvalues of Q_t are uniformly bounded above and below, so the densities a
 
 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)_-lephi_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 = tr(U S U^{mathsf T}sfT) < eta/8. 
+ int_{R^k}(D_C b_*)_-(x)|U x|^2,dx le int_{R^k}phi_S(x)|U x|^2,dx = tr(U S U^{T} < eta/8. 
 
-Compactify by fixing chiin C_c^∞(R^k) with 0lechile 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_Rto 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_Cchi_R. The latter two are supported on the shell Rle|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 rmapsto r_- is 1-Lipschitz, int |(D_C b_R)_--(D_C b_*)_-|,|U x|^2to 0. For R large, int b_R>1/2 and the deviation is below eta/8, giving
+Compactify by fixing chiin C_c^∞(R^k) with 0lechile 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_Rto 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_Cchi_R. The latter two are supported on the shell Rle|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|-> r_- is 1-Lipschitz, int |(D_C b_R)_--(D_C b_*)_-|,|U x|^2to 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 Λ_1,...,Λ_s be subgroups of Gamma, and let nu:GammatoQ be finitely supported with zero pushforward on each Gamma/Λ_i and with zero mass, zero first moment, and second moment sum_gamma nu(gamma)gammagamma^{mathsf T}sfT=C. Let U be a real dtimes k matrix with U C U^{mathsf T}sfT=I_d and dge 1. For every eta>0 there are an integer nge 1, a finitely supported mu:GammatoQ, and a positive rational zeta with zero pushforward of mu on each Gamma/Λ_i and
+Lemma (finite rational weights). Let Gamma=Z^k, let Λ_1,...,Λ_s be subgroups of Gamma, and let nu:GammatoQ be finitely supported with zero pushforward on each Gamma/Λ_i and with zero mass, zero first moment, and second moment sum_gamma nu(gamma)gammagamma^{T} Let U be a real dtimes k matrix with U C U^{T} and dge 1. For every eta>0 there are an integer nge 1, a finitely supported mu:GammatoQ, and a positive rational zeta with zero pushforward of mu on each Gamma/Λ_i and
 
- sum_lambda mu(lambda)(lambda)/(n)frac{lambda^{mathsf T}sfT}{n} = zeta C,  sum_lambda mu(lambda)_-left|U(lambda)/(n)right|^2 < etazeta. 
+ sum_lambda mu(lambda)(lambda)/(n)frac{lambda^{T}}{n} = zeta C,  sum_lambda mu(lambda)_-left|U(lambda)/(n)right|^2 < etazeta. 
 
 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,  sum_lambda (nu*d)(lambda)lambdalambda^{mathsf T}sfT = (sum_beta d(beta))C, 
+ sum_lambda (nu*d)(lambda)=0,  sum_lambda (nu*d)(lambda)lambdalambda^{T} = (sum_beta d(beta))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_ntoint b>0.
 
@@ -234,7 +234,7 @@ For x=lambda/n a Taylor expansion gives
 
  n^kmu_n(lambda) = n^2sum_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<∞. 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 rmapsto r_- is 1-Lipschitz, so
+uniformly in x, since the third derivatives of b are bounded and sum_gamma |nu(gamma)||gamma|^3<∞. 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|-> r_- is 1-Lipschitz, so
 
  sum_lambda mu_n(lambda)_-|Ulambda/n|^2 - n^{-k}sum_lambda (D_C b(lambda/n))_-|Ulambda/n|^2 = O(n^{-1}). 
 
@@ -242,73 +242,73 @@ The second sum is a Riemann sum, so by the smoothing lemma,
 
  sum_lambda mu_n(lambda)_-|Ulambda/n|^2 → int (D_C b)_-|U x|^2 < etaint 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 dmapsto nu*d and dmapstozeta=n^{-2}sum_lambda d(lambda) are linear, and the functional dmapstosum_{lambdainsuppnu+E}(nu*d)(lambda)_-|Ulambda/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.
+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|-> nu*d and d|->zeta=n^{-2}sum_lambda d(lambda) are linear, and the functional d|->sum_{lambdainsuppnu+E}(nu*d)(lambda)_-|Ulambda/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 ... u_k), and Λ_i={lambdainGamma : 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}sfT=I_d. Apply the rational-weight lemma to obtain n,mu,zeta. Choose a positive integer M with Mmu(lambda)inZ for all lambda. Form the positive list with Mmu(lambda)_+ repetitions of the affine row w(lambda/n), and the negative list with Mmu(lambda)_- repetitions.
+Proof of the two-scale lemma. Let w_j=(v_j,u_j), w(lambda)=sum_j lambda_j w_j, U=(u_1 ... u_k), and Λ_i={lambdainGamma : 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^{T} Apply the rational-weight lemma to obtain n,mu,zeta. Choose a positive integer M with Mmu(lambda)inZ for all lambda. Form the positive list with Mmu(lambda)_+ repetitions of the affine row w(lambda/n), and the negative list with Mmu(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Λ_i, the zero pushforward on Gamma/Λ_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 √(zeta M). The gradient Gram matrices become
 
- B_pm = frac1zetasum_lambda mu(lambda)_pm (Ulambda/n)(Ulambda/n)^{mathsf T}sfT, 
+ B_pm = frac1zetasum_lambda mu(lambda)_pm (Ulambda/n)(Ulambda/n)^{T}, 
 
-with B_+-B_-=I_d and 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,...,r_dinR^d with sum_j r_j r_j^{mathsf T}sfT=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 √(1+eta) and letting f_i,g_i be the respective evaluation vectors at a_i preserves coordinate multiset equality and gives
+with B_+-B_-=I_d and 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,...,r_dinR^d with sum_j r_j r_j^{T}, 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 √(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,  |g_i-g_j|^2 = (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.
+because for an affine row (v,u) the difference of evaluations at a_i and a_j is (a_i-a_j)· u and the two gradient Gram identities differ by I_d.
 
-The next step converts equal path endpoints into monochromatic copies. Let mathcal E=calE=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 zinmathcal E.calE. Write Delta g=(g,...,g)in K^s for gin K. A path is a chosen finite sequence of factors in K^s of the following two kinds:
+The next step converts equal path endpoints into monochromatic copies. Let E={(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 zinE. Write Delta g=(g,...,g)in K^s for gin 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},...,xi_{b_s}) with b_1,...,b_sinmathcal EcalE and |b_i-b_j|^2=u|a_i-a_j|^2 for some uge 0, assigned weight u.
+2. a copy factor X_b=(xi_{b_1},...,xi_{b_s}) with b_1,...,b_sinE and |b_i-b_j|^2=u|a_i-a_j|^2 for some uge 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 nge 1 there are two paths with the same endpoint and weights lambda>0 and muge 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,calE, a synchronization lemma that prepares paths of weight 1/t for 1le tle n ending at a common endpoint, and a Hales-Jewett step that produces a monochromatic combinatorial line.
+Three steps lead from the criterion to a monochromatic copy: a compactness reduction to colorings of E, a synchronization lemma that prepares paths of weight 1/t for 1le tle n ending at a common endpoint, and a Hales-Jewett step that produces a monochromatic combinatorial line.
 
-Lemma (finite-dimensional reduction). Fix rge 2. If every r-coloring of mathcal EcalE contains a monochromatic congruent copy of A, then some Dge 1 has the property that every r-coloring of R^D contains a monochromatic congruent copy of A.
+Lemma (finite-dimensional reduction). Fix rge 2. If every r-coloring of E contains a monochromatic congruent copy of A, then some Dge 1 has the property that every r-coloring of R^D contains a monochromatic congruent copy of A.
 
 ./pdf/egmrss.pdf
 
-Proof. Suppose the contrary, so every R^D admits an r-coloring avoiding A. Consider the compact product space {1,...,r}^{mathcal E}calE. For each ordered congruent copy (b_1,...,b_s) of A in mathcal EcalE impose the clopen condition that b_1,...,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 EcalE and satisfies the finite collection. Compactness gives a coloring of mathcal EcalE satisfying every condition, contrary to the hypothesis.
+Proof. Suppose the contrary, so every R^D admits an r-coloring avoiding A. Consider the compact product space {1,...,r}^{E} For each ordered congruent copy (b_1,...,b_s) of A in E impose the clopen condition that b_1,...,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 E and satisfies the finite collection. Compactness gives a coloring of E satisfying every condition, contrary to the hypothesis.
 
 Lemma (synchronization). Fix nge 1. Let two paths share an endpoint and have weights lambda>0 and muge 0, with rho=mu/lambda<1/n. Then there is an endpoint win K^s admitting a path of weight 1/t for every integer 1le tle n.
 
-Proof. Set alpha_t=(1/t-rho)/(1-rho) for 1le tle n. These numbers satisfy 0<alpha_n<...<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_zmapstoxi_{√(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.
+Proof. Set alpha_t=(1/t-rho)/(1-rho) for 1le tle n. These numbers satisfy 0<alpha_n<...<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|->xi_{√(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 ScalS be the monoid of finite strings on the alphabet mathcal E,calE, with concatenation and the empty string ε as identity. Choose pairwise disjoint infinite coordinate blocks in mathcal EcalE and let J_j:mathcal EcalEtomathcal EcalE be the corresponding linear isometric embeddings. For a finite string z=(z_1,...,z_L) define Phi(z)=sum_{j=1}^L J_j z_j. For two strings of the same length,
+The ultrafilter facts required for the final step follow the standard treatment in Hindman-Strauss. Let S be the monoid of finite strings on the alphabet E, with concatenation and the empty string ε as identity. Choose pairwise disjoint infinite coordinate blocks in E and let J_j:E EcalE be the corresponding linear isometric embeddings. For a finite string z=(z_1,...,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,calS, and common factors are then realised by common strings.
+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 S, and common factors are then realised by common strings.
 
 ./pdf/ellis.pdf
 
-An ultrafilter on mathcal ScalS is a maximal proper filter of subsets of mathcal S.calS. Let betamathcal ScalS be the space of all such ultrafilters. For B⊆mathcal ScalS the basic clopen set is overlineoverline B=B={uinbetamathcal ScalS : Bin u}. The space betamathcal ScalS is compact Hausdorff, being a closed subspace of {0,1}^{mathcal P(calP(mathcal S)}calS). For a string x put x^{-1}B={yinmathcal ScalS : xyin B}; this is a preimage under concatenation, not a string inverse. Define the product by
+An ultrafilter on S is a maximal proper filter of subsets of S. Let betaS be the space of all such ultrafilters. For B⊆S the basic clopen set is overlineoverline B=B={uinbetaS : Bin u}. The space betaS is compact Hausdorff, being a closed subspace of {0,1}^{P( S)}calS). For a string x put x^{-1}B={yinS : xyin B}; this is a preimage under concatenation, not a string inverse. Define the product by
 
- Bin uv iff {xinmathcal ScalS : x^{-1}Bin v}in u, 
+ Bin uv iff {xinS : x^{-1}Bin v}in u, 
 
 and write delta_x for the principal ultrafilter at x.
 
-Lemma (corner group). The product makes betamathcal ScalS a compact right-topological semigroup with identity delta_ε. It contains an idempotent p with p(betamathcal S)pcalS)p a group with identity p.
+Lemma (corner group). The product makes betaS a compact right-topological semigroup with identity delta_ε. It contains an idempotent p with p(betaS)p a group with identity p.
 
-Proof. For fixed v the map Bmapsto{x : x^{-1}Bin v} preserves finite intersections and complements, so uv is an ultrafilter. For u,v,winbetamathcal ScalS both parenthesizations of the triple product contain B exactly when {x : {y : {z : xyzin B}in w}in v}in u, which is associativity. For fixed v the inverse image of overlineoverline BB under umapsto uv is overline{{x : x^{-1}Bin v}}, so right translation is continuous, and the assertion about delta_ε follows from the definition.
+Proof. For fixed v the map B|->{x : x^{-1}Bin v} preserves finite intersections and complements, so uv is an ultrafilter. For u,v,winbetaS both parenthesizations of the triple product contain B exactly when {x : {y : {z : xyzin B}in w}in v}in u, which is associativity. For fixed v the inverse image of overlineoverline BB under u|-> uv is overline{{x : x^{-1}Bin v}}, so right translation is continuous, and the assertion about delta_ε follows from the definition.
 
-Choose a minimal nonempty compact left ideal L_0 in betamathcal S;calS; the intersection of any chain of nonempty compact left ideals is again such an ideal, so one exists. For vin L_0 the set (betamathcal S)vcalS)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⊆ L_0. For xin H_0 the set H_0 x is a compact subsemigroup, so H_0 x=H_0; hence {yin 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.
+Choose a minimal nonempty compact left ideal L_0 in betaS; the intersection of any chain of nonempty compact left ideals is again such an ideal, so one exists. For vin L_0 the set (betaS)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⊆ L_0. For xin H_0 the set H_0 x is a compact subsemigroup, so H_0 x=H_0; hence {yin 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(betamathcal S)pcalS)p is a monoid with identity p. Every yin G lies in L_0, so p=vy for some vinbetamathcal S.calS. 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.
+The corner G=p(betaS)p is a monoid with identity p. Every yin G lies in L_0, so p=vy for some vinbetaS. 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}inbetamathcal ScalS for 1le ile s and 1le jle M with Mge 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}inmathcal S.calS. If Bin q_{i,1}... q_{i,M} for every i, there are strings x_{i,j} such that all products x_{i,1}... 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.
+Lemma (simultaneous realization). Let q_{i,j}inbetaS for 1le ile s and 1le jle M with Mge 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}inS. If Bin q_{i,1}... q_{i,M} for every i, there are strings x_{i,j} such that all products x_{i,1}... 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}Bin q_{i,j}... q_{i,M}. Initially P_i=ε. Put v_i=q_{i,j+1}... q_{i,M}, with an empty product read as delta_ε. 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 ∩_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}Bindelta_ε, that is, P_iin B.
 
-Proof of the path criterion. Fix rge 2 and an arbitrary coloring c:mathcal EcalEto{1,...,r}. Choose n such that every r-coloring of {1,...,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.
+Proof of the path criterion. Fix rge 2 and an arbitrary coloring c:E{1,...,r}. Choose n such that every r-coloring of {1,...,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/hales-jewett.pdf
 ./pdf/shelah-329.pdf
@@ -317,9 +317,9 @@ In the group formulation of Leader, Russell and Walters the number of variable p
 
 ./pdf/lrw-transitive.pdf
 
-Color mathcal ScalS by ccircPhi and write its color classes as B_1,...,B_r. Choose p as in the corner-group lemma. Since K is free there is a homomorphism
+Color S by ccircPhi and write its color classes as B_1,...,B_r. Choose p as in the corner-group lemma. Since K is free there is a homomorphism
 
- psi:K→ p(betamathcal S)p,calS)p,  psi(xi_z)=pdelta_{(z)}p, 
+ psi:K→ p(betaS)p,  psi(xi_z)=pdelta_{(z)}p, 
 
 where (z) is the one-letter string with entry z. Color a word i_1... i_n by the unique index k for which B_kinpsi(w_{i_1})...psi(w_{i_n}); the coloring is well defined because every ultrafilter contains exactly one class of a finite partition.
 
@@ -327,25 +327,25 @@ Take a monochromatic combinatorial line and let t be its number of variable posi
 
 Applying the realization lemma produces strings z^{(1)},...,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 = tcdotfrac1t|a_i-a_j|^2 = |a_i-a_j|^2. 
+ |Phi(z^{(i)})-Phi(z^{(j)})|^2 = t·frac1t|a_i-a_j|^2 = |a_i-a_j|^2. 
 
-The images form a monochromatic congruent copy of A in mathcal E.calE. Lemma (finite-dimensional reduction) supplies a finite forcing dimension for this r, and since r was arbitrary, A is Euclidean Ramsey.
+The images form a monochromatic congruent copy of A in 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 Msubset 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,vin 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(KtoZ, xi_zmapsto 1), and for distinct labels i,j let M_{ij} be the image of M under projection to the coordinates (i,j).
+To construct the corrections put N=ker(KtoZ, xi_z|-> 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 ine j the monoid M_{ij} is a group containing Ntimes N.
 
-Proof. Put r=|a_i-a_j|>0. Every ordered pair z,z'inmathcal EcalE 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.
+Proof. Put r=|a_i-a_j|>0. Every ordered pair z,z'inE 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),  (x,y)(x^{-1},x^{-1})=(1,yx^{-1}), 
 
-and their conjugates by diagonal elements. The graph on mathcal EcalE 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.
+and their conjugates by diagonal elements. The graph on 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_zxi_{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 Ntimes Nsubset M_{ij}.
 
@@ -379,9 +379,9 @@ The derived inclusion follows by induction on the number of coordinates, and the
 
 Set L=N^{(s-2)} and c(g)=max_{1le ile s} c_i(g) for gin 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,calE, let Zsubsetmathcal EcalE be a finite H-invariant set, and consider represented tuples w=(w_x)_{xin Z}in K^Z obtained by multiplying diagonal factors and factors (xi_{hx})_{xin Z} with hin 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.
+Averaging over coordinate permutations finishes the corrections. Let H be a finite group of coordinate permutations acting on E, let ZsubsetE be a finite H-invariant set, and consider represented tuples w=(w_x)_{xin Z}in K^Z obtained by multiplying diagonal factors and factors (xi_{hx})_{xin Z} with hin 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 EcalE and Zsubsetmathcal EcalE a finite H-invariant set. For every delta>0 there is a tuple win K^Z represented by diagonal factors and factors (xi_{hx})_{xin Z}, hin H, of some positive degree m, such that
+Lemma (permutation averaging). Let H be a finite group of coordinate permutations of E and ZsubsetE a finite H-invariant set. For every delta>0 there is a tuple win K^Z represented by diagonal factors and factors (xi_{hx})_{xin Z}, hin H, of some positive degree m, such that
 
  w_xw_y^{-1}in L,  c(w_xw_y^{-1})ledelta m  (x,y in the same H-orbit). 
 
@@ -413,7 +413,7 @@ as follows by telescoping with A_j=a_1... a_j and B_j=b_1... b_j: the identity A
 
 Proposition (equal path endpoints). Suppose q>0 and f_i,g_iinR^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 muge 0, with mu/lambdale q+sdelta.
 
-Proof. Embed R^ell in mathcal E,calE, 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.
+Proof. Embed R^ell in 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.
 
@@ -423,7 +423,7 @@ Completion of sufficiency. Assume the matrix condition. The equivalence with the
 
 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 + ellcdot a_i + c = 0  (1le ile s), 
+ |a_i|^2 + ell· a_i + c = 0  (1le ile s), 
 
 with c=H_{00} and ell_alpha=H_{0alpha}+H_{alpha 0} for 1lealphale 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.
 
@@ -433,7 +433,7 @@ Call a finite Euclidean set transitive if its distance-preserving permutations a
 
 Corollary (subtransitive sets). Every nonempty subset of a finite transitive Euclidean set is Ramsey.
 
-Proof. Singletons are immediate. Let AsubsetR^d with sge 2 and affine span R^d, and suppose an isometric embedding sends a_i to y_i in a finite transitive set YsubsetR^n. Let H be the finite group of distance-preserving permutations of Y. For hin H the map a_imapsto 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
+Proof. Singletons are immediate. Let AsubsetR^d with sge 2 and affine span R^d, and suppose an isometric embedding sends a_i to y_i in a finite transitive set YsubsetR^n. Let H be the finite group of distance-preserving permutations of Y. For hin H the map a_i|-> 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_{hin H}sum_{j=1}^n (w_{hj} ⊗  w_{hj} - c_{hj} ⊗  c_{hj}) 
 
@@ -447,11 +447,11 @@ A closely related positive direction replaces transitivity by solvable symmetry.
 
 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,...,a_s}subsetR^d be spherical and affinely span R^d. Put p_i=(1,a_i)^{mathsf T}sfT and let F be its coordinate field. If the s row vectors (p_{ialpha}p_{ibeta})_{0lealpha,betale d} are linearly independent over F, then A is Ramsey.
+Proposition (quadratic interpolation). Let A={a_1,...,a_s}subsetR^d be spherical and affinely span R^d. Put p_i=(1,a_i)^{T} and let F be its coordinate field. If the s row vectors (p_{ialpha}p_{ibeta})_{0lealpha,betale d} are linearly independent over F, then A is Ramsey.
 
 Proof. The singleton case is immediate, so sge 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 DinMat_{stimes N}(B) be the tensor evaluation matrix with entry p_{ialpha} ⊗  p_{ibeta} in row i and column (alpha,beta). Lift h to bin B^N by xmapsto x ⊗  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^sto B^N insert a vector into these coordinates, so Diota=M. By the adjugate identity,
+Let DinMat_{stimes N}(B) be the tensor evaluation matrix with entry p_{ialpha} ⊗  p_{ibeta} in row i and column (alpha,beta). Lift h to bin B^N by x|-> x ⊗  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^sto B^N insert a vector into these coordinates, so Diota=M. By the adjugate identity,
 
  z = (det M)b - iotaadj(M) D b in ker D. 
 
@@ -485,7 +485,7 @@ 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,...,t_9). Algebraic independence identifies F with a rational function field, so B=F ⊗ _Q F is the localization of Q[T_1,...,T_9,U_1,...,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,...,T_9,U_1,...,U_9).
 
-Put p(t)=(1,(1-t^2)/(1+t^2),(2t)/(1+t^2))^{mathsf T}sfT. Over the fraction field the nine tensor evaluation equations have coefficient matrix D with rows (p_alpha(T_i)p_beta(U_i))_{0lealpha,betale 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 ⊗  C with
+Put p(t)=(1,(1-t^2)/(1+t^2),(2t)/(1+t^2))^{T} Over the fraction field the nine tensor evaluation equations have coefficient matrix D with rows (p_alpha(T_i)p_beta(U_i))_{0lealpha,betale 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 ⊗  C with
 
  C=1&1&01&0&11&0&-1,  det C=2, 
 
@@ -511,17 +511,17 @@ Proof. First 0.11<t<0.12 and t is transcendental. The rational partial sums t_m=
 
 The rotations R_+ and R_- act through angles theta=2arctan 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 ∂=(1+t^2)/(2)(d)/(dt) on F has ∂ u=-v and ∂ v=u. Write R_0=I_2, label the points x_{ε,q}=R_ε q with εin{+,-,0} and qin Q_0, and assign weights beta_{+,q}=beta_{-,q}=1 and beta_{0,q}=-2. Put p_i=(1,x_i)^{mathsf T}sfT for the twelve labels. Then
+The coordinate field of X is F=Q(t), because its coordinates include u and v and t=v/(1+u). The derivation ∂=(1+t^2)/(2)(d)/(dt) on F has ∂ u=-v and ∂ v=u. Write R_0=I_2, label the points x_{ε,q}=R_ε q with εin{+,-,0} and qin Q_0, and assign weights beta_{+,q}=beta_{-,q}=1 and beta_{0,q}=-2. Put p_i=(1,x_i)^{T} for the twelve labels. Then
 
- sum_i beta_i p_i p_i^{mathsf T}sfT=0,  sum_i beta_i (∂ p_i) p_i^{mathsf T}sfT=0,  sum_i beta_i (∂ p_i)(∂ p_i)^{mathsf T}sfT=0&00&4 I_2. 
+ sum_i beta_i p_i p_i^{T},  sum_i beta_i (∂ p_i) p_i^{T},  sum_i beta_i (∂ p_i)(∂ p_i)^{T}&00&4 I_2. 
 
-The first identity uses sum_q beta_{. q}=0, sum_q q=0 and sum_q q q^{mathsf T}sfT=2I_2. Writing J=0&-11&0, the derivatives of the rotations are ∂ R_+=R_+ J, ∂ R_-=-R_- J and ∂ 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.
+The first identity uses sum_q beta_{. q}=0, sum_q q=0 and sum_q q q^{T} Writing J=0&-11&0, the derivatives of the rotations are ∂ R_+=R_+ J, ∂ R_-=-R_- J and ∂ 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 ⊗ _Q Fto F by Phi(a ⊗  b)=(∂ a)(∂ b). Expanding each entry of PinMat_3(B) into pure tensors a ⊗  b, the product rule expresses Phi((p_i ⊗  1)^{mathsf T}sfTP(1 ⊗  p_i)) as a sum of four types of term.
+Define the Q-linear map Phi:F ⊗ _Q Fto F by Phi(a ⊗  b)=(∂ a)(∂ b). Expanding each entry of PinMat_3(B) into pure tensors a ⊗  b, the product rule expresses Phi((p_i ⊗  1)^{T} ⊗  p_i)) as a sum of four types of term.
 
 The types carrying ∂ a or ∂ 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,(∂ p_{ialpha})(∂ p_{ibeta}), whose beta_i-summed value is 0&00&4 I_2_{alphabeta}ab. Hence
 
- sum_i beta_i Phi((p_i ⊗  1)^{mathsf T}sfT P(1 ⊗  p_i)) = 4sum_{alpha=1}^2 m_F(P_{alphaalpha}). 
+ sum_i beta_i Phi((p_i ⊗  1)^{T} P(1 ⊗  p_i)) = 4sum_{alpha=1}^2 m_F(P_{alphaalpha}). 
 
 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.