\subsection{The diagonal test on complete tiles}\label{sec:diagonal-revision} Write \(q=UV\) and \(f=\sm q\) as above. The product of the two centre tags on a tile of physical centre \(c_Q\) is \(q_Q=e(c_{Q,1}+c_{Q,2})\), since the two half-unit shifts add to one. Let \(C_\varphi\) be the centred physical unit square at angle \(\varphi\). Define its diagonal Fourier moments by \[ (\mom_0,\mom_i,\mom_{ij})(\varphi) =\int_{C_\varphi}(1,w_i,w_iw_j)\,e(w_1+w_2)\,dw . \] \begin{lemma}[The three diagonal moments]\label{lem:diag-moments} Put \(\kappa_\pm=\cos\varphi\pm\sin\varphi\) and \(\sinc(t)=\sin(\pi t)/(\pi t)\), with \(\sinc(0)=1\). Then \[ \mom_0(\varphi)=\sinc(\kappa_+)\sinc(\kappa_-),\qquad 2\pi i \binom{\mom_1}{\mom_2} =R_\varphi\binom{\sinc'(\kappa_+)\sinc(\kappa_-)} {\sinc(\kappa_+)\sinc'(\kappa_-)} , \] where \(R_\varphi\) is the rotation by \(\varphi\). On \(|\varphi|\le\pi/8\), \(\mom_0=-\varphi^2+O(\varphi^4)\) and \(|\mom_i|\le9|\varphi|\). More precisely, with \(\hen(\varphi)=2(\sec\varphi-1)\), \[ \tfrac14\hen(\varphi)\le-\mom_0(\varphi)\le2\,\hen(\varphi),\qquad \tfrac14\varphi^2\le\hen(\varphi)\le2\varphi^2 . \] At zero angle, \[ \mom_{11}(0)=\mom_{22}(0)=0,\qquad \mom_{12}(0)=\mom_{21}(0)=-1/(4\pi^2). \] Each second moment varies by at most \(10|\varphi|\) from this value. \end{lemma} \begin{proof} In the tile coordinates \(w=t_1\bt+t_2\bn\) the phase is \(e(\kappa_+t_1)e(\kappa_-t_2)\). The integral of \(e(\kappa t)\) on the centred unit interval is \(\sinc(\kappa)\). Differentiating it in \(\kappa\) gives the asserted first moments. In particular \(\sinc(1)=0,\ \sinc'(1)=-1\); the evenness of \(\mom_0\) gives the stated fourth-order error. For the bound throughout the interval, the identity \(\sinc(1+t)=-t\sinc(t)/(1+t)\) gives, with the ratio continued at zero, \[ \frac{-\mom_0(\varphi)}{\hen(\varphi)} =\frac{\cos^2\varphi}{\cos^2\varphi-\sin^2\varphi}\, \sinc(\kappa_+-1)\sinc(\kappa_--1)\ \in [1/4,2]. \] Indeed \(|\kappa_\pm-1|\le1/2\), so the two sinc factors are in \([1/2,1]\) and the rational factor is in \([1,2]\). Also \(\varphi^2/4\le \hen(\varphi)\le2\varphi^2\), by the cosine estimates on this interval. At \(\varphi=0\), the pure second moments contain one factor \(\sinc(1)\); the mixed moment is the square of \(\int_{-1/2}^{1/2}t\,e(t)\,dt=-1/(2\pi i)\). For any fixed \((t_1,t_2)\) in the centred square, \(|w_i|,|\partial_\varphi w_i|\le1\) and \(|\partial_\varphi(w_1+w_2)|\le1\), the last by Cauchy--Schwarz and \(|(t_1,t_2)|\le1/\sqrt2\). Differentiating the defining integrands for \(\mom_i\) and \(\mom_{ij}\) thus costs at most \(1+2\pi\) and \(2+2\pi\), respectively. Integration establishes the two Lipschitz estimates. \end{proof} Use the mesh coefficients \[ B=-x\,\mom_0(T/\sqrt{x}),\qquad \mathcal L_i=\mom_i(T/\sqrt{x}). \] By Lemma~\ref{lem:diag-moments}, \(H/4\le B\le2H\), and \(|\mathcal L_i|^2\le81T^2/x\le324H/x\le 1296 B/x\). To bound their variation, observe that \(\sinc(\kappa_\pm)\) vanish at \(\varphi=0\) and are \(4\)-Lipschitz in \(\varphi\): the defining integral gives \(|\sinc'|\le\pi/2\) and \(|\partial_\varphi \kappa_\pm|\le2\). The product rule bounds \(|\mom_0'(\varphi)|\) by \(32|\varphi|\). The coefficients as functions of \(T\in[-D,D]\) are consequently \(32D\)- and \(9/\sqrt{x}\)-Lipschitz. Composition on each mesh edge gives \[ \TV(B)\le CaD,\qquad \TV(\mathcal L_i)\le Ca/\sqrt{x}. \] \begin{proposition}[Diagonal identity with its error]\label{prop:diag-id} There is an integrable residual \(\Rdg\) on \(S_r\) for which \begin{equation}\label{eq:diagonal} Bf=-\sum_{i=1}^2\mathcal L_i\,\partial_i f -\frac{1}{4\pi^2x}\,\partial_{12}f+\Rdg,\qquad \int_{S_r}|\Rdg|\le \Edg , \end{equation} where one may take \begin{equation}\label{eq:mixed-error} \Edg=C\left(\frac{a}{D}+\frac{a}{\sqrt{x}}+raD+\frac{aD}{x} +\frac{a^2}{xr}+\frac{a}{rx^{3/2}} +\frac{a}{x^{3/2}r^2}+\frac{1}{x^2r^3}\right). \end{equation} \end{proposition} \begin{proof} For fixed \(z\in S_r\), multiply \(e(p_1+p_2)\) by \(\rho_r(z-p/x)\) and integrate over the physical container with measure \(dp/x\). On a tile set \(z_Q=c_Q/x,\ p=c_Q+w\). In the next display the derivatives of \(\rho_r\) are evaluated at \(z-z_Q\) and the moments at \(\varphi_Q\). The contribution of this entire tile is \begin{multline} \frac{q_Q}{x}\int_{C_{\varphi_Q}}e(w_1+w_2)\,\rho_r(z-z_Q-w/x)\,dw\\ =\frac{q_Q}{x^2}\left[x\,\mom_0\,\rho_r-\sum_i \mom_i\,\partial_i \rho_r +\frac{1}{2x}\sum_{i,j}\mom_{ij}\,\partial_{ij}\rho_r\right] +\epsilon_Q(z). \label{eq:tile-taylor} \end{multline} Write \(\rho_{(j)}=\int\|\nabla^j\rho\|\), so that \(\|\nabla^j\rho_r\|_1=\rho_{(j)} r^{-j}\). Taylor's integral remainder and translation invariance in \(z\) give \(\|\epsilon_Q\|_1\le \rho_{(3)}/(6x^4r^3)\), since \(|w|\le1\). Next replace every \(\mom_{ij}(\varphi_Q)\) by \(\mom_{ij}(0)\). The two equal off-diagonal contributions cancel the factor \(1/2\) in the quadratic term and leave coefficient \(-1/(4\pi^2 x)\) inside the brackets. To turn the centre sums into convolutions, replace every centre sample \(\nabla^j\rho_r(z-z_Q)\) by its average over the scaled tile \(Q/x\). Taking first differences under translation bounds the \(L^1(dz)\) cost per sample by \(\rho_{(j+1)}/(x r^{j+1})\). The prefactor \(x^{-2}\) in \eqref{eq:tile-taylor} is the area of this scaled tile. The resulting mass and first-moment coefficients are piecewise constant functions times \(q\). The quadratic term has constant coefficient and equals \(-\partial_{12}f/(4\pi^2x)\). The angular estimates needed to sum these changes follow directly from \eqref{eq:prepared}: \begin{equation}\label{eq:tile-moment-sums} N'\le x^2,\qquad \sum_{Q}\varphi_Q^2=x\|J\|_2^2\le Ca^2x,\qquad \sum_Q|\varphi_Q|\le Cax^{3/2}, \end{equation} where \(N'\) counts the tiles of the auxiliary packing. The last bound is Cauchy--Schwarz. There are two further operations on each variable coefficient. First replace its value on tiles by its value at \(T\). In \(L^1\) of the occupied region these changes cost \(CaD/x\) for the mass and \(Ca/x^{3/2}\) for either first moment, by the Lipschitz bounds and \(\int_{\occ}|J-T|\le Ca/x\). The first moment multiplies \(\partial_i \rho_r\), whose \(L^1\) norm costs \(C/r\). Next move each mesh coefficient \(g\) outside its convolution. For \(|q|\le1\) and a kernel \(k\) this difference has \(L^1\) norm at most \[ \int |k(s)|\,\|g(\,\cdot-s)-g\|_1\,ds \le \TV(g)\int |s|\,|k(s)|\,ds. \] The last integral is \(O(r)\) for \(k=\rho_r\) and \(O(1)\) for \(k=\partial_i \rho_r\). Finally the void contributes at most \(W'/x\) in \(L^1(dz)\). On the full container the integral in scaled variables is \(x\int_S e(x(\zeta_1+\zeta_2))\rho_r(z-\zeta)\,d\zeta\). For \(z\in S_r\) the integrand's envelope vanishes in a neighbourhood of every wall. Three integrations by parts in \(\zeta_1\) bound its modulus by \(\rho_{(3)}/((2\pi)^3 x^2r^3)\), also an \(L^1(S_r)\) bound. Moving the negative mass term to the other side gives \eqref{eq:diagonal}. For clarity, the separate errors just obtained are displayed in Table~\ref{tab:diagonal-costs}. Their sum is \eqref{eq:mixed-error}. \end{proof} \begin{localtable} \caption{Contributions to \(\|\Rdg\|_{L^1(S_r)}\), up to absolute factors. A first-moment row includes both coordinate directions.} \label{tab:diagonal-costs} \smallskip \begin{tabular}{@{}ll@{}} \toprule Operation & Contribution\\\midrule Void integral & \(W'/x\le C(a/D+a/\sqrt{x})\)\\ Full-container oscillation & \(1/(x^2r^3)\)\\ Cubic Taylor remainder & \(1/(x^2r^3)\)\\ Replace quadratic moments by their zero-angle values & \(a/(x^{3/2}r^2)\)\\ Average the mass term over each tile & \(a^2/(xr)\)\\ Average the first derivatives over each tile & \(a/(x^{3/2}r^2)\)\\ Average the constant mixed derivative over each tile & \(1/(x^2r^3)\)\\ Replace tile mass by mesh mass & \(aD/x\)\\ Commute mesh mass with \(\rho_r\) & \(raD\)\\ Replace tile first moments by mesh first moments & \(a/(rx^{3/2})\)\\ Commute mesh first moments with \(\partial_i \rho_r\) & \(a/\sqrt{x}\)\\ \bottomrule \end{tabular} \end{localtable} \begin{remark}[What the identity says]\label{rem:tilted-row} Consider tiles of a common angle \(\varphi\) arranged in a row, with consecutive tiles sharing a face. Their centres differ by \(\bt=(\cos\varphi,\sin\varphi)\), so at each step along the row \[ U\mapsto U\,e(\cos\varphi),\qquad V\mapsto V\,e(\sin\varphi),\qquad q\mapsto q\,e(\kappa_+),\quad \kappa_+-1=\varphi+O(\varphi^2). \] The product tag makes about \(|\varphi|\) turns per tile. If \(f\) had modulus one near such a row, \(q\) would be nearly constant on disks of physical radius \(xr\), which forces \(xr|\varphi|\ll1\). In \eqref{eq:diagonal} this appears as follows. On a region filled by such rows, stacked with a constant offset, \(q\) is the restriction to the centres of a plane wave \(e(\xi\cdot p)\) with \(\xi\cdot\bt=\kappa_+-1\), and \(f\) is then essentially a multiple of the same wave, so that \(\partial_if\approx2\pi i x\xi_if\). Inserting this in \eqref{eq:diagonal} and dividing by \(xf\) gives the relation \(\mom_0-2\pi i(\mom_1\xi_1+\mom_2\xi_2)+\xi_1\xi_2\approx0\). With the second moments frozen at their values for \(\varphi=0\), as in the proof above, it is the second-order expansion in \(\xi\) of \[ \int_{C_\varphi}e\bigl((1,1)\cdot w-\xi\cdot w\bigr)\,dw =\sinc(\kappa_+-\xi\cdot\bt)\,\sinc(\kappa_--\xi\cdot\bn), \] which vanishes exactly because \(\sinc(1)=0\). The mass term \(Bf\) is thus balanced by the first-order terms, with \(|\nabla f|\approx2\pi x|\xi|\,|f|\ge 2\pi x|\kappa_+-1|\,|f|\): neither can be large without the other. Lemma~\ref{lem:axial-gradient} bounds \(|\nabla f|^2\) by \(Cr^{-2}(1-|f|^2)\), and this is how tilt energy is confined to the set where \(f\) fails to have modulus one. \end{remark} \subsection{Energy on rows joining the walls}\label{sec:row-revision} Choose a threshold \(C_0>0\). Slicing the variation of \(T\) along horizontal lines gives a measurable function \(\vartheta(z_2)\), the variation of \(z_1\mapsto T(z_1,z_2)\) on the entire line, with \(\int\vartheta\le C_{\rm V}\, a\). On almost every line \(\operatorname*{ess\,sup}_{z_1}|T(z_1,z_2)|\le \vartheta(z_2)\), since \(T\) vanishes outside \(S\). Let \(\Yr\) consist of those \(z_2\in[2r,1-2r]\) for which \(\vartheta(z_2)\le C_0a\), omitting the null exceptional set. Then \(|\Yr|\ge1-4r-C_{\rm V}/C_0\); the choice \(C_0=4C_{\rm V}\) gives \(|\Yr|\ge1/2\) for every \(r\le1/16\). On the full lines over \(\Yr\), \(B,H\le C C_0^2 a^2\). We keep \(C_0\) explicit since the argument above an integer will retain a larger proportion of rows. \begin{proposition}[Energy and wall comparison]\label{prop:row-bound} Let \(\Pi=[2r,1-2r]\times \Yr\) and \(\Pi^+=[-2r,1+2r]\times \Yr\). For any such \(\Yr\), \begin{equation}\label{eq:mixed-test} \int_{\Pi}H\le C_{C_0} \left[\Edg+a^2\Delta+\frac{\Delta}{xr^2}+\frac1{xr}\right]. \end{equation} If \(|\Yr|\ge1/2\), then \begin{equation}\label{eq:wall-test} \frac{d(x)}2\le C_{C_0} \left[\Edg+\Eax+a^2(\Delta+r)+\frac{\Delta}{xr^2}+\frac1{xr}\right]. \end{equation} \end{proposition} \begin{proof} We give the coefficient form of both estimates for use below. Let \(\Lambda\) bound \(B\) and \(H\) on the retained lines, so that \(\Lambda\le CC_0^2a^2\). Let \(\varkappa=1296/x\), so that \(|\mathcal L_i|^2\le \varkappa B\), as noted after Lemma~\ref{lem:diag-moments}. Also \(G^2\le \varkappa H\), because \(\tan^2\varphi=\tfrac12\hen(\varphi)(\sec\varphi+1)\le2\hen(\varphi)\) for \(|\varphi|\le\pi/8\). Recall \(H\le 4B\). Let \(I_1,I_2\le C/r^2\) be the two directional constants of Lemma~\ref{lem:axial-gradient}. In particular \(|\partial_2 f|\le\sqrt{I_2}\). Multiply \eqref{eq:diagonal} by \(\bar f\), take real parts, and integrate over \(\Pi\). The mass term is \(\int B|f|^2\). Its difference from \(\int B\) is at most \(\Lambda\Delta\). Each first-order term satisfies \[ |\mathcal L_i\,\partial_i f\,\bar f| \le\sqrt{\varkappa B}\,|\partial_i f| \le B/4+\varkappa|\partial_i f|^2 . \] There are two such terms. For fixed \(z_2\), integrate in \(z_1\) over \([2r,1-2r]\): \[ \int_{2r}^{1-2r}\bar f\,\partial_{12}f\,dz_1 =\bigl[\bar f\,\partial_2 f\bigr]_{2r}^{1-2r}-\int_{2r}^{1-2r} (\partial_1\bar f)(\partial_2 f)\,dz_1 . \] The boundary term is at most \(2\sqrt{I_2}\). After integration in \(z_2\) the product costs at most \(\tfrac12(I_1+I_2)\Delta\) by \eqref{eq:deficit}. This argument uses only that \(\Yr\) is measurable, since only the longitudinal variable is differentiated. Absorbing \(\tfrac12\int B\) gives \begin{equation}\label{eq:row-budget} \int_{\Pi}B\ \le\ \Xi :=2\left[\Edg+\Lambda\Delta+ \Bigl(\varkappa+\frac{1}{8\pi^2x}\Bigr)(I_1+I_2)\Delta +\frac{\sqrt{I_2}}{2\pi^2x}\right]. \end{equation} Multiplication by \(4\) proves \eqref{eq:mixed-test}. For \(z_2\in \Yr\), \(u(-2r,z_2)=1\) and \(u(1+2r,z_2)=e(x)\). Integrate the horizontal transport equation over that entire interval. The source costs \(\pi\int H\) and the drift satisfies \(|G\,\partial_2 u|\le H/4+\varkappa|\partial_2 u|^2\). The two additional intervals have combined width \(8r\), so \(\int_{\Pi^+}H\le 4\,\Xi+8r\Lambda\). The deficit of \(u\) is bounded on this wider strip by \eqref{eq:deficit}. Integrating the endpoint difference over \(\Yr\) therefore gives \begin{equation}\label{eq:row-wall-budget} |\Yr|\,d(x)\le \Eax+\varkappa I_2\Delta+(\pi+\tfrac14)(4\,\Xi+8r\Lambda). \end{equation} Inserting \(\Lambda\le C C_0^2 a^2\) gives \eqref{eq:wall-test}. \end{proof} \subsection{Choice of scales and proof of Theorem~\ref{thm:finite}}\label{sec:lower-scales} Every bound in Sections~\ref{sec:preparation}--\ref{sec:row-revision} is nondecreasing in the normalized waste \(a\). Since \(a\le A\), all of them remain valid with \(A\) in place of \(a\), provided the rows \(\Yr\) are also selected with the threshold \(C_0A\). For the rows this follows from the proof rather than from monotonicity: the set where \(\vartheta>C_0A\) has measure at most \(C_{\rm V}a/(C_0A)\le C_{\rm V}/C_0\), on the remaining lines \(B,H\le CC_0^2A^2\), and the proof of Proposition~\ref{prop:row-bound} applies to any such set of rows. In this subsection, in Section~\ref{sec:above} and in Appendix~\ref{sec:constant} we use the estimates in that form. The advantage is that \(A\ge1\). \begin{proposition}\label{prop:lower-scales} There is an absolute \(c_1>0\) such that \(A^{10}\ge c_1\, x\, d(x)^4\) for every packing and every \(x\ge1\). \end{proposition} \begin{proof} Fix \(C_0=4C_{\rm V}\). Write \(d=d(x)\), assume \(d>0\), and put \[ D=kA^3/d,\qquad r=td^2/A^6,\qquad \omega = A^{10}/(xd^4). \] Here \(k>1\) and \(01\) and \(00\). The case \(d=0\) is trivial. \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:finite} with an absolute constant] Since \(A\sqrt{x}=W+\sqrt{x}+1\), Proposition~\ref{prop:lower-scales} gives \(W+\sqrt x+1\ge c_1^{1/10}d(x)^{2/5}x^{3/5}\). Appendix~\ref{sec:constant} follows the numerical multipliers through the same argument and shows that one may take \(c_1^{1/10}=10^{-33}\). \end{proof} Three terms decide the exponent, as announced in Section~\ref{sec:scales-intro}. Angular clipping costs \(A^3/D\), commuting the mesh mass with the kernel costs \(rA^3D\), and the corresponding \(rAD\) term in \(\Delta/(xr^2)\) costs \(AD/(xr)\). Balancing them against a wall discrepancy \(d\) selects \(A^{10}\) of order \(xd^4\). \begin{remark}[The construction attains the leading estimates]\label{rem:saturation} At a half-integer side the packing of Section~\ref{sec:construction} has \(W\asymp x^{3/5}\), hence \(A\asymp x^{1/10}\). Its two bands have width of order \(x^{4/5}\) and tilt of order \(x^{-2/5}\). So \(|T|\asymp x^{1/10}\asymp A\) on a region of rescaled area of order \(x^{-1/5}\) whose boundary has length of order one. This gives \(\TV(T)\asymp A\), and row energy \(\int T^2\,dz_1\asymp1\) on the rows crossing a band, as the comparison of the wall phases requires. The end columns have tilt of order \(x^{-1/5}\), that is \(|T|\asymp x^{3/10}\asymp A^3\), the order of the cutoff \(D\) chosen above, on a region of perimeter of order \(x^{-1/5}\). This gives \(\TV(H)\asymp AD\). Finally one of the two tags turns by about the band tilt per tile across a band, so with \(xr\asymp x^{2/5}\) the deficit is of order \(x^{-1/5}\asymp A/D\asymp rAD\). Thus the bounds on \(\TV(T)\), \(\TV(H)\) and \(\Delta\) that produce the three leading terms are attained up to constants, and the scales \(D\) and \(r\) are those of the construction. This consistency check is not used in the proofs. \end{remark}