% ===== front.tex ===== \documentclass[11pt]{article} \usepackage[a4paper,margin=27mm]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{microtype} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{enumitem,booktabs,xcolor} \usepackage{hyperref} \hypersetup{colorlinks=true,linkcolor=blue!45!black,citecolor=blue!45!black, urlcolor=blue!45!black,pdftitle={On Green's Problem 55: an inverse theorem for a directional Gowers-type norm}, pdfsubject={An inverse theorem with a single-exponential bound}} \setlength{\parskip}{3pt} \setlength{\parindent}{15pt} \allowdisplaybreaks[2] \setcounter{tocdepth}{1} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\E}{\mathbb E} \newcommand{\Prob}{\mathbb P} \newcommand{\F}{\mathbb F} \newcommand{\C}{\mathbb C} \newcommand{\R}{\mathbb R} \newcommand{\T}{\mathbb T} \newcommand{\one}{\mathbf 1} \newcommand{\Tr}{\operatorname{Tr}} \newcommand{\diag}{\operatorname{diag}} \newcommand{\op}{\mathrm{op}} \newcommand{\HS}{\mathrm F} \newcommand{\mingap}{\operatorname{mingap}} \newcommand{\Herm}{\operatorname{Herm}} \newcommand{\Ran}{\operatorname{Ran}} \newcommand{\im}{\operatorname{Im}} \newcommand{\re}{\operatorname{Re}} \newcommand{\norm}[1]{\left\|#1\right\|} \newcommand{\ip}[2]{\left\langle #1,#2\right\rangle} \newcommand{\D}{\mathcal D} \newcommand{\PP}{\mathcal P} \newcommand{\QQ}{\mathcal Q} \newcommand{\ii}{\mathrm i} \newcommand{\ep}{e_p} \title{\textbf{On Green's Problem 55: a Gowers-type norm on $\F_p^n \times \F_p^n$}} \author{Nevil Wrigley} \date{22 November 2026} \begin{document} \maketitle \begin{abstract} Let \(G=\F_p^n\), where \(p\) is an odd prime. Answering Problem~55 of B.~Green's list \cite{Green}, we prove an inverse theorem for the cube average on \(G^2\) obtained by taking one multiplicative difference in each of the horizontal, vertical, and antidiagonal directions. If a one-bounded function \(f\) has cube average at least \(\delta\), then \(f\) correlates, by at least \(p^{-(C/\delta)^C}\), with a product of three one-variable functions (of \(x\), of \(y\), and of \(x+y\)) and a bilinear phase. The constant \(C\) is absolute; in particular, the bound is independent of the dimension \(n\). In outline, the proof runs as follows. First, a positive kernel on each diagonal selects a space of dimension \(O(\delta^{-1})\) which retains correlation with \(f\), and on which translation along the diagonal acts unitarily. Second, we reduce this matrix-valued structure to scalar phases by constructing a translation-compatible Hermitian matrix field whose eigenvalues are well separated on most diagonals. The quantitative inputs here are a polynomial family of matrix tests that detects every nonscalar two-dimensional compression, and an argument with convex sums of eigenvalues showing that small spectral gaps occur only with polynomially small probability. Third, a Fourier localization argument and an elementary stability theorem for scalar two-cocycles express each scalar phase as a short combination of the required test functions. Throughout, the logarithm of every partition size remains polynomial in \(\delta^{-1}\); this is what yields a single-exponential bound. The paper is self-contained: all auxiliary results, including the construction of coordinates and the near-equality theorem, are proved here. \end{abstract} \tableofcontents \newpage \section{Introduction}\label{intro:section} Let \(p\) be an odd prime and let \(G=\F_p^n\). For a complex-valued function on an abelian group, write \[ \Delta_v f(z)=f(z)\overline{f(z+v)}. \] All averages below use normalized counting measure. For \(f:G^2\to\C\), define \begin{equation}\label{intro:beta} \beta(f)=\E_{x,y,h,k,t\in G} \Delta_{(h,0)}\Delta_{(0,k)}\Delta_{(t,-t)}f(x,y). \end{equation} This quantity is real and nonnegative, as will follow from the rectangle identity \eqref{prelim:rectangle} in Section~\ref{prelim:section}; when \(|f|\le1\), it lies in \([0,1]\). As is customary for Gowers-type norms, we also write \(D(f)=\beta(f)^{1/8}\). For \(u\in\F_p\), put \(\ep(u)=\exp(2\pi\ii u/p)\). A \emph{test} in the original coordinates is a function \[ a_1(x)a_2(y)a_3(x+y)\ep(B(x,y)), \] where the \(a_i:G\to\C\) have modulus at most one and \(B:G\times G\to\F_p\) is bilinear. If moreover \(|a_1|=|a_2|=|a_3|=1\), we call the test a \emph{test phase}. Let \(\tau(f)\) be the supremum of the absolute correlation \(|\E_{x,y}f(x,y)\overline{T(x,y)}|\) of \(f\) with tests \(T\). Since the class of tests is closed under conjugation, it is immaterial whether the conjugate is placed on \(f\) or on the test. \begin{theorem}\label{thm:main} There is an absolute constant \(C\ge1\) such that, for every odd prime \(p\), every \(n\ge0\), every \(0<\delta\le1\), and every function \(f:G^2\to\C\) with \(|f|\le1\), \[ \beta(f)\ge\delta \quad\Longrightarrow\quad \tau(f)\ge p^{-(C/\delta)^C}. \] The one-variable factors in the correlating test may be chosen to have modulus one, and the bilinear form may be chosen alternating. \end{theorem} This answers Problem 55 posed by Ben Green \cite{Green}. The form of the conclusion reflects the three directions. A phase depending only on \(x\), only on \(y\), or only on \(x+y\) is annihilated (that is, sent to the constant function \(1\)) by the vertical, horizontal, or antidiagonal difference, respectively, and a bilinear phase is annihilated after all three differences have been taken. Consequently every test phase has cube average one, so each type of factor in a test is invisible to the cube average. The bilinear factor, in particular, cannot in general be absorbed into the three one-variable factors. To see this, fix a phase \(s\) on \(G^2\) and a base point \((X,Y)\), and consider the \emph{normalized rectangle} \[ N_s(h,k)=\frac{s(X+h,Y+k)\,s(X,Y)}{s(X+h,Y)\,s(X,Y+k)}. \] If \(s(x,y)=a_1(x)a_2(y)a_3(x+y)\) with unimodular factors, then \[ N_s(h,k)=\frac{a_3(X+Y+h+k)\,a_3(X+Y)}{a_3(X+Y+h)\,a_3(X+Y+k)}, \] which is symmetric in \(h\) and \(k\). If instead \(s(x,y)=\ep(B(x,y))\), then \(N_s(h,k)=\ep(B(h,k))\). On \(\F_p^2\times\F_p^2\), the alternating form \(B(x,y)=x_1y_2-x_2y_1\) therefore gives a bilinear phase that is not a product of phases of \(x\), \(y\), and \(x+y\). On the other hand, only the alternating part of a bilinear form is needed. Since \(p\) is odd, every bilinear form is the sum of a symmetric and an alternating form. If \(S\) is symmetric and \(Q(x)=S(x,x)/2\), then \[ S(x,y)=Q(x+y)-Q(x)-Q(y), \] so the symmetric phase \(\ep(S(x,y))\) can be absorbed into the three one-variable factors. The assertion about their moduli follows by optimizing the factors one at a time: once the other factors are fixed, the correlation is linear in the remaining one-variable function, and the best one-bounded choice can be taken to be a phase. \subsection{Context} Directional uniformity norms arise naturally when Cauchy--Schwarz is applied to configurations whose increments lie in specified subspaces. Mili\'cevi\'c formulates an inverse problem in this generality and discusses the horizontal, vertical, and antidiagonal directions in connection with squares \cite{Milicevic}. The corresponding problem over \(\F_5^n\), with the diagonal direction in place of the antidiagonal direction, appears as Problem~4.5 in Peluse's survey \cite{Peluse}; reflection in the second coordinate interchanges the two formulations. Exact solutions and qualitative stability for related partial difference equations also fit the cohomological framework developed by Austin \cite{Austin}. The arguments below are finite and quantitative, and none of these works is needed as an input to the proof. \subsection{Outline of the proof} It is convenient to reflect the second coordinate (Section~\ref{prelim:section}). The antidiagonal direction then becomes simultaneous translation \(T_h(a,b)=(a+h,b+h)\), which preserves each diagonal \(\{a-b=d\}\). The proof has four stages. Since the aim is a single-exponential bound, we indicate at each stage where the size of the bound is determined. \emph{Stage 1: spectral spaces along the diagonals (Section~\ref{bundle:section}).} On each diagonal, a positive kernel built from \(f\) selects a space of dimension \(O(\delta^{-1})\). Translation along the diagonal carries these spaces to one another unitarily, so that, in suitable coordinates, it acts by a unitary cocycle \(\sigma_h\), and \(f\) retains a definite correlation with a fixed linear functional of the resulting vector field. We choose the coordinates at one prescribed accuracy, with the logarithm of their rectangular partition complexity bounded by a polynomial (Appendix~\ref{basis:section}). \emph{Stage 2: a Hermitian field with separated eigenvalues (Section~\ref{separation:section}).} We seek a Hermitian matrix field \(A_*\) with \(A_*(T_hz)=\sigma_h(z)A_*(z)\sigma_h(z)^*\) whose eigenvalues are separated by a polynomially small gap on most diagonals. There are three quantitative ingredients. A tensor argument shows that an explicit class of fields detects a nonscalar compression on any family of two-dimensional planes of positive measure (Lemma~\ref{lem:detector}). A bounded covariance potential selects polynomially many such fields which, together, detect every plane on most diagonals (Lemma~\ref{lem:selection}). Finally, convex sums of eigenvalues show that a random linear combination of the selected fields has a small gap only with polynomially small probability (Lemma~\ref{lem:gap}). \emph{Stage 3: scalarization (Section~\ref{eigen:section}).} The separated eigenvalues allow us to choose eigenvectors with controlled step approximations. Translation acts on each eigenvector by a scalar phase, so the correlating function becomes a sum of \(O(\delta^{-1})\) terms, each a controlled coefficient times a scalar phase. \emph{Stage 4: scalar phases (Section~\ref{scalar:section}).} A Fourier argument localizes each scalar phase to a product of cosets, where a near-extremal cube average yields a test phase by the stability theorem of Appendix~\ref{near:section}. Transport along the diagonals, followed by iteration on the remaining diagonals, gives a global approximation by a combination of tests. Its cost is at most \(p\) raised to a power polynomial in \(\delta^{-1}\). All partition sizes in the argument have polynomial logarithms, so they contribute only to this polynomial power, and the final bound is single-exponential. Section~\ref{completion:section} chooses all parameters and closes the argument. The order matters: every accuracy required of the initial coordinates is determined from \(\delta\) alone, before those coordinates are constructed. The appendices prove the three auxiliary ingredients used in the body: near-equality stability (Appendix~\ref{near:section}), controlled coordinates for the spectral spaces (Appendix~\ref{basis:section}), and a matrix factorization inequality (Appendix~\ref{matrix:section}). \subsection{Notation and conventions} Throughout, \(p\) is an odd prime, \(G=\F_p^n\), and \(\ep(u)=\exp(2\pi\ii u/p)\) for \(u\in\F_p\). We write \(\T\) for the unit circle; a \emph{phase} is a function with values in \(\T\), and a function is \emph{one-bounded} if its values have modulus at most one. All averages \(\E\) use normalized counting measure, and \(L^2\) norms of functions on finite sets are normalized accordingly; a subscript such as \(\norm{\cdot}_{2,R}\) or \(\E_R\) indicates normalized measure on the set \(R\). Inner products are linear in the second argument. Vector norms are Euclidean, and finite matrices carry the unnormalized Frobenius norm \(\norm{M}_{\HS}=(\Tr M^*M)^{1/2}\), the operator norm \(\norm{M}_{\op}\), or the trace norm \(\norm{M}_1\), unless explicitly stated otherwise. For a matrix field \(X_h(z)\) depending on \(h\in G\) and \(z\in G^2\), we write \(\norm{X}_{L^2_{h,z}(\HS)}=(\E_{h,z}\norm{X_h(z)}_{\HS}^2)^{1/2}\), and similarly for other norms and variables. The letter \(C\) denotes a positive absolute constant which may change from one occurrence to the next. A quantity is \emph{polynomial} in specified parameters \(x_i\ge0\) if it is at most \((C+\sum_i x_i)^C\). We use this convention only for a fixed number of compositions; in particular, it never hides an exponent depending on a partition size or on \(\delta\). \subsection{AI declaration} This paper was generated during several sessions with ChatGPT. The author sent it to Ben Green, who said that since September he had been writing a human-readable paper on a similar result, also obtained using AI, with James Leng and Sarah Peluse. They additionally use the result to obtain bounds for subsets of $\F_p^n \times \F_p^n$ not containing any square $(x, y), (x , y + d), (x + d, y), (x + d, y + d)$. Ben Green said he was happy for my paper to be posted on Hexagon. \section{Rectangles, translation, and step approximation}\label{prelim:section} \subsection{Reflected coordinates and the rectangle identity} For the proof we make the change of variables \(a=x\), \(b=-y\), and retain the letter \(f\) for the reflected function. Put \[ z=(a,b),\qquad d=a-b,\qquad T_hz=(a+h,b+h). \] The third direction is now simultaneous translation. A test becomes \begin{equation}\label{prelim:test} u(a)v(b)w(a-b)\ep(B(a,b)). \end{equation} Under this change of coordinates the antidiagonal increment \((t,-t)\) becomes \((t,t)\), the vertical increment changes sign (which is immaterial, since it is uniformly distributed), and \(x+y\) becomes \(a-b\). Thus both \(\beta\) and \(\tau\) are preserved, with the bilinear form changed accordingly. For a rectangle \(w=(a_0,a_1,b_0,b_1)\), write \[ \square g(w)=g(a_0,b_0)\overline{g(a_0,b_1)} \overline{g(a_1,b_0)}g(a_1,b_1), \qquad \norm g_\square^4=\E_w\square g(w). \] The latter expression is nonnegative: it is \(\E_{b_0,b_1}|\E_a g(a,b_0)\overline{g(a,b_1)}|^2\). The definition makes sense equally on a product of two finite probability spaces, and in particular on a product of cosets. For a subgroup \(H\le G\) and a function \(F\) of several variables \(x_1,\ldots,x_k\), put \[ \mathcal I_HF(x_1,\ldots,x_k)=\E_{h\in H}F(x_1+h,\ldots,x_k+h). \] Applied to a function of a rectangle \(w=(a_0,a_1,b_0,b_1)\), this translates all four coordinates, that is, it applies \(T_h\) to all four vertices \((a_i,b_j)\). The operator \(\mathcal I_H\) is an orthogonal projection in \(L^2\): it is self-adjoint, and applying it twice has the same effect as applying it once. Directly from the definitions, \begin{equation}\label{prelim:rectangle} \begin{split} D(g)^8:=\beta(g) &=\E_h\norm{g\,\overline{T_hg}}_\square^4\\ &=\E_w\square g(w)\, \overline{\mathcal I_G\square g(w)} =\norm{\mathcal I_G\square g}_2^2. \end{split} \end{equation} Here \((T_hg)(z)=g(T_hz)\). For the first equality, recall that in the reflected coordinates the third difference is \(\Delta_{(h,h)}\), so \(\beta(g)\) is the average over \(h\) of the cube average of \(g\,\overline{T_hg}\) in the horizontal and vertical directions; writing \(a_0=a\), \(a_1=a+h'\), \(b_0=b\), \(b_1=b+k\) for the base point and the remaining increments \(h',k\), that cube average is \(\norm{g\,\overline{T_hg}}_\square^4\). For the second, note that \(\square(g\,\overline{T_hg})(w)=\square g(w)\,\overline{\square g(T_hw)}\), where \(T_h\) acts on all four vertices, and average over \(h\). The last equality is the orthogonal projection identity \(\ip{\mathcal I_GF}{F}=\norm{\mathcal I_GF}_2^2\). These formulas also hold on a product of cosets of \(H\), with all increments restricted to \(H\). \begin{lemma}[Rectangular Cauchy--Schwarz]\label{prelim:box-cs} For functions \(g_{ij}\) on \(A_i\times B_j\), where the four sets have uniform probability measure, \[ \left|\E\prod_{i,j=0}^1\mathcal C^{i+j}g_{ij}(a_i,b_j)\right| \le\prod_{i,j=0}^1\norm{g_{ij}}_{\square(A_i,B_j)}. \] Here \(\mathcal C\) is complex conjugation. Also, if \(|u|,|v|\le1\), then \[ |\E_{a,b}g(a,b)u(a)v(b)|\le\norm g_\square. \] \end{lemma} \begin{proof} Average the first expression in each \(b\)-coordinate, and apply Cauchy--Schwarz in \((a_0,a_1)\). Its square is at most the product, over \(j=0,1\), of \[ R_j=\E_{a_0,a_1} \left|\E_{b\in B_j}g_{0j}(a_0,b) \overline{g_{1j}(a_1,b)}\right|^2. \] Expanding the square and applying Cauchy--Schwarz in the two \(b\)-variables gives \[ R_j\le\norm{g_{0j}}_\square^2\norm{g_{1j}}_\square^2. \] This proves the first assertion. For the second, first apply Cauchy--Schwarz in \(a\), expand, and then apply it in \((b,b')\). The resulting fourth-power bound is \[ |\E g u v|^4\le \E_{b,b'}\left|\E_a g(a,b)\overline{g(a,b')}\right|^2 =\norm g_\square^4. \] \end{proof} \subsection{Finite averages and rectangular partitions} A function on \(G^2\) is \emph{\(L\)-step} if it is constant on the products of two partitions of \(G\), each with at most \(L\) classes. For a vector- or matrix-valued function, the same pair of partitions must determine all coordinates. Refining finitely many partitions multiplies their class counts; equivalently, it adds their logarithms. All vector norms are Euclidean and all finite matrix Frobenius norms are unnormalized, except where explicitly stated otherwise. Inner products are linear in the second argument. \begin{lemma}[Sampling a Hilbert-space average]\label{prelim:sampling} Let \(X\) be a random vector in a Hilbert space, with \(\E\norm X^2\le1\). For every positive integer \(q\), some sample \(X_1,\ldots,X_q\) satisfies \[ \left\|q^{-1}\sum_{i=1}^qX_i-\E X\right\|^2 \le q^{-1}. \] The same assertion holds for Hilbert-valued functions, using their \(L^2\) space as the Hilbert space. \end{lemma} \begin{proof} Take independent samples. Expanding the squared norm, the mixed terms have mean zero after subtracting \(\E X\). Thus \[ \E\left\|q^{-1}\sum_i(X_i-\E X)\right\|^2 =q^{-1}\E\norm{X-\E X}^2\le q^{-1}. \] At least one sample attains the average bound. \end{proof} \begin{lemma}[Approximating product averages] \label{prelim:rankone-step} Suppose that \[ h(a,b)=\E_\omega u_\omega(a)v_\omega(b), \qquad |u_\omega|,|v_\omega|\le1. \] For every \(00\), and \(r=\lceil8/\delta\rceil\). Fix a desired accuracy \(0<\zeta\le1/2\). There exist \(\delta/8\le\lambda\le\delta/4\), a column \(u(z)\in\C^r\), a row \(\ell(z)\in\C^{1\times r}\), and unitary matrices \(\sigma_h(z)\) such that \begin{equation}\label{bundle:correlation} \norm{u(z)}\le1,\qquad \norm{\ell(z)}\le\lambda^{-1/2}\le\lambda^{-1},\qquad \re\E_z\overline{f(z)}\,\ell(z)u(z)\ge3\delta/4. \end{equation} They satisfy the exact identities \begin{equation}\label{bundle:cocycle} u(T_hz)=\sigma_h(z)u(z),\qquad \sigma_{h+k}(z)=\sigma_h(T_kz)\sigma_k(z). \end{equation} There is an orthogonal projection \(P_{\rm act}(d)\) onto the first \(m(d)\le r\) coordinates, with \(d=a-b\), for which \[ u=P_{\rm act}u,\qquad \ell=\ell P_{\rm act}. \] The matrices \(\sigma_h\) preserve this active space and are the identity on its orthogonal complement. The row and cocycle have step approximants \(\widetilde\ell\) and \(\widetilde\sigma_h\), with \(\norm{\widetilde\ell}\le\lambda^{-1}\) and \(\widetilde\sigma_h\) unitary, such that \begin{equation}\label{bundle:step-errors} \norm{\ell-\widetilde\ell}_{L^2_z}\le\zeta,\qquad \norm{\sigma-\widetilde\sigma}_{L^2_{h,z}(\HS)}\le\zeta, \qquad \log L\le(C+\delta^{-1}+\zeta^{-1})^C. \end{equation} Here \(L\) bounds the number of classes in each vertex partition. The partitions for the cocycle may depend on \(h\). \end{lemma} In words: \(u(z)\) records, in an orthonormal basis of the selected space on the diagonal through \(z\), the coordinates of the part of the vector of values of \(f\) along that diagonal lying in the selected space; \(\ell(z)\) is evaluation at the base point in these coordinates; and \(\sigma_h(z)\) is the change of coordinates under translation by \(h\). The parameter \(\zeta\) is fixed before the coordinates are chosen. No assertion is made that the same coordinates work with the displayed bound at every finer accuracy. This single prescribed accuracy is enough for the proof; the later parameters will be chosen so that all uses of these approximations request errors at least \(\zeta\). \begin{proof} For \(t\in G\), write \[ \rho_t(a,b)=f(a,b)\overline{f(a+t,b+t)},\qquad w_t(a,b)=\E_{c,s}\rho_t(c,b)\rho_t(a,s)\overline{\rho_t(c,s)}. \] The function \(w_t\) is an average of products of one-bounded functions of \(a\) and of \(b\). Moreover, \[ \E_{a,b}\overline{\rho_t(a,b)}\,w_t(a,b) =\norm{\rho_t}_{\square}^4. \] This is the conjugate of the rectangular average, which is real. Set \(v_z(i)=f(T_i z)\), and define \begin{equation}\label{bundle:kernel} A_z(i,j)=w_{j-i}(T_i z). \end{equation} To see its positivity, introduce vectors in \(L^2(G^2)\): \begin{equation}\label{bundle:gram-vectors} \xi_{z,i}(c,s)= \overline{f(c+i,b+i)}\, \overline{f(a+i,s+i)}\,f(c+i,s+i). \end{equation} Changing \(c,s\) by \(i\) in the inner product gives \[ A_z(i,j)=\ip{\xi_{z,i}}{\xi_{z,j}}. \] Thus \(A_z\) is positive and \(\Tr A_z=\E_i\norm{\xi_{z,i}}_2^2\le1\). Its spectrum is contained in \([0,1]\). Writing \(t=j-i\), and then replacing \(z\) by \(T_i z\), gives \begin{equation}\label{bundle:energy} \E_z\ip{v_z}{A_zv_z} =\E_{t,z}\overline{\rho_t(z)}w_t(z) =\beta(f)\ge\delta. \end{equation} For the moment take any \(\lambda\in[\delta/8,\delta/4]\). Let \(P_z\) be the spectral projection of \(A_z\) onto the eigenvalues strictly greater than \(\lambda\), and put \(H_z=\Ran P_z\), \(m_z=\dim H_z\). The trace bound implies \(m_z\le\lambda^{-1}\le r\). Since \(A_z\le\lambda I+P_z\), \begin{equation}\label{bundle:projection-energy} \E_z\norm{P_zv_z}_2^2\ge\delta-\lambda\ge3\delta/4. \end{equation} The evaluation vectors \(c_j(z)=P_z(\,\cdot\,,j)\) obey \begin{equation}\label{bundle:columns} \ip{c_i(z)}{c_j(z)}=P_z(i,j),\qquad \E_j c_j(z)c_j(z)^*=I_{H_z}. \end{equation} Indeed \(\ip{c_j}{g}=g(j)\) for \(g\in H_z\). Also \(P_z\le\lambda^{-1}A_z\), so \begin{equation}\label{bundle:evaluation-bound} \norm{c_j(z)}_2^2=P_z(j,j) \le\lambda^{-1}A_z(j,j)\le\lambda^{-1}. \end{equation} In particular evaluation at any point has norm at most \(\lambda^{-1/2}\), hence at most \(\lambda^{-1}\). Let \(S_hg(i)=g(i+h)\). Formula \eqref{bundle:kernel} gives \[ A_{T_hz}=S_hA_zS_h^*, \] and therefore \(P_{T_hz}=S_hP_zS_h^*\). The shift \(S_h\) maps \(H_z\) unitarily onto \(H_{T_hz}\), and \(m_z\) depends only on \(d=a-b\). Choose an orthonormal basis of \(H_z\), and let \(\mathcal U_z:\C^r\to L^2(G)\) send the first \(m_z\) standard basis vectors to it and the other vectors to zero. Then \[ \mathcal U_z\mathcal U_z^*=P_z,\qquad \mathcal U_z^*\mathcal U_z=P_{\rm act}(d). \] Define \[ u(z)=\mathcal U_z^*v_z,\qquad \ell(z)=\bigl((\mathcal U_ze_j)(0)\bigr)_{j=1}^r, \] and \begin{equation}\label{bundle:sigma} \sigma_h(z)=\mathcal U_{T_hz}^*S_h\mathcal U_z+I-P_{\rm act}(d). \end{equation} This is unitary: its first summand is the unitary change of coordinates on the active space, and its second summand is the identity on the complement. Composition of shifts proves the cocycle identity. The equality \(v_{T_hz}=S_hv_z\) proves the other identity in \eqref{bundle:cocycle}. The norm bounds follow from orthogonal projection and \eqref{bundle:evaluation-bound}. Finally, \(\ell(z)u(z)=(P_zv_z)(0)\). Translation covariance and averaging over a new uniform shift \(i\) show \[ \E_z\overline{f(z)}\,\ell(z)u(z) =\E_z\E_i\overline{v_z(i)}(P_zv_z)(i) =\E_z\norm{P_zv_z}_2^2. \] This proves \eqref{bundle:correlation} for any choice of bases. It remains to make that choice with controlled rectangular complexity. Lemma~\ref{basis:coordinates} below chooses \(\lambda\) in the specified interval and bases for which \eqref{bundle:step-errors} holds. None of the exact identities or estimates just proved depends on that choice. \end{proof} Fix these coordinates from now on. Comparing them to the coordinates at the point \((d,0)\) on each diagonal gives \begin{equation}\label{bundle:Phi} \Phi(a,b)=\sigma_b(d,0),\qquad u_0(d)=u(d,0). \end{equation} The cocycle law yields \begin{equation}\label{bundle:Phi-laws} \Phi(T_hz)=\sigma_h(z)\Phi(z),\qquad u(z)=\Phi(z)u_0(d). \end{equation} Both \(\Phi\) and \(\sigma_h\) preserve the active space and fix its orthogonal complement. The spectral construction gives more than a correlation with \(f\). Every equivariant vector in the active space has a nontrivial directional cube average. \begin{lemma}[Nondegeneracy of the active space]\label{bundle:nondegeneracy} Let \(F(z)\in\Ran P_{\rm act}(d)\), with \(\norm{F(z)}\le1\), satisfy \(F(T_hz)=\sigma_h(z)F(z)\). Then \(g(z)=\lambda\ell(z)F(z)\) is one-bounded and \begin{equation}\label{bundle:lower-bound} D(g)^2\ge\lambda^3\norm{F}_{L^2_z}^2. \end{equation} \end{lemma} \begin{proof} On the diagonal through \(z\), its vector of values is \[ v_z^g(h)=g(T_hz) =\lambda\bigl(\mathcal U_{T_hz}\sigma_h(z)F(z)\bigr)(0) =\lambda\bigl(\mathcal U_zF(z)\bigr)(h). \] Thus \(v_z^g\in H_z\) and \(\norm{v_z^g}_2=\lambda\norm{F(z)}\). Since \(A_z\ge\lambda I\) on \(H_z\), the same expansion as in \eqref{bundle:energy} gives \[ \lambda^3\norm{F}_2^2 \le \E_z\ip{v_z^g}{A_zv_z^g} =\E_{h,z}w_h(z)\overline{g(z)}g(T_hz) \le\E_h\norm{g\,\overline{T_hg}}_{\square}. \] For the last inequality, use that \(w_h\) is an average of bounded products of a function of \(a\) and a function of \(b\), and apply rectangular Cauchy--Schwarz. Taking the fourth-power mean in \(h\) and using \eqref{prelim:rectangle} bounds the last expression by \(D(g)^2\). \end{proof} % ===== matrix.tex ===== \section{Separating equivariant matrix fields}\label{separation:section} Fix the coordinates supplied by Lemma~\ref{bundle:coordinates}, at an accuracy \(\zeta\) which will be chosen in Section~\ref{completion:section}. Write \(P(d)=P_{\rm act}(d)\). We use the normalized row \(\lambda\ell\), which has norm at most one and a contraction step approximation of error at most \(\zeta\). The cocycle has a unitary step approximation with joint \(L^2\) error at most \(\zeta\). Let \(L\ge2\) be a common class bound, so \begin{equation}\label{eq:initial-complexity} \log L\le(C+\delta^{-1}+\zeta^{-1})^C. \end{equation} The unitary field \(\Phi\) from \eqref{bundle:Phi} satisfies \begin{equation}\label{eq:Phi} \Phi(T_hz)=\sigma_h(z)\Phi(z),\qquad u(z)=\Phi(z)u_0(d). \end{equation} We will repeatedly use the following consequence of Lemma~\ref{bundle:nondegeneracy}: for any active column of norm at most one satisfying \(F(T_hz)=\sigma_h(z)F(z)\), \begin{equation}\label{eq:bundle-lower} D(\lambda\ell F)^2\ge\lambda^3\norm F_2^2. \end{equation} The purpose of this section is to construct a Hermitian field compatible with the same cocycle and with a polynomial lower bound for its spectral gaps on most diagonals. The natural source of compatible fields is averaging along the diagonals: for any matrix field \(X\), the field \(\Pi X\) defined in Section~\ref{separation:detector} is automatically compatible with the cocycle, and on the diagonal \(d\) its eigenvalues are those of a single matrix \(V_X(d)\). The difficulty is to choose \(X\) so that \(V_X(d)\) has well separated eigenvalues. A repeated eigenvalue means that the compression of \(V_X(d)\) to some two-dimensional plane is scalar, so we need fields which, between them, see every plane. We first build an invariant tensor from \(f\) (Section~\ref{separation:tensor}), and use it to show that an explicit class of fields detects a nonscalar compression on any family of planes of positive measure (Lemma~\ref{lem:detector}). We then select polynomially many fields that work for every plane on most diagonals (Lemma~\ref{lem:selection}), and show that a random combination of them has polynomially separated eigenvalues (Lemma~\ref{lem:gap} and Corollary~\ref{cor:field-gap}). Finally we record the complexity of the resulting field. \subsection{An invariant four-index tensor}\label{separation:tensor} For a rectangle \(w=(a_0,a_1,b_0,b_1)\), write \(z_{ij}=(a_i,b_j)\), \(d_{ij}=a_i-b_j\). The corners \(01,10\) are conjugated in a rectangular product. Accordingly, let \[ G_w=\Phi(z_{00})\otimes\overline{\Phi(z_{01})} \otimes\overline{\Phi(z_{10})}\otimes\Phi(z_{11}), \] and let \(C_w\) be the analogous tensor product of the four rows \(\lambda\ell(z_{ij})\), with the same conjugations. Let \(I_4\) record the orbit under simultaneous translation of the four vertices. Define \begin{equation}\label{eq:fixed-tensor} \psi(w)=\E\bigl((C_wG_w)^*\mid I_4\bigr),\qquad F(w)=G_w\psi(w). \end{equation} These are columns in \((\C^r)^{\otimes4}\), of norm at most one. The tensor \(\psi\) is invariant under simultaneous translation. Both \(\psi\) and \(F\) are independent of any plane field that will be chosen later. The covariance law gives the useful formula \begin{equation}\label{eq:F-average} F(w)=\E_h \bigl(\sigma_h(z_{00})\otimes\overline{\sigma_h(z_{01})} \otimes\overline{\sigma_h(z_{10})}\otimes\sigma_h(z_{11})\bigr)^* C_{T_hw}^* . \end{equation} In particular, if \(\varepsilon>0\) and \(\zeta\le\varepsilon/32\), there is a partition \(\PP\) of \(G\), with at most \(K\) classes, for which \begin{equation}\label{eq:F0} F_0=\E(F\mid\PP(a_0),\PP(a_1),\PP(b_0),\PP(b_1)), \quad \norm{F-F_0}_2\le\varepsilon,\quad \norm{F_0}\le1, \end{equation} and \begin{equation}\label{eq:K-bound} \log K\le C\varepsilon^{-2}\log(2L). \end{equation} To prove this, replace the eight row and unitary factors in \eqref{eq:F-average} by their prescribed step approximants. Telescoping and averaging in \(h\) cost at most \(8\zeta\le \varepsilon/4\) in \(L^2\). Lemma~\ref{prelim:sampling}, applied in the Hilbert space of tensor-valued functions of the rectangle, supplies a sample of \(O(\varepsilon^{-2})\) shifts with error at most \(\varepsilon/4\). Refine all vertex partitions of the sampled factors, including their translates, into one partition \(\PP\) of \(G\). The logarithm of its size is \(O(\varepsilon^{-2}\log(2L))\). Conditional expectation of \(F\) onto these four labels improves the approximation and preserves its unit ball. This proves \eqref{eq:F0}--\eqref{eq:K-bound}. \subsection{Detecting a nonscalar compression}\label{separation:detector} For any complex matrix field \(X\), put \[ (\Pi X)(z)=\E_h\sigma_h(z)^*X(T_hz)\sigma_h(z),\qquad V_X(d)=\Phi(z)^*(\Pi X)(z)\Phi(z). \] Equivalently, \(V_X(d)\) is the average of \(\Phi(a,b)^*X(a,b)\Phi(a,b)\) over \(a-b=d\). This follows by substituting \eqref{eq:Phi} into the average. In particular \(V_X\) depends only on \(d\), and \[ (\Pi X)(T_hz)=\sigma_h(z)(\Pi X)(z)\sigma_h(z)^*. \] For a rank-two orthogonal projection \(R\), define \[ D_R M=RMR-\tfrac12\Tr(RMR)R. \] This is the orthogonal projection onto the complex matrices supported on \(R\) and traceless there. On Hermitian matrices it is an orthogonal projection in the real Frobenius Hilbert space. Fix \(K\ge2\); in the application, \(K\) is the class bound from \eqref{eq:K-bound}. Let \(\mathcal X_K\) contain the Hermitian real and imaginary parts of all fields \begin{equation}\label{eq:large-class} H(a,b)=h(a,b)v(a)w(b)E_{kl}, \end{equation} where \(h\) is one-bounded and \(K^3\)-step, \(|v|,|w|\le1\), and \(E_{kl}\) is a matrix unit. Here the Hermitian real and imaginary parts mean \((H+H^*)/2\) and \((H-H^*)/(2\ii)\). Each \(X\in\mathcal X_K\) has \(\norm{X(z)}_{\HS}\le1\). The constants \(E_{ll}\) are included. Every fixed member admits Hermitian contraction step approximants at all precisions \(e\), with \begin{equation}\label{eq:large-class-complexity} L_X(e)\le K^3(C/e)^4. \end{equation} Indeed, retain the table \(h\) and round the two one-variable factors in the unit disk. The displayed count is deliberately generous. The definition of the class involves no plane field. \begin{lemma}[Polynomial detection]\label{lem:detector} Fix \(0\nu. \end{equation} \end{lemma} \begin{proof} Suppose every test has the left side of \eqref{eq:detector-conclusion} at most \(\nu\). Write \(q=\Prob(Q)\), and extend \(R\) arbitrarily off \(Q\). \par\medskip\noindent\textbf{Active mass and a nonzero tensor.}\quad If coordinate \(l\) is inactive on a particular diagonal, then \(\Phi e_l=e_l\) there and \(V_{E_{ll}}=E_{ll}\). For any plane \(R\), the rank-one matrix \(RE_{ll}R\) has trace \(\norm{Re_l}^2\), and its traceless part has Frobenius norm \(\norm{Re_l}^2/\sqrt2\). Since the constants \(E_{ll}\) belong to the test class, summing their bounds over the coordinates gives \[ r\nu\ge\sum_{l=1}^r\E\one_Q\one_{\{l>m(d)\}} \norm{D_RV_{E_{ll}}}_{\HS} =\frac1{\sqrt2}\E\one_Q\Tr(R(I-P)). \] Since \(\nu<3q/(2\sqrt2r)\), it follows that \[ \E\one_Q\Tr(RP)\ge q/2. \] Choose a standard coordinate vector \(v\) such that \(\E\one_Q\norm{PRv}^2\ge q/(2r)\), and set \[ g(z)=\one_Q(d)\lambda\ell(z)\Phi(z)R(d)v. \] The corresponding active column is \(\one_Q\Phi PRv\). Equation \eqref{eq:bundle-lower} therefore gives \[ D(g)^8\ge \left(\frac{\lambda^3q}{2r}\right)^4\ge\kappa. \] The rectangular product of \(g\) is \(C_wG_w\,u(w)\), where \(u\) is the tensor product of the four columns \(\one_Q(d_{ij})R(d_{ij})v\), with the usual conjugations. It is orbit-invariant and has norm at most one. It vanishes unless \(d_{00}\in Q\), and its first index lies in \(R(d_{00})\). Let \(R_0\) act on that index, set \(\xi=R_0\psi\), and write \(Q_0=\{w:d_{00}\in Q\}\). The rectangle identity \eqref{prelim:rectangle} yields \begin{equation}\label{eq:xi-mass} \kappa\le\E\bigl|\psi^*u\bigr|^2 \le\E\one_{Q_0}\norm{\xi}^2. \end{equation} \par\medskip\noindent\textbf{A direct reduced-tensor pairing.}\quad For \(i=01\) or \(10\), arrange a four-index tensor \(v\) as an \(r^3\)-by-\(r\) matrix \(Z_i(v)\), with index \(i\) as the column index, and put \[ \Gamma_i(v)=Z_i(v)Z_i(v)^*,\qquad \gamma_i=\Gamma_i(\psi),\qquad M_i=\Gamma_i(F_0). \] If \(U_w\) is the tensor action of the three retained corner matrices, then \[ \Gamma_i(F)=U_w\gamma_iU_w^*. \] Let \(P_R\) apply \(D_{R(d_{00})}\) to every \(00\)-block of a three-index matrix. Orthogonality of this projection gives the exact identity \[ \norm{P_R\gamma_i}_{\HS}^2 =\ip{\Gamma_i(F)}{U_w(P_R\gamma_i)U_w^*}. \] The elementary estimates \[ \norm{\Gamma_i(v)}_{\HS}\le\norm v^2,\qquad \norm{\Gamma_i(v)-\Gamma_i(w)}_{\HS} \le(\norm v+\norm w)\norm{v-w} \] follow by expanding \(ZZ^*-Z'Z'^*=(Z-Z')Z^*+Z'(Z-Z')^*\). Thus \(\Gamma_i\) is \(2\)-Lipschitz on the unit ball. Also \(\norm{P_R\gamma_i}_{\HS}\le1\). Hence \begin{equation}\label{eq:direct-pairing} \E\one_{Q_0}\norm{P_R\gamma_i}_{\HS}^2 \le2\varepsilon+ \left|\E\one_{Q_0}\ip{M_i}{U_w(P_R\gamma_i)U_w^*}\right|. \end{equation} The pairing retains the whole partition table in \(M_i\). Its bound will depend on the number of matrix indices, but not on the number of entries in that table. \par\medskip\noindent\textbf{Expanding matrix indices, without expanding labels.}\quad For \(i=01\), parameterize the rectangle by \[ (a_0,a_1,b_0,b_1)=(x,y+s,y,y+t). \] For fixed \(s,t\), the other two retained corner matrices depend only on \(y\). Write their prescribed conjugates as \(A(y),C(y)\), so \(U_w=\Phi(x,y)\otimes A(y)\otimes C(y)\). Let \(\rho,\sigma,\alpha,\beta\in[r]^2\), and let \[ B_{\alpha\beta}(d) =D_{R(d)} \bigl((\gamma_i)_{(a,\alpha),(c,\beta)}\bigr)_{a,c}. \] Because \(\gamma_i\) is orbit-invariant, this block depends only on \(d=x-y\), once \(s,t\) are fixed. Moreover \[ D_RB_{\alpha\beta}=B_{\alpha\beta}, \qquad\norm{B_{\alpha\beta}}_{\HS}\le1. \] The pairing in \eqref{eq:direct-pairing} is the sum of at most \(r^{10}\le r^{12}\) terms, indexed by \(u,v,\rho,\sigma,\alpha,\beta\), whose integrands are \begin{align} &\overline{(M_i)_{(u,\rho),(v,\sigma)}} A_{\rho_1,\alpha_1}C_{\rho_2,\alpha_2} \overline{A_{\sigma_1,\beta_1}}\, \overline{C_{\sigma_2,\beta_2}}\notag\\[-2pt] &\hspace{18mm}\times \Tr\!\left(B_{\alpha\beta}(d) \Phi(x,y)^*E_{vu}\Phi(x,y)\right). \label{eq:exact-indices} \end{align} The first factor is a bounded table of \(\PP(x),\PP(y),\PP(y+s),\PP(y+t)\). As a function of \(x,y\), it has at most \(K\) classes in \(x\) and \(K^3\) in \(y\). The four other scalar entries combine into one bounded function of \(y\). Thus their product with \(E_{vu}\) is precisely a field \(H\) of the form \eqref{eq:large-class}. Average first over \(x-y=d\) in each term. Since \(B=RBR\) and \(\Tr B=0\), even for a non-Hermitian block, \[ \Tr(BV_H)=\Tr(BD_RV_H). \] The Hermitian real and imaginary parts of \(H\) belong to \(\mathcal X_K\). The contradictory assumption and Frobenius Cauchy--Schwarz therefore bound the integral of each term by \(2\nu\). For \(i=10\), use \((a_0,a_1,b_0,b_1)=(x,x+s,y,x+t)\); the extra factors depend only on \(x\), and the same conclusion holds. We have proved \begin{equation}\label{eq:reduced-small} \E\one_{Q_0}\norm{P_R\gamma_i}_{\HS}^2 \le2\varepsilon+2r^{12}\nu. \end{equation} All test fields used in this calculation are independent of \(Q,R\); only the paired blocks \(B_{\alpha\beta}\) carry that dependence. \par\medskip\noindent\textbf{The two incompatible plane actions.}\quad Our parameter choices imply \begin{equation}\label{eq:reduced-L1} \E\one_{Q_0}\norm{P_R\gamma_i}_{\HS} \le\frac{\kappa}{2^9(r+1)^{3/2}}. \end{equation} Put \(\rho_i=\Gamma_i(\xi)\). Its \(00\)-blocks are the compressions \(RMR\) of those of \(\gamma_i\). The nonscalar parts of these blocks are precisely \(P_R\gamma_i\). Therefore, for any unitary \(A_0\) acting on the plane at index \(00\), \[ \E\one_{Q_0}\norm{A_0\rho_iA_0^*-\rho_i}_1 \le2r^{3/2}\E\one_{Q_0}\norm{P_R\gamma_i}_{\HS} \le\kappa/256. \] Here the trace norm is at most \(r^{3/2}\) times the Frobenius norm on \(r^3\)-by-\(r^3\) matrices. We use Lemma~\ref{matrix:purification}, proved in Appendix~\ref{matrix:section}: \[ \min_{D\ {\rm unitary}}\norm{UZ-ZD}_{\HS}^2 \le\norm{UZZ^*U^*-ZZ^*}_1. \] For each \(d\in Q\), fix an orthonormal basis of the plane \(R(d)\), and let \(A\) and \(B\) be the sign change and the swap of the two basis vectors, so that \(AB=-BA\); we use them on \(R(d_{00})\). Applied to \(Z_{01}(\xi)\), this inequality gives an action \(U_{01}\) on index \(01\) with \[ \E\one_{Q_0}\norm{(A_0-U_{01})\xi}^2\le\kappa/256. \] Applied to \(Z_{10}(\xi)\), it gives an action \(V_{10}\) with the same bound for \(B_0-V_{10}\). These actions may depend on the rectangle; their indices are disjoint, so they commute pointwise. Commuting them past the plane actions and using the triangle inequality, then \eqref{eq:xi-mass}, gives \[ 2\sqrt\kappa \le\norm{\one_{Q_0}(A_0B_0-B_0A_0)\xi}_2 \le2\left(\sqrt{\kappa/256}+\sqrt{\kappa/256}\right) =\sqrt\kappa/4. \] This contradiction proves the lemma. \end{proof} \subsection{Selecting a polynomial number of tests} The detector can be converted into a short list that works for every plane on almost every diagonal. We use a bounded potential on the real Hilbert space of Hermitian matrices. \begin{lemma}[Covariance selection]\label{lem:selection} Suppose every field in a class \(\mathcal X\) is Hermitian and has Frobenius norm at most one. Assume that \(\mathcal X\) has the detection property of Lemma~\ref{lem:detector} with parameters \(q_0,\nu\): whenever \(Q\subseteq G\) has \(\Prob(Q)\ge q_0\) and \(R(d)\) is a rank-two projection for each \(d\in Q\), some \(X\in\mathcal X\) satisfies \eqref{eq:detector-conclusion}. One can select \(m\) fields \(X_1,\ldots,X_m\) from the class, where \[ m\le\left\lceil8r^2\nu^{-4}\right\rceil+1, \] such that, outside a set of \(d\)'s of measure less than \(q_0\), every rank-two projection \(R\) satisfies \begin{equation}\label{eq:covariance-nondegenerate} \sum_{j=1}^m\norm{D_RV_{X_j}(d)}_{\HS}^2 >\nu^2. \end{equation} \end{lemma} \begin{proof} Work in the real Hilbert space \(\mathcal H=\Herm_r\), with Frobenius inner product; its dimension is \(r^2\). For an existing list, let \[ v_j(d)=V_{X_j}(d),\qquad T(d)=\sum_j v_j(d)\otimes v_j(d). \] All \(v_j\) have norm at most one. Set \(t=\nu^2\), and use the bounded potential \[ \Psi(T)=\Tr_{\mathcal H}\bigl(T(T+tI)^{-1}\bigr) =r^2-t\Tr_{\mathcal H}(T+tI)^{-1}, \qquad 0\le\Psi(T)\le r^2. \] The trace here is an operator trace on \(\mathcal H\). Let \(Q\) consist of the \(d\)'s admitting a plane \(R\) with \(\Tr_{\mathcal H}(D_RT(d))\le t\). This trace is exactly \(\sum_j\norm{D_Rv_j(d)}^2\). If \(\Prob(Q)\ge q_0\), choose such a plane at each \(d\in Q\), and use the detector to obtain a new field \(v=V_X\) for which \[ \E\one_Q\norm{D_Rv}>\nu. \] Fix \(d\in Q\), and write \(A=T+tI\), \(a=v^*A^{-1}v\). The rank-one inverse identity \[ (A+vv^*)^{-1}=A^{-1} -\frac{A^{-1}vv^*A^{-1}}{1+v^*A^{-1}v}, \] verified by multiplying by \(A+vv^*\), gives \begin{equation}\label{eq:potential-increment} \Psi(T+v\otimes v)-\Psi(T) =\frac{t\,v^*A^{-2}v}{1+a}. \end{equation} If \(D_Rv\ne0\), take \(u=D_Rv/\norm{D_Rv}\). Then \(u^*Au\le2t\), so Cauchy--Schwarz in the \(A\)-metric gives \[ a\ge\frac{|\ip{u}{v}|^2}{u^*Au} \ge\frac{\norm{D_Rv}^2}{2t}. \] Also \(v^*A^{-2}v\ge a^2\), since \(\norm v\le1\), and \(a\le t^{-1}\). As \(t\le1\), \eqref{eq:potential-increment} is at least \[ \frac{t^2a^2}{2} \ge\frac{\norm{D_Rv}^4}{8}. \] This remains valid when \(D_Rv=0\). The increment is nonnegative at all other \(d\)'s. Jensen or H\"older therefore gives \[ \E\bigl(\Psi(T+v\otimes v)-\Psi(T)\bigr) \ge\tfrac18\E\one_Q\norm{D_Rv}^4>\nu^4/8. \] The potential is at most \(r^2\), so after the asserted number of additions we must have \(\Prob(Q)0\), \begin{equation}\label{eq:gap-bound} \Prob_t(\mingap H(t)\le\epsilon) \le\frac{4mr^2\epsilon}{\nu^2}. \end{equation} \end{lemma} \begin{proof} \par\medskip\noindent\textbf{Simple spectrum almost everywhere.}\quad The real span of the \(F_i\) contains a simple-spectrum matrix. Here is an elementary proof. On the compact set of Hermitian matrices \(M\) with spectrum \(1,\ldots,r\), maximize \(\sum_i(\Tr(MF_i))^2\), and put \(H=\sum_i\Tr(MF_i)F_i\). Comparing the maximum with any other matrix \(M'\) in that set gives \begin{equation}\label{separation:simple-max} 2\Tr((M-M')H) \ge\sum_i\bigl(\Tr((M'-M)F_i)\bigr)^2. \end{equation} In particular, \(M\) maximizes the linear pairing with \(H\). Take an orthonormal eigenbasis \(u_1,\ldots,u_r\) of \(M\), with \(Mu_j=ju_j\). On the plane spanned by \(u_j,u_k\), \(j0\), \[ \sum_{i=1}^N\Prob(|Y_i-v|\le s) \le \frac{32N}{l}\sqrt{s}. \] \end{lemma} \begin{proof} Integrating on the two sides of a fixed real number \(y\) gives \(\int_I|y-v|^{-1/2}\,dv\le4\sqrt l\). Averaging in \(v\) and then in the random variables therefore gives a choice with \[ \sum_i\E|Y_i-v|^{-1/2}\le4N/\sqrt l. \] On the event \(|Y_i-v|\le s\), the integrand is at least \(s^{-1/2}\). Multiplication by \(\sqrt s\), followed by summation, proves the assertion, with room in the stated constant. The same choice of \(v\) works for every \(s\). \end{proof} \begin{lemma}[Movement of an eigenline]\label{eigen:projection} Suppose that \(H,H'\in\Herm_r\) have distinct eigenvalues, and that the gaps between consecutive eigenvalues of both matrices are at least \(\gamma/2\). Let \(P_j(H)\) denote the rank-one orthogonal projection onto the \(j\)th eigenline, with eigenvalues counted in increasing order. Then \[ \norm{P_j(H)-P_j(H')}_{\op} \le \frac8\gamma\norm{H-H'}_{\op}. \] \end{lemma} \begin{proof} Put \(w=\norm{H-H'}_{\op}\). The ordered eigenvalues of \(H\) and \(H'\) differ by at most \(w\). To see this directly, the spectral theorem gives \[ \lambda_j(H)=\min_{\dim V=j}\ \max_{\substack{u\in V\\\norm u=1}} u^*Hu. \] Indeed, the span of the first \(j\) eigenvectors gives the upper bound, and every \(j\)-dimensional space intersects the span of the last \(r-j+1\) eigenvectors nontrivially, giving the lower bound. Changing \(H\) to \(H'\) changes each Rayleigh quotient by at most \(w\), proving the displacement assertion. If \(w<\gamma/8\), write \(\xi=\lambda_j(H')\), and take a unit eigenvector \(u'\) for \(\xi\). Every eigenvalue of \(H\) with index different from \(j\) is at distance at least \(3\gamma/8\) from \(\xi\). Since \(\norm{(H-\xi I)u'}\le w\), expansion in an eigenbasis of \(H\) gives \[ \norm{(I-P_j(H))u'}\le\frac{8w}{3\gamma}. \] For unit vectors \(u,u'\), the difference of the projections onto their spans has operator norm \(\sqrt{1-|u^*u'|^2}=\norm{(I-uu^*)u'}\). This follows by writing the two projections in the plane spanned by \(u,u'\); their difference has eigenvalues \(\pm\sqrt{1-|u^*u'|^2}\) on that plane and is zero outside it. This proves the desired estimate when \(w<\gamma/8\). Otherwise, the norm of the difference of two orthogonal projections is at most one, which is at most \(8w/\gamma\). \end{proof} The following proposition records both the exact scalarization and the approximation estimate we need. Its hypotheses refer to just one prescribed approximation of the row and the cocycle. In the application, the separated field and its approximants are supplied by Corollary~\ref{cor:field-gap} and \eqref{eq:A-complexity}. \begin{proposition}[Scalarization at a prescribed accuracy] \label{eigen:scalarization} Let \(r\ge2\), \(0<\gamma\le1\), and \(0<\eta<1\). Suppose that \(A_*:G^2\to\Herm_r\) has Frobenius norm at most one and satisfies \[ A_*(T_hz)=\sigma_h(z)A_*(z)\sigma_h(z)^*,\qquad \Prob_z(\mingap A_*(z)\le\gamma)<\eta. \] Here \(\sigma_h\) is a unitary cocycle, and \(\Phi:G^2\to U(r)\) satisfies \(\Phi(T_hz)=\sigma_h(z)\Phi(z)\). Let \(\mathcal R(z)=\lambda\ell(z)\) be a row of Euclidean norm at most one. Suppose that \(\mathcal R\) and \(\sigma_h\) have, respectively, a contraction row approximant and unitary matrix approximants with errors \[ \norm{\mathcal R-\mathcal R'}_{L^2_z}\le\zeta,\qquad \norm{\sigma-S}_{L^2_{h,z}(\HS)}\le\zeta, \] whose vertex partitions have at most \(L\ge2\) classes. The partitions for \(S_h\) may depend on \(h\). Suppose also that, for \(16\zeta\le a\le1\), the field \(A_*\) has a rectangular step approximant of \(L^2\) Frobenius error at most \(a\) and class bound \begin{equation}\label{eigen:A-bound} \log L_A(a)\le Ca^{-2} \left[m\bigl(\log K+\log(C/a)\bigr)+\log(2L)\right], \qquad K\ge2,\quad m\ge1. \end{equation} There is a translation-invariant set \(E\subseteq G^2\), with \(\Prob(E^c)<\eta\), a unitary field \(U\), phases \(\phi_1,\ldots,\phi_r\), and a unitary matrix \(W(d)\) depending only on the diagonal \(d=a-b\), such that \begin{equation}\label{eigen:factorization} \Phi^0(z)=U(z)\diag(\phi_1(z),\ldots,\phi_r(z))W(d). \end{equation} Here \(\Phi^0\) agrees with \(\Phi\) on \(E\) and is the identity on \(E^c\). These exact objects are fixed independently of the accuracy requested below. For \(00). \end{equation} Set \(E=\{g>v_*\}\). This set is translation-invariant and \(E^c\subseteq\{g\le\gamma\}\), so \(\Prob(E^c)<\eta\). On \(E^c\), replace \(A_*,\Phi,\sigma_h\) by \(D_0=\diag(1,\ldots,r),I,I\), respectively, and denote the resulting fields by \(A,\Phi^0,\sigma_h^0\). Since \(E\) is invariant, they retain the identities \begin{equation}\label{eigen:modified-covariance} A(T_hz)=\sigma_h^0(z)A(z)\sigma_h^0(z)^*,\qquad \Phi^0(T_hz)=\sigma_h^0(z)\Phi^0(z). \end{equation} The modified \(\sigma^0\) is still a cocycle. Every eigenvalue gap of \(A\) is at least \(\gamma/2\). \par\medskip\noindent\textbf{Choosing unit vectors on the eigenlines.}\quad For the standard coordinate vectors \(e_i\), the lengths \(Y_{ji}(z)=\norm{P_j(A(z))e_i}\) satisfy \[ \sum_{i=1}^rY_{ji}(z)^2=\Tr P_j(A(z))=1. \] Use Lemma~\ref{eigen:threshold} for these \(r^2\) real random variables on the interval \([1/(3\sqrt r),1/(2\sqrt r)]\). There is a common threshold \(v_p\) in that interval with \begin{equation}\label{eigen:pivot-threshold} \sum_{j,i}\Prob(|Y_{ji}-v_p|\le s) \le192r^{5/2}\sqrt s. \end{equation} For each \(j,z\), choose the first index \(i\) for which \(Y_{ji}(z)>v_p\), and define \begin{equation}\label{eigen:pivots} U_j(z)=\frac{P_j(A(z))e_i}{\norm{P_j(A(z))e_i}}. \end{equation} Such an index exists because the largest of these lengths is at least \(1/\sqrt r\). The columns \(U_j\) form a unitary matrix \(U\). The covariance in \eqref{eigen:modified-covariance} preserves the ordering of the eigenlines. Consequently there are unique phases \(s_{j,h}\) such that \begin{equation}\label{eigen:diagonal-cocycle} \sigma_h^0(z)U_j(z)=s_{j,h}(z)U_j(T_hz),\qquad (T_hU)^*\sigma_h^0U=\diag(s_{1,h},\ldots,s_{r,h}). \end{equation} They obey \(s_{j,h+k}(z)=s_{j,h}(T_kz)s_{j,k}(z)\), by the cocycle law for \(\sigma^0\). Put \[ V(z)=U(z)^*\Phi^0(z),\qquad W(d)=V(d,0),\qquad \phi_j(a,b)=s_{j,b}(a-b,0). \] The \(j\)th row of \(V(T_hz)\) equals \(s_{j,h}(z)\) times the \(j\)th row of \(V(z)\). Taking the translation from \((d,0)\) to \((a,b)\) proves \eqref{eigen:factorization}. The scalar cocycle identity also gives \begin{equation}\label{eigen:phase-increments} \phi_j(T_hz)=s_{j,h}(z)\phi_j(z),\qquad \rho_{j,h}(z)=\overline{s_{j,h}(z)}. \end{equation} This fixes all the exact objects in the proposition. \par\medskip\noindent\textbf{Approximating the eigenvectors.}\quad Fix \(0\theta,\qquad |Y_{ji}(z)-v_p|>\theta\quad\hbox{for every }j,i. \] By \eqref{eigen:gap-threshold}, \eqref{eigen:pivot-threshold}, the union bound, and Chebyshev's inequality (using \(\norm{\cdot}_{\op}\le\norm{\cdot}_{\HS}\)), the proportion of points which are not good is at most \begin{equation}\label{eigen:bad-points} b_t:=\left(\frac{64}{\gamma}+192r^{5/2}\right)\sqrt\theta +\frac{a^2}{d_*^2} \le\frac{t^2}{1000r}. \end{equation} For completeness, the coefficient of \(\sqrt\theta\) is at most \(256(r+1)^3/\gamma\). Its contribution is therefore at most \(256t^4\gamma^3/[10^{28}(r+1)^{13}]\), which is less than \(t^2/(2000r)\). The other contribution is \(t^2/[10^4(r+1)^2]\), also at most \(t^2/(2000r)\). Consider two good points \(z,z'\) in the same cell of the pair of partitions for \(A'\). Their matrices \(A_*\) differ in operator norm by at most \(2d_*\). The ordered eigenvalues therefore differ by at most \(2d_*\), and the minimum consecutive gaps differ by at most \(4d_*<\theta\). Since both gaps are more than \(\theta\) from \(v_*\), the two points have the same membership in \(E\). If both points lie outside \(E\), their modified matrices \(A\) are equal. If both lie in \(E\), Lemma~\ref{eigen:projection} gives \[ \norm{P_j(A(z))-P_j(A(z'))}_{\op} \le16d_*/\gamma<\theta. \] Thus the comparison of every \(Y_{ji}\) with \(v_p\) has the same outcome at the two points. In particular, each column in \eqref{eigen:pivots} uses the same coordinate index at both points. For nonzero vectors \(v,w\) with norms at least \(b>0\), \[ \left\|\frac v{\norm v}-\frac w{\norm w}\right\| \le\frac{\norm{v-w}}{\norm v} +\frac{|\norm w-\norm v|}{\norm v} \le\frac2b\norm{v-w}. \] Here \(b=1/(3\sqrt r)\). Hence each corresponding pair of columns differs by at most \(96\sqrt r\,d_*/\gamma\), and \begin{equation}\label{eigen:same-cell} \norm{U(z)-U(z')}_{\HS} \le96r d_*/\gamma\epsilon/\sqrt{k}\). A basis chosen from this set has at most \(2k\epsilon^{-2}\log K\) elements by Lemma~\ref{scalar:spectrum}. Let \(V\le H^*\) be the sum of these \(k\) spans, and put \(H'=V^\perp\). Its codimension has the stated bound. Expand \(F\) in characters in all \(k\) coordinates. The average \(\mathcal I_H\) retains precisely the frequencies \((\xi_1,\ldots,\xi_k)\) with \(\sum_i\xi_i=0\). Fix all frequencies except the \(i\)-th, and consider the partial Fourier coefficient \[ f_i(x_i)=\E_{x_j,\ j\ne i} F(x_1,\ldots,x_k) \prod_{j\ne i}\overline{\ep(\xi_j(x_j))}. \] This is constant on the classes of \(P_i\). There is only one choice \(\xi_i=-\sum_{j\ne i}\xi_j\) that survives common translation. If it lies outside \(V\), averaging within the classes of \(P_i\) and applying Cauchy--Schwarz gives \[ \left|\widehat F(\xi_1,\ldots,\xi_k)\right| \le a_{P_i}(\xi_i)\norm{f_i}_2 \le\frac{\epsilon}{\sqrt{k}}\norm{f_i}_2. \] Parseval in the other coordinates gives \(\sum_{(\xi_j)_{j\ne i}}\norm{f_i}_2^2=\norm F_2^2\le1\). Thus the squared Fourier mass surviving common translation but lying outside \(V\) in slot \(i\) is at most \(\epsilon^2/k\). Summing over the slots costs at most \(\epsilon^2\). Averaging each coordinate over its \(H'\)-coset retains exactly the frequencies in \(V\) in every slot. This proves the error bound. Both averaging operations preserve the unit disk and the interval \([0,1]\). \end{proof} \subsection{The scalar approximation statement} For a phase \(\phi:G^2\to\T\), set \[ \rho_h(z)=\phi(z)\overline{\phi(T_hz)}. \] Thus \(\phi(z)=\rho_h(z)\phi(T_hz)\); the increments are used in this orientation throughout. For \(h\in G\) we also write \(\Delta_hg=g\,\overline{T_hg}\) for the simultaneous increment, so that \(\rho_h=\Delta_h\phi\). When \(g\) is a function of several vertices (for instance of a rectangle), \(T_h\) translates every vertex simultaneously. The following proposition says, roughly, that if every non-negligible restriction of \(cm\phi\) to a set of diagonals has a cube average bounded below, then \(cm\phi\) is close to a combination of tests whose cost is \(p\) raised to a power polynomial in the inverse accuracy and in the logarithms of the relevant class bounds. \begin{proposition}[Scalar approximation]\label{scalar:approximation} Let \(\phi:G^2\to\T\), let \[ |c(a,b)|\le\omega(a-b)\le1, \qquad |m(d)|\le1, \] and let \(00,\ s_{\min}(W_0(z))