\documentclass[letterpaper,11pt,oneside,reqno]{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[pdftex,backref=page,colorlinks=true,linkcolor=blue,citecolor=red]{hyperref} \usepackage[alphabetic,nobysame]{amsrefs} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %main packages \usepackage{amsmath,amssymb,amsthm,amsfonts,mathtools} \usepackage{upgreek} %equations \allowdisplaybreaks \numberwithin{equation}{section} %conveniences \usepackage[nosort]{cleveref} \usepackage{enumerate} \usepackage{tikz} %paper geometry \usepackage[DIV=12]{typearea} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %draft-specific % \usepackage{refcheck,comment} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %this paper specific \newcommand{\ssp}{\hspace{1pt}} \newcommand{\xx}{\mathsf{x}} \newcommand{\XX}{\mathsf{X}} \newcommand{\kk}{\mathsf{k}} \newcommand{\band}{\mathbf{B}} \newcommand{\pdtile}[1]{\tikz[x=1.1em,y=1.1em,baseline=0.25em]{% \draw[gray!60] (0,0) rectangle (1,1);#1}} \newcommand{\crosstile}{\pdtile{\draw[very thick] (0.5,0)--(0.5,1) (0,0.5)--(1,0.5);}} \newcommand{\bumptile}{\pdtile{\draw[very thick] (0,0.5) arc[start angle=-90,end angle=0,radius=0.55em] (0.5,0) arc[start angle=180,end angle=90,radius=0.55em];}} \newcommand{\halfbumptile}{\pdtile{\draw[very thick] (0,0.5) arc[start angle=-90,end angle=0,radius=0.55em];}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{aliascnt} \newtheorem{proposition}{Proposition}[section] \newaliascnt{lemma}{proposition} \newtheorem{lemma}[lemma]{Lemma} \aliascntresetthe{lemma} \newaliascnt{corollary}{proposition} \newtheorem{corollary}[corollary]{Corollary} \aliascntresetthe{corollary} \newaliascnt{theorem}{proposition} \newtheorem{theorem}[theorem]{Theorem} \aliascntresetthe{theorem} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \theoremstyle{definition} \newaliascnt{remark}{proposition} \newtheorem{remark}[remark]{Remark} \aliascntresetthe{remark} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \crefname{proposition}{proposition}{propositions} \Crefname{proposition}{Proposition}{Propositions} \crefname{lemma}{lemma}{lemmas} \Crefname{lemma}{Lemma}{Lemmas} \crefname{corollary}{corollary}{corollaries} \Crefname{corollary}{Corollary}{Corollaries} \crefname{theorem}{theorem}{theorems} \Crefname{theorem}{Theorem}{Theorems} \crefname{remark}{remark}{remarks} \Crefname{remark}{Remark}{Remarks} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \title{Asymptotics of principal evaluations of $\beta$-Grothendieck polynomials at layered permutations} \author{Greta Panova and Leonid Petrov} \date{December 3, 2026} \begin{document} \maketitle \begin{abstract} We study the asymptotics of the principal specializations $\Upsilon_w(\beta)=\mathfrak{G}^{\beta}_w(1,\ldots,1)$ of the Grothen\-dieck polynomials with a general parameter $\beta>-1$ at layered permutations $w$. The special case $\beta=0$ corresponds to Schubert polynomials. These specializations factor over the blocks of~$w$: a block of size $n$ preceded by $k$ entries contributes a $k\times k$ Hankel determinant $F(k,n,\beta)$ of suitably normalized Narayana polynomials with indices starting at $n$. The Narayana polynomials are the moments of the Marchenko--Pastur law (which first appeared as the limiting spectral distribution of Wishart random matrices), so these determinants are log-gas averages. Using this log-gas representation, we show that the leading term of $\log F(k,n,\beta)$ is $(k+n)^2$ times an explicit function of $k/(k+n)$, uniformly in $k$. For $\beta\ne0$, this function has a third-order phase transition at $k/(k+n)=\min(\sqrt{1+\beta},1/\sqrt{1+\beta})$. Below this value, the log-gas has a soft edge. Above it, the gas fills its whole support. When $k/(k+n)$ exceeds this value by at least a fixed $\varepsilon>0$, $F(k,n,\beta)$ equals an elementary pipe-dream upper bound, up to an exponentially small relative error. For $\beta\ne0$, the ratio of $F(k,n,\beta)$ to this bound is the emptiness formation probability of a triangular region in the six-vertex model at its free-fermion point with domain wall boundary conditions. Our asymptotics prove the formula for its free energy, with the third-order transition, proposed by Colomo and Pronko \cite{colomo2024scaling}. From the leading asymptotics of the determinants, we find the growth constant $c_L(\beta)=\lim_{M\to\infty}M^{-2}\log_2\max\Upsilon_w(\beta)$ over layered $w\in S_M$ as the supremum of an explicit function of one variable. For $-1<\beta<1$, the sets of rescaled block boundaries of the maximizers converge in the Hausdorff distance to a geometric progression together with its limit zero, and at $\beta=0$ we recover the ratio and the constant found in \cite{MoralesPakPanova2019} for Schubert polynomials. For $\beta\ge1$, we have $c_L(\beta)=\frac12\log_2(1+\beta)$, which is also the growth constant of the maximum and of the sum of $\Upsilon_w(\beta)$ over all permutations of a given size. This extends the $\beta=1$ result of \cite{GrothendieckShenanigans2024} to all $\beta\ge1$. For $\beta>1$, we also find the next term, of order $M^{3/2}$, of the layered maximum, and the shape of the maximizers. Finally, a counterexample of \cite{AndersonPanovaPetrov2026} to the Merzon--Smirnov conjecture \cite{merzon2016determinantal} for Schubert polynomials extends to all $\beta$ near $0$: no layered permutation maximizes $\Upsilon_w(\beta)$ over $S_{17}$. \end{abstract} \section{Introduction} \label{sec:intro} \subsection{Overview} For $w\in S_M$, let $\mathfrak S_w(1,\ldots,1)$ be the principal specialization of the Schubert polynomial $\mathfrak S_w$ \cite{LascouxSchutzenberger1982Schubert}. Stanley \cite{stanley2017some} suggested that the limit $\lim_{M\to\infty}M^{-2}\log_2\max_{w\in S_M}\mathfrak S_w(1,\ldots,1)$ exists, and asked for its value and for a limiting description of the maximizing permutations. The question remains open. From exact values for $M\le10$, Merzon and Smirnov \cite{merzon2016determinantal} conjectured that for every $M$ the maximum is attained at a layered permutation. Recall that a permutation $w\in S_M$ is \emph{layered} if $\{1,\ldots,M\}$ splits into intervals, called \emph{blocks}, such that $w$ maps each block onto itself in reverse order. Let $L_M\subset S_M$ be the set of layered permutations. For example, $32165487\in L_8$ has blocks $\{1,2,3\}$, $\{4,5,6\}$, and $\{7,8\}$. \Cref{fig:layered} shows a larger example. For layered permutations, Morales, Pak, and Panova \cite{MoralesPakPanova2019} answered Stanley's question: the limit $c_L(0)\coloneqq\lim_{M\to\infty}M^{-2}\log_2\max_{w\in L_M}\mathfrak S_w(1,\ldots,1)$ % Basis: MoralesPakPanova2019 (arXiv:1805.04341); recomputed in checks/main_results.py, section (C1). exists, $c_L(0)=0.2932\ldots$, and the block boundaries of the maximizers in $L_M$, rescaled by $M$, approach a geometric progression with ratio $0.4331\ldots$. In particular, the $\liminf$ in Stanley's question is at least $c_L(0)$. In the other direction, $\mathfrak S_w(1,\ldots,1)$ counts the reduced bumpless pipe dreams of $w$ \cite{LamLeeShimozono2021BPD}, while all bumpless pipe dreams of size $M$, reduced or not, are equinumerous with $M\times M$ alternating sign matrices \cite{Weigandt2020_bumpless}. By the enumeration of alternating sign matrices \cite{zeilberger1996proof}, \cite{kuperberg1996another}, this bounds the % Basis: GrothendieckShenanigans2024 (arXiv:2407.21653), alternating sign matrix bound; log_2(3 sqrt3/4) = 0.377444. $\limsup$ by $\log_2(3\sqrt3/4)=0.3774\ldots$ \cite[Remark~6.8]{GrothendieckShenanigans2024}. The layered analysis of \cite{MoralesPakPanova2019} was extended in \cite{Zhang2025multilayered} to the specializations $\mathfrak S_w(1,q,q^2,\ldots)$ of multi-layered permutations at roots of unity~$q$. \begin{figure}[ht] \centering \begin{tikzpicture}[scale=0.25] \foreach \a/\b in {0/1,1/3,3/7,7/17} \fill[gray!20] ({\a+0.5},{17.5-\b}) rectangle ({\b+0.5},{17.5-\a}); \draw[gray!40,very thin] (0.5,0.5) grid (17.5,17.5); \foreach \v [count=\i] in {1,3,2,7,6,5,4,17,16,15,14,13,12,11,10,9,8} \fill (\v,{18-\i}) circle (5pt); \end{tikzpicture} % Basis: maximality of w(1,2,4,10) in S_17 among layered permutations: checks/nonlayered_S17.py (exhaustive) and checks/main_results.py, section (C3); also MoralesPakPanova2019, appendix table. \caption{The layered permutation $w=(1,3,2,7,6,5,4,17,16,\ldots,8)\in S_{17}$, with blocks (shaded) of sizes $1,2,4,10$. Row $i$ has its dot in column $w(i)$. Among layered permutations in $S_{17}$, it has the largest principal specialization $\mathfrak S_w(1,\ldots,1)$.} \label{fig:layered} \end{figure} Anderson, Panova, and Petrov found a permutation in $S_{17}$ whose specialization exceeds that of every layered permutation of the same size \cite[Theorem~2]{AndersonPanovaPetrov2026}, which disproves the Merzon--Smirnov conjecture. However, they conjectured that the maximum over all permutations still has the layered growth constant, that is, $M^{-2}\log_2\max_{w\in S_M}\mathfrak S_w(1,\ldots,1)$ tends to $c_L(0)$ \cite[Conjecture~24]{AndersonPanovaPetrov2026}. \medskip The $\beta$-Grothendieck polynomials $\mathfrak G^\beta_w$ \cite{fomin1994grothendieck} are a one-parameter deformation of the Schubert polynomials, with $\mathfrak G^0_w=\mathfrak S_w$, and the case $\beta=-1$ corresponds to the Grothendieck polynomials of \cite{lascoux1982structure}. The question of how large the principal specializations of $\mathfrak G^\beta_w$ can be was first touched on in \cite{MPP4GrothExcited}, \cite{dennin2022}. In particular, \cite{MPP4GrothExcited} asked whether the layered analysis of \cite{MoralesPakPanova2019} extends to $\beta>0$. Morales, Panova, Petrov, and Yeliussizov \cite{GrothendieckShenanigans2024} computed the analogous limit for the principal specializations $\Upsilon_w(\beta)\coloneqq\mathfrak G^\beta_w(1,\ldots,1)$ at $\beta=1$ and gave bounds for $\beta>0$. At $\beta=1$, the maximum and the sum of $\Upsilon_w(1)$ over $w\in S_M$ both grow as $2^{M^2/2+o(M^2)}$, and layered permutations reach this rate. The same paper also shows that, for all values of $\beta$ and all $w\in L_M$, the specialization $\Upsilon_w(\beta)$ factors over the blocks of~$w$ \cite[Proposition~6.18]{GrothendieckShenanigans2024}. The corresponding block factors $F(k,n,\beta)$ are, up to a power of $1+\beta$, Hankel determinants of Narayana polynomials \cite[Theorem~6.15]{GrothendieckShenanigans2024} (see also \cite[Theorem~5.9]{HKYY2019reverse}). \medskip In this paper, we find, for every $\beta>-1$, the leading asymptotics of the block factors $F(k,n,\beta)$ and the growth constant \begin{equation} \label{eq:cL_def} c_L(\beta)\coloneqq\lim_{M\to\infty}\frac1{M^2}\log_2\max_{w\in L_M}\Upsilon_w(\beta) \end{equation} of the layered maximum. Our main results are as follows: \begin{enumerate}[$\bullet$] \item We find the leading asymptotics of $\log F(k,n,\beta)$ on the scale $(k+n)^2$, uniformly in $k$, and show that it has a third-order phase transition at $k/(k+n)=\min(\sqrt{1+\beta},1/\sqrt{1+\beta})$ for $\beta\ne0$ (\Cref{thm:asymptotics}). \item For $k/(k+n)$ at a fixed distance above the transition point, we compute $\log F(k,n,\beta)$ explicitly up to an error exponentially small in $k+n$ (\Cref{prop:frozen}). The main term is the logarithm of an elementary pipe-dream upper bound (\Cref{prop:sites}). \item We prove that the limit \eqref{eq:cL_def} defining $c_L(\beta)$ exists, and express $c_L(\beta)$ as the supremum of an explicit function of one variable (\Cref{thm:layered}). \item For $-1<\beta<1$, we determine the limit shape of the layered maximizers: their rescaled block boundaries converge to a geometric progression $\{\upalpha^j\}_{j\ge0}$ together with its limit $0$, where the ratio $\upalpha$ is the root of an explicit equation (\Cref{thm:layered}). \item For $\beta\ge1$, we show that $c_L(\beta)=\frac12\log_2(1+\beta)$ and that this is also the growth constant of the maximum and of the sum of $\Upsilon_w(\beta)$ over all of $S_M$ (\Cref{thm:layered}). This extends the $\beta=1$ result of \cite{GrothendieckShenanigans2024}. \item For $\beta>1$, we find the correction of order $M^{3/2}$ to $\log\max_{w\in L_M}\Upsilon_w(\beta)$ and show that the block sizes of the maximizers lie within $O(M^{1/4})$ of an arithmetic progression (\Cref{prop:large_beta}). \item We extend the $S_{17}$ counterexample of \cite{AndersonPanovaPetrov2026} from $\beta=0$ to an explicit interval of $\beta$ around $0$ (\Cref{rmk:non_layered}). \end{enumerate} Let us now describe these results in more detail. \subsection{Asymptotics of block factors} \label{subsec:intro_asymptotics} For $k,n\ge0$, let $w_0(k,n)\in S_{k+n}$ be the permutation that fixes $1,\ldots,k$ and reverses $k+1,\ldots,k+n$, and let $F(k,n,\beta)\coloneqq\Upsilon_{w_0(k,n)}(\beta)$. For a composition $b=(b_\ell,\ldots,b_1)$ of $M$, let $w(b)\in S_M$ be the layered permutation with blocks of sizes $b_\ell,\ldots,b_1$ from left to right. Let $M_i\coloneqq M-b_1-\cdots-b_i$ for $0\le i\le\ell$, so that for $i\ge1$ the block of size $b_i$ is preceded by $M_i$ entries. By % Checked for all compositions of M <= 6 in checks/combinatorics.py. \cite[Proposition~6.18]{GrothendieckShenanigans2024}, \begin{equation} \label{eq:layered_product} \Upsilon_{w(b)}(\beta)=\prod_{i=1}^{\ell}F(M_i,b_i,\beta). \end{equation} Throughout the paper, we denote \begin{equation*} \xx\coloneqq1+\beta>0. \end{equation*} The block factors are, up to a power of~$\xx$, Hankel determinants of Narayana polynomials in~$\xx$. For $m\ge0$, let $\mathrm{Dyck}(m)$ be the set of Dyck paths of semilength $m$, and for $d\in\mathrm{Dyck}(m)$, let $v(d)$ be its number of valleys, that is, of down steps immediately followed by an up step. The Narayana polynomials are \begin{equation} \label{eq:narayana} \mathcal{L}_{m}(\xx)\coloneqq\sum_{d\in\mathrm{Dyck}(m)}\xx^{v(d)}. \end{equation} For example, $\mathcal L_0(\xx)=\mathcal L_1(\xx)=1$, $\mathcal L_2(\xx)=1+\xx$, and $\mathcal L_3(\xx)=1+3\xx+\xx^2$ (see \Cref{fig:dyck}). In general, $\mathcal L_m(\xx)=\sum_{j=0}^{m-1}\frac1m\binom mj\binom m{j+1}\xx^j$ for $m\ge1$, and $\mathcal L_m(1)=\frac1{m+1}\binom{2m}m$ is the Catalan number. % Checked against eq:pipe_dreams for k+n <= 6 in checks/combinatorics.py. By \cite[Theorem~6.15]{GrothendieckShenanigans2024}, see also \cite[Theorem~5.9]{HKYY2019reverse}, \begin{equation} \label{eq:F} F(k,n,\beta)=\xx^{-\binom{k}{2}}\det\bigl[\mathcal{L}_{n+i+j-2}(\xx)\bigr]_{i,j=1}^{k}. \end{equation} Let $N\coloneqq k+n$. We show that the leading term of $\log F(k,n,\beta)$ is $N^2$ times an explicit function of the ratio $\kk\coloneqq k/N$. In terms of the constants $\uplambda_\pm\coloneqq(1\pm\sqrt\xx)^2$, $\XX_+\coloneqq\max(1,\xx)$, and $\updelta\coloneqq\min(\sqrt\xx,1/\sqrt\xx)$, this function is \begin{align*} h_{\xx}(\kk)&\coloneqq \kk\log\uplambda_+-\frac{\kk^2}{2}\log\xx+\kk^2\log \kk-\frac{(1+\kk)^2}{2}\log(1+\kk)-\frac{(1-\kk)^2}{2}\log(1-\kk),&&0\le \kk\le\updelta,\\ h_{\xx}(\kk)&\coloneqq \kk(1-\kk)\log \XX_+-\frac{(1-\kk)^2}{2}\log(1-\updelta^2),&&\updelta\le \kk\le1, \end{align*} with $0\log0\coloneqq0$. At $\xx=1$ (the Schubert case), we have $\uplambda_+=4$ and $\updelta=1$, so only the first line is used, and it reads \begin{equation*} h_1(\kk)=2\kk\log2+\kk^2\log\kk-\frac{(1+\kk)^2}{2}\log(1+\kk)-\frac{(1-\kk)^2}{2}\log(1-\kk),\qquad0\le\kk\le1. \end{equation*} \begin{figure}[ht] \centering \begin{tikzpicture}[scale=0.4] \foreach \s in {0,8,16,24,32} \draw[gray!50] (\s,0)--(\s+6,0); \draw[thick] (0,0)--(3,3)--(6,0); \node at (3,-1.2) {$1$}; \begin{scope}[shift={(8,0)}] \draw[thick] (0,0)--(2,2)--(3,1)--(4,2)--(6,0); \draw[fill=white] (3,1) circle (5pt); \node at (3,-1.2) {$\xx$}; \end{scope} \begin{scope}[shift={(16,0)}] \draw[thick] (0,0)--(2,2)--(4,0)--(5,1)--(6,0); \draw[fill=white] (4,0) circle (5pt); \node at (3,-1.2) {$\xx$}; \end{scope} \begin{scope}[shift={(24,0)}] \draw[thick] (0,0)--(1,1)--(2,0)--(4,2)--(6,0); \draw[fill=white] (2,0) circle (5pt); \node at (3,-1.2) {$\xx$}; \end{scope} \begin{scope}[shift={(32,0)}] \draw[thick] (0,0)--(1,1)--(2,0)--(3,1)--(4,0)--(5,1)--(6,0); \draw[fill=white] (2,0) circle (5pt) (4,0) circle (5pt); \node at (3,-1.2) {$\xx^2$}; \end{scope} \end{tikzpicture} \caption{The five Dyck paths $d\in\mathrm{Dyck}(3)$, with their valleys marked by open circles and the weight $\xx^{v(d)}$ below each path. Summing the weights gives $\mathcal L_3(\xx)=1+3\xx+\xx^2$.} \label{fig:dyck} \end{figure} \begin{theorem}[\Cref{thm:asymptotics} in the text] For fixed $\xx>0$, we have the uniform convergence \begin{equation} \label{eq:intro_asymptotics} \sup_{0\le k\le N}\Bigl|\frac{1}{N^2}\log F(k,N-k,\beta)-h_{\xx}\Bigl(\frac kN\Bigr)\Bigr|\to0,\qquad N\to\infty. \end{equation} For $\xx\ne1$, $h_{\xx}$ is $C^2$ but not $C^3$ at $\kk=\updelta$. \end{theorem} The Narayana polynomials $\mathcal L_m(\xx)$ are the moments of the Marchenko--Pastur law $\mu_{\xx}$ \cite{MarchenkoPastur} with parameter $\xx$, so by Heine's formula, $F(k,n,\beta)$ is the expectation of $\prod_{i=1}^kt_i^{\ssp n}$ in the $k$-point log-gas, that is, the orthogonal polynomial ensemble with the one-particle weight~$\mu_{\xx}$ (see \Cref{sec:narayana}). The function $h_{\xx}$ comes from the equilibrium measure of this log-gas, whose external field is a multiple of $\log t$ (see \Cref{sec:asymptotics}). For $\kk<\updelta$, the support of the equilibrium measure has a soft left edge strictly inside $[\uplambda_-,\uplambda_+]$, while for $\kk\ge\updelta$ it fills the whole interval. The two formulas for $h_{\xx}$ match up to the second derivative at $\kk=\updelta$, but not to the third, so the transition is of third order. Third-order phase transitions in log-gases and matrix models go back to \cite{GrossWitten1980}, \cite{DouglasKazakov1993}; see also the survey \cite{MajumdarSchehr2014}. We prove \Cref{thm:asymptotics} by the Laplace principle for this log-gas, an analogue of the large deviation principle for log-gases \cite{BenArousGuionnet1997}, \cite{AndersonGuionnetZeitouniBook}. The underlying variational problem is the weighted equilibrium problem of potential theory \cite{saff2013logarithmic}. At $\beta=0$, we have $\updelta=1$ and $\uplambda_-=0$, so the second regime reduces to $\kk=1$ and the external field is singular at the hard edge $t=0$. For this reason, we keep the argument self-contained. In this case, $F(k,n,0)$ is also an explicit product \cite{Proctor90}, \cite{FK}, \cite[Theorem~6.13]{GrothendieckShenanigans2024} (the evaluation of the determinant below goes back to \cite{DesainteCatherineViennot1986}): \begin{equation*} F(k,n,0)=\det\Bigl[\frac{1}{n+i+j-1}\binom{2(n+i+j-2)}{n+i+j-2}\Bigr]_{i,j=1}^{k}=\prod_{1\le i0$, all terms of the sum for $F(k,n,\beta)=\Upsilon_{w_0(k,n)}(\beta)$ are positive, so extending it to all $2^{|\band|}$ subsets $D\subseteq\band$ gives the upper bound $\beta^{-\binom n2}(1+\beta)^{|\band|}$ for $F(k,n,\beta)$. The ratio of $F(k,n,\beta)$ to this bound is a probability. More generally, for all $\xx\ne1$ and $n\ge1$, \begin{equation} \label{eq:intro_pd_probability} F(k,n,\beta)=\XX_+^{k(n-1)}(1-\updelta^2)^{-\binom n2}\ssp\mathbb P\bigl(\partial D=w_0(k,n)\bigr), \end{equation} where the random set $D\subseteq\band$ contains each cell of $\band$ independently with probability $1-\updelta^2$. For $\xx>1$, this is the computation above, since $\XX_+=\xx$ and $1-\updelta^2=\beta/(1+\beta)$. For $0<\xx<1$, it follows from the case $\xx>1$ by the symmetry $F(k,n,\beta)=\xx^{k(n-1)}F(k,n,\beta')$ with $1+\beta'=1/\xx$ (\Cref{prop:exact}). \begin{figure}[ht] \centering \begin{tikzpicture}[scale=0.45] \foreach \i in {1,...,7}{ \pgfmathtruncatemacro{\r}{8-\i} \foreach \j in {1,...,\r}{ \pgfmathtruncatemacro{\m}{\i+\j-1} \ifnum\m>4\relax \fill[gray!25] (\j-1,-\i) rectangle (\j,1-\i); \fi \draw[gray!60] (\j-1,-\i) rectangle (\j,1-\i); } } \foreach \i/\j in {5/1,5/2,5/3,6/1,6/2,7/1} \draw[very thick] (\j-0.5,-\i)--(\j-0.5,1-\i) (\j-1,0.5-\i)--(\j,0.5-\i); \foreach \i/\j in {1/6,2/4,3/5,4/2,4/3} \draw[very thick,blue!70!black] (\j-0.5,-\i)--(\j-0.5,1-\i) (\j-1,0.5-\i)--(\j,0.5-\i); \foreach \i in {1,...,7} \node[left] at (0,0.5-\i) {\scriptsize$\i$}; \foreach \j in {1,...,7} \node[above] at (\j-0.5,0) {\scriptsize$\j$}; \end{tikzpicture} % Check: the shaded band has 5+6+7 = 18 = k(n-1)+binom(n,2) cells; band claims of prop:sites checked in checks/combinatorics.py. \caption{The staircase of size $N=8$ for $k=n=4$, with rows $i$ numbered downward and columns $j$ to the right. The band $\band$ (shaded) consists of the $18$ cells with $40$ (see \Cref{lem:transition}), so the probability is $e^{-c_{\kk}N^2+o(N^2)}$. The next result sharpens the first case: if $\kk$ exceeds $\updelta$ by a fixed amount, then the random set $D$ has Demazure product $w_0(k,n)$ with probability $1-O(e^{-\kappa N})$. Hence $F(k,n,\beta)$ saturates the upper bound $\XX_+^{k(n-1)}(1-\updelta^2)^{-\binom n2}$ up to an exponentially small relative error. \begin{proposition}[\Cref{prop:frozen} in the text] Let $\varepsilon>0$. For $n\ge1$ and $k/N\ge\updelta+\varepsilon$, \begin{equation} \label{eq:intro_frozen_exact} \log F(k,n,\beta)=k(n-1)\log \XX_++\binom n2\log\frac{1}{1-\updelta^2}+O(e^{-\kappa N}), \end{equation} where $\kappa>0$ and the constant in $O(e^{-\kappa N})$ depend only on $\xx$ and $\varepsilon$. In particular, for $n\ge1$ and $k/N\ge1/\sqrt2+\varepsilon$, \begin{equation*} \log_2F(k,n,1)=\frac{N^2-k^2}{2}-\frac{N+k}{2}+O(e^{-\kappa N}), \end{equation*} which sharpens the estimate $\frac{N^2-k^2}{2}-O(N)$ of \cite[Lemma~6.19]{GrothendieckShenanigans2024}. \end{proposition} To prove \Cref{prop:frozen}, we use Chebyshev polynomials to write $F(k,n,\beta)$ as a Toeplitz-plus-Hankel determinant with symbol $(1+\sqrt\xx\ssp z)^{n-1}(1+\sqrt\xx/z)^{n-1}$. For $0<\xx<1$, the probability in \eqref{eq:intro_pd_probability} is $(1-\xx)^{\binom n2}F(k,n,\beta)$. An identity of Basor and Ehrhardt \cite{BasorEhrhardt2009}, a Toeplitz-plus-Hankel analogue of the Borodin--Okounkov--Geronimo--Case formula \cite{BorodinOkounkov2000}, \cite{GeronimoCase1979}, expresses this probability as a Fredholm determinant, and we show that this determinant is exponentially close to $1$. The case $\xx>1$ follows from the symmetry $\xx\leftrightarrow1/\xx$ of \Cref{prop:exact}. The probability in \eqref{eq:intro_pd_probability} is the emptiness formation probability \cite{ColomoPronko2008EFP} of a triangular region in the six-vertex model at its free-fermion point with domain wall boundary conditions. Explicit formulas for it were obtained by Kitaev and Pronko \cite{KitaevPronko2019}, and it was studied by Colomo and Pronko \cite{colomo2024scaling} (see \Cref{rmk:colomo_pronko}). By a saddle point analysis of a discrete log-gas, Colomo and Pronko proposed a formula for the exponential decay rate of this probability on the scale $N^2$ for a fixed ratio $k/N$, with a third-order phase transition at $\kk=\updelta$; see also \cite[Remark~6.20]{GrothendieckShenanigans2024} for $\beta=1$. \Cref{thm:asymptotics} proves this formula, uniformly in~$k$. For a square region, a similar third-order transition was found in \cite{ColomoPronko2013}, and precise asymptotics for the corresponding domino tilings of the Aztec diamond with a rectangular corner removed were recently proved in \cite{CharlierClaeys2025}. \subsection{Layered maximum} Recall the growth constant $c_L(\beta)$ defined in \eqref{eq:cL_def}. For $\beta=0$, it is the constant $c_L(0)$ of \cite{MoralesPakPanova2019}. The map $b\mapsto w(b)$ is a bijection from the compositions of $M$ onto $L_M$, so the maximum is over $\Upsilon_{w(b)}(\beta)$, and each of these factorizes into the $F(M_i,b_i,\beta)$. Combining the factorization with \Cref{thm:asymptotics}, which is uniform in $k$, reduces the computation of $c_L(\beta)$ to a variational problem in one variable. \begin{figure}[ht] \centering \begin{tikzpicture}[x=2.4cm,y=5cm] \draw[->] (-1.1,0)--(3.2,0) node[right] {$\beta$}; \draw[->] (-1,-0.05)--(-1,1.1) node[above] {$c_L(\beta)$}; \foreach \b in {0,1,2,3} \draw (\b,0)--(\b,-0.02) node[below] {\scriptsize$\b$}; \node[below] at (-1,-0.02) {\scriptsize$-1$}; \foreach \c in {0.5,1} \draw (-1,\c)--(-1.04,\c) node[left] {\scriptsize$\c$}; \draw[gray!60] (1,0)--(1,0.5); \draw[dashed] (-1,0)--(0,0) plot[domain=0:1,samples=30] (\x,{ln(1+\x)/(2*ln(2))}); % Data: checks/plot_cL.py, output checks/plot_cL.txt. \draw[thick] plot coordinates {(-1,0) (-0.9994,0.0004) (-0.9978,0.0015) (-0.9950,0.0032) (-0.9911,0.0055) (-0.9861,0.0084) (-0.9800,0.0117) (-0.9728,0.0154) (-0.9644,0.0196) (-0.9550,0.0241) (-0.9444,0.0290) (-0.9328,0.0342) (-0.9200,0.0397) (-0.9061,0.0454) (-0.8911,0.0515) (-0.8750,0.0578) (-0.8578,0.0643) (-0.8394,0.0710) (-0.8200,0.0780) (-0.7994,0.0851) (-0.7778,0.0924) (-0.7550,0.0999) (-0.7311,0.1076) (-0.7061,0.1154) (-0.6800,0.1234) (-0.6528,0.1316) (-0.6244,0.1398) (-0.5950,0.1483) (-0.5644,0.1568) (-0.5328,0.1655) (-0.5000,0.1743) (-0.4661,0.1832) (-0.4311,0.1922) (-0.3950,0.2014) (-0.3578,0.2107) (-0.3194,0.2200) (-0.2800,0.2295) (-0.2394,0.2391) (-0.1978,0.2489) (-0.1550,0.2587) (-0.1111,0.2686) (-0.0661,0.2787) (-0.0200,0.2889) (0.0272,0.2992) (0.0756,0.3096) (0.1250,0.3201) (0.1756,0.3307) (0.2272,0.3415) (0.2800,0.3524) (0.3339,0.3635) (0.3889,0.3747) (0.4450,0.3861) (0.5022,0.3976) (0.5606,0.4094) (0.6200,0.4213) (0.6806,0.4335) (0.7422,0.4459) (0.8050,0.4587) (0.8689,0.4718) (0.9339,0.4855) (1.0000,0.5000) (1.1000,0.5352) (1.2000,0.5688) (1.3000,0.6008) (1.4000,0.6315) (1.5000,0.6610) (1.6000,0.6893) (1.7000,0.7165) (1.8000,0.7427) (1.9000,0.7680) (2.0000,0.7925) (2.1000,0.8161) (2.2000,0.8390) (2.3000,0.8612) (2.4000,0.8828) (2.5000,0.9037) (2.6000,0.9240) (2.7000,0.9438) (2.8000,0.9630) (2.9000,0.9817) (3.0000,1.0000)}; \fill (0,0.2932) circle[radius=1.5pt]; \node[above left] at (0,0.2932) {\scriptsize$c_L(0)$}; \end{tikzpicture} \caption{The growth constant $c_L(\beta)$ \eqref{eq:cL_def} for $-1<\beta\le3$ (solid), and the lower bound $\frac12\log_2\XX_+$ of \Cref{thm:layered} (dashed). The two agree for $\beta\ge1$. The marked point is $c_L(0)=0.2932\ldots$ of \cite{MoralesPakPanova2019}. The derivative of $c_L$ jumps at $\beta=1$.} \label{fig:cL} \end{figure} \begin{theorem}[\Cref{thm:layered} in the text] The limit \eqref{eq:cL_def} defining $c_L(\beta)$ as the growth constant of the layered maxima exists, and \begin{equation} \label{eq:intro_c_sup} c_L(\beta)=\frac1{\log2}\sup_{0\le \kk<1}\frac{h_{\xx}(\kk)}{1-\kk^2}. \end{equation} \begin{enumerate}[$\bullet$] \item For $\beta\ge1$, $c_L(\beta)=\frac12\log_2(1+\beta)$. Moreover, \begin{equation*} \lim_{M\to\infty}\frac1{M^2}\log_2\max_{w\in S_M}\Upsilon_w(\beta)=\lim_{M\to\infty}\frac1{M^2}\log_2\sum_{w\in S_M}\Upsilon_w(\beta)=\frac12\log_2(1+\beta). \end{equation*} \item For $-1<\beta<1$, the supremum in \eqref{eq:intro_c_sup} is attained at a unique $\upalpha\in(0,\updelta)$, the unique root in $(0,\updelta)$ of \begin{equation} \label{eq:intro_alpha} (1+\upalpha^2)\log\uplambda_+-\upalpha\log\xx+2\upalpha\log\upalpha-(1+\upalpha)^2\log(1+\upalpha)+(1-\upalpha)^2\log(1-\upalpha)=0, \end{equation} and \begin{equation} \label{eq:intro_c_closed} c_L(\beta)=\frac12\bigl[\upalpha\log_2\uplambda_+-(1+\upalpha)\log_2(1+\upalpha)-(1-\upalpha)\log_2(1-\upalpha)\bigr], \end{equation} and $c_L(\beta)>\frac12\log_2\XX_+$. If $b=b^{(M)}$ are compositions of $M$ with $M^{-2}\log_2\Upsilon_{w(b)}(\beta)\to c_L(\beta)$, for instance the maximizers, then the sets $\{M_i/M\colon0\le i\le\ell\}$ converge in the Hausdorff distance to $\{\upalpha^j\colon j\ge0\}\cup\{0\}$. \item $c_L'(1^-)=\frac{4\sqrt2-5}{4\log2}$ and $c_L'(1^+)=\frac1{4\log2}$. \end{enumerate} \end{theorem} At $\xx=1$ (the Schubert case $\beta=0$), \eqref{eq:intro_alpha} and \eqref{eq:intro_c_closed} recover the ratio $\upalpha=0.4331\ldots$ and the constant $c_L(0)=0.2932\ldots$ of \cite{MoralesPakPanova2019} (\Cref{rmk:table}). At $\beta=1$, \cite[Theorem~6.16 and Remark~6.17]{GrothendieckShenanigans2024} constructed layered permutations reaching the growth constant $\frac12$, with geometric block sizes of any ratio in $[1/\sqrt2,1)$, and left open which compositions are optimal. By the last item of \Cref{thm:layered}, the derivative of $c_L(\beta)$ jumps at $\beta=1$ (see \Cref{fig:cL}). For $\beta\ge1$, the layered lower bound matches, to leading order, the elementary bound $\sum_{w\in S_M}\Upsilon_w(\beta)\le(1+\beta)^{\binom M2}$ from the pipe dream expansion, which proves the statement about all of $S_M$ in the first item of \Cref{thm:layered}. In the notation of \cite[(6.17)]{GrothendieckShenanigans2024}, where $c(\beta)$ denotes the base-$2$ growth constant over all of $S_M$, this shows that $c(\beta)$ exists for $\beta\ge1$, as conjectured for all $\beta\ge0$ in \cite[Section~7.12]{MPP4GrothExcited}, and equals the upper bound $\frac12\log_2(1+\beta)$ of \cite[Proposition~6.22]{GrothendieckShenanigans2024}. For $\beta>1$, \Cref{prop:large_beta} goes one order further. The logarithm of the layered maximum has a negative correction of order $M^{3/2}$ with an explicit constant, and every maximizer is close, within $O(M^{1/4})$ in each block, to an arithmetic progression of block sizes that decreases from the last block to the first. Such maximizers have about $\sqrt{2M/\log_\beta(1+\beta)}$ blocks, each of size $O(\sqrt M)$, so their rescaled block boundaries fill $[0,1]$, unlike the geometric progressions for $-1<\beta<1$. The proof reduces the problem to a quadratic optimization over compositions. \subsection{Beyond layered permutations} Merzon and Smirnov \cite{merzon2016determinantal} conjectured that for every $M$, the maximum of $\mathfrak S_w(1,\ldots,1)$ over $w\in S_M$ is attained at a layered permutation. The larger of the two counterexamples in \cite[Theorem~2]{AndersonPanovaPetrov2026} is the non-layered permutation \begin{equation*} u^*=(1,3,2,8,6,5,17,4,16,15,14,13,12,11,10,9,7)\in S_{17}, \end{equation*} % Basis: AndersonPanovaPetrov2026, PNAS Thm. 2 (Thm. 1.2 of arXiv:2603.20104v1); 3528445515842977489500/3050684475186219300000 = 1.1566; layered maximum recomputed in checks/nonlayered_S17.py and checks/main_results.py, section (C3). whose value $\Upsilon_{u^*}(0)$ exceeds the layered maximum $\Upsilon_{w(1,2,4,10)}(0)$ over $S_{17}$ by about $16\%$. In \Cref{rmk:non_layered}, we show that $u^*$ still beats every layered permutation in $S_{17}$ for all $\beta$ with $-\beta_2\le\beta\le\beta_1$, where % Basis: checks/nonlayered_S17.py, output checks/nonlayered_S17.txt; 523/131072 = 0.00399, 75/65536 = 0.00114; argument in rmk:non_layered. $\beta_1=523/131072\approx0.004$ and $\beta_2=75/65536\approx0.0011$. Hence for these $\beta$, no layered permutation maximizes $\Upsilon_w(\beta)$ over $S_{17}$. The argument uses that, by \eqref{eq:pipe_dreams}, each $\Upsilon_w(\beta)$ is a polynomial in $\beta$ with nonnegative coefficients. For $\beta\ge0$, it then suffices to compare $\Upsilon_{u^*}(0)$ with the layered maximum at $\beta_1$. For $\beta<0$, we instead compare the layered maximum at $\beta_2$ with a lower bound on $\Upsilon_{u^*}(\beta)$ derived from the fact that every pipe dream of $u^*$ contains a reduced one \cite[Lemma~3.4(1)]{KnutsonMiller2004}. We compute both layered maxima exactly from the block factorization over all $2^{16}$ compositions of $17$. The question for large $M$ remains open. For $\beta\ge1$, layered permutations are optimal to leading order: by \Cref{thm:layered}, the maximum over $S_M$ and the maximum over layered permutations have the same growth constant $\frac12\log_2(1+\beta)$. For $-1<\beta<1$, we do not know whether $M^{-2}\log_2\max_{w\in S_M}\Upsilon_w(\beta)$ converges to $c_L(\beta)$. At $\beta=0$, this convergence is \cite[Conjecture~24]{AndersonPanovaPetrov2026}. \subsection{Outline} In \Cref{sec:narayana}, we recall the pipe dream expansion of $\Upsilon_w(\beta)$ and its block factorization for layered permutations, and identify the Narayana polynomials as the moments of the Marchenko--Pastur law. This expresses $F(k,n,\beta)$ as an average over a log-gas. In \Cref{sec:bounds}, we bound $F(k,n,\beta)$ from above and below for $\xx>1$ by locating its pipe dreams in a staircase, and pass to $0<\xx<1$ by the symmetry $\xx\leftrightarrow1/\xx$. In \Cref{sec:asymptotics}, we prove \Cref{thm:asymptotics} by the Laplace principle for the log-gas, and \Cref{prop:frozen} by writing $F(k,n,\beta)$ as a Toeplitz-plus-Hankel determinant. In \Cref{sec:layered}, we combine the block factorization with \Cref{thm:asymptotics} to prove \Cref{thm:layered}, go one order further for $\beta>1$ in \Cref{prop:large_beta}, and discuss non-layered maximizers. \Cref{app:potential} contains the proofs of the standard facts from potential theory used in \Cref{sec:asymptotics}, and \Cref{app:elementary} the proofs of three lemmas that use only elementary real analysis. \subsection{Acknowledgments} This work grew out of discussions at the American Institute of Mathematics (AIM) SQuaRE ``Young tableau asymptotics'' (2019--2024), organized by Igor Pak, with Jehanne Dousse, Alejandro Morales, Greta Panova, Leonid Petrov, and Damir Yeliussizov. The present work was largely carried out with the help of AI (see the statement below) during the thematic programme ``Statistical Mechanics and Combinatorics of Discrete Planar Structures'' (September--October 2026) at the Erwin Schr\"odinger International Institute for Mathematics and Physics (ESI), Vienna. We are grateful to AIM and ESI for their support and hospitality. GP was partially supported by NSF grant CCF:AF-2302174. LP was partially supported by the Simons Foundation Travel Support for Mathematicians. \subsection{Provenance of work and AI statement} The question of maximizing principal specializations of $\beta$-Grothendieck polynomials over layered permutations, which extends the Schubert case $\beta=0$ of \cite{MoralesPakPanova2019}, was raised in \cite{MPP4GrothExcited} and posed to the AI models by G.~Panova and L.~Petrov. The work builds on \cite{MoralesPakPanova2019} and \cite{GrothendieckShenanigans2024}, but also involves log-gases, as in \cite{ColomoPronko2013}, \cite{colomo2024scaling}, and Toeplitz-plus-Hankel determinants. The main text and the proofs were written with Claude Code (Claude Opus 5.5, Fable 5.1, and Fable 5.2). The abstract and the Introduction were written with Claude Code under close human supervision. % Scripts: checks/main_results.py, equilibrium.py, formulas.py, analytic.py, combinatorics.py, with outputs checks/*.txt; checks/nonlayered_S17.py (rmk:non_layered) is from an earlier session. Claude Code also wrote and ran numerical checks. They verify, in exact arithmetic for small values of the parameters or by numerical quadrature, identities and explicit formulas used in the proofs, including the cited inputs \eqref{eq:layered_product} and \eqref{eq:F}. They also compare the main results with exact finite-size values (see \Cref{rmk:num_energy,rmk:num_asymptotics,rmk:table,rmk:num_large_beta}). % Transcripts and full reports: gpt_prompts/ (September derivations and referee), gpt_prompts/2026-11-29_referee/ (README.md lists the eight chats); points checked against the text in SUGGESTIONS.md and FABLE_REVIEW.md there. Web-based ChatGPT sessions (ChatGPT~6~Pro and GPT-6.2 Astra) independently derived the leading asymptotics and the layered maximum, in agreement with the text. Further sessions refereed the paper, and we incorporated their corrections. The authors have read the entire paper and checked both its mathematics and its exposition. \section{Narayana measure} \label{sec:narayana} In this section, we identify the Narayana polynomials \eqref{eq:narayana} as the moments of the Marchenko--Pastur law (\Cref{lem:measure}). The block factors $F(k,n,\beta)$ are, up to a power of $\xx$, Hankel determinants \eqref{eq:F} of these polynomials, so Heine's formula turns $F(k,n,\beta)$ into expectations over orthogonal polynomial ensembles (\Cref{cor:heine}). We first fix the normalization of the $\beta$-Grothendieck polynomials and recall the notation and formulas of \Cref{sec:intro}. Throughout, $\xx=1+\beta>0$ and $\XX_+=\max(1,\xx)$, and $\Upsilon_w(\beta)=\mathfrak{G}^{\beta}_w(1,\ldots,1)$. We normalize the $\beta$-Grothendieck polynomials as in \cite[Section~2]{fomin1994grothendieck}. Namely, for the longest permutation of $S_N$, $\mathfrak G^\beta_w=x_1^{N-1}x_2^{N-2}\cdots x_{N-1}$, and if $\ell(ws_i)=\ell(w)+1$, where $s_i=(i,i+1)$ is the elementary transposition, we put \begin{equation*} \mathfrak G^\beta_w=\frac{(1+\beta x_{i+1})\ssp f-(1+\beta x_i)\ssp f|_{x_i\leftrightarrow x_{i+1}}}{x_i-x_{i+1}},\qquad f=\mathfrak G^\beta_{ws_i}. \end{equation*} With this sign of $\beta$, all coefficients of $\mathfrak G^\beta_w$ are nonnegative for $\beta\ge0$, and $\mathfrak G^0_w=\mathfrak S_w$. Let $PD(w)$ be the set of (not necessarily reduced) pipe dreams $D$ with Demazure product $\partial D=w$. Then \eqref{eq:pipe_dreams} reads $\Upsilon_w(\beta)=\sum_{D\in PD(w)}\beta^{|D|-\ell(w)}$, so that $\Upsilon_w(0)$ is the Schubert specialization, the number of reduced pipe dreams of $w$ \cite{BilleyJockuschStanley1993}, \cite{BilleyBergeron}. The block factors $F(k,n,\beta)=\Upsilon_{w_0(k,n)}(\beta)$, where $w_0(k,n)\in S_{k+n}$ fixes $1,\ldots,k$ and reverses $k+1,\ldots,k+n$, are the Hankel determinants \eqref{eq:F} of the Narayana polynomials $\mathcal L_m(\xx)=\sum_{d\in\mathrm{Dyck}(m)}\xx^{v(d)}$ from \eqref{eq:narayana}, where $v(d)$ is the number of valleys of a Dyck path $d$ (see \Cref{fig:dyck}). For a composition $b=(b_\ell,\ldots,b_1)$ of $M$, the layered permutation $w(b)\in S_M$ has blocks of sizes $b_\ell,\ldots,b_1$ from left to right, and, with $M_i=M-b_1-\cdots-b_i$, its specialization factors over the blocks as in \eqref{eq:layered_product}. This is the general-$\beta$ version of \cite[(6.16)]{GrothendieckShenanigans2024}. The first block and the blocks of size one contribute nothing to \eqref{eq:layered_product}, since $F(0,n,\beta)=F(k,0,\beta)=F(k,1,\beta)=1$. Finally, recall that $\uplambda_\pm=(1\pm\sqrt\xx)^2$. \begin{lemma} \label{lem:measure} The numbers $\mathcal L_m(\xx)$, $m\ge0$, are the moments of the probability measure \begin{equation} \label{eq:mu_x} \mu_{\xx}(dt)=\frac{\sqrt{(\uplambda_+-t)(t-\uplambda_-)}}{2\pi\xx\ssp t}\ssp\mathbf{1}_{[\uplambda_-,\uplambda_+]}(t)\ssp dt+\bigl(1-\xx^{-1}\bigr)_+\ssp\delta_0(dt). \end{equation} \end{lemma} \begin{proof} Splitting a nonempty Dyck path at its first return, $d=Ud_1Dd_2$, gives \begin{equation*} v(d)=v(d_1)+v(d_2)+\mathbf 1_{d_2\ne\varnothing}. \end{equation*} Hence the series $\mathsf M(y)\coloneqq\sum_{m\ge0}\mathcal L_m(\xx)y^m$ satisfies \begin{equation*} \mathsf M=1+y\ssp\mathsf M\bigl(1+\xx(\mathsf M-1)\bigr), \qquad\text{that is,}\qquad \mathsf M=1+(1-\xx)y\ssp\mathsf M+\xx y\ssp\mathsf M^2. \end{equation*} Solving this quadratic equation, we get \begin{equation*} \int\frac{\mu_{\xx}(dt)}{z-t}=\frac{z+\xx-1-\sqrt{(z-\uplambda_-)(z-\uplambda_+)}}{2\xx z}, \end{equation*} where the branch of the square root is asymptotic to $z$ at infinity and equals $-|1-\xx|$ at $z=0$. Stieltjes inversion gives \eqref{eq:mu_x}. For $\xx\ne1$, the atom comes from the residue $(1-\xx^{-1})_+$ at $z=0$. For $\xx=1$, the right-hand side is $O(|z|^{-1/2})$ as $z\to0$, so there is no atom. \end{proof} Recall from \eqref{eq:F} that $F(k,n,\beta)=\xx^{-\binom k2}\det[\mathcal L_{n+i+j-2}(\xx)]_{i,j=1}^k$, and that $\mu_{\xx}$ is the Marchenko--Pastur law \eqref{eq:mu_x}, whose moments are $\mathcal L_m(\xx)$. Multiplying $\mu_{\xx}$ by $t$ removes its atom at $0$ and leaves a semicircle law on $[\uplambda_-,\uplambda_+]$: \begin{equation} \label{eq:sigma_x} \sigma_{\xx}(dt)\coloneqq t\ssp\mu_{\xx}(dt)=\frac{1}{2\pi\xx}\sqrt{(\uplambda_+-t)(t-\uplambda_-)}\ssp\mathbf 1_{[\uplambda_-,\uplambda_+]}(t)\ssp dt, \end{equation} a probability measure with moments $\int t^m\ssp\sigma_{\xx}(dt)=\mathcal L_{m+1}(\xx)$. Let $V(t)\coloneqq\prod_{1\le i0$, and \begin{equation} \label{eq:site_bounds} \begin{aligned} \xx^{k(n-1)}\le F(k,n,\beta)&\le \xx^{k(n-1)}\Bigl(\frac{\xx}{\xx-1}\Bigr)^{\binom n2},&&\xx>1,\\ 1\le F(k,n,\beta)&\le(1-\xx)^{-\binom n2},&&0<\xx<1. \end{aligned} \end{equation} \end{proposition} \begin{proof} Since $i+j\le k+n$ on $\band$, the band lies in the staircase of size $k+n$. Its antidiagonal $i+j-1=m$ consists of $m$ cells, so $|\band|=\sum_{m=k+1}^{k+n-1}m=k(n-1)+\binom n2$. A cross in the cell $(i,j)$ is the letter $s_{i+j-1}$, where $s_m=(m,m+1)$ is a simple transposition. The Demazure product of a word dominates, in the Bruhat order, the Demazure product of each of its subwords \cite[Lemma~3.4(1)]{KnutsonMiller2004}, and in particular each of its letters. Since $s_m\le w_0(k,n)$ exactly for $k0$, summing over all $D\subseteq\band$ gives $F(k,n,\beta)\le\beta^{-\binom n2}\xx^{|\band|}=\xx^{k(n-1)}\bigl(\frac{\xx}{\xx-1}\bigr)^{\binom n2}$. This proves the claims for $\xx\ge1$. For $0<\xx<1$, let $\beta'\coloneqq-\beta/(1+\beta)$, so that $1+\beta'=1/\xx>1$. By \Cref{prop:exact}, $F(k,n,\beta)=\xx^{k(n-1)}F(k,n,\beta')$, and the case $\xx>1$ applied to $\beta'$ gives $1\le F(k,n,\beta)\le(1-\xx)^{-\binom n2}$, since $\frac{1/\xx}{1/\xx-1}=\frac1{1-\xx}$. \end{proof} \section{Asymptotics of block factors} \label{sec:asymptotics} In this section, we find the leading asymptotics of the block factors $F(k,n,\beta)$ \eqref{eq:F} when both indices $k$ and $n$ grow proportionally. \Cref{subsec:asym_statement} states the result. By \eqref{eq:heine}, $F(k,n,\beta)$ is an expectation in an orthogonal polynomial ensemble, and we prove \Cref{thm:asymptotics} in \Cref{subsec:asym_energy,subsec:asym_maximizers,subsec:asym_laplace,subsec:asym_proof} by the Laplace principle for this ensemble. This principle is an analogue of the large deviation principle for log-gases \cite{BenArousGuionnet1997}, \cite{AndersonGuionnetZeitouniBook}, and the variational problem behind it is the weighted equilibrium problem of potential theory \cite{saff2013logarithmic}. We keep the argument self-contained, since the cited large deviation results assume a continuous external field on $\mathbb R$, while here the points are confined to $[\uplambda_-,\uplambda_+]$ and, for $\xx=1$, the external field, a multiple of $\log t$, is singular at the hard edge $t=0$. In \Cref{subsec:asym_energy}, we set up the variational problem behind the Laplace principle and state the facts from potential theory that we need, which we prove in \Cref{app:potential}. \Cref{subsec:asym_maximizers} finds the maximizers explicitly, and \Cref{subsec:asym_laplace} proves the Laplace principle and computes the maximal value. \Cref{subsec:asym_proof} completes the proof. Finally, in \Cref{subsec:asym_saturated}, we show that in the saturated regime $n\ge1$, $k/N\ge\updelta+\varepsilon$, where $\updelta=\min(\sqrt\xx,1/\sqrt\xx)$ and $\varepsilon>0$ is fixed, $F(k,n,\beta)$ equals the upper bound in \eqref{eq:site_bounds} up to an exponentially small relative error. \Cref{subsec:asym_numerics} collects numerical checks. \subsection{Statement} \label{subsec:asym_statement} Recall that $\xx=1+\beta>0$, $N=k+n$, $\XX_+=\max(1,\xx)$, $\uplambda_\pm=(1\pm\sqrt\xx)^2$, and $\updelta=\min(\sqrt\xx,1/\sqrt\xx)$. We restate the definition of $h_{\xx}$ from \Cref{sec:intro}: \begin{align} \label{eq:h_soft} h_{\xx}(\kk)&\coloneqq \kk\log\uplambda_+-\frac{\kk^2}{2}\log\xx+\kk^2\log \kk-\frac{(1+\kk)^2}{2}\log(1+\kk)-\frac{(1-\kk)^2}{2}\log(1-\kk),&&0\le \kk\le\updelta,\\ \label{eq:h_frozen} h_{\xx}(\kk)&\coloneqq \kk(1-\kk)\log \XX_+-\frac{(1-\kk)^2}{2}\log(1-\updelta^2),&&\updelta\le \kk\le1, \end{align} with $0\log0\coloneqq0$. At $\xx=1$, we have $\updelta=1$, and only \eqref{eq:h_soft} is used. \begin{theorem} \label{thm:asymptotics} For fixed $\xx>0$, we have the uniform convergence \begin{equation} \label{eq:asymptotics} \sup_{0\le k\le N}\Bigl|\frac{1}{N^2}\log F(k,N-k,\beta)-h_{\xx}\Bigl(\frac kN\Bigr)\Bigr|\to0,\qquad N\to\infty. \end{equation} For $\xx\ne1$, $h_{\xx}$ is $C^2$ but not $C^3$ at $\kk=\updelta$. \end{theorem} \begin{remark}[Connection to \cite{colomo2024scaling}] \label{rmk:colomo_pronko} Let $\xx\ne1$ and $n\ge1$, and consider the ratio of $F(k,n,\beta)$ to the upper bound $\XX_+^{k(n-1)}(1-\updelta^2)^{-\binom n2}$ in \eqref{eq:site_bounds}, which is the probability in \eqref{eq:intro_pd_probability}. This ratio is the triangular emptiness formation probability $T_{r,s}$ of \cite{KitaevPronko2019}, \cite{colomo2024scaling} with $r=k+1$, $s=n-1$, and with the weight parameter of \cite{colomo2024scaling} equal to $\updelta^2$. Indeed, for $0<\xx<1$, substituting the expansion of $F(k,n,\beta)$ from \Cref{rmk:usp} into this ratio gives the sum formula for $T_{r,s}$ of \cite{KitaevPronko2019} (see also \cite{colomo2024scaling}), because $s_{2\lambda}(1^{n-1})=\prod_{1\le i1$ follows from \Cref{prop:exact}. % Basis: checks/colomo_pronko.py, output checks/colomo_pronko.txt: the identity exactly for x in {1/3,1/2,7/4,2,5/2,3}, 0<=k<=3, 1<=n<=4 (96 cases); the free energy sigma of colomo2024scaling (Discussion section) against the two formulas for h_x numerically at 42 points. By hand, with omega=1-k, omega_c=1-delta: (1-k)^2 sigma minus (rhs of eq:h_frozen minus rhs of eq:h_soft) equals 2k log(1+delta) + k(1-k) log X_+ - k log lambda_+ + k^2 (log(x)/2 - log delta), which is 0 for x<1 and for x>1. For $0<\kk<\updelta$, let $c$ be the difference of the right-hand sides of \eqref{eq:h_frozen} and \eqref{eq:h_soft} at $\kk$, so that $c>0$ by \Cref{lem:transition}. By \Cref{thm:asymptotics}, as $k/N\to\kk$, the ratio is $e^{-cN^2+o(N^2)}$. For $\kk\ge\updelta$, it is $e^{o(N^2)}$. Colomo and Pronko \cite{colomo2024scaling} proposed this decay rate, with its third-order phase transition at $\kk=\updelta$, from a saddle point analysis of a discrete log-gas. For $\beta=1$, the relation to \cite{colomo2024scaling} was noted in \cite[Remark~6.20]{GrothendieckShenanigans2024}. \end{remark} \subsection{Logarithmic energy and potentials} \label{subsec:asym_energy} For a compact $\Sigma\subset[0,\infty)$, let $\mathcal P(\Sigma)$ be the set of probability measures on $\Sigma$. It is compact in the weak topology. For $\tau\ge0$ and $\rho\in\mathcal P(\Sigma)$ let \begin{equation} \label{eq:J} \mathcal J_\tau(\rho)\coloneqq\iint\log|s-t|\ssp\rho(ds)\rho(dt)+\tau\int\log t\ssp\rho(dt)\in[-\infty,\infty), \end{equation} where the second term is omitted if $\tau=0$, as are the terms with the factor $\tau$ in \Cref{lem:variational} below. Since $\Sigma$ is compact, both integrands are bounded above on $\Sigma$, so $\mathcal J_\tau(\rho)$ is well-defined. The functional $\mathcal J_\tau$ comes from the expectation over $\sigma_{\xx}$ in \eqref{eq:heine}. Namely, for the empirical measure $\rho$ of $t_1,\ldots,t_k$, the logarithms of the Vandermonde factor $V(t)^2$ and of the factor $\prod_it_i^{\ssp n-1}$ are $k^2$ times the two terms of \eqref{eq:J} with $\tau=(n-1)/k$, once the diagonal terms are dropped from the double integral. The points $t_i$ range over the support $[\uplambda_-,\uplambda_+]$ of $\sigma_{\xx}$ \eqref{eq:sigma_x}, so we let \begin{equation} \label{eq:Ex} \mathcal E_{\xx}(\tau)\coloneqq\sup_{\rho\in\mathcal P([\uplambda_-,\uplambda_+])}\mathcal J_\tau(\rho). \end{equation} For a finite positive measure $\rho$ on $\mathbb R$ with compact support, its logarithmic potential and its Stieltjes transform are $U^\rho(t)\coloneqq\int\log|t-s|\ssp\rho(ds)\in[-\infty,\infty)$ for $t\in\mathbb R$ and $G^\rho(z)\coloneqq\int\frac{\rho(ds)}{z-s}$ for $z\in\mathbb C\setminus\operatorname{supp}\rho$. We say that $\rho$ has finite energy if $\iint|\log|s-t||\ssp\rho(ds)\rho(dt)<\infty$. A measure of finite energy has no atoms, since an atom would give positive mass to the diagonal, where the integrand is infinite. The two lemmas below are the tools for showing in \Cref{subsec:asym_maximizers} that explicit measures maximize $\mathcal J_\tau$. \Cref{lem:variational} is a sufficient condition for a maximizer in terms of $U^\rho$, and \Cref{lem:potential} gives the properties of $U^\rho$ used to check this condition. Both are standard, and we prove them in \Cref{app:potential}. \begin{lemma} \label{lem:variational} Let $\Sigma\subset[0,\infty)$ be compact, $\tau\ge0$, and let $\rho\in\mathcal P(\Sigma)$ have finite energy. Suppose that for some $\ell\in\mathbb R$ the function $\Psi\coloneqq2U^\rho+\tau\log t$ satisfies $\Psi\le\ell$ on $\Sigma$ and $\Psi=\ell$ $\rho$-almost everywhere. Then $\tau\int\log t\ssp\rho(dt)$ is finite, and every $\nu\in\mathcal P(\Sigma)$ with $\mathcal J_\tau(\nu)>-\infty$ satisfies \begin{equation} \label{eq:variational} \mathcal J_\tau(\nu)\le\mathcal J_\tau(\rho)+\iint\log|s-t|\ssp(\nu-\rho)(ds)(\nu-\rho)(dt)\le\mathcal J_\tau(\rho)=\frac{\ell}2+\frac\tau2\int\log t\ssp\rho(dt). \end{equation} In particular, $\rho$ maximizes $\mathcal J_\tau$ on $\mathcal P(\Sigma)$. \end{lemma} \begin{lemma} \label{lem:potential} Let $\rho$ be a finite positive measure on $\mathbb R$ with compact support and with a density $g\in L^p(\mathbb R)$ for some $p>1$. Then: \begin{enumerate}[(i)] \item $\rho$ has finite energy; \item the potential $U^\rho(z)\coloneqq\int\log|z-s|\ssp\rho(ds)$, extended to $z\in\mathbb C$, is continuous on $\mathbb C$, and $\partial_uU^\rho(z)=\operatorname{Re}G^\rho(z)$ for $z=u+\mathrm iy\notin\mathbb R$; \item if the restriction of $G^\rho$ to $\mathbb C_+\coloneqq\{\operatorname{Im}z>0\}$ extends continuously to $\mathbb C_+\cup I$ for an open interval $I\subset\mathbb R$, with boundary values $G^\rho_+(t)\coloneqq\lim_{y\downarrow0}G^\rho(t+\mathrm iy)$, then $U^\rho$ is continuously differentiable on $I$ with $(U^\rho)'=\operatorname{Re}G^\rho_+$. \end{enumerate} \end{lemma} In \Cref{subsec:asym_maximizers}, we check the hypothesis of \Cref{lem:variational} for explicit measures $\rho$ whose Stieltjes transforms $G^\rho$ are known in closed form, by differentiating the potential $U^\rho$. Formally, $(U^\rho)'(t)$ is the principal value integral $\mathrm{p.v.}\int\frac{\rho(ds)}{t-s}$, which is the real part of the boundary value of $G^\rho$ from the upper half-plane $\mathbb C_+$. So $\Psi=2U^\rho+\tau\log t$ is constant on an interval where this real part equals $-\tau/(2t)$. Part~(iii) of \Cref{lem:potential} makes this rigorous without principal values, by letting $z\in\mathbb C_+$ tend to the real axis. Parts~(i) and~(ii) provide the finite energy required in \Cref{lem:variational} and the continuity of $U^\rho$ on $\mathbb R$, which carries the constancy of $\Psi$ from an open interval to its closure. The lemma assumes only a density in $L^p$ for some $p>1$, since the densities in question are unbounded: they behave like $|t-a|^{-1/2}$ at an endpoint $a$ of the support, so they lie in $L^p$ only for $p<2$. \subsection{Explicit maximizers} \label{subsec:asym_maximizers} In this subsection, we find the maximizers of $\mathcal J_\tau$ explicitly. \Cref{rmk:eq} states the formulas, and \Cref{lem:explicit} proves that they satisfy the condition of \Cref{lem:variational}, with the help of the integrals computed in \Cref{lem:arcsine}. \begin{remark}[Equilibrium measures] \label{rmk:eq} Let $\tau\ge0$ play the role of $n/k$, so that $\kk=1/(1+\tau)$ plays the role of $k/N$, and let $\uptau_c\coloneqq\max(\sqrt\xx,1/\sqrt\xx)-1=1/\updelta-1$, so that the threshold $\kk=\updelta$ corresponds to $\tau=\uptau_c$. The leading asymptotics of the expectations in \eqref{eq:heine} are expressed through the supremum $\mathcal E_{\xx}(\tau)$ \eqref{eq:Ex} of $\mathcal J_\tau$ from \eqref{eq:J} on $\mathcal P([\uplambda_-,\uplambda_+])$, and this supremum is attained at the following measure $\rho_\tau$. For $\kk\ge\updelta$, that is $\tau\le\uptau_c$, \begin{equation} \label{eq:rho_hard} \rho_\tau(dt)=\frac{1+\frac \tau2-\frac{\tau\ssp|1-\xx|}{2t}}{\pi\sqrt{(t-\uplambda_-)(\uplambda_+-t)}}\ssp dt,\qquad \uplambda_-0$ for $t0$ and $u\coloneqq\uplambda_\tau\in(0,\uplambda_+)$. The density of $\rho_\tau$ is nonnegative and bounded by $\frac{(\tau+2)\sqrt{\uplambda_+}}{2\pi u}(\uplambda_+-t)^{-1/2}$ on $(u,\uplambda_+)$, hence by a constant multiple of $((t-\uplambda_-)(\uplambda_+-t))^{-1/2}$. So it lies in $L^p$ for $10$ for the second identity, \begin{equation*} G^{\omega^{(u)}}(z)=\frac1{(z-\uplambda_+)S_u(z)},\quad z\notin[u,\uplambda_+],\qquad\int\frac{\omega^{(u)}(dt)}t=\frac1{\sqrt{u\uplambda_+}}. \end{equation*} Let $\omega^{(u)}_1(dt)\coloneqq t^{-1}\omega^{(u)}(dt)$. The density of $\rho_\tau$ is $\frac{(\tau+2)(t-u)}{2t}$ times that of $\omega^{(u)}$, so $\rho_\tau=(1+\frac\tau2)\ssp\omega^{(u)}-\frac{(\tau+2)\ssp u}2\ssp\omega^{(u)}_1$ has mass $1+\frac\tau2-\frac{\tau+2}2\sqrt{u/\uplambda_+}=1$, since $\sqrt{u/\uplambda_+}=\frac\tau{\tau+2}$. As in the first case, partial fractions give $G^{\omega^{(u)}_1}(z)=\frac1z\bigl(\frac1{\sqrt{u\uplambda_+}}+G^{\omega^{(u)}}(z)\bigr)$ for $z\notin[u,\uplambda_+]\cup\{0\}$, and hence \begin{equation*} G^{\rho_\tau}(z)=-\frac{\tau}{2z}+\frac{\tau+2}2\Bigl(1-\frac uz\Bigr)G^{\omega^{(u)}}(z)=-\frac{\tau}{2z}+\frac{(\tau+2)(z-u)}{2z\ssp(z-\uplambda_+)S_u(z)}=-\frac{\tau}{2z}+\frac{\tau+2}{2z}\ssp S_u(z), \end{equation*} which is \eqref{eq:G_soft}, as $S_u(z)^2=\frac{z-u}{z-\uplambda_+}$. The singularity at $0$ is removable since $S_u(0)=\frac\tau{\tau+2}$. By the boundary values of $S_u$, the restriction of $G^{\rho_\tau}$ to $\mathbb C_+$ extends continuously to $\mathbb C_+\cup(-\infty,\uplambda_+)$, with $\operatorname{Re}G^{\rho_\tau}_+(t)=-\frac\tau{2t}$ for $t\in(u,\uplambda_+)$ and $G^{\rho_\tau}_+(t)=G^{\rho_\tau}(t)$ for $t0,\qquad00$ and $0<\varepsilon<\uplambda_+$ let $K_L(s,t)\coloneqq\max(\log|s-t|,-L)$ and $g_\varepsilon(t)\coloneqq\log\max(t,\varepsilon)$, which are continuous functions on $[\uplambda_-,\uplambda_+]^2$ and on $[\uplambda_-,\uplambda_+]$, respectively. For $\vartheta\ge0$ let $\Phi^{\vartheta}_{L,\varepsilon}(\rho)\coloneqq\iint K_L\ssp d\rho\ssp d\rho+\vartheta\int g_\varepsilon\ssp d\rho$, a continuous function on the compact space $\mathcal P([\uplambda_-,\uplambda_+])$. For $t\in[\uplambda_-,\uplambda_+]^k$ let $\rho^{(t)}$ be its empirical measure, the average of the unit point masses at $t_1,\ldots,t_k$. Since $K_L(t_i,t_i)=-L$ and $r\ge0$, we have \begin{equation*} \sum_{i\ne j}\log|t_i-t_j|\le\sum_{i\ne j}K_L(t_i,t_j)=k^2\iint K_L\ssp d\rho^{(t)}d\rho^{(t)}+kL,\qquad r\sum_i\log t_i\le kr\int g_\varepsilon\ssp d\rho^{(t)}. \end{equation*} Hence the integrand of \eqref{eq:Z} is at most $\exp\bigl(k^2\Phi^{r/k}_{L,\varepsilon}(\rho^{(t)})+kL\bigr)$. As $k!\ge1$, $\sigma_{\xx}$ is a probability measure, and $|g_\varepsilon|\le\max(|\log\varepsilon|,\log\uplambda_+)$, we get \begin{equation*} \frac1{k^2}\log Z_{k,r}\le\frac Lk+\sup_{\rho}\Phi^{r/k}_{L,\varepsilon}(\rho)\le\frac Lk+\sup_\rho\Phi^{\tau}_{L,\varepsilon}(\rho)+\Bigl|\frac rk-\tau\Bigr|\max(|\log\varepsilon|,\log\uplambda_+). \end{equation*} Therefore $\limsup_kk^{-2}\log Z_{k,r_k}\le\Phi^*_j\coloneqq\sup_\rho\Phi^\tau_{j,1/j}(\rho)$ for every integer $j>1/\uplambda_+$. As $j\to\infty$, $\Phi^\tau_{j,1/j}(\rho)$ decreases to $\mathcal J_\tau(\rho)$ for every $\rho$, by monotone convergence. If $c<\inf_j\Phi^*_j$, then the closed sets $\{\rho\colon\Phi^\tau_{j,1/j}(\rho)\ge c\}$ are nonempty and decrease in $j$. By compactness, they have a common point $\rho$, and $\mathcal J_\tau(\rho)=\lim_j\Phi^\tau_{j,1/j}(\rho)\ge c$. Hence $\inf_j\Phi^*_j\le\mathcal E_{\xx}(\tau)$, which proves $\limsup_kk^{-2}\log Z_{k,r_k}\le\mathcal E_{\xx}(\tau)$. \emph{Lower bound.} Call $\nu\in\mathcal P([\uplambda_-,\uplambda_+])$ admissible if $\nu=f\sigma_{\xx}$ with $f$ bounded and $\operatorname{supp}\nu\subset[a',b']\subset(\uplambda_-,\uplambda_+)$ for some $a'>0$. Restricting the integral in \eqref{eq:Z} to $\{f>0\}^k$, where $\sigma_{\xx}(dt)=f(t)^{-1}\nu(dt)$, and applying Jensen's inequality to the concave function $\log$ and the probability measure $\nu^{\otimes k}$, we get \begin{equation*} \log Z_{k,r}\ge-\log k!+k(k-1)\iint\log|s-t|\ssp\nu(ds)\nu(dt)+kr\int\log t\ssp\nu(dt)-k\int\log f\ssp d\nu, \end{equation*} where all integrals are finite: $\nu$ has a bounded density with respect to Lebesgue measure, its support lies in $[a',b']$, and $-1/e\le\int\log f\ssp d\nu=\int f\log f\ssp d\sigma_{\xx}\le\log\|f\|_\infty$. Dividing by $k^2$ and passing to the limit, we obtain $\liminf_kk^{-2}\log Z_{k,r_k}\ge\mathcal J_\tau(\nu)$ for every admissible $\nu$. Let $\rho_\tau$ be the measure of \Cref{lem:explicit}, and for large $j$ let $A_j\coloneqq[\uplambda_-+1/j,\uplambda_+-1/j]$ and $\nu_j\coloneqq\rho_\tau(A_j)^{-1}\ssp\mathbf 1_{A_j}\rho_\tau$. Since the density of $\rho_\tau$ is bounded on $A_j$ and the density of $\sigma_{\xx}$ is bounded below there, $\nu_j$ is admissible. Since $\rho_\tau$ has no atoms, we have $\rho_\tau(A_j)\to1$. Moreover, $\rho_\tau$ has finite energy by \Cref{lem:potential}, since by \Cref{lem:explicit} its density is bounded by a constant multiple of $((t-\uplambda_-)(\uplambda_+-t))^{-1/2}$ and hence lies in $L^p$ for $10$, then also $\int|\log t|\ssp\rho_\tau(dt)<\infty$, since $0\notin\operatorname{supp}\rho_\tau$ by \Cref{lem:explicit}. So dominated convergence gives $\mathcal J_\tau(\nu_j)\to\mathcal J_\tau(\rho_\tau)=\mathcal E_{\xx}(\tau)$, and hence $\liminf_kk^{-2}\log Z_{k,r_k}\ge\mathcal E_{\xx}(\tau)$. \end{proof} At $\beta=0$ we have $\xx=1$, and $F(k,n,0)$ is given by Proctor's product formula, whose asymptotics yield $\mathcal E_1(\tau)$ and hence, by a rescaling, $\mathcal E_{\xx}(\tau)$ for $\tau\ge\uptau_c$ in \Cref{lem:energy}. \begin{lemma} \label{lem:proctor_limit} Let $\tau>0$, and let the integers $n_k\ge1$ satisfy $n_k/k\to\tau$ as $k\to\infty$. Then \begin{equation*} \lim_{k\to\infty}\frac1{k^2}\log F(k,n_k,0)=\int_0^{2\tau}\min\Bigl(\frac w2,\tau-\frac w2\Bigr)\log\Bigl(1+\frac2w\Bigr)dw=(1+\tau)\log4+H(\tau), \end{equation*} where $H(\tau)\coloneqq(\tau+1)^2\log(\tau+1)-\frac{\tau^2}2\log\tau-\frac{(\tau+2)^2}2\log(\tau+2)$, with $0\log0\coloneqq0$. \end{lemma} The proof of \Cref{lem:proctor_limit}, a Riemann-sum estimate followed by two integrations by parts, is in \Cref{app:elementary}. Recall that $h_{\xx}$ is defined by \eqref{eq:h_soft} and \eqref{eq:h_frozen}. \begin{lemma} \label{lem:energy} For $\xx\ne1$ and $0\le\tau\le\uptau_c$, \begin{equation} \label{eq:E_hard} \mathcal E_{\xx}(\tau)=\frac12\log\xx+\tau\log \XX_++\frac{\tau^2}2\log\frac{\XX_+}{|1-\xx|}, \end{equation} and for $\tau\ge\uptau_c$ (for all $\tau\ge0$ if $\xx=1$) \begin{equation} \label{eq:E_soft} \mathcal E_{\xx}(\tau)=(1+\tau)\log\uplambda_++H(\tau), \end{equation} with $H$ as in \Cref{lem:proctor_limit}. Moreover, for $0<\kk<1$ and $\tau=(1-\kk)/\kk$, \begin{equation} \label{eq:h_from_E} h_{\xx}(\kk)=\kk^2\Bigl(\mathcal E_{\xx}(\tau)-\frac12\log\xx\Bigr). \end{equation} \end{lemma} \begin{proof} By \Cref{lem:explicit} and \Cref{lem:arcsine}, $\rho_0=\omega$ and $\mathcal E_{\xx}(0)=\mathcal J_0(\omega)=\int U^\omega d\omega=\frac12\log\xx$. Let $\xx\ne1$ and $0\le\tau\le\uptau_c$. By \Cref{lem:arcsine}, \eqref{eq:arcsine_ints}, and $\rho_\tau=(1+\frac\tau2)\ssp\omega-\frac{\tau|1-\xx|}2\ssp\omega_1$ with $\omega_1(dt)=t^{-1}\omega(dt)$, \begin{equation*} m(\tau)\coloneqq\int\log t\ssp\rho_\tau(dt)=\Bigl(1+\frac\tau2\Bigr)\log \XX_+-\frac{\tau|1-\xx|}2\cdot\frac{2\log|1-\xx|-\log \XX_+}{|1-\xx|}=\log \XX_++\tau\log\frac{\XX_+}{|1-\xx|}. \end{equation*} For $\tau,\tau'\in[0,\uptau_c]$ we have $\mathcal J_{\tau'}(\rho_\tau)=\mathcal J_\tau(\rho_\tau)+(\tau'-\tau)\ssp m(\tau)$, hence $\mathcal E_{\xx}(\tau')\ge\mathcal E_{\xx}(\tau)+(\tau'-\tau)\ssp m(\tau)$ by \Cref{lem:explicit}. Exchanging the roles of $\tau$ and $\tau'$, for $\tau<\tau'$ we get \begin{equation*} m(\tau)\le\frac{\mathcal E_{\xx}(\tau')-\mathcal E_{\xx}(\tau)}{\tau'-\tau}\le m(\tau'). \end{equation*} As $m$ is continuous, $\mathcal E_{\xx}$ is differentiable on $[0,\uptau_c]$, one-sidedly at the endpoints, with $\mathcal E_{\xx}'=m$. Integrating from $\mathcal E_{\xx}(0)=\frac12\log\xx$ gives \eqref{eq:E_hard}. Now let $\xx=1$, so that $\uplambda_-=0$, $\uplambda_+=4$, and $Z_{k,r}=F(k,r+1,0)$ by \eqref{eq:Z}. For $\tau>0$, \Cref{lem:laplace} with $r_k\coloneqq\lfloor\tau k\rfloor$ and \Cref{lem:proctor_limit} with $n_k\coloneqq r_k+1$ give $\mathcal E_1(\tau)=(1+\tau)\log4+H(\tau)$. For $\tau=0$ both sides vanish, as $H(0)=-2\log2$. Let $\xx\ne1$ and $\tau\ge\uptau_c$. By \Cref{lem:explicit}, $\mathcal E_{\xx}(\tau)=\sup_{\rho\in\mathcal P([0,\uplambda_+])}\mathcal J_\tau(\rho)$. The map $t\mapsto4t/\uplambda_+$ induces a bijection of $\mathcal P([0,\uplambda_+])$ onto $\mathcal P([0,4])$, and $\mathcal J_\tau(\rho)=\mathcal J_\tau(\tilde\rho)+(1+\tau)\log\frac{\uplambda_+}4$ for the image $\tilde\rho$ of $\rho$. Hence $\mathcal E_{\xx}(\tau)=\mathcal E_1(\tau)+(1+\tau)\log\frac{\uplambda_+}4$, which is \eqref{eq:E_soft}. Let $0<\kk<1$ and $\tau=(1-\kk)/\kk$, so that $1+\tau=1/\kk$, $2+\tau=(1+\kk)/\kk$, and $\kk\ge\updelta$ if and only if $\tau\le\uptau_c$. For $\xx\ne1$ and $\kk\ge\updelta$, \eqref{eq:E_hard} gives $\kk^2(\mathcal E_{\xx}(\tau)-\frac12\log\xx)=\kk(1-\kk)\log \XX_++\frac{(1-\kk)^2}2\log\frac{\XX_+}{|1-\xx|}$, which is \eqref{eq:h_frozen} because $\frac{\XX_+}{|1-\xx|}=\frac1{1-\updelta^2}$. For $\kk\le\updelta$, \eqref{eq:E_soft} gives $\kk^2(1+\tau)\log\uplambda_+=\kk\log\uplambda_+$ and \begin{align*} \kk^2H(\tau)&=-\log \kk-\frac{(1-\kk)^2}{2}\bigl(\log(1-\kk)-\log \kk\bigr)-\frac{(1+\kk)^2}{2}\bigl(\log(1+\kk)-\log \kk\bigr)\\ &=\kk^2\log \kk-\frac{(1-\kk)^2}2\log(1-\kk)-\frac{(1+\kk)^2}2\log(1+\kk), \end{align*} so $\kk^2(\mathcal E_{\xx}(\tau)-\frac12\log\xx)$ is \eqref{eq:h_soft}. \end{proof} \begin{lemma} \label{lem:transition} For every $\xx>0$, the function $h_{\xx}$ is continuous on $[0,1]$ with $h_{\xx}(0)=h_{\xx}(1)=0$. Let $\xx\ne1$. Then $\mathcal E_{\xx}$ is twice continuously differentiable on $(0,\infty)$ and smooth on $(0,\infty)\setminus\{\uptau_c\}$, and $\mathcal E_{\xx}'''$ jumps at $\uptau_c$. Hence $h_{\xx}$ is $C^2$ but not $C^3$ at $\kk=\updelta$, and $h_{\xx}$ is strictly smaller than the right-hand side of \eqref{eq:h_frozen} on $(0,\updelta)$. \end{lemma} The proof of \Cref{lem:transition}, a direct computation with \eqref{eq:E_hard} and \eqref{eq:E_soft}, is in \Cref{app:elementary}. \subsection{Proof of \texorpdfstring{\Cref{thm:asymptotics}}{asymptotics of block factors}} \label{subsec:asym_proof} \begin{proof} By \Cref{lem:transition}, $h_{\xx}$ is continuous on $[0,1]$ with $h_{\xx}(0)=h_{\xx}(1)=0$, and for $\xx\ne1$ it is $C^2$ but not $C^3$ at $\kk=\updelta$. So it remains to prove \eqref{eq:asymptotics}. Suppose that \eqref{eq:asymptotics} fails. Then there are $\varepsilon>0$, $N_j\to\infty$, and $0\le k_j\le N_j$ with $n_j\coloneqq N_j-k_j$ and $|N_j^{-2}\log F(k_j,n_j,\beta)-h_{\xx}(k_j/N_j)|\ge\varepsilon$. Passing to a subsequence, we may assume that $k_j/N_j\to \kk\in[0,1]$. For $n\ge1$, \Cref{prop:sites} gives $F(k,n,\beta)\ge1$, and \eqref{eq:heine} gives the second inequality below, since the Marchenko--Pastur law $\mu_{\xx}$ \eqref{eq:mu_x} is supported in $[0,\uplambda_+]$. As $F(k,0,\beta)=1$, we have, for all $0\le k\le N$, \begin{equation*} 0\le\frac1{N^2}\log F(k,n,\beta)\le\frac{kn}{N^2}\log\uplambda_+\le\min\Bigl(\frac kN,\frac nN\Bigr)\log\uplambda_+. \end{equation*} If $\kk\in\{0,1\}$, then $N_j^{-2}\log F(k_j,n_j,\beta)\to0=h_{\xx}(\kk)$, while $h_{\xx}(k_j/N_j)\to h_{\xx}(\kk)$ by the continuity of $h_{\xx}$, a contradiction. If $\kk\in(0,1)$, then $k_j\to\infty$, $n_j\to\infty$, and $r_j\coloneqq n_j-1$ satisfies $r_j/k_j\to\tau\coloneqq(1-\kk)/\kk$. Passing to a further subsequence, we may assume that $k_10$. For $n\ge1$ and $k/N\ge\updelta+\varepsilon$, \begin{equation} \label{eq:frozen_exact} \log F(k,n,\beta)=k(n-1)\log \XX_++\binom n2\log\frac{1}{1-\updelta^2}+O(e^{-\kappa N}), \end{equation} where $\kappa>0$ and the constant in $O(e^{-\kappa N})$ depend only on $\xx$ and $\varepsilon$. In particular, for $n\ge1$ and $k/N\ge1/\sqrt2+\varepsilon$, \begin{equation*} \log_2F(k,n,1)=\frac{N^2-k^2}{2}-\frac{N+k}{2}+O(e^{-\kappa N}), \end{equation*} which sharpens the estimate $\frac{N^2-k^2}{2}-O(N)$ of \cite[Lemma~6.19]{GrothendieckShenanigans2024}. \end{proposition} Dividing \eqref{eq:frozen_exact} by $N^2$ and comparing with the branch \eqref{eq:h_frozen} of $h_{\xx}$ gives $N^{-2}\log F(k,n,\beta)=h_{\xx}(k/N)+O(1/N)$ for $k/N\ge\updelta+\varepsilon$, which sharpens \Cref{thm:asymptotics} there. The proof of \Cref{prop:frozen} does not use \Cref{subsec:asym_energy,subsec:asym_maximizers,subsec:asym_laplace,subsec:asym_proof}. We write $F(k,n,\beta)$ as a Toeplitz-plus-Hankel determinant, see \eqref{eq:F_TH} below, and apply to it an exact identity of Basor and Ehrhardt, a Toeplitz-plus-Hankel analogue of the Borodin--Okounkov--Geronimo--Case formula \cite{BorodinOkounkov2000}, \cite{GeronimoCase1979}. For a function $f$ on the unit circle, let $f_m$, $m\in\mathbb Z$, be its Fourier coefficients, and let $\tilde f(z)\coloneqq f(1/z)$. \begin{lemma}[{\cite[Proposition~4.1]{BasorEhrhardt2009}}] \label{lem:BE} Let $\gamma(z)=\sum_{m\ge1}\gamma_m z^m$ be holomorphic in a neighborhood of the closed unit disk, and let $\phi\coloneqq e^{\gamma+\tilde\gamma}$ and $\psi\coloneqq e^{\tilde\gamma-\gamma}$ on $|z|=1$. Then for all $k\ge0$, \begin{equation} \label{eq:BE} \det\bigl[\phi_{j-l}-\phi_{j+l+2}\bigr]_{j,l=0}^{k-1} =\exp\Bigl(-\sum_{m\ge1}\gamma_{2m}+\frac12\sum_{m\ge1}m\ssp\gamma_m^2\Bigr) \det(I-K_k), \qquad K_k\coloneqq\bigl[\psi_{2k+2+i+j}\bigr]_{i,j\ge0}, \end{equation} where $K_k$ is a trace class operator on $\ell^2(\mathbb Z_{\ge0})$ and $\det(I-K_k)$ is its Fredholm determinant. \end{lemma} \begin{proof} Let $T(f)\coloneqq[f_{j-l}]_{j,l\ge0}$ and $\mathcal H(f)\coloneqq[f_{j+l+1}]_{j,l\ge0}$. The left-hand side of \eqref{eq:BE} is the determinant of the upper left $k\times k$ corner of $M(\phi)\coloneqq T(\phi)-\mathcal H(z^{-1}\phi)$. The Besov class $B^1_1$ consists of the functions $f$ with $\mathcal H(f)$ and $\mathcal H(\tilde f)$ trace class \cite[Section~3]{BasorEhrhardt2009}, and by \cite[Proposition~3.1]{BasorEhrhardt2009}, $M$ and $B^1_1$ form a compatible pair. We have $\gamma\in B^1_1$, since $\mathcal H(\tilde\gamma)=0$ and the entries of $\mathcal H(\gamma)$ decay exponentially. Hence \cite[Proposition~4.1]{BasorEhrhardt2009} applies to $a_+\coloneqq e^{\gamma}$ and $a\coloneqq a_+\tilde a_+=\phi$. In its notation, $G[\phi]=e^{(\gamma+\tilde\gamma)_0}=1$, the constant $\hat F[\phi]$ is the exponential in \eqref{eq:BE} by \cite[Proposition~3.3]{BasorEhrhardt2009}, and $K=-\mathcal H(z^{-1}\psi)$ by the remark following \cite[Proposition~4.1]{BasorEhrhardt2009}. Since $\mathcal H(z^{-1}\psi)=[\psi_{j+l+2}]_{j,l\ge0}$, the determinant $\det(I+Q_kKQ_k)$ there, with $Q_k$ the orthogonal projection onto the coordinates $\ge k$, equals $\det(I-K_k)$. \end{proof} \begin{proof}[Proof of \Cref{prop:frozen}] Let $\mathsf{s}\coloneqq\sqrt\xx$, $r\coloneqq n-1\ge0$, and $\phi(z)\coloneqq(1+\mathsf{s}z)^r(1+\mathsf{s}/z)^r$. We first show that for all $\xx>0$, \begin{equation} \label{eq:F_TH} F(k,n,\beta)=\det\bigl[\phi_{j-l}-\phi_{j+l+2}\bigr]_{j,l=0}^{k-1}. \end{equation} This is a case of the Toeplitz-plus-Hankel formula for averages over $\mathrm{USp}(2k)$ \cite{baik_rains2001algebraic} (see \Cref{rmk:usp}). We include a short proof. Let $P_j(2\cos\theta)\coloneqq\frac{\sin((j+1)\theta)}{\sin\theta}$ be the Chebyshev polynomials of the second kind. The map $\theta\mapsto t=|1+\mathsf{s}\ssp e^{\mathrm{i}\theta}|^2=1+\xx+2\mathsf{s}\cos\theta$ takes $\frac2\pi\sin^2\theta\ssp d\theta$ on $[0,\pi]$ to $\sigma_{\xx}$. Hence the polynomials $p_j(t)\coloneqq P_j\bigl(\frac{t-1-\xx}{\mathsf{s}}\bigr)$ have degree $j$ and are orthonormal for $\sigma_{\xx}$. The Vandermonde determinant in $t_1,\ldots,t_k$ is a constant multiple of $\det[p_l(t_i)]_{1\le i\le k,\,0\le l\le k-1}$, so the Andr\'eief identity \cite{forrester2019meet} and orthonormality, applied to the $\sigma_{\xx}$-expectation in \eqref{eq:heine}, give $F(k,n,\beta)=\det[\int t^{r}p_jp_l\,d\sigma_{\xx}]_{j,l=0}^{k-1}$. As $t^r=\phi(e^{\mathrm{i}\theta})$ is even in $\theta$, the $(j,l)$ entry equals \begin{equation*} \frac1\pi\int_0^\pi\phi(e^{\mathrm{i}\theta})\bigl(\cos(j-l)\theta-\cos(j+l+2)\theta\bigr)\ssp d\theta=\phi_{j-l}-\phi_{j+l+2}. \end{equation*} Now let $0<\xx<1$, so that $\updelta=\mathsf{s}$ and $\XX_+=1$. The function $\gamma(z)\coloneqq r\log(1+\mathsf{s}z)$ is holomorphic in $|z|<1/\mathsf{s}$, a neighborhood of the closed unit disk, and $e^{\gamma+\tilde\gamma}=\phi$. Since $\gamma_m=r(-1)^{m+1}\mathsf{s}^m/m$, the exponent in \eqref{eq:BE} equals \begin{equation*} \frac r2\sum_{m\ge1}\frac{\xx^m}{m}+\frac{r^2}{2}\sum_{m\ge1}\frac{\xx^m}{m}=\binom n2\log\frac1{1-\xx}. \end{equation*} By \eqref{eq:F_TH} and \Cref{lem:BE}, \begin{equation} \label{eq:fredholm} (1-\xx)^{\binom n2}F(k,n,\beta)=\det(I-K_k),\qquad K_k=\bigl[\psi_{2k+2+i+j}\bigr]_{i,j\ge0},\qquad \psi(z)=\Bigl(\frac{1+\mathsf{s}/z}{1+\mathsf{s}z}\Bigr)^{r}. \end{equation} We bound the trace norm $\|K_k\|_1$. The function $\psi$ is holomorphic in $0<|z|<1/\mathsf{s}$, so the $\psi_l$ are its Laurent coefficients in this punctured disk. Fix $11$, and Cauchy's estimate gives $|\psi_l|\le R^{-l}\Lambda_R^{\ssp r}$ for $l\ge0$. The trace norm of a matrix is at most the sum of the absolute values of its entries, so \begin{equation*} \|K_k\|_1\le\sum_{i,j\ge0}|\psi_{2k+2+i+j}|\le\frac{R^{-2k-2}\Lambda_R^{\ssp r}}{(1-R^{-1})^2}\le\frac{R^{-2k}\Lambda_R^{\ssp n}}{(1-R^{-1})^2}. \end{equation*} With $u\coloneqq\mathsf{s}R<1$, \begin{equation*} \log\Lambda_R=\int_0^{\log R}\Bigl(\frac{\mathsf{s}e^{-v}}{1-\mathsf{s}e^{-v}}+\frac{\mathsf{s}e^{v}}{1-\mathsf{s}e^{v}}\Bigr)dv\le\frac{2u}{1-u}\log R, \end{equation*} hence $\log\bigl(R^{-2k}\Lambda_R^{\ssp n}\bigr)\le\frac{2(uN-k)}{1-u}\log R$. Take $u=\mathsf{s}+\frac\varepsilon2$, that is, $R=1+\frac{\varepsilon}{2\mathsf{s}}$. Then $u<1$, since $\mathsf{s}+\varepsilon\le k/N<1$, and $uN-k\le-\frac\varepsilon2N$. As $0<1-u<1$, we get \begin{equation} \label{eq:K_bound} \|K_k\|_1\le C_1e^{-\kappa N},\qquad C_1\coloneqq\Bigl(1+\frac{2\mathsf{s}}{\varepsilon}\Bigr)^2,\qquad \kappa\coloneqq\varepsilon\log\Bigl(1+\frac{\varepsilon}{2\mathsf{s}}\Bigr). \end{equation} The operator $K_k$ is real symmetric, so its eigenvalues $\zeta_i$ are real, $\sum_i|\zeta_i|=\|K_k\|_1$, and $\det(I-K_k)=\prod_i(1-\zeta_i)$. Let $N\ge N_0\coloneqq\kappa^{-1}\log(2C_1)$, so that $\|K_k\|_1\le\frac12$. Then $|\log(1-\zeta_i)|\le2|\zeta_i|$ for all $i$, and by \eqref{eq:fredholm} and \eqref{eq:K_bound}, \begin{equation*} \Bigl|\log F(k,n,\beta)-\binom n2\log\frac1{1-\xx}\Bigr|=\bigl|\log\det(I-K_k)\bigr|\le2\|K_k\|_1\le2C_1e^{-\kappa N}. \end{equation*} For $Ne^{-\kappa N_0}$. This proves \eqref{eq:frozen_exact} for $0<\xx<1$, with constants depending only on $\xx$ and $\varepsilon$. If $\xx=1$, then $\updelta=1$ and there is nothing to prove. If $\xx>1$, let $\beta'\coloneqq-\beta/(1+\beta)$, so that $1+\beta'=1/\xx$. By \Cref{prop:exact}, $\log F(k,n,\beta)=k(n-1)\log\xx+\log F(k,n,\beta')$. Since $\updelta$ is invariant under $\xx\mapsto1/\xx$, the case $0<\xx<1$ applies to $F(k,n,\beta')$, with constants depending only on $1/\xx$ and $\varepsilon$. Adding $k(n-1)\log\xx$ to the resulting expansion of $\log F(k,n,\beta')$ gives \eqref{eq:frozen_exact}, because $\XX_+=\xx$ and $1-\updelta^2=1-1/\xx$. Finally, for $\beta=1$ we have $\xx=2$, $\updelta=1/\sqrt2$, $\XX_+=2$, and $1-\updelta^2=\frac12$, so \eqref{eq:frozen_exact} reads $\log_2F(k,n,1)=k(n-1)+\binom n2+O(e^{-\kappa N})$. Since $n=N-k$, we have $k(n-1)+\binom n2=\frac{N^2-k^2}{2}-\frac{N+k}{2}$. \end{proof} \subsection{Numerical checks} \label{subsec:asym_numerics} \begin{remark} \label{rmk:num_energy} % Basis: checks/equilibrium.py (lem:measure, lem:arcsine, lem:explicit, lem:energy) and checks/analytic.py (lem:positivity, lem:variational); outputs checks/equilibrium.txt, checks/analytic.txt. We checked \Cref{lem:measure,lem:arcsine,lem:explicit,lem:energy} by numerical quadrature. The moments of $\mu_{\xx}$ of order at most $8$ agree with $\mathcal L_m(\xx)$ for $\xx\in\{\frac12,1,2\}$, and the integrals in \Cref{lem:arcsine} agree with the closed forms stated there for $\xx\in\{\frac14,\frac12,2,4\}$. For $\xx\in\{\frac12,2,4\}$ and values of $\tau$ on both sides of $\uptau_c$, and for $\xx=1$ and $\tau\in\{\frac12,2\}$, the measure $\rho_\tau$ has mass $1$, the function $\Psi_\tau$ is constant on $\operatorname{supp}\rho_\tau$ up to $2\cdot10^{-13}$, and $\mathcal J_\tau(\rho_\tau)$, computed as a double integral, agrees up to $3\cdot10^{-15}$ with \eqref{eq:E_hard} for $\tau\le\uptau_c$ and with \eqref{eq:E_soft} for $\tau\ge\uptau_c$. For $\tau>\uptau_c$, this confirms \eqref{eq:E_soft} independently of Proctor's formula, which enters the proof of \eqref{eq:E_soft} through \Cref{lem:proctor_limit}. Also by quadrature, the right-hand side of \eqref{eq:positivity} for $\eta=\omega-\nu$, with $\nu$ the uniform distribution on $[\uplambda_-,\uplambda_+]$, agrees up to $3\cdot10^{-6}$ with the left-hand side $\frac32-\log4$, which does not depend on $\xx$. For $(\xx,\tau)\in\{(\frac12,\frac15),(1,\frac12),(2,1),(4,2)\}$, \eqref{eq:variational} holds for $\nu=\omega$ and for this uniform $\nu$, while $\mathcal J_\tau$ of their mixtures with $\rho_\tau$ does not exceed $\mathcal J_\tau(\rho_\tau)$. \end{remark} \begin{remark} \label{rmk:num_asymptotics} % Basis: first sentence: checks/combinatorics.py (pipe dreams, rmk:usp, eq:F_TH); tables: checks/main_results.py, sections (A) and (B), output checks/main_results.txt; sup over k and eq:fredholm: checks/analytic.py. In exact arithmetic, by enumerating all pipe dreams of size at most $6$, we checked the claims of \Cref{prop:sites} about the band and \eqref{eq:layered_product}, and that \eqref{eq:pipe_dreams} and \eqref{eq:F} give the same $F(k,n,\beta)$. For $k\le6$ and $1\le n\le6$, we also checked the expansion in \Cref{rmk:usp} and \eqref{eq:F_TH}. For $\xx=p/q$ in lowest terms, the Hankel matrices $[q^m\mathcal L_m(\xx)]$, $m=n+i+j-2$, have integer entries, and the Desnanot--Jacobi identity gives their determinants recursively. In this way we computed $F(k,n,\beta)$ exactly, by \eqref{eq:F}, for $k+n\le160$ and the values of $\beta$ below. The convergence in \Cref{thm:asymptotics} is slow, but the difference between $h_{\xx}(\kk)$ and $N^{-2}\log F(\kk N,(1-\kk)N,\beta)$ roughly halves when $N$ doubles. Accordingly, the extrapolation, twice the value at $N=160$ minus the value at $N=80$, agrees with $h_{\xx}(\kk)$ up to $1.5\cdot10^{-6}$: \begin{center} \begin{tabular}{cc|cccc} $\beta$ & $\kk$ & $N=80$ & $N=160$ & extrapolation & $h_{\xx}(\kk)$\\\hline $0$ & $\frac12$ & $0.146019$ & $0.148187$ & $0.150356$ & $0.150356$\\ $1$ & $\frac12$ & $0.245240$ & $0.248590$ & $0.251940$ & $0.251939$\\ $1$ & $\frac45$ & $0.116969$ & $0.120868$ & $0.124766$ & $0.124766$\\ $3$ & $\frac35$ & $0.344609$ & $0.350167$ & $0.355725$ & $0.355725$\\ $-\frac12$ & $\frac14$ & $0.106497$ & $0.107747$ & $0.108998$ & $0.108997$\\ $-\frac12$ & $\frac34$ & $0.020578$ & $0.021119$ & $0.021661$ & $0.021661$ \end{tabular} \end{center} Over all $0\le k\le N$, the largest deviation in \eqref{eq:asymptotics} also roughly halves when $N$ doubles, for $\beta\in\{-\frac12,0,1,3\}$ and $N=40,80,160$; for $\beta\in\{1,3\}$, it occurs at $n=1$, where $F(k,1,\beta)=1$. In the third and fourth rows of the table, $\kk$ exceeds $\updelta$ by about $0.1$, and the extrapolation agrees with $h_{\xx}(\kk)$ up to $10^{-9}$. For such $\kk$, by \eqref{eq:frozen_exact}, $h_{\xx}(\kk)$ and $N^{-2}\log F(\kk N,(1-\kk)N,\beta)$ differ by a constant multiple of $1/N$ up to an exponentially small error, and the extrapolation cancels this term. The difference $\log F(k,n,\beta)-k(n-1)\log\XX_+-\binom n2\log\frac1{1-\updelta^2}$ is nonpositive for $n\ge1$ by \eqref{eq:site_bounds}, and for $\kk\ge\updelta+0.09$ it decays exponentially in $N$, as \Cref{prop:frozen} predicts: \begin{center} \begin{tabular}{ccc|cccc} $\beta$ & $\kk$ & $\updelta$ & $N=20$ & $N=40$ & $N=80$ & $N=160$\\\hline $-\frac23$ & $\frac7{10}$ & $0.577$ & $-5.3\cdot10^{-4}$ & $-3.3\cdot10^{-5}$ & $-1.2\cdot10^{-7}$ & $-1.8\cdot10^{-12}$\\ $1$ & $\frac45$ & $0.707$ & $-1.1\cdot10^{-3}$ & $-1.8\cdot10^{-4}$ & $-3.5\cdot10^{-6}$ & $-1.4\cdot10^{-9}$\\ $3$ & $\frac35$ & $0.500$ & $-1.7\cdot10^{-3}$ & $-2.1\cdot10^{-4}$ & $-3.3\cdot10^{-6}$ & $-9.1\cdot10^{-10}$ \end{tabular} \end{center} The identity \eqref{eq:fredholm}, with the Fredholm determinant truncated and computed numerically, holds up to $10^{-14}$ for $k\le5$, $n\le6$, and $\xx\in\{\frac14,\frac12\}$. \end{remark} \section{Layered maxima} \label{sec:layered} \subsection{Idea and statement} \label{subsec:lay_idea} In this section, we find the growth constant $c_L(\beta)$ \eqref{eq:cL_def} of the layered maximum. A composition $b=(b_\ell,\ldots,b_1)$ of $M$ determines the layered permutation $w(b)\in L_M$ and the block boundaries $M=M_0>M_1>\cdots>M_\ell=0$, where $b_i=M_{i-1}-M_i$, and $\Upsilon_{w(b)}(\beta)$ factors as in \eqref{eq:layered_product}. Since $b\mapsto w(b)$ is a bijection from the compositions of $M$ onto $L_M$, the maximum in \eqref{eq:cL_def} is over these compositions. We call $b$ a \emph{maximizer} if it attains this maximum. The constants $\uplambda_+$, $\XX_+$, $\updelta$ and the function $h_{\xx}$ are as in \Cref{subsec:asym_statement}. Optimizing the block sizes one at a time, as \cite{MoralesPakPanova2019} did for $\beta=0$, predicts the value of $c_L(\beta)$. Removing the rightmost block of a layered permutation in $S_M$ leaves a layered permutation in $S_m$ for some $m\frac12\log_2\XX_+$. If $b=b^{(M)}$ are compositions of $M$ with $M^{-2}\log_2\Upsilon_{w(b)}(\beta)\to c_L(\beta)$, for instance the maximizers, then the sets $\{M_i/M\colon0\le i\le\ell\}$ converge in the Hausdorff distance to $\{\upalpha^j\colon j\ge0\}\cup\{0\}$. \item $c_L'(1^-)=\frac{4\sqrt2-5}{4\log2}$ and $c_L'(1^+)=\frac1{4\log2}$. \end{enumerate} \end{theorem} In \Cref{subsec:lay_large_beta}, for $\beta>1$, we find the correction of order $M^{3/2}$ to the leading term $\frac{M^2}2\log(1+\beta)$ of $\log\max_{w\in L_M}\Upsilon_w(\beta)$, and show that the block sizes of every maximizer lie within $O(M^{1/4})$ of an arithmetic progression. In \Cref{subsec:lay_numerics}, we collect numerical checks of \Cref{thm:layered} and \Cref{prop:large_beta}. Finally, in \Cref{subsec:lay_nonlayered}, we show that for all $\beta$ in an explicit interval containing $0$, no layered permutation maximizes $\Upsilon_w(\beta)$ over $S_{17}$. \subsection{Single-variable problem} \label{subsec:lay_scalar} We now study the function under the supremum in \eqref{eq:c_sup}. Let $\bar h_{\xx}(\kk)\coloneqq h_{\xx}(\kk)/(1-\kk^2)$ for $0\le \kk<1$ and $\bar h_{\xx}(1)\coloneqq\frac12\log \XX_+$. By \Cref{lem:scalar}(i) below, this makes $\bar h_{\xx}$ continuous on $[0,1]$. Let also \begin{equation*} \mathrm D_{\xx}(\kk)\coloneqq(1+\kk^2)\log\uplambda_+-\kk\log\xx+2\kk\log \kk-(1+\kk)^2\log(1+\kk)+(1-\kk)^2\log(1-\kk),\qquad0<\kk<1, \end{equation*} the left-hand side of \eqref{eq:alpha} with $\kk$ in place of $\upalpha$. \begin{lemma} \label{lem:scalar} \begin{enumerate}[(i)] \item The function $(\xx,\kk)\mapsto\bar h_{\xx}(\kk)$ is continuous on $(0,\infty)\times[0,1]$, and $\bar h_{\xx}\ge0$. \item For $\xx\ne1$ and $\updelta\le \kk<1$, $\bar h_{\xx}(\kk)=\frac12\log \XX_+-\frac{1-\kk}{2(1+\kk)}\log|\beta|$. \item For $0<\kk<\updelta$, $\bar h_{\xx}'(\kk)=\mathrm D_{\xx}(\kk)/(1-\kk^2)^2$. \item Let $|\beta|<1$. Then $\mathrm D_{\xx}$ has a unique zero $\upalpha\in(0,\updelta)$, with $\mathrm D_{\xx}>0$ on $(0,\upalpha)$ and $\mathrm D_{\xx}<0$ on $(\upalpha,\updelta)$. Moreover, $\bar h_{\xx}$ is strictly increasing on $[0,\upalpha]$ and strictly decreasing on $[\upalpha,1]$, and $\bar h_{\xx}(\upalpha)/\log2$ equals the right-hand side of \eqref{eq:c_closed}. \item $\bar h_2(\kk)<\frac12\log2$ for $0\le \kk<\frac1{\sqrt2}$, and $\bar h_2(\kk)=\frac12\log2$ for $\frac1{\sqrt2}\le \kk\le1$. \end{enumerate} \end{lemma} The proof of \Cref{lem:scalar}, which uses only elementary calculus, is in \Cref{app:elementary}. \subsection{A uniform upper bound on block factors} \label{subsec:lay_block} The goal of this subsection is \Cref{lem:block}, an upper bound on $\log F(k,n,\beta)$ in terms of $\bar h_{\xx}$ that is uniform in $k$ and $n$. It gives the upper bound in \eqref{eq:c_sup}. At $\beta=0$, where \eqref{eq:site_bounds} does not apply, its proof instead uses the upper bound on $F(k,n,0)$ from \cite{MoralesPakPanova2019}. \begin{lemma} \label{lem:block} For fixed $\xx>0$ and every $\varepsilon>0$ there is $B_\varepsilon<\infty$ such that for all $k\ge0$ and $n\ge1$, \begin{equation} \label{eq:block_bound} \log F(k,n,\beta)\le\Bigl(\bar h_{\xx}\Bigl(\frac{k}{k+n}\Bigr)+\varepsilon\Bigr)\bigl((k+n)^2-k^2\bigr)+B_\varepsilon\ssp n. \end{equation} \end{lemma} \begin{proof} Write $N\coloneqq k+n$ and $\kk\coloneqq k/N$, so that $N^2-k^2=n(2k+n)=N^2(1-\kk^2)$. Since $n\ge1$, we have $\kk<1$, so $N^2h_{\xx}(\kk)=\bar h_{\xx}(\kk)(N^2-k^2)$, and \eqref{eq:block_bound} with any $B_\varepsilon\ge0$ follows from $\log F(k,n,\beta)\le N^2h_{\xx}(\kk)$. We show this inequality for $\xx=1$, and for $\xx\ne1$ and $\kk\ge\updelta$. If $\xx=1$, then $\log F(k,n,0)\le N^2h_1(\kk)$ is \cite[Lemma~3.2]{MoralesPakPanova2019}, where $F(k,n,0)$ is denoted by $F(k,n)$ and $h_1$ by $f$. Let $\xx\ne1$, so that $\updelta<1$. In terms of $\XX_+$ and $\updelta$, both upper bounds in \eqref{eq:site_bounds} read $F(k,n,\beta)\le\XX_+^{k(n-1)}(1-\updelta^2)^{-\binom n2}$. If $\kk\ge\updelta$, this bound and \eqref{eq:h_frozen} give \begin{equation*} \log F(k,n,\beta)\le k(n-1)\log\XX_+-\binom n2\log(1-\updelta^2)\le kn\log\XX_+-\frac{n^2}{2}\log(1-\updelta^2)=N^2h_{\xx}(\kk). \end{equation*} It remains to consider $\xx\ne1$ and $\kk<\updelta$. Then $1-\kk^2>1-\updelta^2>0$. By the uniform convergence \eqref{eq:asymptotics}, there is $N_0$, independent of $k$ and $n$, such that $\log F(k,n,\beta)\le N^2h_{\xx}(\kk)+\varepsilon(1-\updelta^2)N^2\le(\bar h_{\xx}(\kk)+\varepsilon)(N^2-k^2)$ whenever $N\ge N_0$. For $N0$, which contributes the factor $1$. Counting from the left, the $s$-th block of size $m$ is preceded by at least $(s-1)m$ elements, so by \eqref{eq:site_bounds}, \begin{equation*} \log\Upsilon_{w(b)}(\beta)\ge\log\xx\sum_{s=1}^{L}(s-1)m\ssp(m-1)=\frac{(m-1)\ssp m\ssp L(L-1)}{2}\log\xx, \end{equation*} which is $\frac{M^2}{2}\log\xx\ssp(1-o(1))$ for $1\ll m\ll M$. Since the maximum over $S_M$ lies between the layered maximum and the sum above, this proves the case $\beta\ge1$. \emph{Upper bound in \eqref{eq:c_sup}.} Let $\mathcal C\coloneqq\sup_{0\le \kk<1}\bar h_{\xx}(\kk)$, which is finite by \Cref{lem:scalar}(i). Fix $\varepsilon>0$ and apply \Cref{lem:block} to each factor of \eqref{eq:layered_product}, with $k=M_i$, $n=b_i$, $k+n=M_{i-1}$: \begin{equation} \label{eq:upsilon_upper} \log\Upsilon_{w(b)}(\beta)\le\sum_{i=1}^{\ell}\Bigl(\bar h_{\xx}\Bigl(\frac{M_i}{M_{i-1}}\Bigr)+\varepsilon\Bigr)\bigl(M_{i-1}^2-M_i^2\bigr)+B_\varepsilon M\le(\mathcal C+\varepsilon)M^2+B_\varepsilon M, \end{equation} since $\sum_i(M_{i-1}^2-M_i^2)=M^2$. Hence $\limsup_{M}M^{-2}\log\max_b\Upsilon_{w(b)}(\beta)\le\mathcal C$. \emph{Lower bound.} Fix $\kk\in(0,1)$ and $J\ge1$. For $\kk^{J-1}(1-\kk)M\ge2$ put $M_j\coloneqq\lfloor \kk^jM\rfloor$, $0\le j\le J$, so that $M_{j-1}-M_j\ge1$, and take the composition with blocks $b_j=M_{j-1}-M_j$, $1\le j\le J$, preceded by one block of size $M_J$ if $M_J>0$, which contributes the factor $F(0,M_J,\beta)=1$. As $M\to\infty$, $M_{j-1}\to\infty$, $M_{j-1}/M\to \kk^{j-1}$ and $M_j/M_{j-1}\to \kk$, so by \eqref{eq:asymptotics} and the continuity of $h_{\xx}$, $M^{-2}\log F(M_j,b_j,\beta)\to \kk^{2(j-1)}h_{\xx}(\kk)$ for each $j\le J$. Therefore \begin{equation*} \liminf_{M\to\infty}\frac1{M^2}\log\max_b\Upsilon_{w(b)}(\beta)\ge h_{\xx}(\kk)\sum_{j=1}^{J}\kk^{2(j-1)}\xrightarrow[J\to\infty]{}\bar h_{\xx}(\kk). \end{equation*} Taking the supremum over $\kk\in(0,1)$, which equals $\mathcal C$ by continuity, proves that the limit defining $c_L(\beta)$ exists and equals $\mathcal C/\log2$. \emph{The case $-1<\beta<1$.} By \Cref{lem:scalar}(iv), $\bar h_{\xx}$ has the unique maximizer $\upalpha$ on $[0,1]$, the unique zero of $\mathrm D_{\xx}$ in $(0,\updelta)$, so $c_L(\beta)=\bar h_{\xx}(\upalpha)/\log2$ is given by \eqref{eq:c_closed}, and $c_L(\beta)>\bar h_{\xx}(1)/\log2=\frac12\log_2\XX_+$. \emph{Profile.} Let $b=b^{(M)}$ be as in the statement, $\varepsilon_M\coloneqq\mathcal C-M^{-2}\log\Upsilon_{w(b)}(\beta)\to0$, and $T_i\coloneqq M_i/M$. For $0<\rho<\upalpha$ let $\varpi(\rho)\coloneqq\mathcal C-\max\{\bar h_{\xx}(\kk)\colon \kk\in[0,1],\ |\kk-\upalpha|\ge\rho\}$, which is positive by \Cref{lem:scalar}(iv) and compactness, and call block $i$ bad if $|T_i/T_{i-1}-\upalpha|\ge\rho$ and good otherwise. Estimating the bad terms of \eqref{eq:upsilon_upper} separately, we get \begin{equation*} (\mathcal C-\varepsilon_M)M^2\le\log\Upsilon_{w(b)}(\beta)\le(\mathcal C+\varepsilon)M^2-\varpi(\rho)\sum_{i\text{ bad}}\bigl(M_{i-1}^2-M_i^2\bigr)+B_\varepsilon M, \end{equation*} so $\sum_{i\text{ bad}}(T_{i-1}^2-T_i^2)\le(\varepsilon+\varepsilon_M+B_\varepsilon/M)/\varpi(\rho)$. Since $\varepsilon$ is arbitrary, this sum is $o(1)$ as $M\to\infty$. From now on we also assume that $\rho\le\frac{1-\upalpha}2$. Fix $0<\eta<1$ and let $i_\eta\coloneqq\max\{i\colon T_{i-1}\ge\eta\}$, so that $T_{i_\eta}<\eta$. For $i\le i_\eta$ we have $T_{i-1}^2-T_i^2\ge\eta(T_{i-1}-T_i)$, hence $\Delta\coloneqq\sum_{i\le i_\eta\text{ bad}}(T_{i-1}-T_i)=o(1)$. Let $g(i)$ be the number of good blocks among $1,\ldots,i$. A good step multiplies $T$ by a factor in $(\upalpha-\rho,\upalpha+\rho)$, and a bad step $j$ decreases it by $T_{j-1}-T_j$. Let $\Delta_i$ be the sum of these decrements over the bad $j\le i$, so that $\Delta_i\le\Delta$ for $i\le i_\eta$. Since $0<\upalpha-\rho<1$, induction on $i\le i_\eta$ gives $(\upalpha-\rho)^{g(i)}-\Delta_i\le T_i\le(\upalpha+\rho)^{g(i)}$: at a good step, $(\upalpha-\rho)\bigl((\upalpha-\rho)^{g(i-1)}-\Delta_{i-1}\bigr)\ge(\upalpha-\rho)^{g(i)}-\Delta_{i-1}$. Hence \begin{equation} \label{eq:sandwich} (\upalpha-\rho)^{g(i)}-\Delta\le T_i\le(\upalpha+\rho)^{g(i)},\qquad i\le i_\eta. \end{equation} For $i\le i_\eta$, the bound $T_{i-1}\ge\eta$ and the upper bound in \eqref{eq:sandwich} give $g(i)\le J_\eta\coloneqq1+\log\eta/\log\frac{1+\upalpha}2$. Let $0<\varepsilon'\le(1-\upalpha)\upalpha^{J_\eta}$, and choose $\rho$ so small that $|(\upalpha\pm\rho)^g-\upalpha^g|<\varepsilon'/2$ for all $g\le J_\eta$, and then $M$ so large that $\Delta<\varepsilon'/2$. By \eqref{eq:sandwich}, every $T_i$ with $i\le i_\eta$ is within $\varepsilon'$ of $\upalpha^{g(i)}$. Since $g$ increases by steps of one from $g(0)=0$, every $\upalpha^j$ with $j\le g(i_\eta)$ is within $\varepsilon'$ of some $T_i$. Moreover, every $\upalpha^j\ge\eta$ has $j\le g(i_\eta)$, for otherwise $\upalpha^{g(i_\eta)}-\varepsilon'\le T_{i_\eta}<\eta\le\upalpha^{g(i_\eta)+1}$, contradicting $\varepsilon'\le(1-\upalpha)\upalpha^{J_\eta}$. Finally, every $T_i\ge\eta$ has $i0$ vary and write $\mathcal C(\xx)$ and $\updelta(\xx)$, so that $c_L(\beta)=\mathcal C(\xx)/\log2$. By \Cref{lem:scalar}(i) and the compactness of $[0,1]$, $\mathcal C(\xx)=\max_{0\le\kk\le1}\bar h_{\xx}(\kk)$ is continuous in $\xx>0$. For $0<\xx<2$, let $\upalpha(\xx)\in(0,\updelta(\xx))$ be the unique maximizer of $\bar h_{\xx}$ given by \Cref{lem:scalar}(iv). Let $\xx_n\in(0,2)$ converge to $\xx_0\in(0,2]$, and let $\kk^*$ be a limit point of $\upalpha(\xx_n)$. By the joint continuity in \Cref{lem:scalar}(i), $\bar h_{\xx_0}(\kk^*)=\lim_n\bar h_{\xx_n}(\upalpha(\xx_n))=\lim_n\mathcal C(\xx_n)=\mathcal C(\xx_0)$, so $\kk^*$ maximizes $\bar h_{\xx_0}$. For $\xx_0<2$, this gives $\kk^*=\upalpha(\xx_0)$. For $\xx_0=2$, also $\kk^*\le\lim_n\updelta(\xx_n)=\frac1{\sqrt2}$, so $\kk^*=\frac1{\sqrt2}$ by \Cref{lem:scalar}(v). Since the sequence $\upalpha(\xx_n)$ lies in the compact interval $[0,1]$, it converges to its only limit point. Hence $\upalpha$ is continuous on $(0,2)$, and $\upalpha(\xx)\to\frac1{\sqrt2}$ as $\xx\to2^-$. For $\xx>0$ and $0\le\kk<1$, let \begin{equation} \label{eq:dxE} \mathrm W_{\xx}(\kk)\coloneqq\frac{1}{1-\kk^2}\Bigl(\frac{\kk}{\sqrt\xx\ssp(1+\sqrt\xx)}-\frac{\kk^2}{2\xx}\Bigr), \end{equation} a continuous function of $(\xx,\kk)$. By \eqref{eq:h_soft} and $\partial_{\xx}\log\uplambda_+=1/(\sqrt\xx(1+\sqrt\xx))$, we have $\partial_{\xx}\bar h_{\xx}(\kk)=\mathrm W_{\xx}(\kk)$ for $0\le\kk<\updelta(\xx)$. Fix $\xx_0\in(0,2)$. Since $\upalpha$ and $\updelta$ are continuous and $\upalpha(\xx_0)<\updelta(\xx_0)$, for $\xx$ near $\xx_0$ both $\upalpha(\xx)$ and $\upalpha(\xx_0)$ are less than $\min_I\updelta$, where $I$ is the closed interval between $\xx_0$ and $\xx$. So the mean value theorem gives $\xi,\xi'\in I$ with \begin{align*} \mathcal C(\xx)-\mathcal C(\xx_0)&\ge\bar h_{\xx}(\upalpha(\xx_0))-\bar h_{\xx_0}(\upalpha(\xx_0))=(\xx-\xx_0)\ssp\mathrm W_{\xi}(\upalpha(\xx_0)),\\ \mathcal C(\xx)-\mathcal C(\xx_0)&\le\bar h_{\xx}(\upalpha(\xx))-\bar h_{\xx_0}(\upalpha(\xx))=(\xx-\xx_0)\ssp\mathrm W_{\xi'}(\upalpha(\xx)). \end{align*} Dividing by $\xx-\xx_0$ (which reverses the inequalities for $\xx<\xx_0$) and letting $\xx\to\xx_0$, so that $\xi,\xi'\to\xx_0$, we obtain $\mathcal C'(\xx_0)=\mathrm W_{\xx_0}(\upalpha(\xx_0))$ by the continuity of $\upalpha$ and $\mathrm W$. Thus $\mathcal C'(\xx)=\mathrm W_{\xx}(\upalpha(\xx))$ for $0<\xx<2$. Since $\upalpha(\xx)\to\frac1{\sqrt2}$ as $\xx\to2^-$, the continuity of $\mathrm W$ gives \begin{equation*} \lim_{\xx\to2^-}\mathcal C'(\xx)=\mathrm W_2\bigl(\tfrac1{\sqrt2}\bigr)=2\Bigl(\frac{1}{2(1+\sqrt2)}-\frac18\Bigr)=\sqrt2-\frac54. \end{equation*} Since $\mathcal C$ is continuous on $(0,2]$ and differentiable on $(0,2)$, the mean value theorem shows that the left derivative of $\mathcal C$ at $2$ exists and equals this limit, so $c_L'(1^-)=(\sqrt2-\frac54)/\log2=\frac{4\sqrt2-5}{4\log2}$. Finally, $c_L(\beta)=\frac12\log_2(1+\beta)$ for $\beta\ge1$ gives $c_L'(1^+)=\frac1{4\log2}$. \end{proof} \subsection{Second-order term and optimal block sizes for\texorpdfstring{$\beta>1$}{beta > 1}} \label{subsec:lay_large_beta} For $\beta>1$, \Cref{thm:layered} gives the leading term $\frac{M^2}{2}\log\xx=M^2c_L(\beta)\log2$, and the next statement determines the correction of order $M^{3/2}$ and the optimal block sizes. We set $b_j\coloneqq0$ for $j>\ell$. Let $b^*=(\ldots,b_2^*,b_1^*)$ be the real vector with \begin{equation*} b_j^*\coloneqq\max\bigl(b_1^*-(j-1)\log_\beta\xx,\ssp0\bigr),\qquad j\ge1, \end{equation*} where $b_1^*>0$ is determined by $\sum_{j\ge1}b_j^*=M$ (the sum is continuous and strictly increasing in $b_1^*\ge0$, and vanishes at $b_1^*=0$). Let $\ell^*$ be the number of positive entries of $b^*$. \begin{proposition} \label{prop:large_beta} Let $\beta>1$. The constants in the $O$-terms below depend only on $\beta$. \begin{enumerate}[(i)] \item For every composition $b$ of $M$, \begin{equation} \label{eq:large_beta} \log\Upsilon_{w(b)}(\beta)\le\frac{M^2}{2}\log\xx-\frac{2\sqrt2}{3}\sqrt{\log\beta\ssp\log\xx}\;M^{3/2}+\frac M2\log\beta, \end{equation} and $\log\Upsilon_{w(b)}(\beta)$ is at least the right-hand side minus $O(\sqrt M)$ when $b$ is a maximizer. \item Uniformly over the compositions $b$ of $M$, \begin{equation*} \frac{\log\beta}{2}\sum_{j\ge1}(b_j-b_j^*)^2\le\log\max_{b'}\Upsilon_{w(b')}(\beta)-\log\Upsilon_{w(b)}(\beta)+O(\sqrt M). \end{equation*} \item We have $b_1^*=\sqrt{2M\log_\beta\xx}+O(1)$ and $\ell^*=\sqrt{2M/\log_\beta\xx}+O(1)$. Every maximizer $b$ satisfies $|b_j-b_j^*|=O(M^{1/4})$ for all $j\ge1$, and $\ell=\ell^*+O(M^{1/4})$. If $b=b^{(M)}$ are compositions of $M$ with $M^{-2}\log\Upsilon_{w(b)}(\beta)\to\frac12\log\xx$, then $\max_ib_i=o(M)$, that is, the sets $\{M_i/M\colon0\le i\le\ell\}$ converge in the Hausdorff distance to $[0,1]$. \end{enumerate} \end{proposition} \begin{proof} \emph{Reduction to a quadratic problem.} For a real vector $b=(\ldots,b_2,b_1)$ with finitely many nonzero entries, let \begin{equation*} \mathcal Q(b)\coloneqq\frac12\sum_{j\ge1}b_j^2+\log_\beta\xx\sum_{j\ge1}(j-1)\ssp b_j. \end{equation*} Let $b$ be a composition of $M$. Summing $M_{i-1}^2-M_i^2=2M_ib_i+b_i^2$ over $i$, the left-hand side telescopes to $M^2$, so $\sum_iM_ib_i=\frac12\bigl(M^2-\sum_ib_i^2\bigr)$. Moreover, $\sum_iM_i=\sum_j(j-1)\ssp b_j$, since $b_j$ enters $M_1,\ldots,M_{j-1}$. These two identities and $\log\xx-\log\frac\xx\beta=\log\beta$ give \begin{equation} \label{eq:Q_frozen} \sum_{i=1}^{\ell}\Bigl(M_i(b_i-1)\log\xx+\binom{b_i}2\log\frac\xx\beta\Bigr)=\frac{M^2}{2}\log\xx-\mathcal Q(b)\log\beta-\frac M2\log\frac\xx\beta. \end{equation} As $\frac{\xx}{\xx-1}=\frac\xx\beta$, the $i$-th term on the left is the upper bound for $\log F(M_i,b_i,\beta)$ given by \eqref{eq:site_bounds}. Hence, by \eqref{eq:layered_product}, \begin{equation} \label{eq:Q_upper} \log\Upsilon_{w(b)}(\beta)\le\frac{M^2}{2}\log\xx-\mathcal Q(b)\log\beta-\frac M2\log\frac\xx\beta. \end{equation} \emph{The quadratic problem.} For real $y$ and $j\ge1$, let $y_j\coloneqq y-(j-1)\log_\beta\xx$ and $y_j^\pm\coloneqq\max(\pm y_j,0)$. Checking the cases $y_j\ge0$ and $y_j<0$ separately, we get, for real $b_j$, \begin{equation*} \frac12b_j^2+(j-1)\log_\beta\xx\ssp b_j=\frac12(b_j-y_j^+)^2-\frac12(y_j^+)^2+y_j^-b_j+y\ssp b_j. \end{equation*} Summing over $j$, for every real vector $b$ with finitely many nonzero entries and $\sum_jb_j=M$, \begin{equation} \label{eq:Q_identity} \mathcal Q(b)=yM-\frac12\sum_{j\ge1}(y_j^+)^2+\frac12\sum_{j\ge1}(b_j-y_j^+)^2+\sum_{j\ge1}y_j^-\ssp b_j. \end{equation} If all $b_j\ge0$, the last two sums are nonnegative, so $\mathcal Q(b)\ge yM-\frac12\sum_j(y_j^+)^2$. For $y=b_1^*$ we have $y_j^+=b_j^*$ and $y_j^-b_j^*=0$, so \eqref{eq:Q_identity} for $b^*$ and for $b$ gives \begin{equation} \label{eq:Q_gap} \mathcal Q(b)-\mathcal Q(b^*)=\frac12\sum_{j\ge1}(b_j-b_j^*)^2+\sum_{j\ge1}y_j^-\ssp b_j,\qquad y=b_1^*. \end{equation} The functions $u\mapsto\max(y-u,0)$ and $u\mapsto\max(y-u,0)^2$ are convex and nonincreasing. We compare their values at the points $u=(j-1)\log_\beta\xx$, $j\ge1$, with their integrals: for a convex function, the trapezoid rule overestimates the integral, and the midpoint rule underestimates it. For $y\ge0$, this gives \begin{equation} \label{eq:progression} \begin{aligned} \frac{y^2}{2\log_\beta\xx}+\frac y2&\le\sum_{j\ge1}y_j^+\le\frac{(y+\frac12\log_\beta\xx)^2}{2\log_\beta\xx},\\ \frac{y^3}{3\log_\beta\xx}+\frac{y^2}{2}&\le\sum_{j\ge1}(y_j^+)^2\le\frac{(y+\frac12\log_\beta\xx)^3}{3\log_\beta\xx}, \end{aligned} \end{equation} and the upper bounds hold for all $y\ge-\frac12\log_\beta\xx$. For $y=b_1^*$, where $\sum_jy_j^+=M$, the first line gives \begin{equation*} \sqrt{2M\log_\beta\xx}-\frac12\log_\beta\xx\le b_1^*\le\sqrt{2M\log_\beta\xx}. \end{equation*} Since $b_j^*>0$ exactly when $j-1\ell^*$. By the formula for $\ell^*$, we have $0\beta$, we have $\log_\beta\xx>1$, so $\hat b_j\ge1$ for $j<\ell^*$, and the nonzero $\hat b_j$ form a composition $\hat b$ of $M$ with $\ell^*$ or $\ell^*-1$ blocks. By \eqref{eq:Q_gap}, where $y_j^-=0$ for $j\le\ell^*$, \begin{equation*} \mathcal Q(\hat b)=\mathcal Q(b^*)+\frac12\sum_{j\le\ell^*}(\hat b_j-b_j^*)^2\le\mathcal Q(b^*)+\frac{\ell^*}{2}. \end{equation*} Let $\hat M_i\coloneqq M-\hat b_1-\cdots-\hat b_i$, let $1\le i\le\ell^*$, and let $r\coloneqq\ell^*-i$. By \eqref{eq:progression_sizes}, \begin{equation*} \hat b_i<(r+1)\log_\beta\xx+1,\qquad\hat M_{i-1}=\sum_{j=i}^{\ell^*}\hat b_j>\frac{r(r+1)}{2}\log_\beta\xx-r-1. \end{equation*} Since $\xx>1$, we have $\updelta=\xx^{-1/2}$. Let $\varepsilon\coloneqq\frac{1-\updelta}{2}$. By the last display, there is $r_\beta\ge1$, depending only on $\beta$, such that $\hat b_i\le\varepsilon\hat M_{i-1}$, that is, $\hat M_i/\hat M_{i-1}\ge\updelta+\varepsilon$, whenever $r\ge r_\beta$. For such $i$, \Cref{prop:frozen} with $\XX_+=\xx$ and $1-\updelta^2=\beta/\xx$ gives \begin{equation*} \log F(\hat M_i,\hat b_i,\beta)=\hat M_i(\hat b_i-1)\log\xx+\binom{\hat b_i}2\log\frac\xx\beta+O(e^{-\kappa\hat M_{i-1}}), \end{equation*} and the sum of $e^{-\kappa\hat M_{i-1}}$ over these $i$ is at most $\sum_{N\ge1}e^{-\kappa N}$, as the $\hat M_{i-1}$ are distinct positive integers. The at most $r_\beta$ remaining blocks have sizes less than $r_\beta\log_\beta\xx+1$, so for them the lower bound $\hat M_i(\hat b_i-1)\log\xx$ for $\log F(\hat M_i,\hat b_i,\beta)$ from \eqref{eq:site_bounds} is within $O(1)$ of the corresponding upper bound. By \eqref{eq:layered_product}, \eqref{eq:Q_frozen}, the bound on $\mathcal Q(\hat b)$, and $\ell^*=O(\sqrt M)$, \begin{equation} \label{eq:Q_lower} \log\max_{b'}\Upsilon_{w(b')}(\beta)\ge\log\Upsilon_{w(\hat b)}(\beta)\ge\frac{M^2}{2}\log\xx-\mathcal Q(b^*)\log\beta-\frac M2\log\frac\xx\beta-O(\sqrt M). \end{equation} Together with \eqref{eq:Q_star}, this completes the proof of (i). \emph{Proof of (ii).} By \eqref{eq:Q_upper}, \eqref{eq:Q_lower}, and \eqref{eq:Q_gap}, every composition $b$ of $M$ satisfies \begin{equation} \label{eq:Q_stable} \Bigl(\frac12\sum_{j\ge1}(b_j-b_j^*)^2+\sum_{j\ge1}y_j^-\ssp b_j\Bigr)\log\beta\le\log\max_{b'}\Upsilon_{w(b')}(\beta)-\log\Upsilon_{w(b)}(\beta)+O(\sqrt M), \end{equation} where $y=b_1^*$. As $y_j^-b_j\ge0$, this implies (ii). \emph{Proof of (iii).} Let $b$ be a maximizer. By \eqref{eq:Q_stable}, $\sum_j(b_j-b_j^*)^2=O(\sqrt M)$, so $|b_j-b_j^*|\le C_\beta M^{1/4}$ for all $j$, with $C_\beta$ depending only on $\beta$. By \eqref{eq:progression_sizes}, it follows that $b_j>0$, that is, $j\le\ell$, whenever $(\ell^*-j)\log_\beta\xx\ge C_\beta M^{1/4}$, and hence $\ell\ge\ell^*-O(M^{1/4})$. Also by \eqref{eq:Q_stable}, $\sum_jy_j^-b_j=O(\sqrt M)$. For $\ell^*0$, \begin{equation} \label{eq:positivity_eps} -\iint\tfrac12\log\bigl((s-t)^2+\varepsilon^2\bigr)\ssp\eta(ds)\eta(dt)=\int_0^\infty e^{-\varepsilon\xi}\ssp|\hat\eta(\xi)|^2\ssp\frac{d\xi}{\xi}\ge0. \end{equation} If moreover $\iint|\log|s-t||\ssp|\eta|(ds)|\eta|(dt)<\infty$, then \begin{equation} \label{eq:positivity} -\iint\log|s-t|\ssp\eta(ds)\eta(dt)=\int_0^\infty|\hat\eta(\xi)|^2\ssp\frac{d\xi}{\xi}\ge0. \end{equation} \end{lemma} \begin{proof} For $\operatorname{Re}\zeta>0$, integrating $e^{-z\xi}$ first over $z$ on the segment from $1$ to $\zeta$ and then over $\xi>0$, and exchanging the two integrations by Fubini's theorem, gives $\int_0^\infty(e^{-\xi}-e^{-\zeta\xi})\ssp\frac{d\xi}{\xi}=\operatorname{Log}\zeta$ with the principal branch of the logarithm. With $\zeta=\varepsilon-\mathrm iu$, the real part of this identity reads \begin{equation*} \tfrac12\log(u^2+\varepsilon^2)=\int_0^\infty\bigl(e^{-\xi}-e^{-\varepsilon\xi}\cos(u\xi)\bigr)\frac{d\xi}{\xi},\qquad u\in\mathbb R. \end{equation*} The integrand is bounded in absolute value by $1+\varepsilon+u^2/2$ for $\xi\le1$ and by $e^{-\xi}+e^{-\varepsilon\xi}$ for $\xi\ge1$. Since $\eta$ has compact support, we may put $u=s-t$, integrate against $\eta(ds)\eta(dt)$, and use Fubini's theorem. As $\iint\cos(\xi(s-t))\ssp\eta(ds)\eta(dt)=|\hat\eta(\xi)|^2$ and $\eta(\mathbb R)=0$, this gives \eqref{eq:positivity_eps}. Now let $\varepsilon\downarrow0$ in \eqref{eq:positivity_eps}. On the right-hand side, the integrand $e^{-\varepsilon\xi}|\hat\eta(\xi)|^2/\xi$ is nonnegative and increases pointwise as $\varepsilon\downarrow0$, since $e^{-\varepsilon\xi}\uparrow1$ for each $\xi>0$. By monotone convergence, the right-hand side increases to that of \eqref{eq:positivity}. On the left, the finite energy of $|\eta|$ implies that $\eta$ has no atoms, so $\frac12\log((s-t)^2+\varepsilon^2)\to\log|s-t|$ almost everywhere for $|\eta|\otimes|\eta|$. Moreover, $|\frac12\log(u^2+\varepsilon^2)|\le|\log|u||+\frac12\log(1+R^2)$ for $|u|\le R\coloneqq\operatorname{diam}\operatorname{supp}\eta$ and $\varepsilon\le1$, and dominated convergence gives \eqref{eq:positivity}. \end{proof} \begin{proof}[Proof of \Cref{lem:variational}] Since $\Psi=\ell$ $\rho$-almost everywhere, we have $\int\Psi\ssp d\rho=\ell$, and $\int U^\rho d\rho=\iint\log|s-t|\ssp\rho(ds)\rho(dt)$ is finite because $\rho$ has finite energy. Hence $\tau\int\log t\ssp d\rho=\ell-2\int U^\rho d\rho$ is finite, and $\mathcal J_\tau(\rho)=\int U^\rho d\rho+\tau\int\log t\ssp d\rho$ equals the last expression in \eqref{eq:variational}. Let $\nu\in\mathcal P(\Sigma)$ with $\mathcal J_\tau(\nu)>-\infty$, and let $R\coloneqq\operatorname{diam}\Sigma$, so that $\log|s-t|\le\log R$ on $\Sigma^2$. As both terms of $\mathcal J_\tau(\nu)$ are bounded above, $\nu$ has finite energy and, if $\tau>0$, $\int|\log t|\ssp d\nu<\infty$. Let $\chi_\varepsilon(u)\coloneqq-\frac12\log(u^2+\varepsilon^2)$, a bounded continuous function on $[-R,R]$. Expanding the square in \eqref{eq:positivity_eps} for $\eta\coloneqq\nu-\rho$ gives \begin{equation*} 2\iint \chi_\varepsilon(s-t)\ssp\nu(ds)\rho(dt)\le\iint \chi_\varepsilon(s-t)\ssp\nu(ds)\nu(dt)+\iint \chi_\varepsilon(s-t)\ssp\rho(ds)\rho(dt). \end{equation*} As $\varepsilon\downarrow0$, $\chi_\varepsilon(u)$ increases to $-\log|u|$, and $\chi_\varepsilon\ge-\frac12\log(1+R^2)$ on $[-R,R]$ for $\varepsilon\le1$. By monotone convergence, $-\iint\log|s-t|\ssp\nu(ds)\rho(dt)$ is at most the average of $-\iint\log|s-t|\ssp d\nu\ssp d\nu$ and $-\iint\log|s-t|\ssp d\rho\ssp d\rho$, and it is at least $-\log R$. Hence $\iint|\log|s-t||\ssp\nu(ds)\rho(dt)<\infty$. Since $\nu$ and $\rho$ also have finite energy, \eqref{eq:positivity} applies to $\eta$. Now all integrals in \begin{equation*} \mathcal J_\tau(\nu)-\mathcal J_\tau(\rho)=\iint\log|s-t|\ssp\eta(ds)\eta(dt)+\int\Psi\ssp d\nu-\int\Psi\ssp d\rho \end{equation*} are finite, and the displayed identity follows by expanding the first term on the right and using $\int\Psi\ssp d\nu=2\iint\log|s-t|\ssp\rho(ds)\nu(dt)+\tau\int\log t\ssp d\nu$, which holds by Fubini's theorem. Since $\int\Psi\ssp d\nu\le\ell=\int\Psi\ssp d\rho$, \eqref{eq:variational} follows from \eqref{eq:positivity}. \end{proof} \begin{proof}[Proof of \Cref{lem:potential}] Let $p'\coloneqq p/(p-1)$, let $K$ be a compact interval containing $\operatorname{supp}\rho$, and let $\varphi_y(u)\coloneqq\frac12\log(u^2+y^2)$ for $y\in\mathbb R$, so that $\varphi_0(u)=\log|u|$ and $U^\rho(u+\mathrm iy)=\int_K\varphi_y(u-s)\ssp g(s)\ssp ds$. By H\"older's inequality, part~(i) and the continuity of $U^\rho$ at real points reduce to properties of the kernels $\varphi_y$ in $L^{p'}$ on bounded intervals, which we establish first. The function $\varphi_0$ lies in $L^{p'}$ on every bounded interval, since $p'<\infty$ and its only singularity is logarithmic. For $u\ne0$, the difference $\varphi_y(u)-\varphi_0(u)=\frac12\log(1+y^2/u^2)$ is nonnegative, increases in $|y|$, and tends to $0$ as $y\to0$. Hence $0\le\varphi_y-\varphi_0\le\varphi_1-\varphi_0$ for $|y|\le1$. This majorant, $\varphi_1(u)-\varphi_0(u)=\frac12\log(1+u^{-2})$, is at most $\frac12\log2+|\log|u||$ for $|u|\le1$ and at most $\frac12\log2$ for $|u|\ge1$, so it also lies in $L^{p'}$ on every bounded interval. By dominated convergence, $\varphi_y\to\varphi_0$ in $L^{p'}$ on every bounded interval as $y\to0$. (i) Let $t\in K$. Since $g$ vanishes outside $K$, H\"older's inequality gives \begin{equation*} \int|\log|t-s||\ssp\rho(ds)\le\|\varphi_0(t-\cdot)\|_{L^{p'}(K)}\|g\|_p=\|\varphi_0\|_{L^{p'}(t-K)}\|g\|_p\le\|\varphi_0\|_{L^{p'}(K-K)}\|g\|_p, \end{equation*} where $K-K\coloneqq\{a-b\colon a,b\in K\}$ is a bounded interval containing $t-K$. The right-hand side is finite and does not depend on $t$. Integrating over $\rho(dt)$, which has finite mass and is supported in $K$, shows that $\rho$ has finite energy. (ii) For $y\ne0$, the function $\log|z-s|$ is smooth in $z$ with $\partial_u\log|z-s|=\operatorname{Re}\frac1{z-s}$, and its derivatives are bounded uniformly for $s\in K$ and $z$ in compact subsets of $\mathbb C\setminus\mathbb R$. Differentiating under the integral sign gives the continuity of $U^\rho$ off $\mathbb R$ and $\partial_uU^\rho=\operatorname{Re}G^\rho$ there. At a point $u_0\in\mathbb R$, H\"older's inequality gives \begin{equation*} |U^\rho(u+\mathrm iy)-U^\rho(u_0)|\le\Bigl(\|\varphi_y-\varphi_0\|_{L^{p'}(u-K)}+\|\varphi_0(u-\cdot)-\varphi_0(u_0-\cdot)\|_{L^{p'}(K)}\Bigr)\|g\|_p, \end{equation*} and both norms tend to $0$ as $(u,y)\to(u_0,0)$: the first by the convergence $\varphi_y\to\varphi_0$ in $L^{p'}$ on the bounded interval $\bigcup_{|u-u_0|\le1}(u-K)$, and the second by the continuity of translations in $L^{p'}(\mathbb R)$, applied to the restriction of $\varphi_0$ to that interval, extended by zero. So $U^\rho$ is continuous on $\mathbb C$. (iii) For $t_00$, part~(ii) gives $U^\rho(t+\mathrm iy)-U^\rho(t_0+\mathrm iy)=\int_{t_0}^t\operatorname{Re}G^\rho(u+\mathrm iy)\ssp du$. As $y\downarrow0$, the left-hand side tends to $U^\rho(t)-U^\rho(t_0)$ by the continuity of $U^\rho$, and $G^\rho(u+\mathrm iy)\to G^\rho_+(u)$ uniformly for $u\in[t_0,t]$, by the uniform continuity of the extension on $[t_0,t]\times[0,1]$. Hence $U^\rho(t)-U^\rho(t_0)=\int_{t_0}^t\operatorname{Re}G^\rho_+(u)\ssp du$. The integrand is continuous, so $U^\rho$ is continuously differentiable on $I$ with $(U^\rho)'=\operatorname{Re}G^\rho_+$. \end{proof} \begin{proof}[Proof of \Cref{lem:arcsine}] On $[0,\pi]$ we have $dt=-2\sqrt\xx\sin\theta\ssp d\theta$ and $\sqrt{(t-\uplambda_-)(\uplambda_+-t)}=2\sqrt\xx\sin\theta$, which gives the description of $\omega$. For real $p>|q|$, $\frac1\pi\int_0^\pi\frac{d\theta}{p-q\cos\theta}=\frac1{\sqrt{p^2-q^2}}$. With $p=z-1-\xx$, $q=2\sqrt\xx$ and real $z>\uplambda_+$ this gives $G^\omega(z)=1/\sqrt{(z-\uplambda_-)(z-\uplambda_+)}=1/((z-\uplambda_+)S_{\uplambda_-}(z))$, and the identity extends to $\mathbb C\setminus[\uplambda_-,\uplambda_+]$, where both sides are analytic. Since $\uplambda_\pm=(1\pm\sqrt\xx)^2$, we have $|1-\xx|=\sqrt{\uplambda_-\uplambda_+}$, and the choice $p=1+\xx$ and $q=-2\sqrt\xx$, valid for $\xx\ne1$, gives $\int\omega(dt)/t=1/|1-\xx|$. For $t=1+\xx+2\sqrt\xx\cos\theta$ and $s=1+\xx+2\sqrt\xx\cos\theta'$ we have $|t-s|=4\sqrt\xx\ssp|\sin\frac{\theta+\theta'}2\sin\frac{\theta-\theta'}2|$, so \begin{equation*} U^\omega(t)=\frac12\log\xx+\frac1\pi\int_0^\pi\Bigl(\log\bigl|2\sin\tfrac{\theta+\theta'}2\bigr|+\log\bigl|2\sin\tfrac{\theta-\theta'}2\bigr|\Bigr)d\theta'=\frac12\log\xx+\frac1\pi\int_0^{2\pi}\log|1-e^{\mathrm iv}|\ssp dv, \end{equation*} where we substituted $\theta'\mapsto-\theta'$ in the first term, then $v=\theta-\theta'$, and used the periodicity of the integrand. The last integral vanishes: the substitution $v\mapsto2v$ and $|1-e^{2\mathrm iv}|=|1-e^{\mathrm iv}|\ssp|1-e^{\mathrm i(v+\pi)}|$ show that it equals twice itself, and it is finite. Next, $\int\log t\ssp\omega(dt)=\frac1\pi\int_0^{2\pi}\log|1+\sqrt\xx\ssp e^{\mathrm i\theta}|\ssp d\theta$ by evenness. For $\xx=1$ this is $\frac1\pi\int_0^{2\pi}\log|1-e^{\mathrm iv}|\ssp dv=0$. For $\xx<1$, the function $\log|1+\sqrt\xx\ssp w|$ is harmonic on a neighborhood of the closed unit disk, so its mean over $|w|=1$ is its value $0$ at $w=0$. For $\xx>1$ we write $\log|1+\sqrt\xx\ssp e^{\mathrm i\theta}|=\log\sqrt\xx+\log|1+\xx^{-1/2}e^{-\mathrm i\theta}|$ and obtain the mean $\log\sqrt\xx$. In all cases the integral is twice the mean, that is, $\log \XX_+$. Finally, let $0<\xx<1$. The Poisson kernel formula $\frac{1-\varrho^2}{1-2\varrho\cos\theta+\varrho^2}=\sum_{m\in\mathbb Z}\varrho^{|m|}e^{\mathrm im\theta}$ for $-1<\varrho<1$, at $\varrho=-\sqrt\xx$, and the expansion of the logarithm give the absolutely convergent Fourier series \begin{equation*} \frac{1-\xx}{t}=\sum_{m\in\mathbb Z}(-1)^m\xx^{|m|/2}e^{\mathrm im\theta}, \qquad \log t=2\operatorname{Re}\log\bigl(1+\sqrt\xx\ssp e^{\mathrm i\theta}\bigr)=\sum_{m\ne0}\frac{(-1)^{m+1}\xx^{|m|/2}}{|m|}\ssp e^{\mathrm im\theta}, \end{equation*} so, by Parseval's identity, \begin{align*} \int\frac{\log t}t\ssp\omega(dt)&=\frac1{2\pi}\int_0^{2\pi}\frac{\log t}{t}\ssp d\theta=\frac{1}{1-\xx}\sum_{m\ne0}\frac{(-1)^{m+1}\xx^{|m|/2}}{|m|}\ssp(-1)^{m}\xx^{|m|/2}\\ &=-\frac{2}{1-\xx}\sum_{m\ge1}\frac{\xx^m}m=\frac{2\log(1-\xx)}{1-\xx}. \end{align*} For $\xx>1$ we write $t=\xx\ssp|1+\xx^{-1/2}e^{\mathrm i\theta}|^2$ and apply the case $\xx^{-1}<1$: \begin{equation*} \int\frac{\log t}t\ssp\omega(dt)=\frac1\xx\biggl(\frac{\log\xx}{1-\xx^{-1}}+\frac{2\log(1-\xx^{-1})}{1-\xx^{-1}}\biggr)=\frac{2\log(\xx-1)-\log\xx}{\xx-1}. \end{equation*} Both cases are \eqref{eq:arcsine_ints}. \end{proof} \section{Proofs of elementary lemmas} \label{app:elementary} In this appendix, we prove \Cref{lem:proctor_limit,lem:transition,lem:scalar}. Their proofs use only elementary real analysis. \begin{proof}[Proof of \Cref{lem:proctor_limit}] Recall Proctor's formula $F(k,n,0)=\prod_{1\le i0$. This function is positive and decreasing, and $\log\frac{2k+m}{m}=g(m/k)$. The number of pairs $i0$ and $\Theta(0)\coloneqq0$, so that $\Theta''(z)=\log z$. The function $\mathrm G(w)\coloneqq\Theta(w+2)-\Theta(w)$ is continuously differentiable on $[0,2\tau]$, with $\mathrm G''=g$ on $(0,2\tau]$. As $\mathrm C_\tau$ is piecewise linear with slopes $\pm\frac12$ and vanishes at $0$ and $2\tau$, two integrations by parts give $\int_0^{2\tau}\mathrm C_\tau\ssp g\ssp dw=\frac12\bigl(\mathrm G(2\tau)-2\ssp\mathrm G(\tau)+\mathrm G(0)\bigr)$. In this second difference the terms $-\frac34z^2$ cancel, and \begin{align*} \int_0^{2\tau}\mathrm C_\tau\ssp g\ssp dw&=\frac14\Bigl((2\tau+2)^2\log(2\tau+2)-(2\tau)^2\log(2\tau)\\ &\hspace{25mm}-2(\tau+2)^2\log(\tau+2)+2\tau^2\log\tau+4\log2\Bigr)\\ &=(\tau+1)^2\log(\tau+1)-\frac{\tau^2}2\log\tau-\frac{(\tau+2)^2}2\log(\tau+2)\\ &\hspace{25mm}+\bigl((\tau+1)^2-\tau^2+1\bigr)\log2, \end{align*} which is $H(\tau)+(1+\tau)\log4$. \end{proof} \begin{proof}[Proof of \Cref{lem:transition}] With $0\log0\coloneqq0$, the branch \eqref{eq:h_soft} is continuous on $[0,\updelta]$, and all its terms vanish at $\kk=0$. For $\xx\ne1$, the branch \eqref{eq:h_frozen} is continuous on $[\updelta,1]$, all its terms vanish at $\kk=1$, and it agrees with \eqref{eq:h_soft} at $\kk=\updelta$: since $\updelta<1$, the computation in the proof of \Cref{lem:energy} identifies both branches there with $\kk^2(\mathcal E_{\xx}(\tau)-\frac12\log\xx)$. For $\xx=1$ we have $\updelta=1$, and \eqref{eq:h_soft} gives $h_1(1)=\log4-2\log2=0$. This proves the first claim. Now let $\xx\ne1$, and let $\mathcal E^{\mathrm h}$ and $\mathcal E^{\mathrm s}$ be the right-hand sides of \eqref{eq:E_hard} and \eqref{eq:E_soft}. They are a polynomial and a real-analytic function on $(0,\infty)$, respectively, and \begin{gather*} H'(\tau)=2(\tau+1)\log(\tau+1)-\tau\log\tau-(\tau+2)\log(\tau+2),\\ H''(\tau)=\log\frac{(\tau+1)^2}{\tau(\tau+2)},\qquad H'''(\tau)=-\frac{2}{\tau(\tau+1)(\tau+2)}. \end{gather*} At $\uptau_c=1/\updelta-1$ we have $\uptau_c+1=1/\updelta$ and $\uptau_c+2=(1+\updelta)/\updelta$. For $\xx<1$ we have $\log\uplambda_+=2\log(1+\updelta)$, $\log\xx=2\log\updelta$, and $\log \XX_+=0$, and for $\xx>1$ we have $\log\uplambda_+=2\log(1+\updelta)-2\log\updelta$ and $\log\xx=\log \XX_+=-2\log\updelta$. In both cases $\log\frac{\XX_+}{|1-\xx|}=-\log(1-\updelta^2)$. Substituting these values, we find that both functions and their first two derivatives agree at $\uptau_c$: \begin{align*} \mathcal E^{\mathrm h}(\uptau_c)=\mathcal E^{\mathrm s}(\uptau_c)&=\frac12\log\xx-\frac{(1-\updelta)^2}{2\updelta^2}\log(1-\updelta^2)+\frac{1-\updelta}{\updelta}\log \XX_+,\\ (\mathcal E^{\mathrm h})'(\uptau_c)=(\mathcal E^{\mathrm s})'(\uptau_c)&=\log \XX_+-\frac{1-\updelta}{\updelta}\log(1-\updelta^2), \end{align*} and $(\mathcal E^{\mathrm h})''(\uptau_c)=(\mathcal E^{\mathrm s})''(\uptau_c)=-\log(1-\updelta^2)$, while $(\mathcal E^{\mathrm h})'''=0$ and $(\mathcal E^{\mathrm s})'''(\uptau_c)=-\frac2{\uptau_c(\uptau_c+1)(\uptau_c+2)}<0$. By \Cref{lem:energy}, $\mathcal E_{\xx}$ is therefore twice continuously differentiable on $(0,\infty)$, smooth on $(0,\infty)\setminus\{\uptau_c\}$, and $\mathcal E_{\xx}'''$ jumps at $\uptau_c$. By \eqref{eq:h_from_E}, $h_{\xx}(\kk)=\kk^2(\mathcal E_{\xx}(\tau(\kk))-\frac12\log\xx)$ for $0<\kk<1$, where $\tau(\kk)=(1-\kk)/\kk$ is a smooth bijection of $(0,1)$ onto $(0,\infty)$ whose derivative $-1/\kk^2$ does not vanish. Hence $h_{\xx}$ is $C^2$ on $(0,1)$. For $\kk\ne\updelta$ we have $h_{\xx}'''(\kk)=\kk^2\ssp\tau'(\kk)^3\ssp\mathcal E_{\xx}'''(\tau(\kk))$ plus a continuous function of $\kk$. As $\kk=\updelta$ corresponds to $\tau=\uptau_c$ and $\mathcal E_{\xx}'''$ jumps at $\uptau_c$, the derivative $h_{\xx}'''$ jumps at $\kk=\updelta$, and $h_{\xx}$ is not $C^3$ there. By the computation in the proof of \Cref{lem:energy}, the right-hand side of \eqref{eq:h_frozen} is equal to $\kk^2(\mathcal E^{\mathrm h}(\tau(\kk))-\frac12\log\xx)$ for every $0<\kk<1$. The difference $\mathcal E^{\mathrm s}-\mathcal E^{\mathrm h}$ vanishes at $\uptau_c$ together with its first two derivatives, and its third derivative $H'''$ is negative on $(0,\infty)$, so $\mathcal E^{\mathrm s}<\mathcal E^{\mathrm h}$ on $(\uptau_c,\infty)$. For $0<\kk<\updelta$ we have $\tau(\kk)>\uptau_c$, and $\mathcal E_{\xx}$ equals $\mathcal E^{\mathrm s}$ on $(\uptau_c,\infty)$ by \Cref{lem:energy}. Hence, by \eqref{eq:h_from_E}, $h_{\xx}$ is strictly smaller than the right-hand side of \eqref{eq:h_frozen} on $(0,\updelta)$. \end{proof} \begin{proof}[Proof of \Cref{lem:scalar}] We prove (ii) and (iii) before (i), whose proof uses the derivative of $h_{\xx}$ computed in (iii). (ii) For $\xx>1$ we have $1-\updelta^2=(\xx-1)/\xx$, and \eqref{eq:h_frozen} gives $\bar h_{\xx}(\kk)=\frac{\kk}{1+\kk}\log\xx+\frac{1-\kk}{2(1+\kk)}\log\frac{\xx}{\xx-1}$. Since $\frac{\kk}{1+\kk}=\frac12-\frac{1-\kk}{2(1+\kk)}$, this is the claim. For $\xx<1$ we have $1-\updelta^2=1-\xx$ and $\bar h_{\xx}(\kk)=-\frac{1-\kk}{2(1+\kk)}\log(1-\xx)$. (iii) Differentiating \eqref{eq:h_soft}, we see that the terms without logarithms cancel: \begin{equation} \label{eq:h_prime} h_{\xx}'(\kk)=\log\uplambda_+-\kk\log\xx+2\kk\log \kk-(1+\kk)\log(1+\kk)+(1-\kk)\log(1-\kk),\qquad0<\kk\le\updelta,\ \kk<1. \end{equation} Hence $(1-\kk^2)h_{\xx}'(\kk)+2\kk\ssp h_{\xx}(\kk)=\mathrm D_{\xx}(\kk)$, and (iii) follows by the quotient rule. (i) On the closed sets $\{\kk\le\updelta\}$ and $\{\kk\ge\updelta\}$ of $(0,\infty)\times[0,1]$ the branches \eqref{eq:h_soft} and \eqref{eq:h_frozen} are continuous (at the point $(1,1)$ of the second set, use $(1-\kk)^2\le(1-\updelta)^2$ and $(1-\updelta)^2\log(1-\updelta^2)\to0$). They agree at $\kk=\updelta$ together with their $\kk$-derivatives: substituting $\log\uplambda_+=2\log(1+\updelta)-2\log\updelta$, $\log\xx=-2\log\updelta$ for $\xx>1$, and $\log\uplambda_+=2\log(1+\updelta)$, $\log\xx=2\log\updelta$ for $\xx<1$, both branches give $h_{\xx}(\updelta)=\updelta(1-\updelta)\log \XX_+-\frac{(1-\updelta)^2}{2}\log(1-\updelta^2)$ and $h_{\xx}'(\updelta)=(1-2\updelta)\log \XX_++(1-\updelta)\log(1-\updelta^2)$. Thus $h_{\xx}(\kk)$ is continuous in $(\xx,\kk)$, and so is $\bar h_{\xx}(\kk)$ on $\{\kk<1\}$. Since $h_{\xx}(1)=0$, we have \begin{equation*} \bar h_{\xx}(\kk)=-\frac{1}{1+\kk}\cdot\frac{1}{1-\kk}\int_{\kk}^1h_{\xx}'(s)\ssp ds,\qquad0<\kk<1. \end{equation*} The map $(\xx,s)\mapsto h_{\xx}'(s)$ is continuous on $(0,\infty)\times(0,1]$ once we set $h_{\xx}'(1)\coloneqq-\log \XX_+$. Since the derivatives of the two branches agree at $\kk=\updelta$, it suffices to check this at the points $(\xx_0,1)$. On the branch \eqref{eq:h_frozen}, $h_{\xx}'(s)=(1-2s)\log \XX_++(1-s)\log(1-\updelta^2)$, where $(1-s)|\log(1-\updelta^2)|\le(1-\updelta)|\log(1-\updelta^2)|\to0$ as $\xx\to1$, and on the branch \eqref{eq:h_soft}, the right-hand side of \eqref{eq:h_prime} tends to $0$ as $(\xx,s)\to(1,1)$. Averaging over $s\in[\kk,1]$ gives $\bar h_{\xx}(\kk)\to-\frac12h_{\xx_0}'(1)=\bar h_{\xx_0}(1)$ as $(\xx,\kk)\to(\xx_0,1)$. Finally, $F\ge1$ by \Cref{prop:sites}, so \eqref{eq:asymptotics} and the continuity of $h_{\xx}$ give $h_{\xx}\ge0$, and hence $\bar h_{\xx}\ge0$. (iv) From the definition of $\mathrm D_{\xx}$, \begin{align*} \mathrm D_{\xx}'(\kk)&=2\kk\log\uplambda_+-\log\xx+2\log \kk-2(1+\kk)\log(1+\kk)-2(1-\kk)\log(1-\kk),\\ \mathrm D_{\xx}''(\kk)&=2\Bigl(\log\uplambda_++\frac1\kk-\log\frac{1+\kk}{1-\kk}\Bigr),\qquad \mathrm D_{\xx}'''(\kk)=-\frac{2}{\kk^2}-\frac{4}{1-\kk^2}<0. \end{align*} So $\mathrm D_{\xx}''$ decreases strictly from $+\infty$ at $0^+$ to $-\infty$ at $1^-$. Let $\kk_0\in(0,1)$ be its zero and $\kk_1\coloneqq\min(\kk_0,\updelta)$. Then $\mathrm D_{\xx}$ is strictly convex on $(0,\kk_1]$ and strictly concave on $[\kk_1,\updelta]$. At the right end, the substitutions of (i) give, for $\xx\ne1$, \begin{equation*} \mathrm D_{\xx}(\updelta)=(1-\updelta)^2\log|\beta|<0,\qquad \mathrm D_{\xx}'(\updelta)=-2(1-\updelta)\log|\beta|>0, \end{equation*} while for $\xx=1$ (where $\updelta=1$) $\mathrm D_1(1^-)=\mathrm D_1'(1^-)=0$ and $\kk_1=\kk_0<1$. By strict concavity, the derivative $\mathrm D_{\xx}'$ is strictly decreasing on $[\kk_1,\updelta)$, so $\mathrm D_{\xx}'>\mathrm D_{\xx}'(\updelta^-)\ge0$ there, $\mathrm D_{\xx}$ is strictly increasing on $[\kk_1,\updelta]$, and $\mathrm D_{\xx}(\kk)<\mathrm D_{\xx}(\updelta^-)\le0$ for $\kk_1\le \kk<\updelta$. In all cases $\mathrm D_{\xx}(\kk_1)<0$, while $\mathrm D_{\xx}(0^+)=\log\uplambda_+>0$. Let $\upalpha\coloneqq\inf\{\kk\in(0,\kk_1]\colon \mathrm D_{\xx}(\kk)\le0\}$. Then $\mathrm D_{\xx}(\upalpha)=0$, $\mathrm D_{\xx}>0$ on $(0,\upalpha)$, and for $\upalpha<\kk<\kk_1$ convexity gives $\mathrm D_{\xx}(\kk)\le\frac{\kk_1-\kk}{\kk_1-\upalpha}\mathrm D_{\xx}(\upalpha)+\frac{\kk-\upalpha}{\kk_1-\upalpha}\mathrm D_{\xx}(\kk_1)<0$. This proves the sign pattern, so by (iii) $\bar h_{\xx}$ is strictly increasing on $[0,\upalpha]$ and strictly decreasing on $[\upalpha,\updelta]$. By (ii), $\bar h_{\xx}'(\kk)=\log|\beta|/(1+\kk)^2<0$ on $(\updelta,1)$ if $\xx\ne1$, and (i) extends the monotonicity to $[\upalpha,1]$. For the closed form, solve $\mathrm D_{\xx}(\upalpha)=0$ for $\upalpha\log\xx$ and substitute into $\frac{\upalpha^2}{2}\log\xx=\frac\upalpha2\cdot\upalpha\log\xx$ in \eqref{eq:h_soft}: the terms with $\log\upalpha$ cancel, and \begin{equation*} h_{\xx}(\upalpha)=\frac{1-\upalpha^2}{2}\bigl[\upalpha\log\uplambda_+-(1+\upalpha)\log(1+\upalpha)-(1-\upalpha)\log(1-\upalpha)\bigr]. \end{equation*} Hence $\bar h_{\xx}(\upalpha)/\log2$ is the right-hand side of \eqref{eq:c_closed}. (v) At $\xx=2$ we have $\updelta=\frac1{\sqrt2}$ and $|\beta|=1$, so $\bar h_2=\frac12\log2$ on $[\updelta,1]$ by (ii) and (i). The formulas for $\mathrm D_{\xx}$ and $\mathrm D_{\xx}'$ at $\updelta$ in (iv) hold for every $\xx\ne1$ and give $\mathrm D_2(\updelta)=\mathrm D_2'(\updelta)=0$. Since $\frac{1+\updelta}{1-\updelta}=(1+\sqrt2)^2=\uplambda_+$, we get $\mathrm D_2''(\updelta)=2/\updelta>0$. As $\mathrm D_{\xx}''$ is decreasing, $\mathrm D_2''>0$ on $(0,\updelta]$, so $\mathrm D_2$ is strictly convex there, and $\mathrm D_2(\kk)>\mathrm D_2(\updelta)+\mathrm D_2'(\updelta)(\kk-\updelta)=0$ for $0<\kk<\updelta$. By (iii), $\bar h_2$ is strictly increasing on $[0,\updelta]$, so $\bar h_2(\kk)<\bar h_2(\updelta)=\frac12\log2$ for $\kk<\updelta$. \end{proof} \bibliographystyle{alpha} \bibliography{bib} \noindent \begin{minipage}[t]{0.49\textwidth} \textsc{G. Panova\\ University of Southern California\\ Los Angeles, CA, USA} E-mail: \texttt{gpanova@usc.edu} \end{minipage}\hfill \begin{minipage}[t]{0.49\textwidth} \textsc{L. Petrov\\ University of Virginia\\ Charlottesville, VA, USA} E-mail: \texttt{lenia.petrov@gmail.com} \end{minipage} \end{document}