OctoInform Beta

OpenAI preprint, September 2026 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound · §4 · Generalized Star Height at Most Four, Lemma 5.5

Lemma 4.6: Endpoint uniqueness on agreeing intervals and transfer between length-KK blocks starting at z,z′z, z' (period bound dd) when d2≤K−|z−z′|d^2 \le K - |z - z'| and |z−z′|<K|z - z'| < K

Episode endpoint agreement and transfer for sufficiently overlapping blocks.

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

Over an alphabet Σ\Sigma, consider bi-infinite words w:ℤ→Σw \colon \mathbb{Z} \to \Sigma. Fix a nonnegative period bound dd, a nonnegative block length KK, and an integer tail length tt. Let η∈ℤ∪{⊥}\eta \in \mathbb{Z} \cup \{\bot\} record the result of a search for a marker position, where ⊥\bot means that the search returns no marker position. A seed [z,z+K)[z, z + K) of a bi-infinite word ww is its block of length KK starting at an integer position zz.

When two seeds start at integers zz and z′z' satisfying |z−z′|<K|z - z'| < K and d2≤K−|z−z′|d^2 \le K - |z - z'|, they overlap on K−|z−z′|≥d2K - |z - z'| \ge d^2 positions.

The episode endpoint condition

Two bi-infinite words ff and gg over Σ\Sigma agree on [l,r)[l, r), for integers ll and rr, if f(x)=g(x)f(x) = g(x) for every integer xx with l≤x<rl \le x < r.✦

A bi-infinite word vv over Σ\Sigma is a short-period continuation of the seed [z,z+K)[z, z + K) in a bi-infinite word ww, with period bound dd, if vv agrees with ww on [z,z+K)[z, z + K) and has an integer period aa with 0<a<d0 < a < d, so that v(x+a)=v(x)v(x + a) = v(x) for all x∈ℤx \in \mathbb{Z}.✦

Given bi-infinite words ww and vv over Σ\Sigma and a seed [z,z+K)[z, z + K), an integer position q0q_0 is the first mismatch after the seed if z+K≤q0z + K \le q_0, the words ww and vv agree on [z,q0)[z, q_0), and w(q0)≠v(q0)w(q_0) \ne v(q_0).✦

A cut b∈ℤb \in \mathbb{Z} satisfies the episode endpoint condition for (d,K,t,w,z,η)(d, K, t, w, z, \eta) if either η=q0∈ℤ\eta = q_0 \in \mathbb{Z}, in which case q0q_0 is the end anchor and b=q0+tb = q_0 + t, or η=⊥\eta = \bot and there exists a short-period continuation vv of [z,z+K)[z, z + K) in ww with period bound dd whose first mismatch with ww after [z,z+K)[z, z + K) is b−tb - t.✦

The claim

Lemma 4.6. Let dd and KK be nonnegative integers, let t,s,z,z′,b,b′t, s, z, z', b, b' be integers with t>0t > 0, let ww and w′w' be bi-infinite words over Σ\Sigma, and let η∈ℤ∪{⊥}\eta \in \mathbb{Z} \cup \{\bot\}. Suppose that d2≤K−|z−z′|d^2 \le K - |z - z'| and |z−z′|<K|z - z'| < K, that s≤zs \le z, s≤z′s \le z', z+K≤min⁡(b,b′)z + K \le \min(b, b'), and z′+K≤min⁡(b,b′)z' + K \le \min(b, b'), and that ww and w′w' agree on [s,min⁡(b,b′))[s, \min(b, b')). If bb satisfies the episode endpoint condition for (d,K,t,w,z,η)(d, K, t, w, z, \eta) and b′b' satisfies the episode endpoint condition for (d,K,t,w′,z′,η)(d, K, t, w', z', \eta), then b=b′.b = b'.(1)✦ Let dd and KK be nonnegative integers, let t,z,z′,bt, z, z', b be integers, let ww be a bi-infinite word over Σ\Sigma, and let η∈ℤ∪{⊥}\eta \in \mathbb{Z} \cup \{\bot\}. Suppose that dd, KK, zz, and z′z' satisfy the same two overlap inequalities, and that when η=⊥\eta = \bot there exists a short-period continuation of [z′,z′+K)[z', z' + K) in ww with period bound dd. If bb satisfies the episode endpoint condition for (d,K,t,w,z,η)(d, K, t, w, z, \eta), then b satisfies the episode endpoint condition for (d,K,t,w,z′,η).b \text{ satisfies the episode endpoint condition for } (d, K, t, w, z', \eta).(2)✦

In the paper, the result reads: for a list of candidate origins that contains the true origin and satisfies the diameter and placement bounds, a passing guard consumes the suffix exactly to the first episode’s end bb and reports its end anchor q0q_0, and stability of the search for the episode’s end gives acceptance on the actual suffix. Lemma 4.6 expresses those two steps at the level of individual seeds through (1) and (2).

What is checked

Lemma 4.6 is stated over bi-infinite words on an alphabet Σ\Sigma, interval agreement, short-period continuations with period bound dd on seeds of length KK, first mismatches after a seed, and the episode endpoint condition for an optional marker position η∈ℤ∪{⊥}\eta \in \mathbb{Z} \cup \{\bot\} and tail length tt, under the overlap bounds d2≤K−|z−z′|d^2 \le K - |z - z'| and |z−z′|<K|z - z'| < K, together with t>0t > 0 and agreement on [s,min⁡(b,b′))[s, \min(b, b')) containing both seeds in (1) and a short-period continuation at z′z' when η=⊥\eta = \bot in (2).