OctoInform Beta

OpenAI preprint, September 2026 · §8. Candidate anchors and suffix decoding · §8

Lemma 8.3: When decoding recovers the actual slot and endpoint and how the bound on interfering pairs helps guarantee a successful copy of each kind

Soundness and copy availability in suffix decoding.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Take a bi-infinite word ff over an alphabet Σ\Sigma containing an episode from position ss up to cut bb, together with a family of slots partitioned into kinds with μ\mu copies each. Each slot has an integer offset. When a suffix begins at a cut kk shifted from ss by the offset of an unknown actual slot, the problem is to determine when the suffix decoding test identifies both that slot and the episode endpoint bb, and when every slot kind has a copy on which the test succeeds.

Local marker rules

For integer cuts ll and uu, two bi-infinite words f,g:ℤ→Σf, g : \mathbb{Z} \to \Sigma agree on [l,u)[l, u) when f(x)=g(x)f(x) = g(x) for every integer xx with l≤x<ul \le x < u.✦

A natural number aa is a period of a word vv of length KK over Σ\Sigma when v(i)=v(j)v(i) = v(j) for all integers 0≤i,j<K0 \le i, j < K with j=i+aj = i + a.✦

A local marker rule RR over Σ\Sigma with separation d∈ℕd \in \mathbb{N} and block length K∈ℕK \in \mathbb{N} specifies an integer radius r≥Kr \ge K and a marker assignment MRM_R sending each bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma to a set MR(f)⊆ℤM_R(f) \subseteq \mathbb{Z} that satisfies four conditions: any two distinct positions x,y∈MR(f)x, y \in M_R(f) satisfy |x−y|≥d|x - y| \ge d; whenever ff and gg agree on [x−r,x+r)[x - r, x + r), x∈MR(f)x \in M_R(f) holds if and only if x∈MR(g)x \in M_R(g); for all δ,x∈ℤ\delta, x \in \mathbb{Z}, x∈MR(i↦f(i+δ))x \in M_R(i \mapsto f(i + \delta)) holds if and only if x+δ∈MR(f)x + \delta \in M_R(f); and whenever the inclusive interval [z−d,z+d][z - d, z + d] contains no position of MR(f)M_R(f), the length-KK block i↦f(z+i)i \mapsto f(z + i) has a period aa with 0<a<d0 < a < d.✦

Episode endpoints

For a period bound d∈ℕd \in \mathbb{N} and a seed length K∈ℕK \in \mathbb{N}, a bi-infinite word v:ℤ→Σv : \mathbb{Z} \to \Sigma is a short-period continuation of the seed of length KK at z∈ℤz \in \mathbb{Z} in ff when vv agrees with ff on [z,z+K)[z, z + K) and satisfies v(x+a)=v(x)v(x + a) = v(x) for all x∈ℤx \in \mathbb{Z} for some natural number aa with 0<a<d0 < a < d.✦ An integer q0q_0 is the first mismatch after the seed of length KK at zz for bi-infinite words f,v:ℤ→Σf, v : \mathbb{Z} \to \Sigma when z+K≤q0z + K \le q_0, ff and vv agree on [z,q0)[z, q_0), and f(q0)≠v(q0)f(q_0) \ne v(q_0).✦

Because a missing marker passes control to a first mismatch against a periodic continuation, the episode endpoint can occur arbitrarily late beyond the seed. Given separation dd, seed length KK, tail length Ltail∈ℤL_{\mathrm{tail}} \in \mathbb{Z}, word ff, seed start zz, optional position η∈ℤ∪{⊥}\eta \in \mathbb{Z} \cup \{\bot\}, and cut b∈ℤb \in \mathbb{Z}, the episode endpoint condition EndAt(d,K,Ltail,f,z,η,b)\mathrm{EndAt}(d, K, L_{\mathrm{tail}}, f, z, \eta, b) holds when: if η=q0∈ℤ\eta = q_0 \in \mathbb{Z} is present, then b=q0+Ltailb = q_0 + L_{\mathrm{tail}}; and if η=⊥\eta = \bot is absent, then there exists a short-period continuation vv of the seed of length KK at zz in ff whose first mismatch after the seed with ff is b−Ltailb - L_{\mathrm{tail}}.✦

End searches

With a modulus B∈ℤB \in \mathbb{Z}, a step S∈ℤS \in \mathbb{Z}, and a base radius α∈ℤ\alpha \in \mathbb{Z}, the offset-dependent eligibility radius at displacement x∈ℤx \in \mathbb{Z} is α+(xmod⁡B)S\alpha + (x \bmod B)S, where xmod⁡Bx \bmod B is the remainder of xx on division by BB.✦ Given a marker set M⊆ℤM \subseteq \mathbb{Z} and a center z∈ℤz \in \mathbb{Z}, a position m∈ℤm \in \mathbb{Z} is eligible at zz when m∈Mm \in M and |m−z|≤α+((m−z)mod⁡B)S|m - z| \le \alpha + ((m - z) \bmod B)S.✦

The eligible marker set F(M,B,S,α,z)F(M, B, S, \alpha, z) is the finite set of all positions mm in the inclusive interval [z−(α+(B−1)S),z+(α+(B−1)S)][z - (\alpha + (B - 1)S),\, z + (\alpha + (B - 1)S)] that are eligible at zz.✦ The leftmost eligible marker search search(M,B,S,α,z)\mathrm{search}(M, B, S, \alpha, z) returns min⁡F(M,B,S,α,z)\min F(M, B, S, \alpha, z) when F(M,B,S,α,z)F(M, B, S, \alpha, z) is nonempty, and ⊥\bot otherwise.✦

The leftmost eligible marker search on MM with parameters (B,S,α)(B, S, \alpha) is unstable at zz under shift bound w∈ℤw \in \mathbb{Z} when some integer hh divisible by BB satisfies |h|≤w|h| \le w and search(M,B,S,α,z+h)≠search(M,B,S,α,z)\mathrm{search}(M, B, S, \alpha, z + h) \ne \mathrm{search}(M, B, S, \alpha, z).✦

Canonical episode parameters

A system of canonical episode parameters EE over Σ\Sigma specifies an integer modulus B>0B > 0, an integer step S≥0S \ge 0, a marker separation d≥2d \ge 2, a seed length K>3d2K > 3d^2, an integer seed offset oo, an integer tail length Ltail>0L_{\mathrm{tail}} > 0, and a local marker rule RER_E over Σ\Sigma with separation dd, block length KK, and radius rEr_E.✦ The uniform marker search radius of EE is W=3d+(B−1)SW = 3d + (B - 1)S.✦

For a word f:ℤ→Σf : \mathbb{Z} \to \Sigma and center z∈ℤz \in \mathbb{Z}, the canonical marker search of EE is ηE(f,z)=search(MRE(f),B,S,d,z)\eta_E(f, z) = \mathrm{search}(M_{R_E}(f), B, S, d, z)✦, and the large-radius marker search of EE is ζE(f,z)=search(MRE(f),B,S,3d,z)\zeta_E(f, z) = \mathrm{search}(M_{R_E}(f), B, S, 3d, z).✦

For canonical episode parameters EE and cuts s,b∈ℤs, b \in \mathbb{Z}, the seed and search window at z∈ℤz \in \mathbb{Z} are visible in [s,b)[s, b) when s≤z−W−rEs \le z - W - r_E, z+W+rE≤bz + W + r_E \le b, s≤zs \le z, and z+K≤bz + K \le b.✦

Inner marker searches

With a marker set M⊆ℤM \subseteq \mathbb{Z} and endpoints l,u∈ℤl, u \in \mathbb{Z}, the first marker in the inclusive window [l,u][l, u] is first(M,l,u)=min⁡(M∩[l,u])\mathrm{first}(M, l, u) = \min(M \cap [l, u]) when M∩[l,u]M \cap [l, u] is nonempty, and ⊥\bot otherwise.✦

An inner search failure records instability of a bounded first-marker lookup under small shifts or right-end extensions of the window. For a marker set M⊆ℤM \subseteq \mathbb{Z}, a window start z∈ℤz \in \mathbb{Z}, a horizon Hin∈ℤH_{\mathrm{in}} \in \mathbb{Z}, a shift bound w0∈ℤw_0 \in \mathbb{Z}, and an extension Δ∈ℤ\Delta \in \mathbb{Z}, the inner search on MM fails at zz if some integer hh with |h|≤w0|h| \le w_0 satisfies first(M,z,z+Hin)≠first(M,z+h,z+Hin+h)\mathrm{first}(M, z, z + H_{\mathrm{in}}) \ne \mathrm{first}(M, z + h, z + H_{\mathrm{in}} + h), or if first(M,z,z+Hin)=⊥\mathrm{first}(M, z, z + H_{\mathrm{in}}) = \bot while some m∈Mm \in M lies in the inclusive window [z,z+Hin+Δ][z, z + H_{\mathrm{in}} + \Delta].✦

Exceptional origins

Let ℝ/ℤ\mathbb{R}/\mathbb{Z} denote the additive circle of real numbers under addition modulo 11.✦

For an alphabet Σ\Sigma, a boundary index set JJ, and a clock coordinate set CC, a system of exceptional origin parameters 𝒜\mathcal{A} consists of canonical episode parameters EE over Σ\Sigma with modulus B>0B > 0, an inner local marker rule RinR_{\mathrm{in}} over Σ\Sigma with separation dind_{\mathrm{in}}, block length KinK_{\mathrm{in}}, and radius rinr_{\mathrm{in}}, boundary offsets oj∈ℤo_j \in \mathbb{Z} for j∈Jj \in J, inner horizons Hρin∈ℤH_\rho^{\mathrm{in}} \in \mathbb{Z} for ρ∈{0,…,B−1}\rho \in \{0, \dots, B - 1\}, integers ww, w0w_0, and Δ\Delta (the origin sweep width, inner shift bound, and window extension), an additive homomorphism φ:ℤ→(ℝ/ℤ)C\varphi : \mathbb{Z} \to (\mathbb{R}/\mathbb{Z})^C, and an exceptional clock region 𝒲⊆(ℝ/ℤ)C\mathcal{W} \subseteq (\mathbb{R}/\mathbb{Z})^C.✦ For the positive modulus BB and any integer nn, the residue of nn modulo BB is nmod⁡B∈{0,…,B−1}n \bmod B \in \{0, \dots, B - 1\}.✦

The end instability condition holds for 𝒜\mathcal{A} and ff at t∈ℤt \in \mathbb{Z} when the leftmost eligible marker search on MRE(f)M_{R_E}(f) with modulus BB and step SS is unstable at t+ot + o under shift bound ww at base radius dd or at base radius 3d3d.✦ For a system of exceptional origin parameters 𝒜\mathcal{A} over Σ\Sigma, a bi-infinite word ff over Σ\Sigma, an integer origin tt, and a clock anchor q∈ℤq \in \mathbb{Z}, put n=q−tn = q - t. A clock or inner search failure at (f,t,q)(f, t, q) is the condition that φ(n)∈𝒲\varphi(n) \in \mathcal{W} or that for some j∈Jj \in J the marker set MRin(f)M_{R_{\mathrm{in}}}(f) has an inner search failure with window start t+ojt + o_j, horizon Hnmod⁡BinH_{n \bmod B}^{\mathrm{in}}, shift bound w0w_0, and extension Δ\Delta.✦ An origin tt is exceptional in ff with clock anchor qq when either the end instability condition holds for 𝒜\mathcal{A} and ff at tt or a clock or inner search failure occurs at (f,t,q)(f, t, q).✦

End and inner window visibility in [s,b)[s, b) holds for parameters 𝒜\mathcal{A}, origin tt, and clock anchor qq when the seed and search window at t+ot + o are visible in [s,b)[s, b) for EE, every integer hh divisible by BB with |h|≤w|h| \le w satisfies s≤t+o+h−W−rEs \le t + o + h - W - r_E and t+o+h+W+rE≤bt + o + h + W + r_E \le b, and every j∈Jj \in J satisfies s≤t+oj−w0−rins \le t + o_j - w_0 - r_{\mathrm{in}} and t+oj+H(q−t)mod⁡Bin+max⁡(Δ,w0)+rin≤bt + o_j + H_{(q - t) \bmod B}^{\mathrm{in}} + \max(\Delta, w_0) + r_{\mathrm{in}} \le b.✦

For a system of exceptional origin parameters 𝒜\mathcal{A}, a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma, an end anchor q0∈ℤq_0 \in \mathbb{Z}, and an origin t∈ℤt \in \mathbb{Z}, the clock anchor q𝒜(f,q0,t)q_{\mathcal{A}}(f, q_0, t) is the integer position given by q𝒜(f,q0,t)={ζE(f,t+o),if ζE(f,t+o)≠⊥,q0,if ζE(f,t+o)=⊥.q_{\mathcal{A}}(f, q_0, t) = \begin{cases} \zeta_E(f, t + o), & \text{if } \zeta_E(f, t + o) \ne \bot, \\ q_0, & \text{if } \zeta_E(f, t + o) = \bot. \end{cases}(1)✦

For a system 𝒜\mathcal{A} of exceptional origin parameters, a finite set of slots PP with offset map p:P→ℤp : P \to \mathbb{Z}, a bi-infinite word ff, an origin tt, and an end anchor q0q_0, the set of interfering pairs Bad𝒜(p,f,t,q0)⊆P×P\mathrm{Bad}_{\mathcal{A}}(p, f, t, q_0) \subseteq P \times P consists of the ordered pairs (i,j)∈P×P(i, j) \in P \times P with i≠ji \ne j for which t+p(i)−p(j)t + p(i) - p(j) is exceptional in ff with clock anchor q𝒜(f,q0,t+p(i)−p(j))q_{\mathcal{A}}(f, q_0, t + p(i) - p(j)) given by (1).✦

The suffix decoding test

Given an index set PP, a slot offset map p:P→ℤp : P \to \mathbb{Z}, a lag ℓ∈ℤ\ell \in \mathbb{Z}, and a prefix cut k∈ℤk \in \mathbb{Z}, the candidate origin for slot i∈Pi \in P is τp,ℓ,k(i)=k+ℓ−p(i)\tau_{p,\ell,k}(i) = k + \ell - p(i).✦

For exceptional origin parameters 𝒜\mathcal{A}, candidate origins τ:P→ℤ\tau : P \to \mathbb{Z}, a reference slot iref∈Pi_{\mathrm{ref}} \in P, cuts k,b∈ℤk, b \in \mathbb{Z}, a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma, and a candidate decoded slot idec∈Pi_{\mathrm{dec}} \in P, the suffix decoding test Test𝒜(τ,iref,k,b,f,idec)\mathrm{Test}_{\mathcal{A}}(\tau, i_{\mathrm{ref}}, k, b, f, i_{\mathrm{dec}}) holds when four conditions are satisfied. First, for every i∈Pi \in P, end and inner window visibility holds in [k,b)[k, b) at τ(i)\tau(i) with clock anchor q𝒜(f,b−Ltail,τ(i))q_{\mathcal{A}}(f, b - L_{\mathrm{tail}}, \tau(i)). Second, if ζE(f,τ(i)+o)=⊥\zeta_E(f, \tau(i) + o) = \bot for some i∈Pi \in P, then ηE(f,τ(i)+o)=⊥\eta_E(f, \tau(i) + o) = \bot for every i∈Pi \in P and EndAt(d,K,Ltail,f,τ(iref)+o,ηE(f,τ(iref)+o),b)\mathrm{EndAt}(d, K, L_{\mathrm{tail}}, f, \tau(i_{\mathrm{ref}}) + o, \eta_E(f, \tau(i_{\mathrm{ref}}) + o), b) holds. Third, ideci_{\mathrm{dec}} is the unique i∈Pi \in P for which τ(i)\tau(i) is exceptional in ff with clock anchor q𝒜(f,b−Ltail,τ(i))q_{\mathcal{A}}(f, b - L_{\mathrm{tail}}, \tau(i)). Fourth, EndAt(d,K,Ltail,f,τ(idec)+o,ηE(f,τ(idec)+o),b)\mathrm{EndAt}(d, K, L_{\mathrm{tail}}, f, \tau(i_{\mathrm{dec}}) + o, \eta_E(f, \tau(i_{\mathrm{dec}}) + o), b) holds.

The claim

Lemma 8.3. Fix a system 𝒜\mathcal{A} of exceptional origin parameters over Σ\Sigma with w0≥0w_0 \ge 0, an index set PP with candidate origins τ:P→ℤ\tau : P \to \mathbb{Z}, indices iref,iact,idec∈Pi_{\mathrm{ref}}, i_{\mathrm{act}}, i_{\mathrm{dec}} \in P, integers k,b,b′∈ℤk, b, b' \in \mathbb{Z}, and bi-infinite words f,g:ℤ→Σf, g : \mathbb{Z} \to \Sigma. Suppose that Test𝒜(τ,iref,k,b′,g,idec)\mathrm{Test}_{\mathcal{A}}(\tau, i_{\mathrm{ref}}, k, b', g, i_{\mathrm{dec}}) holds, that for every i∈Pi \in P end and inner window visibility holds in [k,b)[k, b) at τ(i)\tau(i) with clock anchor q𝒜(f,b−Ltail,τ(i))q_{\mathcal{A}}(f, b - L_{\mathrm{tail}}, \tau(i)), and that ff and gg agree on [k,min⁡(b,b′))[k, \min(b, b')). Assume further the overlap bounds d2≤K−|τ(iact)−τ(iref)|d^2 \le K - |\tau(i_{\mathrm{act}}) - \tau(i_{\mathrm{ref}})| and |τ(iact)−τ(iref)|<K|\tau(i_{\mathrm{act}}) - \tau(i_{\mathrm{ref}})| < K together with EndAt(d,K,Ltail,f,τ(iact)+o,ηE(f,τ(iact)+o),b)\mathrm{EndAt}(d, K, L_{\mathrm{tail}}, f, \tau(i_{\mathrm{act}}) + o, \eta_E(f, \tau(i_{\mathrm{act}}) + o), b), and require τ(iact)\tau(i_{\mathrm{act}}) to be exceptional in ff with clock anchor q𝒜(f,b−Ltail,τ(iact))q_{\mathcal{A}}(f, b - L_{\mathrm{tail}}, \tau(i_{\mathrm{act}})). Then idec=iactandb′=b.i_{\mathrm{dec}} = i_{\mathrm{act}} \quad\text{and}\quad b' = b.(2)✦

Take a system 𝒜\mathcal{A} of exceptional origin parameters over Σ\Sigma, a finite set of slot kinds 𝒦\mathcal{K}, μ∈ℕ\mu \in \mathbb{N}, a map p:𝒦×{0,…,μ−1}→ℤp : \mathcal{K} \times \{0, \dots, \mu - 1\} \to \mathbb{Z}, integers ℓ,s,b,H∈ℤ\ell, s, b, H \in \mathbb{Z}, a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma, iref∈𝒦×{0,…,μ−1}i_{\mathrm{ref}} \in \mathcal{K} \times \{0, \dots, \mu - 1\}, and κ∈𝒦\kappa \in \mathcal{K}. Suppose that |Bad𝒜(p,f,s+ℓ,b−Ltail)|<μ|\mathrm{Bad}_{\mathcal{A}}(p, f, s + \ell, b - L_{\mathrm{tail}})| < \mu, that for all j,i∈𝒦×{0,…,μ−1}j, i \in \mathcal{K} \times \{0, \dots, \mu - 1\} end and inner window visibility holds in [s+p(j),b)[s + p(j), b) at s+ℓ+(p(j)−p(i))s + \ell + (p(j) - p(i)) with clock anchor q𝒜(f,b−Ltail,s+ℓ+(p(j)−p(i)))q_{\mathcal{A}}(f, b - L_{\mathrm{tail}}, s + \ell + (p(j) - p(i))), and that |p(i)−p(j)|≤H|p(i) - p(j)| \le H for all i,j∈𝒦×{0,…,μ−1}i, j \in \mathcal{K} \times \{0, \dots, \mu - 1\}. Assume further the inequalities d+(B−1)S+H≤3dd + (B - 1)S + H \le 3d, d2≤K−Hd^2 \le K - H, and H<KH < K, together with EndAt(d,K,Ltail,f,s+ℓ+o,ηE(f,s+ℓ+o),b)\mathrm{EndAt}(d, K, L_{\mathrm{tail}}, f, s + \ell + o, \eta_E(f, s + \ell + o), b), and require s+ℓs + \ell to be exceptional in ff with clock anchor q𝒜(f,b−Ltail,s+ℓ)q_{\mathcal{A}}(f, b - L_{\mathrm{tail}}, s + \ell). Then there exists a copy c∈{0,…,μ−1}c \in \{0, \dots, \mu - 1\} such that Test𝒜(τp,ℓ,s+p(κ,c),iref,s+p(κ,c),b,f,(κ,c))\mathrm{Test}_{\mathcal{A}}\bigl(\tau_{p,\ell,s+p(\kappa,c)},\, i_{\mathrm{ref}},\, s + p(\kappa, c),\, b,\, f,\, (\kappa, c)\bigr)(3)✦ holds.

In the paper, the result reads: on a fixed episode in the episode language DD, fewer than μ\mu actual slots fail, and in particular every slot kind has a successful copy.

What is checked

The soundness claim (2) and the existence claim (3) are stated over systems of exceptional origin parameters, canonical episode parameters, local marker rules, marker searches, episode endpoint conditions, interfering pairs, and the suffix decoding test, under their visibility, agreement, overlap, endpoint, and exceptionality hypotheses on bi-infinite words over Σ\Sigma.