\section{Waste above an integer}\label{sec:above} Write \(x=n+\varepsilon\), \(n=\lfloor x\rfloor\). The grid loses a strip of width \(\varepsilon\) along each of two sides. We test one of these directions with a period-one function whose last positive stripe fills the excess interval \([n,x]\). The cost of applying this test to a tilted unit depends quadratically on its inclination, and the diagonal energy bound \eqref{eq:mixed-test} shows that on most rows the inclinations are small in mean square when \(W=o(x^{3/5})\). \begin{proposition}[Positive excess]\label{prop:above-profile} There exist absolute constants \(c_-,c_+>0\) and \(X_0\ge1\) such that, for every integer \(n\ge0\) and every \(0\le\varepsilon\le1/2\) with \(x=n+\varepsilon\ge X_0\), \begin{equation}\label{eq:above-profile} c_-\min\{x\varepsilon,x^{3/5}\}\le W(x) \le c_+\min\{x\varepsilon,x^{3/5}\}. \end{equation} For any sequence \(x_j=n_j+\varepsilon_j\to\infty\) with \(n_j\in\mathbb N\), \(0<\varepsilon_j\le1/2\), and any packings \(\mathcal P_j\) in these squares, \begin{equation}\label{eq:above-ratio} W_{\mathcal P_j}=o(x_j^{3/5}) \quad\Longrightarrow\quad \liminf_{j\to\infty}\frac{W_{\mathcal P_j}}{x_j\varepsilon_j}\ge1 . \end{equation} The lower limit is understood in \([0,+\infty]\). \end{proposition} This is part~(a) of Theorem~\ref{thm:profile}. We prove a finite estimate uniform over the individual packings. Throughout the section \(W=W_{\mathcal P}\) is the waste of the \emph{original} packing, and we write \[ y=\sqrt{x},\qquad A=1+\frac{W+1}{y},\qquad \bar A=\Cmesh\,A , \] with \(\Cmesh=37538\cdot262440\) as in Lemma~\ref{lem:mesh-jumps}. The estimates of Section~\ref{sec:lower} are used with \(A\) in place of \(a\), as explained in Section~\ref{sec:lower-scales}. \subsection{A stripe on each original square} \begin{lemma}[Weighted stripe inequality]\label{lem:above-stripe} Let \(0<\varepsilon\le1/2\), \(x=n+\varepsilon\ge1\), and let \(\psi:\mathbb R\to[0,1]\) have Lipschitz constant \(\Gamma\). On the rescaled interior of each original unit \(Q\) put \(J_0=y\beta_Q\), where \(\beta_Q\in[0,\pi/4]\) is its unsigned inclination, and put \(J_0=0\) elsewhere. Then \begin{equation}\label{eq:stripe} \begin{aligned} (1-\varepsilon)\int_0^1\psi(z_2)\,dz_2 \le {}&(1-\varepsilon)\frac{W}{x\varepsilon} +2\int_S\psi(z_2)\, J_0(z)^2\,dz\\ &+\frac{4\Gamma\bar A^2+2\Gamma\bar A}{\sqrt{x}} . \end{aligned} \end{equation} \end{lemma} \begin{proof} On the physical horizontal coordinate use \(\Phi_\varepsilon(t)=\varepsilon^{-1} \mathbf 1_{[0,\varepsilon)}(\{t\})-1\), where \(\{t\}\) is the fractional part. Each full period has mean zero and absolute integral \(\varepsilon(\varepsilon^{-1}-1)+(1-\varepsilon)=2(1-\varepsilon)\). Since \(\Phi_\varepsilon\ge-1\), for any interval \(I\) of length \(|I|\le1\) a containing unit interval gives \begin{equation}\label{eq:stripe-period} \int_I \Phi_\varepsilon\le1-|I|,\qquad \int_I|\Phi_\varepsilon|\le 2(1-\varepsilon). \end{equation} The terminal interval \([n,x]\) contributes \(1-\varepsilon\), hence the integral over the whole container of \(\psi(p_2/x)\, \Phi_\varepsilon(p_1)\), divided by \(x\), is the left side of \eqref{eq:stripe}. Choose the near-horizontal unit edge direction of \(Q\), with signed angle \(\varphi\), so \(|\varphi|=\beta_Q\). With centre \(c_Q\), parametrize the square by \[ p=c_Q+t_1(\cos\varphi,\sin\varphi)+t_2(-\sin\varphi,\cos\varphi), \qquad |t_1|,|t_2|\le\tfrac12 . \] Fix \(t_2\). In the \(t_1\)-integral, \(dp_1=\cos\varphi\,dt_1\) and the image interval has length \(\cos\varphi\). Replacing the weight by \(\psi((c_{Q,2}+t_2\cos\varphi)/x)\) costs at most \(\Gamma|\sin\varphi|/(x\cos\varphi)\) by \eqref{eq:stripe-period}. The remaining integral is bounded above by the frozen weight times \((1-\cos\varphi)/\cos\varphi\). Here \(\cos\varphi\ge1/2\), \(1-\cos\varphi\le\varphi^2/2\), and \(|\sin\varphi|\le|\varphi|\). Moving the frozen weight to the centre in this last bound costs at most \(\Gamma\beta_Q^2/(2x)\). Integrating over \(t_2\), each tile therefore contributes at most \[ 2\psi(c_{Q,2}/x)\,\beta_Q^2+ \frac{2\Gamma}{x}(\beta_Q+\beta_Q^2). \] The void contributes at most \((\varepsilon^{-1}-1)W\), since its physical area is \(W\). By \eqref{eq:original-mesh}, \(\|J_0\|_2\le\Cmesh W/y\le\bar A\). Consequently \[ \frac1x\sum_Q\beta_Q^2=\int_S J_0^2\le\bar A^2,\qquad \frac1{x^2}\sum_Q\beta_Q\le\frac{\bar A}{\sqrt{x}} . \] The second inequality uses Cauchy--Schwarz and \(N\le x^2\). Within each rescaled tile the height differs from \(c_{Q,2}/x\) by at most \(1/x\). Thus replacing \(x^{-1}\sum_Q\psi(c_{Q,2}/x)\beta_Q^2\) by \(\int_S\psi J_0^2\) costs at most \(\Gamma\bar A^2/x\). Adding the tile errors, dividing the original integral by \(x\), and using \(x^{-1}\le x^{-1/2}\) yields \eqref{eq:stripe}. The peak \(\varepsilon^{-1}-1\) occurs only in the original void term. \end{proof} \subsection{Recovering the original angles} \begin{lemma}[Original and retained mesh values]\label{lem:above-comparison} Let \(g=T_0\) be the original scaled unsigned pixel field and \(T\) the signed field after the superlevel cut at height \(t_0\in[D/2,D]\) of Proposition~\ref{prop:mesh-preparation}. If \(DD/2\ge2\bar g\), the same inequality follows from \(\bar g^2\le(g-\bar g)^2\). Integrate it on \(\mathfrak B_{\Yr}\), then use \(g^2\le2\bar g^2+2(g-\bar g)^2\) on \(\mathfrak B\), obtaining \[ \int_{\mathfrak B} g^2\le8\int_{\mathfrak B_{\Yr}} T^2 +10\int_{\mathfrak B}(g-\bar g)^2 . \] Let \(N_{\mathfrak B}=\tau'x/h\) be the number of pixels along a side of a block. In the \(N_{\mathfrak B}\times N_{\mathfrak B}\) array of pixel values \(g_{kl}\), let \(\mathfrak r_l\) and \(\mathfrak c_k\) be the sums of absolute internal jumps along row \(l\) and along column \(k\), and set \(\mathfrak r=\sum_l\mathfrak r_l,\ \mathfrak c=\sum_k \mathfrak c_k\). Connect \((k,l)\) to each pixel \((k',l')\) along the original row and the target column and average. This gives \(|g_{kl}-\bar g|\le \mathfrak r_l+\mathfrak c/N_{\mathfrak B}\). Reversing the directions gives \(|g_{kl}-\bar g|\le \mathfrak c_k+\mathfrak r/N_{\mathfrak B}\). Multiply these two estimates, sum over all \(k,l\), and multiply by \((h/x)^2\). The result is \(\int_{\mathfrak B}(g-\bar g)^2\le (h/x)^2(\mathfrak r+\mathfrak c)^2 =\nu_{\mathfrak B}^2\). Each retained \(\nu_{\mathfrak B}\le\nu_0\), so their squared sum is at most \(2\nu_0\bar A\). Summing the block estimates, using \(0\le\psi\le1\) and the zero extension outside the square, bounds \(\int_S\psi g^2\) by \(8\int_{[0,1]\times \Yr}T^2+20\nu_0\bar A\). Equation~\eqref{eq:original-angle-error} changes \(g\) to \(J_0\) at the stated cost, and \(20\nu_0\bar A=\sigma/5\). \end{proof} \subsection{The coefficient of the positive excess} \begin{proposition}[A uniform slope below the three-fifths scale]\label{prop:above-slope} For every \(0<\gamma<1\) there exist \(c_\gamma>0\) and \(X_\gamma\ge1\) such that every packing with \(x=n+\varepsilon\ge X_\gamma\), \(0<\varepsilon\le1/2\), and \(W\le c_\gamma x^{3/5}\) satisfies \(W\ge(1-\gamma)x\varepsilon\). \end{proposition} \begin{proof} Choose the constants in the following order. First fix \(\sigma=\gamma/32\). Next choose \(C_0\) and then \(\ell\) as in Lemma~\ref{lem:above-rows}, making \(1/\ell\ge64\,\Cmesh/\sigma\). This gives \(D=A^3/\ell\ge4\Theta\). Finally choose \(U_\gamma\ge1\) larger than each of \[ \ell^{-4},\quad 8192\,\Cmesh^2/\sigma^2,\quad 2C_{\rm cmp}/\sigma,\quad (4\Gamma_\sigma \Cmesh^2+2\Gamma_\sigma \Cmesh)/(2\sigma). \] All these choices precede the choice of \(x\) and of the packing. The block width and taper now follow the explicit formulas in Lemma~\ref{lem:above-mask}. Assume for the moment that \(U_\gamma A^5\le y\). Then \(A^{10}\le\ell^8x\) and \(h/x\le\tau/2\). Since \(W/x\le A/y\), the original-void comparison term in \eqref{eq:above-smooth} is at most \(\sigma\). Equations \eqref{eq:above-mixed} and \eqref{eq:above-smooth} give \(\int_S\psi J_0^2\le(8/32+1/5+1)\sigma\le2\sigma\). With \(\Gamma=\Gamma_\sigma A^2\) the last term of \eqref{eq:stripe} is at most \((4\Gamma_\sigma \Cmesh^2+2\Gamma_\sigma \Cmesh)A^4/y\le2\sigma\). Consequently \[ (1-\varepsilon)(1-\sigma) \le(1-\varepsilon)\frac{W}{x\varepsilon}+6\sigma . \] Since \(1-\varepsilon\ge1/2\), this gives \(W/(x\varepsilon)\ge1-13\sigma\ge1-\gamma\). Take \(c_\gamma=1/(4U_\gamma)\) and \(X_\gamma=(8U_\gamma)^{10}\). For \(x\ge X_\gamma\) and \(W\le c_\gamma x^{3/5}\) one has \(A\le2+c_\gamma x^{1/10}\le x^{1/10}/U_\gamma\). As \(U_\gamma\ge1\), this implies \(U_\gamma A^5\le y\), as required. \end{proof} \begin{proof}[Proof of Proposition~\ref{prop:above-profile}] For any sequence in \eqref{eq:above-ratio} and any fixed \(0<\gamma<1\), the small-waste assumption eventually gives \(W_{\mathcal P_j}\le c_\gamma x_j^{3/5}\). The preceding proposition implies the lower limit is at least \(1-\gamma\). Taking \(\gamma\downarrow0\) proves \eqref{eq:above-ratio}. For the uniform lower bound in \eqref{eq:above-profile}, fix \(\gamma=1/2\). At every \(x\ge X_{1/2}\) with positive excess, each packing has \(W>c_{1/2}x^{3/5}\) or \(W\ge x\varepsilon/2\). Thus \(c_-=\min(c_{1/2},1/2)\) works for the minimum. For the upper bound the \(n\times n\) grid leaves \(2x\varepsilon-\varepsilon^2\). For \(\varepsilon>0\), take \(K=n+1\) and \(\delta=1-\varepsilon\) in Proposition~\ref{prop:construct-rate}. Since \(K\le x+1\) and \(\delta<1\), its construction gives the uniform \(O(x^{3/5})\) bound (also proved in \cite{Bui,McC}). At \(\varepsilon=0\) the exact grid proves both inequalities. \end{proof} \begin{remark}[The constant in the excess regime]\label{rem:excess-constant} In the range \(x^{-1}\ll\varepsilon\ll x^{-2/5}\) the grid wastes \(2x\varepsilon(1+o(1))\), while \eqref{eq:above-ratio} gives \(W(x)\ge(1-o(1))x\varepsilon\). The stripe test sees only one of the two coordinate directions. We do not know whether \(W(x)/(x\varepsilon)\) has a limit in this range; its limit points lie between \(1\) and \(2\). \end{remark} \begin{corollary}[Finite positive-excess estimate]\label{cor:above-finite} For \(0<\varepsilon\le1/2\) and \(10^{180}A^5\le\sqrt{x}\), every packing has \(W\ge(51/64)x\varepsilon\). If \(0\le\varepsilon\le1/2\), \(\chi\ge0\), \(x\ge10^{360}(\chi+2)^{10}\) and \(W\le \chi\sqrt{x}\), then \(\varepsilon\le64\chi/(51\sqrt{x})\). \end{corollary} \begin{proof} This uses the numerical constants of Appendix~\ref{sec:constant} and its notation \(\mathfrak P_1,\mathfrak P_2,\mathfrak F\). Use \(\sigma=1/64\), \(\ell=10^{-90}\), \(D=A^3/\ell\) and \(r=\ell^2/A^6\). Put \(\varsigma=A^5/(y\ell^2)\), so the hypothesis is \(0<\varsigma\le1\). Then \(D/y=\varsigma\ell/A^2<1/8\). These are the substitutions in the proof of Proposition~\ref{prop:effective-scale} with \(d=1\) and with the present value of \(\ell\). The seven terms of \(A^2\mathfrak P_1/\ell\) and the two terms of \(\mathfrak P_2/\ell\) listed there are each at most one, also when \(\varsigma=1\). Thus \(A^2\mathfrak P_1\le7\ell\), \(\mathfrak P_2\le2\ell\), \(\mathfrak P_1/(y^2r^2)=\varsigma^2 A^2\mathfrak P_1\le7\ell\), and \(1/(y^2r)\le\ell\). In particular \(\mathfrak F\le17\ell\). Use the row cutoff \(C_0=2048\, C_{\rm prep}\), with \(C_{\rm prep}=20000000\cdot262440\). Markov's inequality excludes at most \(1/2048\) of the heights, and the two transverse collars have total width \(4r\le1/2048\). In \eqref{eq:row-budget} take \(\Lambda=3200(C_0 A)^2\) and \(\Delta=10^{45}\mathfrak P_1\), using the deficit bound of Appendix~\ref{sec:constant} on this retained set of rows. The gradient and endpoint terms inside the brackets are at most \(3202\cdot10^{56}\mathfrak F\) and \(2\cdot10^6\mathfrak F\), respectively. On the core, Lemma~\ref{lem:diag-moments} gives \(T^2\le4H\le16B\le6400B\). On the two omitted side collars \(|T|\le C_0 A\). Since \(rA^2\le \mathfrak F\), the integral of \(T^2\) on all the retained rows is bounded by \(\mathfrak F\) times \[ 12800\bigl(10^{41}+3200 C_0^2\,10^{45} +3202\cdot10^{56}+2\cdot10^6\bigr)+8 C_0^2 <10^{85}. \] Thus the squared-angle integral on these rows is at most \(17\cdot10^{85}\ell\le\sigma/32\), and their complement has measure at most \(1/1024=\sigma/16\). These are both bounds in \eqref{eq:above-mixed}. The remaining constants satisfy \(8192\, \Cmesh^2/\sigma^2<10^{180}\), \(2C_{\rm cmp}\le10^{180}\sigma\), and \(4\Gamma_\sigma \Cmesh^2+2\Gamma_\sigma \Cmesh\le2\sigma\,10^{180}\). Also \(64\,\Cmesh/\sigma\le 1/\ell\). Lemmas~\ref{lem:above-mask} and~\ref{lem:above-stripe} now give the ratio \(1-13\sigma=51/64\) by the same arithmetic as in Proposition~\ref{prop:above-slope}. Under the hypotheses involving \(\chi\), one has \(A\le \chi+2\) and hence \(10^{180}A^5\le\sqrt{x}\). The conclusion also holds at \(\varepsilon=0\). \end{proof}