\subsection{Inverse branches and phase comparison} \label{sec:comparison} The statistical argument uses two descriptions of an era sequence. Its digits count the actual cores. Its phase is measured at the actual entrance. The digits determine an exact continued fraction, while the phase satisfies a perturbed inverse recurrence. The following estimates compare these objects with constants independent of the digits. Write $\mathcal D=\N_{\geq1}^{\N_0}$ for the space of positive digit sequences, with its product Borel structure, and let $\theta$ be the left shift. For a finite word $\mathbf b=(b_0,\ldots,b_{r-1})$ put $G_{\mathbf b}=g_{b_0}\circ\cdots\circ g_{b_{r-1}}$, with $G_\varnothing$ the identity. \begin{lemma}[Contraction of inverse branches] \label{lem:contraction} For $a,b\geq1$ and $x,y\geq0$, \begin{align} |g_a(x)-g_a(y)|&\leq|x-y|,\notag\\ |g_a(g_b(x))-g_a(g_b(y))|&\leq\tfrac14|x-y|. \label{eq:pair-contraction} \end{align} Consequently, for a positive word of length $r$, \begin{equation} |G_{\mathbf b}(x)-G_{\mathbf b}(y)| \leq4^{-\lfloor r/2\rfloor}|x-y|. \label{eq:word-contraction} \end{equation} \end{lemma} \begin{proof} The difference for a single branch is \[ g_a(x)-g_a(y)=\frac{y-x}{(a+x)(a+y)}. \] For two branches, \[ g_a(g_b(x))=\frac{b+x}{a(b+x)+1}, \] and their difference at $x,y$ is \[ \frac{x-y}{(a(b+x)+1)(a(b+y)+1)}. \] The first denominator is at least $1$, and each factor in the last denominator is at least $2$. This proves~\eqref{eq:pair-contraction}. Pairing successive branches proves~\eqref{eq:word-contraction}, with one unpaired nonexpanding branch when $r$ is odd. \end{proof} \begin{proposition}[The code of a positive digit sequence] \label{prop:code} For $\mathbf a=(a_0,a_1,\ldots)\in\mathcal D$ the limit \begin{equation} c(\mathbf a)=\lim_{r\to\infty}G_{(a_0,\ldots,a_{r-1})}(0) \label{eq:code} \end{equation} exists, lies in $(0,1)\setminus\mathbb Q$, and is Borel as a function of $\mathbf a$. It satisfies \begin{equation} c(\theta^m\mathbf a)=g_{a_m}(c(\theta^{m+1}\mathbf a)),\qquad T^m c(\mathbf a)=c(\theta^m\mathbf a), \label{eq:code-recurrence} \end{equation} where $T(x)=\{1/x\}$. If two sequences agree in their first $r$ digits, their codes differ by at most $4^{-\lfloor r/2\rfloor}$. \end{proposition} \begin{proof} Each branch maps $[0,1]$ into $[0,1]$. If $s\geq r$, the approximant of length $s$ is obtained by applying $G_{(a_0,\ldots,a_{r-1})}$ to a point of $[0,1]$. Its distance from the approximant of length $r$ is at most $4^{-\lfloor r/2\rfloor}$ by Lemma~\ref{lem:contraction}. The approximants are therefore Cauchy and their limit belongs to $[0,1]$. Passing to the limit through the first branch gives $c(\mathbf a)=g_{a_0}(c(\theta\mathbf a))$. This first shows that every code is positive. Applying this positivity to the shifted sequence shows that every code is strictly smaller than one. Hence \[ 1/c(\mathbf a)=a_0+c(\theta\mathbf a), \] so its integer part is $a_0$ and its fractional part is $c(\theta\mathbf a)$. Iteration gives~\eqref{eq:code-recurrence}. If $c(\mathbf a)$ were rational, each of its iterates under $T$ would be rational and strictly between zero and one. For a reduced rational $p/q\in(0,1)$, the reduced denominator of $T(p/q)=\{q/p\}$ is at most $p