In this subsection $\lambda\in(-1,1)$; for $p>2$ the statements below hold with $p'$ in place of $p$, by duality (Section~\ref{sec:intro}). We write $\zeta=e^{y+it}$ and $w=(\zeta+\lambda)/(\zeta+1)$, and use $G$, $\Gamma_C$ and $m_C$ as in Section~\ref{subsec:obstacle}, with $C=\GK_p(\lambda)>1$. \begin{theorem}{Strict inequality at second order}{L} Let $1
1 , \end{equation} then $\|\Pp + \lambda \Pm\|_p > \GK_p(\lambda)$. When $T(p) > 0$, condition \eqref{eq:localfail} is equivalent to $\lambda > \lambda_{\mathrm{loc}}(p)$, with $T$ and $\lambda_{\mathrm{loc}}$ as in Section~\ref{sec:intro}. \end{theorem} \begin{proof} Since $\lambda$ is real, $\Gamma_C(y, -t) = \Gamma_C(y, t)$, so $m_C$ is even and $m_C(-\theta_0 + s) + m_C(\theta_0 + s) = m_C(\theta_0 - s) + m_C(\theta_0 + s)$; the two angles are $2\pi/p$ apart. By the arch test \eqref{eq:arch} it suffices to find a small $s \ne 0$ with $m_C(\theta_0 - s) + m_C(\theta_0 + s) < 0$. On the ray $t = \theta_0$, $G \ge 0$ if and only if $|w| \le C$, and $C = \GK$ is the maximum of $|w|$ on this ray (Lemma~\ref{lem:E}). With $\ell = \log w$ as a holomorphic function of $u = y + it$, $\ell' = (1 - \lambda)\zeta/((\zeta + \lambda)(\zeta + 1))$, and $\partial_y \log |w| = \operatorname{Re} \ell' = 0$ if and only if $\operatorname{Re}[(\zeta + \lambda)(\zeta + 1)/\zeta] = 1 + \lambda - c_0 (r + \lambda/r) = 0$, where $\zeta = r e^{i\theta_0}$. So the contact point is $\zeta_* = r e^{i\theta_0}$ with $r + \lambda/r = \sigma := (1+\lambda)/c_0$, $r > 1$ the larger root (by the uniqueness in Lemma~\ref{lem:E}, $r = r_*$). The sign of $\partial_y\log|w|$ is the sign of $1+\lambda-c_0(r+\lambda/r)$: it is negative, positive, negative across the two positive roots. Thus the smaller root is a minimum and the larger a maximum. Since $1+\lambda-\sigma<0$, the quadratic $r^2-\sigma r+\lambda$ is negative at $r=1$, placing $1$ between the roots. At the contact point, $\Gamma_C = \partial_y\Gamma_C = 0$ at $(y_*, \theta_0)$, $y_* = \log r$. We show below that $\partial_y^2\Gamma_C(y_*, \theta_0) > 0$. By the implicit function theorem there is a smooth branch $y_*(t)$ of $\partial_y\Gamma_C = 0$ near $\theta_0$, and $m_C(t) \le \mu_*(t) := \Gamma_C(y_*(t), t)$ with $\mu_*(\theta_0) = 0$ and $\mu_*'' = \partial_t^2\Gamma_C - (\partial_t\partial_y\Gamma_C)^2/\partial_y^2\Gamma_C$. The odd terms cancel, so $m_C(\theta_0 - s) + m_C(\theta_0 + s) \le \mu_*''(\theta_0) s^2 + O(s^4)$. It therefore suffices to prove that \eqref{eq:localfail} implies $\mu_*''(\theta_0) < 0$. To compute $\mu_*''(\theta_0)$, write $G = \mathcal{P} (e^{pL} - 1)$ with $\mathcal{P} = e^{p\chi}$, $\chi = \log|\zeta + \lambda|$, $L = \log C - \log |w|$. Both $\chi$ and $L$ are harmonic in $(y, t)$, so $L_{tt} = -L_{yy}$. At the contact, $L = L_y = 0$, hence $G_t = p\mathcal{P} L_t$, $G_{yy} = p\mathcal{P} L_{yy}$, $G_{ty} = p\mathcal{P} (L_{ty} + p \chi_y L_t)$, $G_{tt} = p\mathcal{P} (L_{tt} + p L_t^2 + 2p \chi_t L_t)$. Since also $G = G_y = 0$ there, $e^{qy}\partial_t^2\Gamma_C = G_{tt}$, $e^{qy}\partial_y^2\Gamma_C = G_{yy}$ and $e^{qy}\partial_t\partial_y\Gamma_C = G_{ty} - q G_t$. Therefore \begin{equation} \frac{e^{qy_*}\, \mu_*''(\theta_0)}{p\mathcal{P}} = \frac{L_{yy}\,(2p \chi_t L_t + p L_t^2) - L_{yy}^2 - \big(L_{ty} + L_t (p\chi_y - q)\big)^2}{L_{yy}} . \label{eq:schur} \end{equation} At $\zeta_*$ put $v = r - \lambda/r > 0$. There $(\zeta + \lambda)(\zeta + 1)/\zeta = i s_0 v$, so $\ell' = -i (1-\lambda)/(s_0 v)$ and $\ell'' = (1 - \lambda)(\zeta - \lambda/\zeta)/(s_0 v)^2$ with $\zeta_* - \lambda/\zeta_* = -c_0 v + i s_0 \sigma$. Since $L = \log C - \operatorname{Re}\ell$, \begin{equation}\label{eq:contactvalues} L_t = -\frac{1 - \lambda}{s_0 v}, \quad L_{yy} = \frac{(1-\lambda) c_0}{s_0^2 v} > 0, \quad L_{ty} = \frac{(1 - \lambda)\sigma}{s_0 v^2}, \quad \chi_y = \frac{1 - (\lambda/r) c_0}{D_1}, \quad \chi_t = -\frac{(\lambda/r) s_0}{D_1}, \end{equation} with $D_1 = 1 - 2(\lambda/r)c_0 + (\lambda/r)^2$. In particular $\partial_y^2\Gamma_C = e^{-qy} p\mathcal{P} L_{yy} > 0$, as used above. With $v=r-\lambda/r$ as above, the contact identities give \[ c_0=\frac{(1+\lambda)r}{r^2+\lambda},\qquad s_0^2=\frac{(r^2-1)(r^2-\lambda^2)}{(r^2+\lambda)^2},\qquad D_1=\frac{(r^2-\lambda)(r^2-\lambda^2)}{r^2(r^2+\lambda)}. \] Substituting \eqref{eq:contactvalues} into \eqref{eq:schur} first yields \[ \begin{aligned} \frac{e^{qy_*}\mu_*''(\theta_0)}{p\mathcal{P}} ={}&\frac{2p\lambda(1-\lambda)}{rvD_1} +\frac{p(1-\lambda)^2}{s_0^2v^2} -\frac{(1-\lambda)c_0}{s_0^2v}\\ &-\frac{1-\lambda}{c_0v} \left(\frac{\sigma}{v}-p\chi_y+\frac p2\right)^2. \end{aligned} \] Write $X=r^2$ and $\delta=1-\lambda$. The contact identities give \[ \chi_y=\frac{X}{X-\lambda},\qquad \frac{\sigma}{v}-p\chi_y+\frac p2=\left(1-\frac p2\right)\frac{\sigma}{v},\qquad \frac{s_0^2v}{rD_1}=\frac{X-1}{X+\lambda}. \] Hence \[ 2\lambda\frac{s_0^2v}{rD_1}+\delta=\frac{(1+\lambda)(X-\lambda)}{X+\lambda}=c_0v,\qquad c_0^2v^2=(1+\lambda)^2-4\lambda c_0^2. \] The first identity combines the two positive terms above into $p\delta c_0/(s_0^2v)$. Put $B_0=\delta(1+\lambda)^2/(c_0^3s_0^2v^3)>0$. Dividing by $B_0$ then gives \[ \frac{e^{qy_*}\mu_*''(\theta_0)}{p\mathcal{P} B_0}=(p-1)\frac{c_0^4v^2}{(1+\lambda)^2}-s_0^2\left(1-\frac p2\right)^2. \] The second identity and $c_0^2+s_0^2=1$ now yield \begin{equation}\label{eq:signid} \frac{e^{qy_*}\mu_*''(\theta_0)}{p\mathcal{P}} =B_0\left[(p-1)\left(1-\frac{4\lambda c_0^4}{(1+\lambda)^2}\right) -\frac{p^2s_0^2}{4}\right]. \end{equation} Thus $\mu_*''(\theta_0)<0$ if and only if $(pp'/4)s_0^2+4\lambda c_0^4/(1+\lambda)^2>1$, which is \eqref{eq:localfail}. By Lemma~\ref{lem:Pc}(b), this inequality holds exactly when $\lambda>\lambda_{\mathrm{loc}}(p)$. \end{proof} \begin{corollary}{Nondegenerate contact for $\lambda \le 0$}{L0} Let $1
0$. \end{corollary} \begin{proof} For $\lambda \le 0$ the map $r \mapsto r + \lambda/r$ increases on $(0, \infty)$, so the contact is unique and $r > 1 > |\lambda|$. All factors in \eqref{eq:signid} are nonzero, and \eqref{eq:signid} holds for every $\lambda\in(-1,1)$ (the same computation). Now $4\lambda c_0^4/(1 + \lambda)^2 \le 0$, and $(pp'/4)\sin^2(\pi/p) < 1$: with $u = 1/2 - 1/p \in (-1/2, 1/2) \setminus \{0\}$ this reads $\sin^2(\pi u) > 4u^2$, which is Jordan's inequality. So the left side of \eqref{eq:localfail} is $<1$, and the bracket in \eqref{eq:signid} equals $(p-1)[1-(pp'/4)s_0^2-4\lambda c_0^4/(1+\lambda)^2]>0$. Since $B_0>0$, this gives $\mu_*''(\theta_0)>0$. \end{proof} \noindent So for $\lambda\le0$ the second-order mechanism of Theorem~\ref{thm:L} gives no obstruction, in agreement with Theorem~\ref{thm:C1}. The inequality $(pp'/4)\sin^2(\pi/p)<1$ proved above is used again in the proof of Lemma~\ref{lem:Pc}(b). \begin{lemma}{The local-threshold exponent}{Pc} (a) Some $\lambda \in (0, 1)$ satisfies \eqref{eq:localfail} if and only if $\mathcal{F}(p) := pp' - 4(1 + \cos^2(\pi/p)) > 0$, that is, if and only if $p < p_c$ or $p > p_c'$, where $p_c \in [1.213490304, 1.213490305]$ is the only zero of $\mathcal{F}$ in $(1, 2)$. \par(b) For $0<\lambda<1$ the left side of \eqref{eq:localfail} is less than $1$, equal to $1$ or greater than $1$ according as $\lambda<\lambda_{\mathrm{loc}}(p)$, $\lambda=\lambda_{\mathrm{loc}}(p)$ or $\lambda>\lambda_{\mathrm{loc}}(p)$. Moreover $0<\lambda_{\mathrm{loc}}(p)\le1$. \end{lemma} \begin{proof} (a) The left side of \eqref{eq:localfail} increases in $\lambda$, with supremum $(pp'/4)s_0^2 + c_0^4$ at $\lambda \to 1$; this exceeds $1$ if and only if $pp' s_0^2 > 4(1 - c_0^4) = 4 s_0^2 (1 + c_0^2)$, i.e.\ $\mathcal{F} > 0$. Here $T(p)=s_0^2\mathcal F(p)/(4c_0^4)$, so the two functions have the same sign. For the zero set, write $\mathcal{F} = (p - 2)^2/(p-1) - 4\sin^2(\pi(p-2)/(2p))$. On $(1, 1 + 10^{-6}]$, $\mathcal{F} \ge 1/(p-1) - 8 > 0$, since $(p-2)^2/(p-1)=1/(p-1)+p-3$. On $[3/2, 2)$, with $\eta = 2 - p$ and $x = \pi\eta/(2p) \le \pi/6$, $\mathcal{F}/\eta^2 \le 1/(p-1) - (\pi/p)^2(1 - x^2/6)^2 \le 2 - (\pi^2/4)(1 - \pi^2/216)^2 < -0.24$. On $[1 + 10^{-6}, 3/2]$ we use interval arithmetic: $\mathcal{F} > 0$ on $[1 + 10^{-6}, 1.2134]$, $\mathcal{F} < 0$ on $[1.2136, 3/2]$, and on $[1.2134, 1.2136]$, $\mathcal{F}' < 0$ and $\mathcal{F}$ changes sign within the stated bracket. (b) Put $x=(1-\lambda)/(1+\lambda)$, so that $4\lambda/(1+\lambda)^2=1-x^2$, and $x$ decreases from $1$ to $0$ as $\lambda$ increases from $0$ to $1$. Since $c_0^4+s_0^2(1+c_0^2)=1$, the left side of \eqref{eq:localfail} minus $1$ equals $c_0^4\,(T(p)-x^2)$. If $T(p)\le0$, this is negative for every $\lambda\in(0,1)$, and $\lambda_{\mathrm{loc}}(p)=1$. If $T(p)>0$, its sign is that of $\sqrt{T(p)}-x$, which is negative, zero or positive according as $\lambda<\lambda_{\mathrm{loc}}(p)$, $\lambda=\lambda_{\mathrm{loc}}(p)$ or $\lambda>\lambda_{\mathrm{loc}}(p)$. Finally, at $x=1$ the identity gives $c_0^4(T(p)-1)=(pp'/4)s_0^2-1<0$, by the proof of Corollary~\ref{cor:L0}; so $T(p)<1$ and $\lambda_{\mathrm{loc}}(p)>0$. \end{proof} Let $h(\lambda, p) := m_{\GK}(0) - K$. The positive-axis test is the condition $h(\lambda,p)\ge0$, and the proof of Proposition~\ref{prop:F} estimates $h$. We have $h(0, p) > 0$: by Theorem~\ref{thm:C1}, equality in $(*)$ at $\lambda = 0$ holds only at $z = e^{\pm i\theta_0}/r_*$, and $r^{-q}G(r)\to+\infty$ as $r\to0$ and as $r\to\infty$ (Section~\ref{subsec:obstacle}). By Proposition~\ref{prop:Q}, $h(\lambda, p) < 0$ implies $\|\Pp + \lambda\Pm\|_p > \GK_p(\lambda)$. For fixed $1
\max(1,|\lambda|)$, so the infimum defining $m_{\GK}(0)$ can locally be restricted to a common compact interval in $y$. Joint continuity of $\Gamma_C(y,0)$ then implies that $\lambda\mapsto m_{\GK}(0)$, and hence $\lambda\mapsto h(\lambda,p)$, is continuous. For $1
0$, and $h(\lambda,p)<0$ for $\lambda$ close to $1$ (proof of Proposition~\ref{prop:F}, since $\Omega(p)<0$).
\begin{proposition}{Strict inequality at the local threshold}{edge}
For every $1 < p < p_c$, $h(\lambda_{\mathrm{loc}}(p), p) < 0$. Consequently $h(\cdot,p)$ has a smallest zero in $(0,\lambda_{\mathrm{loc}}(p))$ (by continuity, $h(0,p)>0$ and Lemma~\ref{lem:Pc}(b)), and
$\|\Pp + \lambda\Pm\|_p > \GK_p(\lambda)$ also at $\lambda = \lambda_{\mathrm{loc}}(p)$.
\end{proposition}
\begin{proof}
Put $\delta = 1 - \lambda$. On the positive axis, $\rho = \lambda + \vartheta(1 - \lambda)$ with $\vartheta \in (0, 1)$ gives
\begin{equation}\label{eq:edgeaxis} m_{\GK}(0) \ \le\ \frac{C^p - \rho^p}{(\vartheta(1 - \vartheta))^q} \qquad \text{for every } \vartheta \in (0, 1) , \end{equation}
since the factor $(1-\lambda)^p$ cancels. We bound the right side of \eqref{eq:edgeaxis} minus $K$, with $K$ in the closed form \eqref{eq:K}, from above at $\lambda = \lambda_{\mathrm{loc}}(p)$,
in three ranges of $p$.
(a) For $p \in [1 + 10^{-6}, 1.2134]$ we use interval arithmetic on cells in $p$, with a value of $\vartheta$ chosen in each cell. The quantities are written in
closed forms in $a = \pi/p'$ that avoid cancellation, for example $d=\sqrt{T(p)}$, written as $d^2 = \sin^2 a\,(pp'/4 - 1 - \cos^2 a)/\cos^4 a$, and
$\lambda_{\mathrm{loc}} = (1 - d)/(1 + d)$. Every cell gives an upper bound $<0$; the domains and precision are in Appendix~\ref{app:certificates}, and the programs in~\cite{Support}.
(b) For $p\in(1,1+10^{-6}]$, Lemma~\ref{lem:endpoint} gives
$h(\lambda_{\mathrm{loc}}(p),p)<-1.88<0$.
(c) Let $p \in [1.2134, p_c)$. As $p \uparrow p_c$, we have $\lambda_{\mathrm{loc}}(p) \to 1$ and $h \to 0$, so we rescale. With $\rho = 1 - s\delta$ ($s \in (0,1)$ fixed),
\eqref{eq:edgeaxis} gives $h \le \delta\, g(\delta, p, s)$, where
\[ g = \frac{Z_1 + s\, \psi_p(s\delta)}{(s(1-s))^q} - \frac{K}{\delta}, \qquad Z_1 = \frac{C^p - 1}{C - 1}\cdot\frac{C - 1}{\delta}, \qquad
\psi_p(x) = \frac{1 - (1-x)^p}{x} . \]
Here $(C-1)/\delta=(C-s_0)/(s_0(C+1))$, by $s_0(C^2-1)=\delta(C-s_0)$; the right side is regular at $\delta=0$. Both removable quotients, $(C^p-1)/(C-1)$ and $\psi_p(s\delta)$, equal $p\,\xi^{p-1}$ for some $\xi$ between their endpoints
(mean value theorem), so $\delta = 0$ may lie inside a cell. The quotient $K/\delta$ is regular at $\delta = 0$. Interval arithmetic gives $g < 0$ for
$(p, \delta) \in [1.2134, 1.2134904] \times [0, 0.03]$ with $s = 1371/5000$ (at $\delta = 0$, $g=p(A+s)/(s(1-s))^q-2^qs_0^{p-2}c_0^{1-q}$,
whose minimum over $s$ is $\Omega(p)$). Interval arithmetic also gives $T(p)\le0.015^2$ on $[1.2134,1.2134904]$ (Appendix~\ref{app:certificates}); so for $1.2134\le p