\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{amsmath,amssymb,amsthm} \usepackage[hidelinks,pdfusetitle]{hyperref} \usepackage[a4paper,margin=20mm]{geometry} \newtheorem{theorem}{Theorem} \newcommand{\inv}{\operatorname{inv}} \newcommand{\U}{\mathcal U} \title{The permuton limit of uniquely sorted permutations avoiding 231} \author{\href{https://orcid.org/0009-0009-5145-5279}{Davide Colleluori}} \hypersetup{pdfauthor={Davide Colleluori}} \date{\vspace{-1em}} \begin{document} \maketitle \begin{abstract} We prove that the permuton of a uniform uniquely sorted $231$-avoiding permutation of odd length converges in probability to the diagonal permuton. The mean number of inversions is subquadratic. We obtain this estimate by combining a stack-reading recurrence with Lagrange inversion and a telescoping bound for its binomial weights. An accompanying Lean development verifies the result on actual permutations. \end{abstract} \section{Statement} West's stack-sorting map $s$ sends the empty word to itself and satisfies $s(LMR)=s(L)s(R)M$ when $M$ is the largest letter. A permutation is uniquely sorted when it has exactly one preimage under $s$. Write $\U_m$ for the uniquely sorted permutations of length $N=2m+1$ with no triple $i0$, choose $K$ so that $|a_k|\le\varepsilon$ for $k\ge K$. The remaining part has absolute value at most $\varepsilon$. This proves $I_m/D_{m,0}\to0$. The explicit counting coefficient gives \[ D_{m,0}=\binom{4m}{m}\le 10m^2 C_m\qquad (m\ge1). \] Since $\mathbb E\inv(\Pi_m)=I_m/C_m$, the first assertion of Theorem~\ref{main} follows. \section{From inversions to the permuton} For a fixed permutation of length $N$, let $a_i'$ count the larger letters to the left of position $i$ and $b_i'$ count the smaller letters to its right. Counting all smaller letters gives $\pi_i-i=b_i'-a_i'$, so $\sum_i|\pi_i-i|\le 2\inv(\pi)$. If $(X,Y)$ has law $\mu_\pi$, then $(X,X)$ has law $\Delta$. Inside the occupied cell of position $i$, $|X-Y|\le (|\pi_i-i|+1)/N$, and each cell has mass $1/N$. In the Wasserstein metric with Euclidean cost this coupling gives \[ W_1(\mu_\pi,\Delta)\le\frac{2\inv(\pi)}{N^2}+\frac1N. \] The right-hand side tends to zero in mean for $\Pi_m$, hence also in probability by Markov's inequality. The metric $W_1$ metrizes weak convergence on the unit square. This completes the proof. \section*{Formalization} The Lean project represents West's map on permutation words and the measure for a permutation by its uniform occupied cells. It checks the counting and moment series identities, the Lagrange coefficient calculation, the subquadratic bound and convergence in probability in \texttt{DefantLimit231.lean}. The accompanying \texttt{README.md} identifies the two theorems and gives commands to reproduce the build and check their axioms. \paragraph{Contributions and use of AI.} The author directed the work of the AI agents. OpenAI models developed the main argument, wrote the manuscript, and produced the Lean formalization. Claude models (Anthropic) gave a separate derivation of the subquadratic estimate for the mean number of inversions and reviewed the proof and the formalization. The manuscript is released under \href{https://creativecommons.org/licenses/by/4.0/}{CC BY 4.0}. The accompanying Lean source is released under Apache 2.0. \begin{thebibliography}{9} \bibitem{workshop} M. B\'ona, M. Bouvel, R. Brignall and J. Pantone (organizers), \emph{Mini-Workshop: Permutation Patterns}, Oberwolfach Reports 6/2024, \href{https://doi.org/10.4171/OWR/2024/6}{doi:10.4171/OWR/2024/6}. \bibitem{defant} C. Defant, \emph{Catalan intervals and uniquely sorted permutations}, J. Combin. Theory Ser. A \textbf{174} (2020), 105250. \href{https://arxiv.org/abs/1904.02627}{arXiv:1904.02627}. \bibitem{chapuy} G. Chapuy, \emph{On the scaling of random Tamari intervals and Schnyder woods of random triangulations (with an asymptotic D-finite trick)}, \href{https://arxiv.org/abs/2403.18719}{arXiv:2403.18719}. \bibitem{dem} C. Defant, M. Engen and J. A. Miller, \emph{Stack-sorting, set partitions, and Lassalle's sequence}, J. Combin. Theory Ser. A \textbf{175} (2020), 105275. \href{https://arxiv.org/abs/1809.01340}{arXiv:1809.01340}. \end{thebibliography} \end{document}