\documentclass[12pt]{article} \usepackage{amsmath, amssymb, amsthm, mathrsfs} \usepackage{geometry} \usepackage[hidelinks]{hyperref} \usepackage{enumitem} \usepackage{booktabs} \usepackage{graphicx} \usepackage{cleveref} \geometry{margin=2.5cm} \sloppy \emergencystretch=3em \allowdisplaybreaks \setlength{\parindent}{0pt} \setlength{\parskip}{0.6em} \hypersetup{ colorlinks=true, linkcolor=blue, citecolor=blue, urlcolor=blue } \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}{Lemma}[section] \newtheorem{proposition}{Proposition}[section] \newtheorem{corollary}{Corollary}[section] \newtheorem{remark}{Remark}[section] \crefname{theorem}{Theorem}{Theorems} \crefname{lemma}{Lemma}{Lemmas} \crefname{proposition}{Proposition}{Propositions} \crefname{corollary}{Corollary}{Corollaries} \crefname{remark}{Remark}{Remarks} \crefname{section}{\S}{\S\S}\Crefname{section}{\S}{\S\S} \crefname{subsection}{\S}{\S\S}\Crefname{subsection}{\S}{\S\S} \title{Closed-Form Adiabatic Asymptotics of the Solution of the Amsler Equation} \author{Anton Yu. Kalmykov\thanks{Corresponding author, e-mail: anton@kalmykov.net}\\[0.5ex] \small Independent researcher, Russia, Moscow\\ \small ORCID: 0009-0001-7185-4367} \date{} \begin{document} \maketitle \begin{abstract} We consider the regular solution \(y(x;s)\) of the Amsler equation \((xy')'=\sin y\), \(y(0)=\pi s\), \(y'(0)=\sin\pi s\), with \(s\in(0,1)\), and prove that as \(x\to\infty\) it is approximated, with accuracy \(O(\tau^{-5/2})\) for \(\tau=2\sqrt{x}\), by an explicit closed-form adiabatic ansatz \(y_{\rm ad}\): a libration of the pendulum \(w''+\sin w=0\) (\(w=y-\pi\)) whose parameter \(m_0(\tau)\) is determined by the adiabatic invariant \(\tau\,\ell(m_0)=\pi\nu\), where \(\ell(m)=E(m)-(1-m)K(m)\) and \(\nu=\pi^{-1}\ln\csc\frac{\pi s}{2}\), and whose phase is \(\Phi=\tau f(m_0)+\Theta_0-\frac{1}{8\tau}\) with \(f(m)=E(1-m)-mK(1-m)\) and \(\Theta_0=C_2+\nu(1+\ln\frac{8}{\nu})\); explicitly, \(y_{\rm ad}(x)=\pi+2\arcsin\!\bigl(\sqrt{m_0}\,\mathrm{sn}\bigl(\tfrac{2K(m_0)}{\pi}\Phi\,\big|\,m_0\bigr)\bigr)\). The proof combines elementary adiabatic analysis of the damped pendulum (residual estimates, absence of low-order resonances, an approximate fundamental system) with two external inputs stated explicitly: Maevsky's asymptotics for \(y\) and the Its--Novokshenov/Kitaev connection formula for the sine-Gordon (\(D_8\)) reduction of the Painlev\'e III equation. The matching of the two determines the amplitude and phase constants in closed form, \(C_1=\sqrt{8\nu}\), \(C_2=\frac{5\pi}{4}+\arg\Gamma(1+i\nu)-3\nu\ln2\); in particular, the result is a closed-form description of the large-\(x\) behaviour of every regular solution (up to the symmetries \(y\mapsto-y\), \(y\mapsto y+2\pi\)), conditional on the two external inputs and with no fitting parameters. \end{abstract} \medskip \noindent\textbf{Keywords:} Painlev\'e equations, Amsler equation, sine-Gordon equation, adiabatic invariants, connection formulas, elliptic integrals. \medskip \noindent\textbf{MSC 2020:} 34E20, 34M55, 34M50, 33E05, 35Q51. \newpage \tableofcontents \newpage \section{Main result}\label{sec:main} \textbf{Notation and conventions.} Throughout, \(s\in(0,1)\) is the parameter of the initial condition, \(x\ge0\) is the independent variable of the Amsler equation~\cite{Amsler1955,PopovMaevskii2007}, \(\tau=2\sqrt{x}\), and \(y=y(x;s)\) denotes the solution of \[ (xy')'=\sin y,\qquad y(0)=\pi s,\quad y'(0)=\sin\pi s, \] which is the regular solution at the singular point \(x=0\) (it exists, is unique and smooth on \([0,\infty)\), see \cref{lem:exist}); we also use \(w=y-\pi\). The number \(\nu=\nu(s)=\frac1\pi\ln\csc\frac{\pi s}{2}=-\frac1\pi\ln\sin\frac{\pi s}{2}>0\) is the monodromy exponent (\cref{sec:amsler-mono}). \emph{Elliptic integrals.} For a parameter \(m\in[0,1)\) (the parameter is \(m=k^2\), the square of the modulus \(k\)) the complete elliptic integrals of the first and second kind are \[ K(m)=\int_0^{\pi/2}\frac{d\vartheta}{\sqrt{1-m\sin^2\vartheta}},\qquad E(m)=\int_0^{\pi/2}\sqrt{1-m\sin^2\vartheta}\,d\vartheta . \] \(K(m)\) increases from \(K(0)=\pi/2\) to \(+\infty\) as \(m\to1\), and \(E(m)\) decreases from \(E(0)=\pi/2\) to \(E(1)=1\). For \(m\in(0,1]\) the symbols \(K(1-m)\), \(E(1-m)\) denote the complementary integrals, i.e. \(K\) and \(E\) evaluated at the parameter \(1-m\). Expansions at \(m\to0\): \(K(m)=\frac\pi2\bigl(1+\frac m4+\frac{9m^2}{64}+\dots\bigr)\), \(E(m)=\frac\pi2\bigl(1-\frac m4-\frac{3m^2}{64}-\dots\bigr)\). \emph{Jacobi sine.} \(\mathrm{sn}(u\,|\,m)\) is the Jacobi elliptic sine with parameter \(m\): if \(u=\int_0^{\varphi}\frac{d\vartheta}{\sqrt{1-m\sin^2\vartheta}}\) then \(\mathrm{sn}(u\,|\,m)=\sin\varphi\). It is odd, \(4K(m)\)-periodic, \(|\mathrm{sn}|\le1\), and for \(m\to0\) it tends to \(\sin u\). Consequently \(\Phi\mapsto\mathrm{sn}\bigl(\frac{2K(m)}{\pi}\Phi\,\big|\,m\bigr)\) is \(2\pi\)-periodic in \(\Phi\), and \(\sqrt m\,|\mathrm{sn}|\le\sqrt m<1\), so the \(\arcsin\) in \(y_{\rm ad}\) is well defined with values in \((-\frac\pi2,\frac\pi2)\). \emph{The functions \(\ell\) and \(f\).} The variable \(m\) in \(\ell(m)=E(m)-(1-m)K(m)\) and \(f(m)=E(1-m)-mK(1-m)\) is a dummy variable on \([0,1]\) (with \(\ell(1)=E(1)=1\)); note \(f(m)=\ell(1-m)\). One has \(\ell(0)=0\), \(\ell(1)=1\), \(\ell'(m)=K(m)/2>0\) (\cref{sec:ids}), so \(\ell\) is an increasing bijection \([0,1]\to[0,1]\). Hence for \(\tau>\pi\nu\) the equation \(\tau\ell(m_0)=\pi\nu\), i.e. \(\ell(m_0)=\pi\nu/\tau\in(0,1)\), has a unique root \(m_0=m_0(\tau)\in(0,1)\); \(m_0\) is smooth, decreasing in \(\tau\), \(m_0\to1\) as \(\tau\downarrow\pi\nu\), and \(m_0(\tau)=\frac{4\nu}{\tau}-\frac{2\nu^2}{\tau^2}-\frac{\nu^3}{\tau^3}+O(\tau^{-4})\) as \(\tau\to\infty\) (\cref{sec:phase}). This is why the statement is made for \(\tau\ge\pi\nu+\delta\). \emph{Gamma function.} \(\arg\Gamma(1+i\nu)=\mathrm{Im}\ln\Gamma(1+i\nu)\) is the continuous branch vanishing at \(\nu=0\) (\cref{sec:amsler-const}). The phase constant \(C_2\) matters only modulo \(2\pi\), because \(y_{\rm ad}\) depends on \(\Phi\) \(2\pi\)-periodically. \emph{Meaning of the quantities.} The function \(w_{\rm ad}=y_{\rm ad}-\pi=G(\Phi,m_0)\) is a libration of the pendulum \(w''+\sin w=0\) with slowly varying parameter \(m_0=(H+1)/2\), where \(H\) is the pendulum energy (\cref{sec:setup}); its amplitude is \(2\arcsin\sqrt{m_0}\approx4\sqrt\nu\,\tau^{-1/2}\), \(\Phi\) is its phase, and \(\Phi'=\omega(m_0)+\frac1{8\tau^2}\) with \(\omega(m)=\frac{\pi}{2K(m)}\) (\cref{sec:ids}). The relation \(\tau\ell(m_0)=\pi\nu\) is the adiabatic invariant of the model pendulum (the action times \(\tau\) is constant for the undamped pendulum and is preserved asymptotically by the damped one); it defines the parameter of the ansatz and is not an exact invariant of the original solution. The constants \(C_1,C_2\) are the amplitude and the phase constant of the Maevsky asymptotics (M) below; \(C_\delta\) is a constant depending on \(\delta\) and \(s\) only. \begin{theorem}\label{thm:main} Let \(s\in(0,1)\), \(\nu=\frac{1}{\pi}\ln\csc\frac{\pi s}{2}\), \(\tau=2\sqrt{x}\), and let \(y\) solve the Amsler equation \[ (xy')'=\sin y,\qquad y(0)=\pi s,\quad y'(0)=\sin\pi s. \] Define \[ m_0(\tau)\in(0,1):\quad \tau\ell(m_0)=\pi\nu,\qquad \ell(m)=E(m)-(1-m)K(m), \] \[ f(m)=E(1-m)-mK(1-m),\qquad \Phi=\tau f(m_0)+\Theta_0-\frac{1}{8\tau}, \] \[ \Theta_0=C_2+\nu\Bigl(1+\ln\frac{8}{\nu}\Bigr),\qquad C_2=\frac{5\pi}{4}+\arg\Gamma(1+i\nu)-3\nu\ln2, \] \[ y_{\rm ad}(x)=\pi+2\arcsin\!\Bigl(\sqrt{m_0}\,\mathrm{sn}\bigl(\tfrac{2K(m_0)}{\pi}\Phi\,\big|\,m_0\bigr)\Bigr). \] Then for every \(\delta>0\) there is \(C_\delta>0\) (depending on \(\delta\) and \(s\)) such that \[ \boxed{|y(x)-y_{\rm ad}(x)|\le C_\delta\,\tau^{-5/2},\qquad \tau\ge\pi\nu+\delta.} \] Numerically, at \(\nu=1\) (\(s\approx0.02752\)) the quantity \(\tau^{5/2}|y-y_{\rm ad}|\) has maximum \(\approx4.04\) on the computed interval \(\tau\ge4\), attained near \(\tau\approx5.8\); on the computed window \(100\le\tau\le\tau_{\max}\) the maximum is \(\approx1.83\) (\(\approx1.78\) on \(300\le\tau\le\tau_{\max}\)). These are finite-interval maxima; the theorem itself asserts boundedness of \(\tau^{5/2}|y-y_{\rm ad}|\), and the numerics indicate that the effective constant for large \(\tau\) is \(\approx1.8\). The constant \(C_\delta\) for small \(\delta\) also accounts for the finite range \(\pi\nu+\delta\le\tau\le\tau_*\) (\cref{sec:proof}). \end{theorem} \textbf{External inputs.} The proof uses two results that are not proved here. (M) \emph{Maevsky's asymptotics} (stated in full in \cref{sec:matching}): there are constants \(C_1=C_1(s)>0\) and \(C_2=C_2(s)\) such that, as \(x\to\infty\), \[ y(x)=\pi+x^{-1/4}F_1(\theta)+x^{-3/4}F_3(\theta)+O(x^{-5/4}),\qquad\theta=2\sqrt{x}-\tfrac{C_1^2}{16}\ln x+C_2, \] with explicit trigonometric polynomials \(F_1,F_3\) (\cref{sec:matching}); \(C_1\) is the amplitude and \(C_2\) the phase constant. (IN) \emph{Its–Novokshenov/Kitaev connection formulas} for the Painlevé III equation \((D_8)\) introduced in \cref{sec:painleve} (stated in \cref{sec:novok}). Specialised to the Amsler family (\cref{sec:amsler}) they determine the constants of (M) in closed form, \[ C_1=\sqrt{8\nu},\qquad C_2=\frac{5\pi}{4}+\arg\Gamma(1+i\nu)-3\nu\ln2\pmod{2\pi}. \] Everything else is proved in this text: \crefrange{sec:setup}{sec:lax} and \crefrange{sec:ids}{sec:phase} unconditionally (using only classical facts on \(K,E,\mathrm{sn}\) with references to the NIST DLMF \cite{DLMF}), \cref{sec:amsler} is a derivation from (IN) (including the dictionary of \cref{sec:novok}), and \crefrange{sec:matching}{sec:proof} use (M) and (IN); the formulas for \(C_1,C_2\) were also confirmed numerically (\cref{sec:amsler-const}); a graphical comparison of the three curves is given in \cref{app:compare}. \section{Setup}\label{sec:setup} \begin{lemma}[Existence, uniqueness, basic bounds]\label{lem:exist} For every \(y_0\in(0,\pi)\) there is a unique function \(y\in C^1[0,\infty)\) with \(y(0)=y_0\) and \(xy'(x)=\int_0^x\sin y\,d\xi\) (equivalently \((xy')'=\sin y\) with \(y\) regular at \(0\)); \(y\in C^\infty[0,\infty)\), \(|y'|\le1\), \(y'(0)=\sin y_0\). With \(w=y-\pi\), \(\tau=2\sqrt x\), \(H=\frac12w_\tau^2-\cos w\) one has \(H_\tau=-w_\tau^2/\tau\le0\), \(|w|<\pi\) for all \(\tau\), and \(-10\); hence \(m=(H+1)/2\in(0,1)\). \end{lemma} \begin{proof} The equation is equivalent to \(y(x)=y_0+\int_0^x\frac1\xi\int_0^\xi\sin y(\eta)\,d\eta\,d\xi\). Let \(y_{n+1}=y_0+\int_0^x\frac1\xi\int_0^\xi\sin y_n\) with \(y_0(x)\equiv y_0\), and \(D_n(x)=\sup_{[0,x]}|y_{n+1}-y_n|\). Since \(|\sin a-\sin b|\le|a-b|\), \(D_n(x)\le\int_0^xD_{n-1}(\xi)\,d\xi\), and \(D_0(x)\le x\); hence \(D_n(x)\le x^{n+1}/(n+1)!\), the iteration converges locally uniformly on \([0,\infty)\), and the same estimate gives uniqueness. The limit satisfies \(y'(x)=\frac1x\int_0^x\sin y=\int_0^1\sin y(xt)\,dt\), so \(|y'|\le1\), \(y'(0)=\sin y_0\), and \(y\in C^k\Rightarrow y'\in C^k\), i.e. \(y\in C^\infty\). For \(\tau>0\), \(w''+\frac1\tau w'+\sin w=0\) gives \(H_\tau=-w_\tau^2/\tau\). Now \(H(0)=-\cos(\pi(s-1))=\cos\pi s<1\) (here \(y_0=\pi s\)) and \(H\ge1\) whenever \(w=\pm\pi\); as \(w(0)\in(-\pi,0)\) and \(H\) is non-increasing, \(w\) never reaches \(\pm\pi\), so \(|w|<\pi\) and \(H<1\). Finally \(H\ge-\cos w\ge-1\), with \(H=-1\) only if \(w=0\), \(w_\tau=0\) at that point, which by uniqueness for the regular ODE (\(\tau>0\)) would force \(w\equiv0\), contradicting \(w(0)\ne0\); so \(H>-1\). \end{proof} With \(w=y-\pi\), \(\tau=2\sqrt{x}\): \[ w_{\tau\tau}+\tfrac{1}{\tau}w_\tau+\sin w=0,\qquad H=\tfrac12 w'^2-\cos w,\quad H'=-w'^2/\tau. \] Libration parameter \(m=(H+1)/2\in(0,1)\). Initial data: \(y'(0)=\sin\pi s\) in the \(x\)-variable; since \(x=\tau^2/4\) and \(w_\tau=y'\,\tau/2\), in the \(\tau\)-variable this means \[ w_\tau(0)=0,\qquad w_{\tau\tau}(0)=\tfrac12\sin\pi s, \] the local expansion being \(w=\pi(s-1)+x\sin\pi s+O(x^2)=\pi(s-1)+\tfrac{\tau^2}{4}\sin\pi s+\dots\). Notation: \[ L[w]=w''+\tfrac{1}{\tau}w'+\sin w,\qquad L'[u]=u''+\tfrac{1}{\tau}u'+\cos(w_{\rm ad})\,u, \] \[ G(\Phi,m)=2\arcsin\!\Bigl(\sqrt{m}\,\mathrm{sn}\bigl(\tfrac{2K(m)}{\pi}\Phi\,\big|\,m\bigr)\Bigr),\qquad \omega(m)=\frac{\pi}{2K(m)}. \] \section{Reduction to Painlevé III (Case \(D_8\))}\label{sec:painleve} \begin{proposition}\label{pr:painleve} If \(y\) solves the Amsler (radial sine-Gordon) equation \((xy')'=\sin y\)~\cite{Amsler1955}, then \(u=e^{iy}\) satisfies \[ u''=\frac{(u')^2}{u}-\frac{u'}{x}+\frac{u^2-1}{2x}, \] i.e. Painlevé III in the standard form \[ u''=\frac{(u')^2}{u}-\frac{u'}{x}+\frac{\alpha u^2+\beta}{x}+\gamma u^3+\frac{\delta}{u} \] with parameters \[ \alpha=\tfrac12,\qquad \beta=-\tfrac12,\qquad \gamma=0,\qquad \delta=0. \] In Okamoto's classification, this is exactly the case \textbf{\(D_8\)} (degenerate Painlevé III with \(\gamma=\delta=0\), \(\alpha\beta\neq0\)); see Ohyama--Kawamuko--Sakai--Okamoto \cite{OKSO2006}, where \(D_8\) is defined by \(\gamma=\delta=0\), \(\alpha\beta\neq0\). \end{proposition} \begin{proof} From \(u=e^{iy}\): \(u_x=iu\,y_x\) and \(u_{xx}=iu\,y_{xx}-u\,y_x^2\). The Amsler equation \((xy')'=\sin y\), i.e. \(xy_{xx}+y_x=\sin y\), gives \(y_{xx}=(\sin y-y')/x\). Since \(\sin y=(u-u^{-1})/(2i)\), one has \(iu\sin y=(u^2-1)/2\). Hence \[ u_{xx}=iu\,\frac{\sin y-y_x}{x}-u\,y_x^2=\frac{u^2-1}{2x}-\frac{iu\,y_x}{x}+\frac{(iu\,y_x)^2}{u} =\frac{u^2-1}{2x}-\frac{u_x}{x}+\frac{u_x^2}{u}. \] \end{proof} \section{Linearisation near \(s=1\)}\label{sec:linear} As \(s\to1\) (\(y_0\to\pi\)), \(w\to0\), and \(\sin w\approx w\): \[ (xw')'=-w\ \Longrightarrow\ z^2w_{zz}+zw_z+z^2w=0,\qquad z=2\sqrt{x}. \] This is the Bessel equation of order zero. The following proposition makes this precise. \begin{proposition}\label{pr:bessel} Put \(a:=\pi(s-1)=w(0)\) and let \(J_0,Y_0\) be the Bessel functions of order zero. For every \(T>0\) there are \(a_T>0\) and \(C_T\) such that for \(|a|0\): \[ \boxed{\nu(s)=\frac{1}{\pi}\ln\frac{1}{\sin(\pi s/2)}=\frac{1}{\pi}\ln\csc\frac{\pi s}{2}.} \] On \((0,1)\): real, positive, analytic (indeed \(\nu\) is analytic on \((0,2)\)); in the complex \(s\)-plane its only singularities are logarithmic branch points at the even integers \(s=2k\), \(k\in\mathbb Z\) (the zeros of \(\sin\frac{\pi s}{2}\)). \subsection{Amplitude}\label{sec:amsler-amp} \emph{Derivation.} Insert \(\sigma=1/4\), \(\eta=s/4\) into \cref{thm:novok}. The ratio \(\sin2\pi(\sigma-\eta)/\sin2\pi\eta=\cot\frac{\pi s}{2}\) is real positive, \(|2^{1+2i\nu_{IP}}|^2=4\), and by Euler's identity \(|\Gamma(1-i\nu_{IP})|^2=|\Gamma(1+i\nu)|^2=\pi\nu/\sinh(\pi\nu)\) with \(\nu=-\nu_{IP}\). Hence \[ |b_+|^2=e^{\pi\nu_{IP}}\cdot4\cdot\frac{\pi\nu}{\sinh\pi\nu}\cdot\frac{1}{2\pi}\cdot\cot^2\frac{\pi s}{2} =\frac{2\nu}{\sinh\pi\nu}\cdot S\cdot\frac{\kappa^2}{S^2},\qquad S=\sin\frac{\pi s}{2},\ \kappa=\cos\frac{\pi s}{2}, \] using \(e^{\pi\nu_{IP}}=S\). Since \(e^{\pi\nu}=1/S\), \[ \sinh(\pi\nu)=\frac{e^{\pi\nu}-e^{-\pi\nu}}{2}=\frac{1/S-S}{2}=\frac{\kappa^2}{2S}, \] so \[ \boxed{|b_+|^2=\frac{2\nu}{\kappa^2/(2S)}\cdot\frac{\kappa^2}{S}=4\nu.} \] \subsection{Asymptotic constants in \(x\)-form}\label{sec:amsler-const} Translating via \(x^{-1/4}=\sqrt{2}\,\tau^{-1/2}\) and \(\ln x=2\ln\tau-2\ln2\): \[ \boxed{C_1(s)=\sqrt{8\nu(s)}=\sqrt{-\frac{8}{\pi}\ln\sin\frac{\pi s}{2}},} \] \[ \boxed{C_2(s)=\frac{5\pi}{4}+\arg\Gamma(1+i\nu)-3\nu\ln2\pmod{2\pi},} \] with \(\arg\Gamma(1+i\nu)=\mathrm{Im}\ln\Gamma(1+i\nu)\) on the branch vanishing at \(\nu=0\). The \(-3\) decomposes as \(-2\) from \(2^{1+2i\nu_{IP}}\) in \(b_+\) and \(-1\) from \(\ln x=2\ln\tau-2\ln2\). These constants admit an independent verification via the direct connection formula of Wong--Zhang \cite{WongZhang2009} for the radial sine-Gordon equation \(u_{xx}+\frac1xu_x+\sin u=0\): with \(r=0\), \(s_0=w(0)=\pi(s-1)\), their parameters give \(\alpha^2=-\frac{16}{\pi}\ln\sin\frac{\pi s}{2}=16\nu\), i.e. \(C_1=\sqrt{8\nu}\), and their phase constant translates to \(\frac{5\pi}{4}+\arg\Gamma(1+i\nu)-2\nu\ln2\), which combined with \(C=C_2+\nu\ln2\) of \cref{sec:phase} yields the same \(C_2\) modulo \(2\pi\). \textbf{Numerical confirmation:} end-to-end integration of the Amsler equation from \(\tau=10^{-4}\) to \(630\) at \(\nu=1\) gives \(C_2(1)=1.545908955\), matching the formula to \(\sim10^{-5}\). Moreover, local least-squares fits of the shifts \((\Delta\Theta,\Delta\nu)\) of the parameters \((\Theta_0,\nu)\) in \(y_{\rm ad}\) over windows of length \(4\pi\) satisfy \(\Delta\Theta,\Delta\nu=O(\tau^{-2})\). A rigorous bound from the main theorem alone is weaker: \(|y-y_{\rm ad}|=O(\tau^{-5/2})\), the mode \(P_1=\partial_\Theta w_{\rm ad}\) is \(O(\tau^{-1/2})\) (\cref{lem:basis}), but \(P_2=\partial_\nu w_{\rm ad}=\Pi-c(\tau)P_1\) with \(c(\tau)=O(\ln\tau)\), so the two fitting columns are sheared and the smallest singular value of the window Jacobian is \(O(\tau^{-1/2}/\ln\tau)\); hence \(|\Delta\Theta|+|\Delta\nu|=O(\tau^{-2}\ln\tau)\) follows rigorously. The observed scaling is better, \(O(\tau^{-2})\), and is reported here as a numerical observation. Numerically, at \(\nu=1\): \(\tau^2\Delta\nu\approx-0.12\) for all \(\tau=50,\dots,1200\), and \(\tau^2\Delta\Theta\) moves slowly from \(-0.95\) (\(\tau=50\)) through \(-1.18\) (\(\tau=200\)) to \(-1.40\) (\(\tau=1200\)), i.e. \(\Delta\Theta=O(\tau^{-2})\) up to a slowly varying factor. \section{Exact algebraic identities}\label{sec:ids} \begin{proposition}\label{pr:ident} For \(m\in(0,1)\): \[ \ell'(m)=\frac{K(m)}{2},\qquad f'(m)=-\frac{K(1-m)}{2},\qquad K(m)f(m)+\ell(m)K(1-m)=\frac{\pi}{2}. \] \end{proposition} \begin{proof} From \(E'=\frac{E-K}{2m}\), \(K'=\frac{E-(1-m)K}{2m(1-m)}\): \[ \ell'=\frac{E-K}{2m}+K-\frac{E-(1-m)K}{2m}=\frac{K}{2}. \] \(f(m)=\ell(1-m)\) gives \(f'=-K(1-m)/2\). Legendre's relation \(K E(1-m)+K(1-m)E-\!K K(1-m)=\frac{\pi}{2}\), after substituting \(E(m)=\ell(m)+(1-m)K(m)\) and \(E(1-m)=f(m)+mK(1-m)\) and collecting terms, gives the third identity. \end{proof} \begin{proposition}\label{pr:phaseex} From \(\tau\ell(m_0)=\pi\nu\): \[ m_0'=-\frac{2\ell}{K\tau},\qquad m_0''+\frac{m_0'}{\tau}=\frac{2\ell(K^2-2\ell K')}{K^3\tau^2}, \] and \textbf{exactly} \(\Phi'=\omega(m_0)+\frac{1}{8\tau^2}\). \end{proposition} \begin{proof} Differentiating \(\tau\ell(m_0)=\pi\nu\) at fixed \(\nu\): \(\ell+\tau\ell'm_0'=0\), so \(m_0'=-\ell/(\tau K/2)=-2\ell/(K\tau)\). Differentiating \(m_0'=-2\ell/(K\tau)\) and using \(m_0'=-2\ell/(K\tau)\) again: \begin{multline*} m_0''=-2\Bigl[\frac{(\ell'K-\ell K')m_0'}{K^2\tau}-\frac{\ell}{K\tau^2}\Bigr],\\ m_0''+\frac{m_0'}{\tau}=-\frac{2(\ell'K-\ell K')m_0'}{K^2\tau}=\frac{4\ell(\ell'K-\ell K')}{K^3\tau^2}=\frac{2\ell(K^2-2\ell K')}{K^3\tau^2}, \end{multline*} using \(\ell'=K/2\). For the last identity: \[ \Phi'=f+\tau f'm_0'+\frac{1}{8\tau^2} =f+\tau\Bigl(-\frac{K(1-m)}{2}\Bigr)\Bigl(-\frac{2\ell}{K\tau}\Bigr)+\frac{1}{8\tau^2} =f+\frac{\ell K(1-m)}{K}+\frac{1}{8\tau^2} =\frac{\pi}{2K}+\frac{1}{8\tau^2}, \] where the last step uses \cref{pr:ident}: \(Kf+\ell K(1-m)=\pi/2\). \end{proof} \begin{corollary} \(1-\Phi'^2/\omega^2=-2\cdot\frac{1}{8\tau^2}\cdot\frac{1}{\omega}-\frac{1}{64\tau^4\omega^2}=-\frac{1}{4\omega\tau^2}+O(\tau^{-4})\). \end{corollary} \section{Fourier coefficients of \(G\)}\label{sec:fourier} \begin{lemma}\label{lem:fourier} For \(m\le m_{\delta'}<1\), \(G\) is odd and \(2\pi\)-periodic in \(\Phi\), real-analytic jointly with \(m\), and \[ G(\Phi,m)=2\sqrt{m}\sin\Phi+\frac{3}{8}m^{3/2}\sin\Phi+\frac{1}{24}m^{3/2}\sin3\Phi+O(m^{5/2}), \] i.e. \(G=\sum_{k\ \mathrm{odd}}g_k(m)\sin k\Phi\) with \(g_k(m)=m^{k/2}h_k(m)\), \(h_k\) analytic on \([0,m_{\delta'}]\); even harmonics vanish. In particular \[ g_1(m)=2m^{1/2}+\frac{3}{8}m^{3/2}+\frac{23}{128}m^{5/2}+O(m^{7/2}),\qquad g_3(m)=\frac{1}{24}m^{3/2}+\frac{1}{32}m^{5/2}+O(m^{7/2}). \] \end{lemma} \begin{proof} \textbf{(a) Fourier series of \(\mathrm{sn}\).} The standard nome expansion (DLMF \cite[\S22.11]{DLMF}) gives, for \(v=2K(m)\Phi/\pi\) and nome \(q(m)\), \[ \sqrt{m}\,\mathrm{sn}(v|m)=\frac{4}{\bar K}\sum_{n\ge0}\frac{q^{n+1/2}}{1-q^{2n+1}}\sin(2n+1)\Phi,\qquad \bar K=\frac{2K}{\pi}, \] absolutely and uniformly convergent for \(m\le m_{\delta'}\), since \(q(m_{\delta'})<1\). With the standard expansions (DLMF \cite[\S19.5]{DLMF} for \(K\), \cite[\S22.2]{DLMF} for the nome; the coefficients were also confirmed numerically) \[ q(m)=\frac{m}{16}+\frac{m^2}{32}+\frac{21m^3}{1024}+O(m^4),\qquad \bar K(m)=1+\frac{m}{4}+\frac{9m^2}{64}+\frac{25m^3}{256}+O(m^4), \] and \(u:=\sqrt{m}\), termwise series computation gives \[ \sqrt{q}=\frac{u}{4}\Bigl(1+\frac{u^2}{4}+\frac{17u^4}{128}\Bigr)+O(u^7),\qquad \frac{1}{\bar K(1-q)}=1-\frac{3u^2}{16}-\frac{15u^4}{256}+O(u^6), \] hence the first two harmonic amplitudes of \(X:=\sqrt{m}\,\mathrm{sn}(2K\Phi/\pi|m)\) are \[ a_0=\frac{4\sqrt{q}}{\bar K(1-q)}=u+\frac{u^3}{16}+\frac{7u^5}{256}+O(u^7),\qquad a_1=\frac{4q^{3/2}}{\bar K(1-q^3)}=\frac{u^3}{16}+\frac{u^5}{32}+O(u^7), \] and \(a_2=O(u^5)\) (harmonic 5).\\ \textbf{(b) Analytic structure.} Each \(a_j=m^{j+1/2}\times(\text{analytic in }m)\), because \(q=m/16\cdot(1+O(m))\) and \(\bar K(1-q^{2j+1})\) are analytic and non-vanishing at \(m=0\). So the \(k\)-th harmonic of \(X\) (\(k=2j+1\)) is \(m^{k/2}\times(\text{analytic})\).\\ \textbf{(c) Composition with \(\arcsin\).} Since \(|X|\le\sqrt{m}\le\sqrt{m_{\delta'}}<1\), \[ G=2\arcsin X=2X+\frac{X^3}{3}+\frac{3X^5}{20}+O(X^7) \] uniformly, and the series may be differentiated termwise in \(m\) on \(m\ge m_1>0\). If \(X^{2n+1}\) contributes to harmonic \(k\), the contributing products of harmonics \(2j_i+1\) satisfy \(\pm(2j_1+1)\pm\dots\pm(2j_{2n+1}+1)=k\), hence \(\sum_i(2j_i+1)\ge k\), so the \(m\)-power of such a product is \(\sum_i(j_i+\frac12)=\frac12\sum_i(2j_i+1)\ge\frac{k}{2}\) (and is a half-integer, like \(k/2\)). Hence \(g_k=m^{k/2}h_k(m)\) with \(h_k\) analytic on \([0,m_{\delta'}]\); oddness of \(G\) in \(\Phi\) kills the even harmonics, and periodicity in \(\Phi\) follows from \(\mathrm{sn}(v+4K)=\mathrm{sn}(v)\), i.e. period \(2\pi\) in \(\Phi\).\\ \textbf{(d) Coefficients.} Reduce powers by \begin{multline*} \sin^3\Phi=\tfrac{3\sin\Phi-\sin3\Phi}{4},\\ \sin^2\Phi\sin3\Phi=\tfrac12\sin3\Phi-\tfrac14\sin5\Phi-\tfrac14\sin\Phi,\\ \sin^5\Phi=\tfrac{10\sin\Phi-5\sin3\Phi+\sin5\Phi}{16}. \end{multline*} All products involving \(a_2\) or \(a_1^2\) carry \(\ge u^7\) in harmonics 1 and 3. Thus \[ g_1=2a_0+\frac{a_0^3}{4}-\frac{a_0^2a_1}{4}+\frac{3a_0^5}{32}+O(u^7): \] \[ 2a_0=2u+\frac{u^3}{8}+\frac{7u^5}{128},\quad \frac{a_0^3}{4}=\frac{u^3}{4}+\frac{3u^5}{64},\quad -\frac{a_0^2a_1}{4}=-\frac{u^5}{64},\quad \frac{3a_0^5}{32}=\frac{3u^5}{32}, \] and the \(u^3\) terms give \(\frac18+\frac14=\frac38\), while the \(u^5\) terms give \(\frac{7}{128}+\frac{6}{128}-\frac{2}{128}+\frac{12}{128}=\frac{23}{128}\). For the third harmonic: \[ g_3=2a_1+\frac13\Bigl(-\frac{a_0^3}{4}+\frac{3a_0^2a_1}{2}\Bigr)+\frac{3}{20}\Bigl(-\frac{5a_0^5}{16}\Bigr)+O(u^7), \] whose \(u^3\) part is \(\frac{2}{16}-\frac{1}{12}=\frac{1}{24}\) and whose \(u^5\) part is \(\frac{1}{16}-\frac{1}{64}+\frac{1}{32}-\frac{3}{64}=\frac{1}{32}\) (contributions of \(2a_1\), \(-\frac{a_0^3}{12}\), \(\frac{a_0^2a_1}{2}\), \(-\frac{3a_0^5}{64}\)). Substituting \(u=\sqrt{m}\) gives the claim. \end{proof} \begin{lemma}[Analytic structure and uniform expansions]\label{lem:analytic} Fix \(m_*\in(0,1)\) and write \(G(\Phi,m)=\sqrt m\,\hat G(\Phi,m)\). Then: (i) \(\hat G\) is real-analytic on a neighbourhood of \([0,m_*]\times\mathbb R\), odd and \(2\pi\)-periodic in \(\Phi\). (ii) Near \(m=0\), \(\hat G(\Phi,m)=\sum_{J\ge0}m^J\hat G_J(\Phi)\), where \(\hat G_J\) is an odd trigonometric polynomial of degree \(\le2J+1\) containing only odd harmonics; \(\hat G_0=2\sin\Phi\), \(\hat G_1=\frac38\sin\Phi+\frac1{24}\sin3\Phi\), \(\hat G_2=\frac{23}{128}\sin\Phi+\frac1{32}\sin3\Phi+\frac1{640}\sin5\Phi\) (the last coefficient is \(\frac{1}{128}-\frac1{64}+\frac{3}{320}=\frac1{640}\): contributions of \(2a_2\), \(-\frac{a_0^2a_1}{4}\), \(\frac{3a_0^5}{320}\)). (iii) For every \(N\ge1\), \(\hat G-\sum_{J0\), \(\nu\in\Lambda\), \(\tau\ge\pi\nu+\delta\), and \(m_*:=\max_{\nu\in\Lambda}\ell^{-1}\bigl(\frac{\pi\nu}{\pi\nu+\delta}\bigr)<1\), so that \(m_0\le m_*\). Then \[ \frac{2\pi\nu}{K(m_*)}\,\tau^{-1}\le m_0(\tau)\le4\nu\,\tau^{-1},\qquad R:=L[w_{\rm ad}]=T_1+\dots+T_5, \] \begin{multline*} T_1=\tau^{-2}m_0^{1/2}S_1,\quad T_2=\tau^{-1}m_0^{3/2}S_2'+\tau^{-3}m_0^{1/2}S_2'',\\ T_3=\tau^{-1}m_0^{3/2}S_3,\quad T_4=\tau^{-2}m_0^{1/2}S_4,\quad T_5=\tau^{-2}m_0^{1/2}S_5, \end{multline*} where each \(S=S(\Phi,m_0,1/\tau)\) is real-analytic and \(2\pi\)-periodic in \(\Phi\), and bounded together with all its derivatives on \(\mathbb R\times[0,m_*]\times[0,1/\delta]\), uniformly for \(\nu\in\Lambda\). \end{corollary} \begin{proof} Since \(\ell'=K/2\ge\pi/4\) and \(\ell'\le K(m_*)/2\) on \([0,m_*]\), \(\frac\pi4m\le\ell(m)\le\frac{K(m_*)}{2}m\), which gives the bounds on \(m_0\) from \(\ell(m_0)=\pi\nu/\tau\). Write \(\ell=m\,\tilde\ell(m)\), \(\frac{2\ell}{K}=m\lambda(m)\) with \(\tilde\ell,\lambda\) analytic and positive, so \(m_0'=-\frac{2\ell}{K\tau}=-\frac{m_0\lambda(m_0)}{\tau}\) and \(m_0''+\frac{m_0'}{\tau}=\frac{2\ell(K^2-2\ell K_m)}{K^3\tau^2}=\frac{m_0}{\tau^2}\,\varsigma(m_0)\) with \(\varsigma\) analytic (\cref{pr:phaseex}, \(K_m=dK/dm\) analytic). By \cref{lem:analytic}, \(G=\sqrt m\hat G\), \(G_\Phi=\sqrt m\hat G_\Phi\), \(G_m=m^{-1/2}(\frac12\hat G+m\hat G_m)\), \(G_{mm}=m^{-3/2}(-\frac14\hat G+m\hat G_m+m^2\hat G_{mm})\), \(\sin G=\sqrt m\,\hat G\,\mathrm{sinc}(\sqrt m\hat G)\), and \(B=m^{3/2}[s\hat G_\Phi-t\hat G_{\Phi m}]\) (\cref{lem:key}). Moreover \(1-\Phi'^2/\omega^2=-\frac{1}{4\omega\tau^2}-\frac{1}{64\omega^2\tau^4}\) and \(\Phi''=\omega'(m_0)m_0'-\frac1{4\tau^3}=-\frac{m_0}{\tau}\omega'\lambda-\frac{1}{4\tau^3}\). Substituting these into \(T_1,\dots,T_5\) of \cref{pr:residual} gives the stated forms. \end{proof} \begin{theorem}\label{thm:A} For \(\nu\in\Lambda\) and \(\tau\ge\pi\nu+\delta\), uniformly in \(\Theta\in\mathbb R\) (the constant \(\Theta_0\) in \(\Phi\) replaced by an arbitrary \(\Theta\)), \[ |R|\le C\tau^{-5/2},\qquad|\partial_\Theta R|\le C\tau^{-5/2},\qquad|\partial_\nu R|_{\Theta}\le C\tau^{-5/2}(1+\ln\tau), \] with \(C=C(\Lambda,\delta)\). \end{theorem} \begin{proof} By \cref{cor:residual} and \(m_0\asymp\tau^{-1}\): \(T_1=O(\tau^{-2}\tau^{-1/2})\); \(T_2=O(\tau^{-1}\tau^{-3/2})+O(\tau^{-3}\tau^{-1/2})\); \(T_3=O(\tau^{-1}\tau^{-3/2})\); \(T_4,T_5=O(\tau^{-2}\tau^{-1/2})\), i.e. \(R=O(\tau^{-5/2})\) uniformly in \(\Phi\) (hence in \(\Theta\)) and \(\nu\in\Lambda\). Since \(\Theta\) enters only through \(\Phi\) and the \(S_i\) are bounded with all \(\Phi\)-derivatives, \(\partial_\Theta R=\partial_\Phi R=O(\tau^{-5/2})\). For the \(\nu\)-derivative at fixed \(\Theta\): \(\partial_\nu m_0=\frac{2\pi}{\tau K(m_0)}=O(\tau^{-1})\) and \(\partial_\nu\Phi=\tau f'(m_0)\partial_\nu m_0=-\frac{\pi K(1-m_0)}{K(m_0)}=O(1+\ln\tau)\) (because \(K(1-m)=\ln\frac4{\sqrt m}+O(m\ln\frac1m)\), DLMF \cite[\S19.12.1]{DLMF}, and \(m_0\ge c/\tau\)). A term \(\tau^{-a}m_0^{b}S(\Phi,m_0,1/\tau)\) therefore changes by \(\tau^{-a}m_0^{b}\bigl[\,b\,m_0^{-1}S+\partial_mS\,\bigr]\partial_\nu m_0+\tau^{-a}m_0^b\partial_\Phi S\,\partial_\nu\Phi\), which is \(O(\tau^{-a}m_0^{b}(1+\ln\tau))\) since \(m_0^{-1}\partial_\nu m_0=O(1)\). \end{proof} \textbf{Term-by-term orders (elementary form of the bound on \(R\)).} For \(\tau\ge\pi\nu+\delta\): \(m_0\le m_{\delta'}:=\ell^{-1}\bigl(\frac{\pi\nu}{\pi\nu+\delta}\bigr)<1\), and since \(\ell(m)=\frac{\pi}{4}m\,(1+O(m))\) uniformly on \([0,m_{\delta'}]\), \(c_1/\tau\le m_0(\tau)\le c_2/\tau\) with \(c_i=c_i(\nu,\delta)\); hence \(m_0^p=\Theta(\tau^{-p})\) for every fixed \(p\). Now (with \(G=\sqrt m\hat G\) of \cref{lem:analytic}, so that \(G_\Phi=O(\sqrt m)\), \(G_m=O(m^{-1/2})\), \(G_{mm}=O(m^{-3/2})\)): \(T_1\): \(|\sin G|\le|G|\le2\arcsin\sqrt{m}=O(\tau^{-1/2})\) and \(1-\Phi'^2/\omega^2=O(\tau^{-2})\); \(T_2\): \(G_\Phi=O(\sqrt{m})=O(\tau^{-1/2})\) and \(\Phi''=\omega'(m_0)m_0'-\frac{1}{4\tau^3}=O(\tau^{-2})\); \(T_3\): \(\Phi'/\tau=O(\tau^{-1})\) and \(B=O(m^{3/2})=O(\tau^{-3/2})\) (\cref{lem:key}); \(T_4\): \(G_{mm}=O(m^{-3/2})=O(\tau^{3/2})\) and \(m_0'^2=\bigl(\frac{2\ell}{K\tau}\bigr)^2=O(m^2/\tau^2)=O(\tau^{-4})\); \(T_5\): \(G_m=O(m^{-1/2})=O(\tau^{1/2})\) and \(m_0''+\frac{m_0'}{\tau}=\frac{2\ell(K^2-2\ell K')}{K^3\tau^2}=O(m/\tau^2)=O(\tau^{-3})\). Each product is \(O(\tau^{-5/2})\), uniformly in \(\Phi\) (all derivatives of \(\hat G\) are bounded on \(\mathbb R\times[0,m_{\delta'}]\), \cref{lem:analytic}) and in \(\nu\) on compacts. \section{Absence of resonance}\label{sec:resonance} \begin{lemma}\label{lem:resonance} At order \(O(\tau^{-5/2})\): \[ L[w_{\rm ad}]=-2\nu^{3/2}\tau^{-5/2}\cos3\Phi+O(\tau^{-7/2}), \] and the coefficients of \(\sin\Phi\), \(\cos\Phi\) vanish. More precisely, \(R=-2\nu^{3/2}\tau^{-5/2}\cos3\Phi+\tau^{-7/2}\rho_1(\Phi,\tau,\nu)\) with \(|\rho_1|+|\partial_\Phi\rho_1|\le C\) for \(\tau\ge\tau_0\), \(\nu\) in a compact set. \end{lemma} \begin{proof} \textbf{(a) Asymptotics of \(m_0\).} From \(\ell=\frac{\pi}{2}\bigl(\frac{m}{2}+\frac{m^2}{16}+\frac{3m^3}{128}+O(m^4)\bigr)\) and \(\tau\ell(m_0)=\pi\nu\), reversion (\cref{sec:phase}, Step 2) gives \[ m_0=\frac{4\nu}{\tau}-\frac{2\nu^2}{\tau^2}-\frac{\nu^3}{\tau^3}+O(\tau^{-4}), \] hence, with all relative corrections \(O(\tau^{-1})\): \[ m_0=\frac{4\nu}{\tau}\bigl(1+O(\tau^{-1})\bigr),\quad m_0'=-\frac{4\nu}{\tau^2}\bigl(1+O(\tau^{-1})\bigr),\quad m_0''+\frac{m_0'}{\tau}=\frac{4\nu}{\tau^3}\bigl(1+O(\tau^{-1})\bigr). \] Also, from \(\omega=1-\frac{m}{4}+O(m^2)\) (so \(\omega'(0)=-\frac14\)) and \cref{pr:phaseex}: \[ \Phi''=\omega'(m_0)m_0'-\frac{1}{4\tau^3}=\frac{\nu}{\tau^2}\bigl(1+O(\tau^{-1})\bigr). \] \textbf{(b) Leading harmonics of the terms.} At leading order in \(m\) all \(m\)-powers are evaluated at \(m=4\nu/\tau\); every correction contributes only \(O(\tau^{-7/2})\). From \cref{lem:fourier}, \(\sin G=G-\frac{G^3}{6}+O(m^{5/2})=\bigl(2\sqrt{m}+\frac38m^{3/2}\bigr)\sin\Phi+\frac{1}{24}m^{3/2}\sin3\Phi-\frac43m^{3/2}\sin^3\Phi+O(m^{5/2})\), i.e. \[ \sin G=\Bigl(2\sqrt{m}-\frac58m^{3/2}\Bigr)\sin\Phi+\frac{3}{8}m^{3/2}\sin3\Phi+O(m^{5/2}). \] Since \(G_\Phi,G_{\Phi m},G_m,G_{mm}\) are odd-sine / even-cosine series respectively, only \(T_1,T_4,T_5\) carry \(\sin\Phi\), and only \(T_2,T_3\) carry \(\cos\Phi,\cos3\Phi\), at this order. Using \(1-\Phi'^2/\omega^2=-\frac{1}{4\omega\tau^2}+O(\tau^{-4})\), \(\Phi'/\tau=\tau^{-1}(1+O(\tau^{-1}))\), and \cref{lem:key}: \[ T_1\big|_{\sin\Phi}=-\frac{2\sqrt{m}}{4\tau^2}=-\sqrt{\nu}\,\tau^{-5/2}\bigl(1+O(\tau^{-1})\bigr), \] \[ T_2\big|_{\cos\Phi}=g_1\,\Phi''=\Bigl(2\sqrt{m}+\frac38m^{3/2}\Bigr)\frac{\nu}{\tau^2}=2\sqrt{m}\,\frac{\nu}{\tau^2}+O(\tau^{-7/2})=\frac12m^{3/2}\tau^{-1}+O(\tau^{-7/2}), \] \[ T_3\big|_{\cos\Phi}=\frac{\Phi'}{\tau}\Bigl(-\frac12m^{3/2}\Bigr)=-\frac12m^{3/2}\tau^{-1}+O(\tau^{-7/2}), \qquad T_3\big|_{\cos3\Phi}=-\frac14m^{3/2}\tau^{-1}+O(\tau^{-7/2}), \] \[ T_4\big|_{\sin\Phi}=-\frac12m^{-3/2}\cdot\frac{m^2}{\tau^2}\bigl(1+O(\tau^{-1})\bigr)=-\frac12m^{1/2}\tau^{-2}\bigl(1+O(\tau^{-1})\bigr)=-\sqrt{\nu}\,\tau^{-5/2}\bigl(1+O(\tau^{-1})\bigr), \] \[ T_5\big|_{\sin\Phi}=m^{-1/2}\cdot\frac{4\nu}{\tau^3}\bigl(1+O(\tau^{-1})\bigr)=\frac{m^{1/2}}{\tau^2}\bigl(1+O(\tau^{-1})\bigr)=2\sqrt{\nu}\,\tau^{-5/2}\bigl(1+O(\tau^{-1})\bigr), \] where in the last two lines \(m^{-1/2}m_0'^2=-\frac12m^{1/2}/\tau^2\) used \(m_0'^2=m^2\tau^{-2}(1+O(\tau^{-1}))\) and \(m^{-1/2}\cdot\frac{4\nu}{\tau^3}=\frac{4\nu}{\tau^3}\sqrt{\frac{\tau}{4\nu}}=\frac{\sqrt{4\nu/\tau}}{\tau^2}\).\\ \textbf{(c) Balance.} In units of \(2\sqrt{\nu}\,\tau^{-5/2}\): \[ \sin\Phi:\quad T_1=-\tfrac12,\quad T_4=-\tfrac12,\quad T_5=+1\quad\Rightarrow\quad \text{sum}=0; \] \[ \cos\Phi:\quad T_2=+\tfrac12m^{3/2}\tau^{-1},\quad T_3=-\tfrac12m^{3/2}\tau^{-1}\quad\Rightarrow\quad \text{sum}=0; \] \[ \cos3\Phi:\quad T_3=-\tfrac14m^{3/2}\tau^{-1}=-2\nu^{3/2}\tau^{-5/2}. \] All remaining contributions to harmonics 1 and 3 are \(O(\tau^{-7/2})\) (e.g. the \(\sin3\Phi\)-part of \(T_1\) is \(-\frac{3m^{3/2}}{32\tau^2}\)).\\ \textbf{(d) Remainder.} By \cref{cor:residual}, each \(T_i=\tau^{-a_i}m_0^{b_i}S_i(\Phi,m_0,1/\tau)\), and \(m_0=\frac{4\nu}{\tau}(1+O(\tau^{-1}))\), \(S_i(\Phi,m_0,1/\tau)=S_i(\Phi,0,0)+O(\tau^{-1})\) together with all \(\Phi\)-derivatives. Hence \(T_i=\tau^{-a_i-b_i}(4\nu)^{b_i}S_i(\Phi,0,0)+O(\tau^{-a_i-b_i-1})\); all \(a_i+b_i=\frac52\) except the second part of \(T_2\) (\(\frac72\)). The leading profiles \(S_i(\Phi,0,0)\) are exactly the harmonics computed in (b), (c), so \(R=-2\nu^{3/2}\tau^{-5/2}\cos3\Phi+\tau^{-7/2}\rho_1\) with \(\rho_1,\partial_\Phi\rho_1\) bounded. Uniformity in \(\Theta\) is as in \cref{thm:A}. \end{proof} \section{Approximate fundamental system}\label{sec:basis} Throughout \crefrange{sec:basis}{sec:cauchy}, \(\nu\) ranges over a fixed compact \(\Lambda\subset(0,\infty)\), \(\tau\ge\tau_0\) with \(\tau_0=\tau_0(\Lambda)\) large, constants \(C\) depend only on \(\Lambda\), and we use the one-parameter family \(w_{\rm ad}(\tau;\Theta,\nu)=G(\Phi,m_0)\), \(\Phi=\tau f(m_0)+\Theta-\frac1{8\tau}\), \(\Theta=\Theta_0(\nu)\) at the end; \(R=L[w_{\rm ad}]\) as in \cref{thm:A} (valid for every \(\Theta\)). Both the approximate fundamental system and the \(O(\tau^{-5/2})\) bound below are obtained by elementary tools (variation of constants and oscillatory integral estimates); no WKB-type ansatz is used. \begin{lemma}\label{lem:basis} Let \(P_1=\partial_\Theta w_{\rm ad}=G_\Phi\), \(\Pi:=G_m\frac{2\pi}{\tau K}\), and \[ P_2=\partial_\nu\bigl[w_{\rm ad}(\tau;\Theta_0(\nu),\nu)\bigr]=\Pi-c(\tau)P_1,\qquad c(\tau):=\frac{\pi K(1-m_0)}{K(m_0)}-\Theta_0'(\nu), \] \[ \Theta_0'(\nu)=\frac{d\Theta_0}{d\nu}=-\ln\nu+\frac{d}{d\nu}\arg\Gamma(1+i\nu). \] Put \(E_i:=L'[P_i]\). Then for \(\tau\ge\tau_0\): (i) \(|P_1|,|P_1'|,|\Pi|,|\Pi'|\le C\tau^{-1/2}\), \(|P_2|,|P_2'|\le C\tau^{-1/2}\ln\tau\); (ii) \(|E_1|\le C\tau^{-5/2}\), \(|E_2|\le C\tau^{-5/2}\ln\tau\); (iii) \(c'(\tau)=\kappa(m_0)/\tau\) with \(\kappa(m)=\frac{\pi^2\ell(m)}{2m(1-m)K(m)^3}=1+O(m)\); hence \(|c'|\le C/\tau\), \(|c(\tau)|\le C\ln\tau\), \(|c(\sigma)-c(\tau)|\le C\ln\frac\sigma\tau\) for \(\sigma\ge\tau\); (iv) \(W:=P_1P_2'-P_1'P_2\) satisfies \(\tau W(\tau)=8+O(\tau^{-1})\); in particular \(W\ge4/\tau\). Moreover the exact identity \((\tau W)'=\tau(P_1E_2-P_2E_1)=O(\tau^{-2}\ln\tau)\) holds, so also \(\tau W=8+O(\tau^{-1}\ln\tau)\) by integration from \(\infty\). \end{lemma} \begin{proof} \textbf{(a) The identification of \(P_1,P_2\).} \(\partial_\Theta\Phi=1\), so \(P_1=G_\Phi\). At fixed \(\Theta\), \(\partial_\nu m_0=\frac{2\pi}{\tau K}\) (differentiate \(\tau\ell(m_0)=\pi\nu\) and use \(\ell'=K/2\)) and \(\partial_\nu\Phi=\tau f'(m_0)\partial_\nu m_0=-\frac{\pi K(1-m_0)}{K(m_0)}\) since \(f'(m)=-K(1-m)/2\); the total derivative in \(\nu\) with \(\Theta=\Theta_0(\nu)\) adds \(\Theta_0'(\nu)G_\Phi\). Hence \(P_2=\Pi+G_\Phi\bigl(\Theta_0'-\frac{\pi K(1-m_0)}{K}\bigr)=\Pi-cP_1\). The formula for \(\Theta_0'\) follows from \(\Theta_0=C_2+\nu(1+\ln\frac8\nu)\) and \(C_2=\frac{5\pi}4+\arg\Gamma(1+i\nu)-3\nu\ln2\): \(\Theta_0'=\frac{d}{d\nu}\arg\Gamma(1+i\nu)-3\ln2+1+\ln\frac8\nu-1=-\ln\nu+\frac{d}{d\nu}\arg\Gamma(1+i\nu)\) because \(\ln8=3\ln2\). \textbf{(b) Estimates (i).} By \cref{lem:analytic}, \(P_1=\sqrt{m_0}\,\hat G_\Phi=O(\tau^{-1/2})\), and \[ P_1'=\sqrt{m_0}\,\hat G_{\Phi\Phi}\Phi'+\Bigl(\tfrac{1}{2\sqrt{m_0}}\hat G_\Phi+\sqrt{m_0}\hat G_{\Phi m}\Bigr)m_0'=O(\tau^{-1/2})+O(m_0^{-1/2}\tfrac{m_0}{\tau})=O(\tau^{-1/2}). \] Next \(\Pi=\theta(\tau)\bigl(\sin\Phi+r_2(\Phi,m_0)\bigr)\) with \(\theta=\frac{2\pi}{\tau K(m_0)\sqrt{m_0}}\asymp\tau^{-1/2}\), \(|\theta'|\le C\theta/\tau\), \(r_2=\frac12\hat G+m_0\hat G_m-\sin\Phi=O(m_0)\) smooth (because \(\frac12\hat G_0=\sin\Phi\)); so \(|\Pi|\le C\tau^{-1/2}\), \(\Pi'=\theta\Phi'\cos\Phi+O(\theta/\tau)\), \(|\Pi'|\le C\tau^{-1/2}\). Finally \(|c|\le C(1+\ln\tau)\) by (iii), and \(P_2'=\Pi'-c'P_1-cP_1'\) gives the bounds on \(P_2,P_2'\). \textbf{(c) Estimates (ii).} Differentiating \(L[w_{\rm ad}(\Theta,\nu)]=R\) in the parameters gives \(L'[\partial_\Theta w_{\rm ad}]=\partial_\Theta R\) and \(L'[P_2]=\partial_\nu R|_\Theta+\Theta_0'\partial_\Theta R\) (here \(L'[u]=u''+\frac1\tau u'+\cos(w_{\rm ad})u\) and the operator \(L\) does not depend on the parameters). \cref{thm:A} gives \(|E_1|\le C\tau^{-5/2}\), \(|E_2|\le C\tau^{-5/2}(1+\ln\tau)\). \textbf{(d) Proof of (iii).} From \(c=\pi K(1-m_0)/K(m_0)-\Theta_0'\), \(\frac{d}{dm}K(1-m)=-\frac{f(m)}{2m(1-m)}\) (since \(\frac{dK}{d\mu}=\frac{E(\mu)-(1-\mu)K(\mu)}{2\mu(1-\mu)}\) at \(\mu=1-m\)), \(K_m=\frac{\ell}{2m(1-m)}\) and \(m_0'=-\frac{2\ell}{K\tau}\): \begin{multline*} c'=\pi\Bigl[-\frac{f}{2m(1-m)K}-\frac{K(1-m)\,\ell}{2m(1-m)K^2}\Bigr]\Bigl(-\frac{2\ell}{K\tau}\Bigr)\\ =\frac{\pi\ell}{m(1-m)K^3\tau}\bigl[Kf+\ell K(1-m)\bigr]=\frac{\pi^2\ell}{2m(1-m)K^3\tau}, \end{multline*} by the Legendre relation \(Kf+\ell K(1-m)=\pi/2\) (\cref{pr:ident}). As \(m\to0\), \(\ell=\frac{\pi m}4(1+O(m))\), \(K=\frac\pi2(1+O(m))\), so \(\kappa(m)=1+O(m)\); \(m_0=O(\tau^{-1})\) gives \(c'=\frac1\tau+O(\tau^{-2})\). Integrating \(|c'|\le C/\sigma\) gives \(|c(\sigma)-c(\tau)|\le C\ln\frac\sigma\tau\), and \(|c(\tau)|\le C(1+\ln\tau)\) from \(K(1-m_0)=\ln\frac{4}{\sqrt{m_0}}+O(m_0\ln\frac1{m_0})\) and \(m_0\asymp\tau^{-1}\). \textbf{(e) Proof of (iv).} Since \(P_2=\Pi-cP_1\): \(W=P_1\Pi'-P_1'\Pi-c'P_1^2\) (the terms \(cP_1P_1'\) cancel). By (b), \(P_1=2\sqrt{m_0}\cos\Phi+O(\tau^{-3/2})\), \(P_1'=-2\sqrt{m_0}\Phi'\sin\Phi+O(\tau^{-3/2})\), \(\Pi=\theta(\sin\Phi+O(\tau^{-1}))\), \(\Pi'=\theta\Phi'\cos\Phi+O(\theta\tau^{-1})\). Thus \[ P_1\Pi'-P_1'\Pi=2\sqrt{m_0}\,\theta\,\Phi'(\cos^2\Phi+\sin^2\Phi)+O(\tau^{-2})=\frac{4\pi\Phi'}{\tau K(m_0)}+O(\tau^{-2}), \] using \(\sqrt{m_0}\,\theta=\frac{2\pi}{\tau K}\), and \(c'P_1^2=O(\tau^{-1}\cdot\tau^{-1})=O(\tau^{-2})\). With \(\Phi'=\omega(m_0)+\frac1{8\tau^2}=\frac{\pi}{2K}+O(\tau^{-2})\) we get \(\tau W=\frac{2\pi^2}{K(m_0)^2}+O(\tau^{-1})=8+O(\tau^{-1})\), because \(K(m_0)=\frac\pi2(1+O(m_0))\). The Abel identity: \(W'=P_1P_2''-P_1''P_2\), and \(P_i''=E_i-\frac1\tau P_i'-\cos(w_{\rm ad})P_i\), so \(W'=P_1E_2-P_2E_1-\frac1\tau W\), i.e. \((\tau W)'=\tau(P_1E_2-P_2E_1)=\tau\bigl(O(\tau^{-1/2})O(\tau^{-5/2}\ln\tau)+O(\tau^{-1/2}\ln\tau)O(\tau^{-5/2})\bigr)=O(\tau^{-2}\ln\tau)\); integrating from \(\tau\) to \(\infty\) (where \(\tau W\to8\)) gives \(\tau W(\tau)-8=O(\tau^{-1}\ln\tau)\). \end{proof} \section{Cauchy formula and \(O(\tau^{-5/2})\) bound}\label{sec:cauchy} \begin{lemma}[Oscillatory integrals]\label{lem:osc} Let \(\tau\ge1\) and \(\Phi\in C^2[\tau,\infty)\) with \(\Phi'\in[\frac12,\frac32]\), \(|\Phi''|\le A\sigma^{-2}\); let \(a\in C^1\) with \(|a|\le B\sigma^{-q}\), \(|a'|\le B\sigma^{-q-1}\) for some \(q>0\), and \(k\ge1\) an integer. Then (a) \(\bigl|\int_\tau^\infty a\,e^{ik\Phi}d\sigma\bigr|\le\dfrac{C_{q,A}\,B}{k}\,\tau^{-q}\); (b) if moreover \(\lambda\in C^1[\tau,\infty)\), \(\lambda(\tau)=0\), \(|\lambda'|\le\Lambda_0\sigma^{-1}\), then \(\bigl|\int_\tau^\infty\lambda\,a\,e^{ik\Phi}d\sigma\bigr|\le\dfrac{C_{q,A}\,B\Lambda_0}{k}\,\tau^{-q}\). \end{lemma} \begin{proof} (a) Integrate by parts with \(e^{ik\Phi}=\frac{(e^{ik\Phi})'}{ik\Phi'}\): the boundary term at \(\infty\) vanishes (\(a\to0\)), the one at \(\tau\) is at most \(\frac{2B\tau^{-q}}{k}\), and the remaining integral is at most \(\frac1k\int_\tau^\infty\bigl(2|a'|+4|a||\Phi''|\bigr)d\sigma\le\frac{B}{k}\bigl(\frac2q+\frac{4A}{q+1}\bigr)\tau^{-q}\). (b) Apply the same argument to \(\lambda a\): \(|\lambda(\sigma)|\le\Lambda_0\ln\frac\sigma\tau\), so \(|\lambda a|\le\Lambda_0B\sigma^{-q}\ln\frac\sigma\tau\to0\); the boundary term at \(\tau\) vanishes since \(\lambda(\tau)=0\); and \(|(\lambda a)'|\le\Lambda_0B\sigma^{-q-1}(1+\ln\frac\sigma\tau)\), \(\int_\tau^\infty\sigma^{-q-1}(1+\ln\frac\sigma\tau)d\sigma=\tau^{-q}(\frac1q+\frac1{q^2})\), while \(\int_\tau^\infty|\lambda a||\Phi''|\le\Lambda_0BA\int\sigma^{-q-2}\ln\frac\sigma\tau\,d\sigma\le C\tau^{-q}\). \end{proof} \begin{lemma}\label{lem:cauchy} Let \(\varepsilon\in C^2[\tau_0,\infty)\) solve \[ L'[\varepsilon]=-R-N(\varepsilon),\qquad N(\varepsilon):=\sin(w_{\rm ad}+\varepsilon)-\sin w_{\rm ad}-\cos(w_{\rm ad})\,\varepsilon,\quad|N|\le\tfrac12\varepsilon^2, \] (this is the equation satisfied by \(\varepsilon=w-w_{\rm ad}\) for any solution \(w\) of \(L[w]=0\)), and assume the a priori decay \(|\varepsilon(\tau)|\le C_0\tau^{-3/2}\) for \(\tau\ge\tau_0\). Then \(|\varepsilon(\tau)|\le C_\delta\tau^{-5/2}\) for \(\tau\ge\tau_0\) (with \(\tau_0\) possibly increased), \(C_\delta\) depending on \(C_0\), \(\nu\), \(\delta\). The decay assumption excludes the homogeneous solutions \(P_1,P_2\), whose exact order is \(\tau^{-1/2}\), resp. \(\tau^{-1/2}\ln\tau\); for \(\varepsilon=y-y_{\rm ad}\) it is supplied by (M) and \cref{lem:matching}. \end{lemma} \begin{proof} \textbf{Step 1 (variation of constants with the approximate system).} By \cref{lem:basis}(iv), \(W\ne0\), so any pair \((\varepsilon,\varepsilon')\) can be written \(\varepsilon=\xi_1P_1+\xi_2P_2\), \(\varepsilon'=\xi_1P_1'+\xi_2P_2'\), i.e. \(\xi_1'P_1+\xi_2'P_2=0\). Then \(L'[\varepsilon]=\xi_1E_1+\xi_2E_2+\xi_1'P_1'+\xi_2'P_2'\), so \(\xi_1'P_1'+\xi_2'P_2'=-R-N-\xi\cdot E\) and \[ \xi_1'=\frac{P_2}{W}\,\zeta,\qquad\xi_2'=-\frac{P_1}{W}\,\zeta,\qquad \zeta:=R+N+\xi_1E_1+\xi_2E_2=R+\zeta_2 . \] (Note that, since \(E_i\ne0\), \(P_1,P_2\) are not exact solutions, which is why the terms \(\xi\cdot E\) are kept.) \textbf{Step 2 (\(\xi\) has a limit).} By \cref{lem:basis}, \(1/W\le C\sigma\), \(|P_2|\le C\sigma^{-1/2}\ln\sigma\), \(|P_1|\le C\sigma^{-1/2}\), \(|R|\le C\sigma^{-5/2}\), \(|N|\le\frac12C_0^2\sigma^{-3}\), hence \[ |\xi'|\le C\sigma^{1/2}\ln\sigma\bigl(\sigma^{-5/2}+\sigma^{-3}+|\xi|\,\sigma^{-5/2}\ln\sigma\bigr)\le C\bigl(\sigma^{-2}\ln\sigma+|\xi|\,\sigma^{-2}\ln^2\sigma\bigr). \] Since the coefficients are integrable on \([\tau_0,\infty)\), Gronwall's inequality shows that \(\xi\) is bounded, and then \(\xi'\) is integrable, so \(\xi(\tau)\to\xi_\infty=(a,b)\) with \(|\xi(\tau)-\xi_\infty|\le C\tau^{-1}\ln^2\tau\). \textbf{Step 3 (\(\xi_\infty=0\)).} Write \(\varepsilon=\alpha P_1+\beta\Pi\) with \(\alpha=\xi_1-c(\tau)\xi_2\), \(\beta=\xi_2\) (because \(P_2=\Pi-cP_1\)). By Step 2, \(\beta\to b\) and \(\alpha=a-c(\tau)b+o(1)\) (using \(|c|\le C\ln\tau\) and \(|\xi_2-b|\le C\tau^{-1}\ln^2\tau\)). If \((a,b)\neq0\), then \(\max(|\alpha|,|\beta|)\ge\kappa_0>0\) for large \(\tau\) (if \(b\ne0\) then \(|\beta|\to|b|\); if \(b=0\) then \(\alpha\to a\ne0\)). By \cref{lem:basis}(b), \(P_1=4\sqrt\nu\,\sigma^{-1/2}\cos\Phi+O(\sigma^{-3/2})\) and \(\Pi=2(\nu\sigma)^{-1/2}\sin\Phi+O(\sigma^{-3/2})\) (use \(m_0=\frac{4\nu}{\sigma}(1+O(\sigma^{-1}))\)), and on any interval \([\sigma,\sigma+13]\) the phase \(\Phi\) runs through more than a full period (\(\Phi'\ge\frac12\)) while \(\alpha,\beta,c\) change by \(O(\sigma^{-1})\); therefore \(\sup_{[\sigma,\sigma+13]}|\varepsilon|\ge\kappa_1\sigma^{-1/2}\max(|\alpha|,|\beta|)-o(\sigma^{-1/2})\ge\frac{\kappa_1\kappa_0}2\sigma^{-1/2}\), contradicting \(|\varepsilon|\le C_0\sigma^{-3/2}\). Hence \(\xi_\infty=0\) and \[ \xi_1(\tau)=-\int_\tau^\infty\frac{P_2\zeta}{W}d\sigma,\qquad\xi_2(\tau)=\int_\tau^\infty\frac{P_1\zeta}{W}d\sigma . \] Substituting \(P_2=\Pi-c(\sigma)P_1\) and regrouping with \(\varepsilon=\bigl(\xi_1-c(\tau)\xi_2\bigr)P_1+\xi_2\Pi\): \[ \varepsilon=P_1\Bigl[-\int_\tau^\infty\frac{\Pi\zeta}{W}d\sigma+\int_\tau^\infty\bigl(c(\sigma)-c(\tau)\bigr)\frac{P_1\zeta}{W}d\sigma\Bigr]+\Pi\int_\tau^\infty\frac{P_1\zeta}{W}d\sigma.\tag{\(\star\)} \] This regrouping is exactly what removes the apparent logarithm \(c(\tau)\sim\ln\tau\) of \(P_2\). \textbf{Step 4 (the resonance structure of \(R\)).} Put \(H_1:=P_1R/W\), \(H_2:=\Pi R/W\). By \cref{sec:phase} (Step 2), \(m_0=\sigma^{-1}\mu(1/\sigma)\) with \(\mu\) analytic, \(\mu(0)=4\nu\). By \cref{lem:analytic}, \cref{cor:residual} and \cref{lem:basis}, \(P_1,\ \Pi,\ R,\ W\) are of the form \(\sigma^{-p}\times\)(a function \(\hat h(\Phi,1/\sigma)\), real-analytic in a neighbourhood of \(\mathbb R\times[0,1/\tau_0]\), \(2\pi\)-periodic and bounded in a complex strip \(|\mathrm{Im}\,\Phi|<\eta\)), with \(p=\frac12,\frac12,\frac52,1\) respectively, and \(\sigma W\ge4\) so that \(1/(\sigma W)\) is again of this form (\(\sigma W=8\) at \(1/\sigma=0\)). Hence \[ H_i(\sigma)=\sigma^{-2}\hat h_i\bigl(\Phi(\sigma),1/\sigma\bigr),\qquad\hat h_i(\Phi,0)=h_i^0(\Phi), \] \begin{multline*} h_1^0=\tfrac18\cdot4\sqrt\nu\cos\Phi\cdot(-2\nu^{3/2}\cos3\Phi)=-\nu^2\cos\Phi\cos3\Phi,\\ h_2^0=\tfrac18\cdot2\nu^{-1/2}\sin\Phi\cdot(-2\nu^{3/2}\cos3\Phi)=-\tfrac\nu2\sin\Phi\cos3\Phi, \end{multline*} (by \cref{lem:resonance} and the leading forms of \(P_1,\Pi,W\)), and both \(h_i^0\) have mean zero in \(\Phi\) (they contain only the harmonics \(2\Phi,4\Phi\)). Expand in Fourier series in \(\Phi\): \(H_i=\sum_{n\in\mathbb Z}\beta^{(i)}_n(\sigma)e^{in\Phi(\sigma)}\) with \(\beta^{(i)}_n(\sigma)=\sigma^{-2}\hat\beta^{(i)}_n(1/\sigma)\), \(|\hat\beta_n^{(i)}|\le Ce^{-\eta|n|}\) (analyticity in the strip), \(|\partial_\sigma\beta_n|\le C\sigma^{-3}e^{-\eta|n|}\), and, because the mean of \(h_i^0\) vanishes, \(\beta^{(i)}_0=O(\sigma^{-3})\), \(\beta_0^{(i)\prime}=O(\sigma^{-4})\). By \cref{lem:osc} with \(q=2\) (note \(\Phi'=\omega+O(\sigma^{-2})\in[\frac12,\frac32]\), \(\Phi''=O(\sigma^{-2})\)) and \(\sum_{n\ne0}e^{-\eta|n|}/|n|<\infty\): \[ I_i(\tau):=\int_\tau^\infty H_i\,d\sigma=O(\tau^{-2})\ (i=1,2),\qquad I_3(\tau):=\int_\tau^\infty\bigl(c(\sigma)-c(\tau)\bigr)H_1\,d\sigma=O(\tau^{-2}). \] For \(I_1,I_2\): the \(n\ne0\) terms by \cref{lem:osc}(a), the \(n=0\) term is bounded by \(\int_\tau^\infty C\sigma^{-3}=O(\tau^{-2})\). For \(I_3\): the \(n\ne0\) terms by \cref{lem:osc}(b) with \(\lambda=c(\sigma)-c(\tau)\), \(\Lambda_0=C\) (\cref{lem:basis}(iii)); the \(n=0\) term is bounded by \(C\int_\tau^\infty\ln\frac\sigma\tau\,\sigma^{-3}d\sigma=\frac{C}{4\tau^2}\) (\(\int_1^\infty\ln u\,u^{-3}du=\frac14\)). (A purely absolute bound would give \(\int_\tau^\infty\ln\frac\sigma\tau\,\sigma^{-2}d\sigma=\tau^{-1}\), which is insufficient; the oscillation is essential.) Inserting \(\zeta=R+\zeta_2\) into \((\star)\), the \(R\)-part is \[ \varepsilon^{(R)}=P_1\bigl[-I_2+I_3\bigr]+\Pi\,I_1=O(\tau^{-1/2}\tau^{-2})=O(\tau^{-5/2}), \] and likewise \(\xi_2^{(R)}=I_1=O(\tau^{-2})\), \(\xi_1^{(R)}=-\int P_2R/W=-I_2+c(\tau)I_1+I_3=O(\tau^{-2}\ln\tau)\). \textbf{Step 5 (the remaining terms; two passes).} By \((\star)\) and \(|\Pi/W|,|P_1/W|\le C\sigma^{1/2}\), the \(\zeta_2\)-part \(\varepsilon^{(2)}\) satisfies \[ |\varepsilon^{(2)}(\tau)|\le C\tau^{-1/2}\int_\tau^\infty\sigma^{1/2}\Bigl(1+\ln\frac\sigma\tau\Bigr)|\zeta_2(\sigma)|\,d\sigma,\qquad |\xi(\tau)|\le C\tau^{-2}\ln\tau+C\int_\tau^\infty\sigma^{1/2}\ln\sigma\,|\zeta_2|\,d\sigma, \] where \(\zeta_2=N+\xi_1E_1+\xi_2E_2\), \(|\zeta_2|\le\frac12C_0^2\sigma^{-3}+C|\xi|\sigma^{-5/2}\ln\sigma\). \emph{Pass A.} Let \(\mu(\tau):=\sup_{\sigma\ge\tau}|\xi(\sigma)|\) (finite and \(\to0\), Steps 2–3). Then \(\mu(\tau)\le C\tau^{-2}\ln\tau+C\tau^{-3/2}+C\mu(\tau)\tau^{-1}\ln^2\tau\) (the \(N\)-part gives \(\int_\tau^\infty\sigma^{1/2}(1+\ln\frac\sigma\tau)\,\sigma^{-3}d\sigma=O(\tau^{-3/2})\) with no logarithm), so for \(\tau\ge\tau_1\) (with \(C\tau_1^{-1}\ln^2\tau_1\le\frac12\)) \(\mu(\tau)\le C\tau^{-3/2}\), and hence \(|\varepsilon|=|\xi_1P_1+\xi_2P_2|\le C\tau^{-2}\ln\tau\). \emph{Pass B.} By Pass A, \(|\xi|\le C\sigma^{-3/2}\), so \(|N|\le\frac12|\varepsilon|^2\le C\sigma^{-4}\ln^2\sigma\) and \(|\xi\cdot E|\le C\sigma^{-3/2}\cdot\sigma^{-5/2}\ln\sigma=C\sigma^{-4}\ln\sigma\), hence \(|\zeta_2|\le C\sigma^{-4}\ln^2\sigma\) and \(|\varepsilon^{(2)}|\le C\tau^{-1/2}\int_\tau^\infty\sigma^{-7/2}\bigl(1+\ln\frac\sigma\tau\bigr)\ln^2\sigma\,d\sigma\le C\tau^{-3}\ln^2\tau\). Together with Step 4, \[ |\varepsilon|\le|\varepsilon^{(R)}|+|\varepsilon^{(2)}|\le C\tau^{-5/2}+C\tau^{-3}\ln^2\tau\le C_\delta\tau^{-5/2}. \] \end{proof} \medskip\noindent\textbf{Remark.} \cref{lem:cauchy} is an independent strengthening: it applies to \emph{any} solution \(w\) of \(L[w]=0\) with the a priori decay \(\varepsilon=O(\tau^{-3/2})\). The proof of \cref{thm:main} itself does not invoke it: in \cref{sec:proof} the bound \(O(\tau^{-5/2})\) for large \(\tau\) follows directly from \cref{thm:M} and \cref{lem:matching}. \section{Phase structure}\label{sec:phase} \begin{lemma}\label{lem:phase} With \(m_0\) from \(\tau\ell(m_0)=\pi\nu\): \[ \Phi(\tau)=\tau-\nu\ln\tau+C+\frac{6\nu^2-1}{8\tau}+\frac{5\nu^3}{8\tau^2}+O(\tau^{-3}),\qquad C=\nu\ln2+C_2. \] The only logarithm is \(-\nu\ln\tau\); there is no \(\ln\tau/\tau^k\) for \(k\ge1\). \end{lemma} \begin{proof} \textbf{Step 1 (series for \(\ell\)).} From the hypergeometric series \[ K=\frac{\pi}{2}\sum_{n\ge0}\Bigl(\frac{\binom{2n}{n}}{4^n}\Bigr)^2m^n,\qquad E=\frac{\pi}{2}\sum_{n\ge0}\Bigl(\frac{\binom{2n}{n}}{4^n}\Bigr)^2\frac{m^n}{1-2n}, \] one computes \(\ell=E-(1-m)K\): \[ \ell=\frac{\pi}{2}\Bigl(\frac{m}{2}+\frac{m^2}{16}+\frac{3m^3}{128}+O(m^4)\Bigr). \] \textbf{Step 2 (reversion).} \(\ell'(0)=K(0)/2=\pi/4\neq0\), so by the inverse function theorem \(m_0(\tau)=\ell^{-1}(\pi\nu/\tau)\) is real-analytic in \(1/\tau\) for \(\tau>\pi\nu\). Substituting \(m_0=d_1\tau^{-1}+d_2\tau^{-2}+d_3\tau^{-3}+O(\tau^{-4})\) into \(\frac{2}{\pi}\ell(m_0)=\frac{2\nu}{\tau}\) and matching powers: \[ \frac{d_1}{2}=\frac{2\nu}{\tau}\big|_{\tau^{-1}}\ \Rightarrow\ d_1=4\nu;\qquad \frac{d_2}{2}+\frac{d_1^2}{16}=0\ \Rightarrow\ d_2=-2\nu^2;\qquad \frac{d_3}{2}+\frac{2d_1d_2}{16}+\frac{3d_1^3}{128}=0\ \Rightarrow\ d_3=-\nu^3. \] \textbf{Step 3 (\(\omega\)).} From the series of \(K\), \[ \omega(m)=\frac{1}{1+\frac{m}{4}+\frac{9m^2}{64}+\frac{25m^3}{256}+O(m^4)} =1-\frac{m}{4}-\frac{5m^2}{64}-\frac{11m^3}{256}+O(m^4). \] Composing with Step 2: \[ \omega(m_0)=1-\frac{\nu}{\tau}-\frac{3\nu^2}{4\tau^2}-\frac{5\nu^3}{4\tau^3}+O(\tau^{-4}) \] (the \(\tau^{-2}\) coefficient is \(\frac{\nu^2}{2}-\frac{5\nu^2}{4}=-\frac{3\nu^2}{4}\); the \(\tau^{-3}\) coefficient is \(\frac{\nu^3}{4}+\frac{5\nu^3}{4}-\frac{11\nu^3}{4}=-\frac{5\nu^3}{4}\)). \textbf{Step 4 (integration).} By \cref{pr:phaseex}, exactly, \[ \Phi'=\omega(m_0)+\frac{1}{8\tau^2}=1-\frac{\nu}{\tau}+\Bigl(\frac18-\frac{3\nu^2}{4}\Bigr)\frac{1}{\tau^2}-\frac{5\nu^3}{4\tau^3}+O(\tau^{-4}), \] and integrating in \(\tau\): \[ \Phi=\tau-\nu\ln\tau+C+\frac{3\nu^2/4-1/8}{\tau}+\frac{5\nu^3}{8\tau^2}+O(\tau^{-3}) =\tau-\nu\ln\tau+C+\frac{6\nu^2-1}{8\tau}+\frac{5\nu^3}{8\tau^2}+O(\tau^{-3}). \] \textbf{Step 5 (the constant).} The standard complementary-modulus expansions (DLMF \cite[\S19.12.1]{DLMF}) give, as \(m\to0\), with \(L:=\ln\frac{4}{\sqrt m}\): \[ K(1-m)=L+\frac{m}{4}(L-1)+O(m^2\ln m),\qquad E(1-m)=1+\frac{m}{2}\Bigl(L-\frac12\Bigr)+O(m^2\ln m), \] hence \[ f(m)=E(1-m)-mK(1-m)=1-\frac{m}{2}L-\frac{m}{4}+O(m^2L). \] With \(m_0=\frac{4\nu}{\tau}\bigl(1+O(\tau^{-1})\bigr)\): \(L(m_0)=\ln2+\frac12\ln\frac{\tau}{\nu}+O(\tau^{-1})\), so \[ \tau f(m_0)=\tau-2\nu L(m_0)-\nu+O\Bigl(\frac{\ln\tau}{\tau}\Bigr) =\tau-\nu\ln\tau+\nu\ln\nu-\nu-2\nu\ln2+O\Bigl(\frac{\ln\tau}{\tau}\Bigr). \] Adding \(\Theta_0=C_2+\nu(1+\ln\frac{8}{\nu})\) and \(-\frac{1}{8\tau}\), the constants combine: \[ \nu\ln\nu-\nu-2\nu\ln2+C_2+\nu+\nu\ln8-\nu\ln\nu=C_2+\nu\ln2, \] since \(\ln8-2\ln2=\ln2\). Hence \(C=\nu\ln2+C_2\). Finally, \(\ell^{-1}\) is analytic at \(0\) (Step 2), so \(\Phi'\) is a convergent power series in \(1/\tau\) for \(\tau\ge\tau_*(\nu)\) (and real-analytic in \(1/\tau\) for all \(\tau>\pi\nu\)); hence its integral contains the single logarithm \(-\nu\ln\tau\) and no terms \(\ln\tau/\tau^k\). \end{proof} \section{Matching with Maevsky}\label{sec:matching} \begin{theorem}\label{thm:M} \cite{Maevsky2004} (Theorem~15; the statement is reproduced in the published abstract (avtoreferat) of the dissertation, pp.~6--7, which is publicly available) Let \(y\) be the regular solution of the Amsler problem with \(y(0)=\pi s\), \(s\in(0,1)\). There are constants \(C_1=C_1(s)>0\), \(C_2=C_2(s)\) such that, as \(x\to\infty\), \[ y(x)=\pi+x^{-1/4}F_1(\theta)+x^{-3/4}F_3(\theta)+O(x^{-5/4}),\qquad \theta=2\sqrt{x}-\tfrac{C_1^2}{16}\ln x+C_2, \] \[ F_1=C_1\sin\theta,\qquad F_3=\frac{C_1^3}{32}\sin\theta+\frac{C_1^3}{192}\sin3\theta+\Bigl(\frac{3C_1^5}{512}-\frac{C_1}{16}\Bigr)\cos\theta. \] \end{theorem} \begin{remark} The two-term structure of \cref{thm:M} agrees with the published asymptotics of Maevsky \cite{Maevsky1998}, Theorem~1, via the dictionary \(\alpha^2=\nu\), \(f_3=f'''(0)=-1\); its leading coefficients can also be re-derived from the connection formulas (IN) of \cref{sec:novok}, and the constants \(C_1,C_2\) are confirmed independently by the radial sine-Gordon connection formula of Wong--Zhang \cite{WongZhang2009} (\cref{sec:amsler-const}). The sharp remainder estimate \(O(x^{-5/4})\) is Theorem~15 of \cite{Maevsky2004}, whose statement is reproduced in the publicly available abstract of the dissertation. \end{remark} \begin{lemma}\label{lem:matching} Let \(M:=\pi+x^{-1/4}F_1(\theta)+x^{-3/4}F_3(\theta)\) denote the Maevsky approximant. Under (M) and \cref{sec:amsler}: \(|y_{\rm ad}-M|=O(\tau^{-5/2})\). \end{lemma} \begin{proof} By \cref{sec:amsler-const} (which derives \(C_1,C_2\) from \cref{thm:novok}), \(C_1=\sqrt{8\nu}\); moreover \[ \theta=\tau-\frac{C_1^2/16}{1}\bigl(2\ln\tau-2\ln2\bigr)+C_2=\tau-\nu\ln\tau+\nu\ln2+C_2, \] which by \cref{lem:phase} is exactly the smooth part \(\tilde\Phi:=\tau-\nu\ln\tau+C\) of \(\Phi\); in particular the constants in (M) and in \cref{lem:phase} agree. Write both expansions in the phase \(\tilde\Phi\). \textbf{Adiabatic side.} By \cref{lem:fourier} and \cref{lem:phase} (\(\Phi=\tilde\Phi+\frac{a_1}{\tau}+\frac{a_2}{\tau^2}+O(\tau^{-3})\), \(a_1=\frac{6\nu^2-1}{8}\), \(a_2=\frac{5\nu^3}{8}\)): \[ y_{\rm ad}-\pi=2\sqrt{m_0}\sin\Phi+\frac38m_0^{3/2}\sin\Phi+\frac1{24}m_0^{3/2}\sin3\Phi+O(m_0^{5/2}). \] Here \(2\sqrt{m_0}=4\sqrt\nu\,\tau^{-1/2}\bigl(1-\frac{\nu}{4\tau}+O(\tau^{-2})\bigr)=4\sqrt\nu\,\tau^{-1/2}-\nu^{3/2}\tau^{-3/2}+O(\tau^{-5/2})\), and \(\sin\Phi=\sin\tilde\Phi+\frac{a_1}{\tau}\cos\tilde\Phi+O(\tau^{-2})\). Collecting all terms through order \(\tau^{-3/2}\): \begin{multline*} y_{\rm ad}-\pi=4\sqrt\nu\,\tau^{-1/2}\sin\tilde\Phi\\ +\Bigl(\underbrace{-\nu^{3/2}+3\nu^{3/2}}_{=2\nu^{3/2}}\Bigr)\tau^{-3/2}\sin\tilde\Phi\\ +\frac{\nu^{3/2}}{3}\tau^{-3/2}\sin3\tilde\Phi\\ +4\sqrt\nu\,a_1\,\tau^{-3/2}\cos\tilde\Phi\\ +O(\tau^{-5/2}), \end{multline*} using \(\frac38m_0^{3/2}=3\nu^{3/2}\tau^{-3/2}+O(\tau^{-5/2})\), \(\frac1{24}m_0^{3/2}=\frac{\nu^{3/2}}{3}\tau^{-3/2}+O(\tau^{-5/2})\), and \(4\sqrt\nu\,a_1=3\nu^{5/2}-\frac12\nu^{1/2}\).\\ \textbf{Maevsky side.} With \(x^{-1/4}=\sqrt2\,\tau^{-1/2}\), \(x^{-3/4}=2\sqrt2\,\tau^{-3/2}\), \(C_1^3=(8\nu)^{3/2}=16\sqrt2\,\nu^{3/2}\), \(C_1^5=(8\nu)^{5/2}=128\sqrt2\,\nu^{5/2}\), and \(\theta=\tilde\Phi\): \[ M-\pi=4\sqrt\nu\,\tau^{-1/2}\sin\tilde\Phi +\tau^{-3/2}\Bigl[2\nu^{3/2}\sin\tilde\Phi+\frac{\nu^{3/2}}{3}\sin3\tilde\Phi+\Bigl(3\nu^{5/2}-\frac12\nu^{1/2}\Bigr)\cos\tilde\Phi\Bigr]+O(\tau^{-5/2}), \] where the \(\sin\tilde\Phi\)-coefficient of \(F_3\) is \(\sqrt2\tau^{-3/2}\cdot\frac{C_1^3}{32}=2\nu^{3/2}\tau^{-3/2}\), the \(\sin3\tilde\Phi\)-coefficient is \(2\sqrt2\cdot\frac{16\sqrt2}{192}\nu^{3/2}=\frac{\nu^{3/2}}{3}\), and the \(\cos\tilde\Phi\)-coefficient is \(2\sqrt2\bigl(\frac{3\cdot128\sqrt2}{512}\nu^{5/2}-\frac{2\sqrt2}{16}\nu^{1/2}\bigr)=3\nu^{5/2}-\frac12\nu^{1/2}\).\\ \textbf{Comparison.} The two expansions coincide term by term through order \(\tau^{-3/2}\); the remainders are \(O(m^{5/2})=O(\tau^{-5/2})\) (\cref{lem:fourier}) and \(O(x^{-5/4})=O(\tau^{-5/2})\) (M). \end{proof} \section{Proof of the main theorem}\label{sec:proof} \textbf{Step 1 (large \(\tau\)).} By \cref{thm:M}, \(|y-M|\le Cx^{-5/4}=O(\tau^{-5/2})\) for \(\tau\ge\tau_*(s)\), and by \cref{lem:matching}, \(|M-y_{\rm ad}|=O(\tau^{-5/2})\). Hence \[ |y-y_{\rm ad}|\le|y-M|+|M-y_{\rm ad}|=O(\tau^{-5/2})+O(\tau^{-5/2})=O(\tau^{-5/2}),\qquad\tau\ge\tau_*. \] \textbf{Step 2 (finite range \(\pi\nu+\delta\le\tau\le\tau_*\)).} By \cref{lem:exist} (\(H'=-w'^2/\tau\le0\), \(H(0)=\cos\pi s<1\), \(H\ge1\) at \(w=\pm\pi\), \(w(0)\in(-\pi,0)\)) we have \(|w|<\pi\), i.e. \(y\in(0,2\pi)\). Also \(y_{\rm ad}-\pi=G\in(-\pi,\pi)\) because \(|X|\le\sqrt{m_0}<1\). Since \(\tau\le\tau_*\), we have \(2\pi\le2\pi\,\tau_*^{5/2}\,\tau^{-5/2}\), hence \(|y-y_{\rm ad}|<2\pi\le2\pi\,\tau_*^{5/2}\,\tau^{-5/2}\) on this range. Taking \[ C_\delta=\max\Bigl\{C,\ 2\pi\,\tau_*^{5/2}\Bigr\} \] proves the bound for all \(\tau\ge\pi\nu+\delta\). \hfill\(\blacksquare\) \section{Status summary}\label{sec:status} In the table, ``Proved under'' lists only the external inputs; all internal lemmas used in the proofs are themselves proved in the text. \begin{center}\begin{tabular}{|p{0.36\textwidth}|p{0.56\textwidth}|}\hline \textbf{Statement} & \textbf{Status} \\ \hline \cref{lem:exist} (existence, bounds) & Proved \\ \hline \cref{pr:painleve} (Painlevé III reduction, \(D_8\)) & Proved \\ \hline \cref{pr:bessel} (Bessel linearisation, with remainder \(O(|a|^3)\) on \([0,T]\)) & Proved \\ \hline \cref{pr:lax} (Lax pair + compatibility) & Proved \\ \hline \cref{sec:mono} (Monodromy and (IN)) & Theorem (external input) \\ \hline \cref{sec:amsler} (Specialisation) & Derived \\ \hline \cref{sec:ids} (Exact identities) & Proved \\ \hline \cref{lem:fourier}, \cref{lem:analytic} (Fourier coefficients and analytic structure) & Proved \\ \hline \cref{pr:residual}, \cref{thm:A}, \cref{cor:residual}, \cref{lem:key} & Proved \\ \hline \cref{lem:resonance} & Proved \\ \hline \cref{lem:basis} (basis \(P_1,P_2\)) & Proved (direct Wronskian computation and Abel's identity) \\ \hline \cref{lem:osc}, \cref{lem:cauchy} & Proved (hypothesis \(\varepsilon=O(\tau^{-3/2})\), supplied by \cref{thm:M}, \cref{lem:matching}; conclusion \(O(\tau^{-5/2})\)) \\ \hline \cref{lem:phase} & Proved \\ \hline \cref{lem:matching} & Proved under \cref{thm:M}, \cref{thm:novok} \\ \hline \cref{sec:proof} (Main theorem) & Proved under \cref{thm:M}, \cref{thm:novok} (Step 1: large \(\tau\); Step 2: finite range by boundedness) \\ \hline \end{tabular}\end{center} \(\blacksquare\) \section*{Declarations} \textbf{Funding.} The author declares that no funds, grants, or other support were received during the preparation of this manuscript. \textbf{Competing interests.} The author has no relevant financial or non-financial interests to disclose. \textbf{Author contributions.} Sole author. \section*{ORCID} Anton Yu. Kalmykov (\href{https://orcid.org/0009-0001-7185-4367}{ORCID: 0009-0001-7185-4367}) \begin{thebibliography}{99} \bibitem{Amsler1955} M.-H.~Amsler, ``Des surfaces \`a courbure n\'egative constante dans l'espace \`a trois dimensions et de leurs singularit\'es'', \emph{Mathematische Annalen}, 1955, vol.~130, pp.~234--256. \url{https://doi.org/10.1007/BF01343351} \bibitem{PopovMaevskii2007} A.~G.~Popov, E.~V.~Maevskii, ``Analytical approaches to the study of the sine-Gordon equation and pseudospherical surfaces'', \emph{Journal of Mathematical Sciences (New York)}, 2007, vol.~142, no.~5, pp.~2377--2418. \url{https://doi.org/10.1007/s10958-007-0183-5} \bibitem{DLMF} NIST Digital Library of Mathematical Functions, \url{https://dlmf.nist.gov/}, release 1.2.7 of 2026-06-15. \bibitem{OKSO2006} Y.~Ohyama, H.~Kawamuko, H.~Sakai, K.~Okamoto, ``Studies on the Painlev\'e equations, V: Third Painlev\'e equations of special type $P_{\rm III}(D_7)$ and $P_{\rm III}(D_8)$'', \emph{Journal of Mathematical Sciences, The University of Tokyo}, 2006, vol.~13, no.~2, pp.~145--204. \bibitem{ItsProkhorov2016} A.~R.~Its, A.~Prokhorov, ``Connection problem for the tau-function of the sine-Gordon reduction of Painlev\'e-III equation via the Riemann--Hilbert approach'', \emph{International Mathematics Research Notices}, 2016, vol.~2016, no.~22, pp.~6856--6883. \url{https://doi.org/10.1093/imrn/rnv375} \bibitem{Novokshenov1984} V.~Yu.~Novokshenov, ``The method of isomonodromic deformations and the asymptotics of the third Painlev\'e transcendent'', \emph{Funktsional'nyi Analiz i ego Prilozheniya}, 1984, vol.~18, no.~3, pp.~90--91 (In Russian). \bibitem{ItsNovokshenov1986} A.~R.~Its, V.~Yu.~Novokshenov, \emph{The Isomonodromic Deformation Method in the Theory of Painlev\'e Transcendents}, Lecture Notes in Mathematics, vol.~1191, Springer-Verlag, Berlin, 1986. \bibitem{FIKN2006} A.~S.~Fokas, A.~R.~Its, A.~A.~Kapaev, V.~Yu.~Novokshenov, \emph{Painlev\'e Transcendents: The Riemann--Hilbert Approach}, Mathematical Surveys and Monographs, vol.~128, American Mathematical Society, Providence, RI, 2006. \bibitem{ILT2015} A.~Its, O.~Lisovyy, Yu.~Tykhyy, ``Connection problem for the sine-Gordon/Painlev\'e III tau function and irregular conformal blocks'', \emph{International Mathematics Research Notices}, 2015, vol.~2015, no.~18, pp.~8903--8924. \url{https://doi.org/10.1093/imrn/rnu209} \bibitem{Novokshenov1985} V.~Yu.~Novokshenov, ``The asymptotic behavior of the general real solution of the third Painlev\'e equation'', \emph{Doklady Akademii Nauk SSSR} (Soviet Mathematics Doklady), 1985, vol.~283, no.~5, pp.~1161--1165. \bibitem{Kitaev1987} A.~V.~Kitaev, ``The method of isomonodromic deformations and the asymptotics of the solutions of the `complete' third Painlev\'e equation'', \emph{Matematicheskii Sbornik}, 1987, vol.~134(176), no.~3, pp.~421--444 (English transl.: \emph{Mathematics of the USSR-Sbornik}, 1989, vol.~62, no.~2, pp.~421--444). \bibitem{WongZhang2009} R.~Wong, H.~Y.~Zhang, ``On the connection formulas of the third Painlev\'e transcendent'', \emph{Discrete and Continuous Dynamical Systems}, 2009, vol.~23, no.~1--2, pp.~541--560. \url{https://doi.org/10.3934/dcds.2009.23.541} \bibitem{Maevsky2004} E.~V.~Maevsky, \emph{Asymptotic methods in some problems of mathematical physics related with sine-Gordon type equations and the geometry of pseudospherical surfaces}, Ph.D.~thesis (Cand.\ Sci.\ Phys.-Math., 01.01.03), Moscow, 2004, 130~pp. (In Russian; VINITI/Russian State Library deposit 61:04-1/1324. The published abstract of the dissertation, 16~pp., is publicly available via the Russian State Library. \url{https://viewer.rsl.ru/ru/rsl01002732572}) \bibitem{Maevsky1998} E.~V.~Maevsky, ``Asymptotics of solutions to a second-order quasi-linear equation'', \emph{Computational Mathematics and Mathematical Physics}, 1998, vol.~38, no.~10, pp.~1583--1590 (Russian original: \emph{Zh.\ Vychisl.\ Mat.\ Mat.\ Fiz.}, 1998, vol.~38, no.~10, pp.~1654--1660) \url{http://mi.mathnet.ru/zvmmf1796}. \end{thebibliography} \newpage \appendix \renewcommand{\thesection}{\Alph{section}} \renewcommand{\thesubsection}{\thesection.\arabic{subsection}} \section{Comparison between adiabatic and Maevsky asymptotic solutions}\label{app:compare} \Cref{fig:compare} compares the numerical solution of the Amsler equation with the adiabatic ansatz and with the Maevsky approximant. \begin{figure}[h] \centering \includegraphics[width=0.72\textwidth]{amsler_compare_s.png} \caption{Comparison of the numerical solution of the Amsler equation with the adiabatic ansatz \(y_{\rm ad}\) and the Maevsky approximant \(M\) for \(s=0.5,\,0.1,\,0.01,\,10^{-3},\,10^{-6}\) (rows). Left: solutions; right: absolute errors. The shaded region \(x= x_sep, where x_sep = (pi*nu/2)^2 (tau >= pi*nu). The region x < x_sep is shaded. Performance: the elliptic-integral root m0(tau) is found by a fully vectorized bisection (60 iterations on the whole array), so the script runs in seconds even on a 4000-point uniform tau grid. Plotting: the numerical solution is thin and behind (zorder=1); the dashed adiabatic curve and the dotted Maevsky curve are on top (zorder=2,3). Legend: left panels -- lower right; right panels -- upper right. X-axis: linear (USE_LOG_X = True switches to log). Run: python amsler_compare.py -> saves amsler_compare_s.png Requires: numpy, scipy, matplotlib. """ import numpy as np from scipy.integrate import solve_ivp from scipy.special import gamma, ellipk, ellipe, ellipj import matplotlib.pyplot as plt TOL = 2e-3 # threshold defining x_ad* and x_M* S_VALUES = [0.5, 0.1, 0.01, 0.001, 1e-6] X_MAXS = [700, 1000, 1500, 2000, 3000] USE_LOG_X = False # x-axis scale: linear (original behavior) N_PTS = 4000 # uniform grid size in tau (~90 pts per period even at # the largest tau_max of the table) def monodromy_exponent(s): """nu(s) = (1/pi) ln csc(pi*s/2) > 0.""" return -np.log(np.sin(np.pi * s / 2)) / np.pi def ell_of_m(m): """ell(m) = E(m) - (1-m) K(m), m in [0,1] (parameter m = k^2). INCREASING bijection [0,1] -> [0,1]: ell(0)=0, ell(1)=1, ell'=K/2>0.""" return ellipe(m) - (1 - m) * ellipk(m) def f_of_m(m): """f(m) = E(1-m) - m K(1-m) = ell(1-m).""" return ellipe(1 - m) - m * ellipk(1 - m) def phase_constant(nu): """C2 = 5*pi/4 + arg Gamma(1+i*nu) - 3*nu*ln 2 (branch vanishing at nu=0).""" return 5 * np.pi / 4 + float(np.imag(np.log(gamma(1 + 1j * nu)))) \ - 3 * nu * np.log(2) def solve_m0_vec(tau, nu): """Vectorized: unique root m0 in (0,1) of ell(m0) = pi*nu/tau for all tau where the root exists (pi*nu/tau in (0,1), i.e. tau > pi*nu); NaN otherwise. Bisection on the whole array at once: ell is increasing, ell(0)=0, ell(1)=1. 60 iterations -> ~1e-15 precision.""" tau = np.atleast_1d(np.asarray(tau, dtype=float)) target = np.pi * nu / tau ok = (target > 0) & (target < 1) m0 = np.full(tau.shape, np.nan) if np.any(ok): lo = np.full(tau.shape, 1e-15) hi = np.full(tau.shape, 1 - 1e-13) for _ in range(60): mid = 0.5 * (lo + hi) ell = ell_of_m(mid) lo = np.where(ok & (ell < target), mid, lo) # ell too small -> right hi = np.where(ok & (ell >= target), mid, hi) m0[ok] = 0.5 * (lo + hi)[ok] return m0 def adiabatic(x, s): """Adiabatic ansatz y_ad(x; s). NaN where no root m0 exists.""" nu = monodromy_exponent(s) tau = 2 * np.sqrt(x) m0 = solve_m0_vec(tau, nu) Theta0 = phase_constant(nu) + nu * (1 + np.log(8 / nu)) Phi = tau * f_of_m(m0) + Theta0 - 1 / (8 * tau) # guard against NaN in ellipj sn = np.zeros_like(tau) ok = np.isfinite(m0) if np.any(ok): u = 2 * ellipk(m0[ok]) * Phi[ok] / np.pi sn[ok] = ellipj(u, m0[ok])[0] y = np.pi + 2 * np.arcsin(np.clip(np.sqrt(np.where(ok, m0, 0.0)) * sn, -1.0, 1.0)) y[~ok] = np.nan return y def maevsky(x, s): """Maevsky approximant M(x; s). Asymptotics as x -> +infinity: meaningful only for x >= x_sep (after the first libration).""" nu = monodromy_exponent(s) C1 = np.sqrt(8 * nu) theta = 2 * np.sqrt(x) - C1**2 / 16 * np.log(x) + phase_constant(nu) F1 = C1 * np.sin(theta) F3 = (C1**3 / 32) * np.sin(theta) + (C1**3 / 192) * np.sin(3 * theta) \ + (3 * C1**5 / 512 - C1 / 16) * np.cos(theta) return np.pi + x**(-0.25) * F1 + x**(-0.75) * F3 def numerical(s, x_max, n=N_PTS): """Regular solution via the tau-variable form w'' + w'/tau + sin w = 0, w(0) = pi(s-1), w'(0) = 0; returns (x, y). Grid: UNIFORM in tau (not geomspace) so that the number of points per oscillation period (period ~ 2*pi in tau) is constant over the range: 2*pi*n/tau_max points per period, >= ~90 even for the largest tau_max.""" a = np.pi * (s - 1) def rhs(t, u): w, wp = u return [wp, -wp / t - np.sin(w)] # start slightly off the singular point using the local expansion t0 = 1e-6 w0 = a + t0**2 / 4 * np.sin(np.pi * s) wp0 = t0 / 2 * np.sin(np.pi * s) tau_max = 2 * np.sqrt(x_max) ts = np.linspace(t0, tau_max, n) sol = solve_ivp(rhs, (t0, tau_max), [w0, wp0], t_eval=ts, method="DOP853", rtol=1e-11, atol=1e-13) tau = sol.t x = (tau / 2)**2 y = np.pi + sol.y[0] mask = x > 1e-4 return x[mask], y[mask] def threshold(x, err): """Smallest x0 within the validity domain such that err < TOL for all x >= x0 (NaNs ignored).""" below = (err < TOL) | np.isnan(err) for i in range(len(x) - 1, -1, -1): if not below[i]: return x[i + 1] if i + 1 < len(x) else x[-1] return x[0] def main(): fig, axes = plt.subplots(len(S_VALUES), 2, figsize=(13, 3.1 * len(S_VALUES))) for row, (s, xmax) in enumerate(zip(S_VALUES, X_MAXS)): x, y = numerical(s, xmax) nu = monodromy_exponent(s) x_sep = (np.pi * nu / 2) ** 2 # ---- validity domain: both approximants only for x >= x_sep ---- valid = x >= x_sep y_ad = adiabatic(x, s) y_M = maevsky(x, s) y_ad = np.where(valid, y_ad, np.nan) y_M = np.where(valid, y_M, np.nan) err_ad = np.abs(y - y_ad) # NaN outside validity domain err_M = np.abs(y - y_M) x_ads, x_Ms = threshold(x, err_ad), threshold(x, err_M) # ---------- left panel: solutions ---------- ax = axes[row, 0] # numerical solution: thin, BEHIND (zorder=1) ax.plot(x, y, color="0.35", lw=0.8, zorder=1, label="numerical solution") # Maevsky: dotted blue, ON TOP (zorder=3) ax.plot(x, y_M, color="tab:blue", lw=1.4, ls=":", zorder=3, label="Maevsky $F_1+F_3$") # adiabatic: dashed red, ON TOP (zorder=2) ax.plot(x, y_ad, color="tab:red", lw=1.4, ls="--", zorder=2, label="adiabatic ansatz $y_{\\rm ad}$") ax.axhline(np.pi, color="gray", lw=0.5) ax.axvspan(x[0], x_sep, color="gray", alpha=0.15, zorder=0, label="asymptotics not applicable ($x