OctoInform Beta

OpenAI preprint, September 2026 · §5. A language hard at every sufficiently large length

Theorem 5.2: Padded machine designations decode uniquely, and no one-tape machine decides kk-Weisfeiler-Leman equivalence of universal pair graphs in time msm^s

Diagonal time lower bound against Weisfeiler-Leman deciders.

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

To establish an unconditional time lower bound for kk-dimensional Weisfeiler-Leman equivalence, one constructs a computation that diagonalizes against every deterministic one-tape Turing machine running within a polynomial time bound msm^s at every sufficiently large input length mm, and then reduces that diagonal computation to Weisfeiler-Leman inequivalence on a pair of simple uncolored graphs.

Two ingredients carry this diagonalization in the Lean library. First, any one-tape Turing machine can be encoded as a prefix-free binary string so that padding the string with arbitrary data and trailing zeros to any target length mm preserves unique decoding. Second, compiling a step-bounded universal simulator into a one-tape Turing machine and feeding it into the symbolic pair-graph construction yields pairs of graphs whose kk-Weisfeiler-Leman inequivalence cannot be decided by any one-tape Turing machine in time at most msm^s on words prefixed by its own designation.

One-tape Turing machines

A one-tape Turing machine MM consists of a finite state set of size at least 33, a finite tape alphabet of size at least 33, and a transition function mapping each state-symbol pair to a next state, a written symbol, and a head move (left with displacement −1-1, stay with displacement 00, or right with displacement +1+1).✦ State 00 is the initial state, state 11 is the accepting halting state, and state 22 is the rejecting halting state; symbol 00 is the blank symbol, while symbols 11 and 22 encode the input bits 00 and 11.

Embedding MM as a single-tape Turing machine defines its computation on a binary word w∈{0,1}mw \in \{0,1\}^m. The initial configuration places MM in state 00 with its head at position 00, the encoded bits of ww on tape cells 0,…,m−10, \dots, m - 1, and blanks on all other integer cells.✦ Each transition step leaves any halted configuration (one in state 11 or 22) unchanged and otherwise updates the state, scanned cell, and head position according to the transition function.✦ The execution trace iterates this step from the initial configuration✦: MM halts on ww if some step reaches a halted configuration✦, MM accepts ww if some step reaches state 11✦, and tM(w)∈ℕt_M(w) \in \mathbb{N} denotes the least step count tt at which MM reaches a halted configuration on ww if MM halts on ww, and 00 otherwise.✦

Machine designations

Each one-tape Turing machine DD has a raw bit description encoding its state count, symbol count, and transition table, from which its length-prefixed machine encoding π(D)∈{0,1}*\pi(D) \in \{0,1\}^* is formed. The designated machine parser ψ\psi maps a binary string ww to the one-tape Turing machine decoded from a valid designation prefix of ww, when one exists, and is undefined otherwise.✦

The universal simulator

For each natural number ss, the step-bounded universal program is a structured typed stack program over a finite set of universal simulator registers of cardinality RregR_{\mathrm{reg}}, using Ss∈ℕS_s \in \mathbb{N} additional scratch stacks. Compiling this program to a typed stack machine, then to an untyped stack machine, and simulating all stacks by multi-track sweeps on a single tape produces the step-bounded universal one-tape Turing machine UsU_s.

Symbolic pair graphs

A graph on nn vertices is a symmetric, irreflexive Boolean adjacency relation on {0,…,n−1}\{0, \dots, n - 1\}.✦ Fix a Weisfeiler-Leman refinement convention cc (joint or separate) and a dimension k∈ℕk \in \mathbb{N}. At round 00, the color of a kk-tuple of vertices records its atomic equality and adjacency pattern; at round t+1t + 1, the color pairs the round-tt color with the replacement-color multiset of kk-component vectors under the joint convention or with the kk coordinatewise replacement-color multisets under the separate convention.✦ Two nn-vertex graphs GG and HH are kk-WL equivalent under convention cc, written G≡c,kHG \equiv_{c,k} H, if their kk-WL color histograms match at every round tt.✦ The convention dimension shift δ(c)∈ℕ\delta(c) \in \mathbb{N} relates the address dimension to the Weisfeiler-Leman dimension and is equal to 11 under the joint convention and 22 under the separate convention.✦

Given a one-tape Turing machine MM, time and space digit counts d,q∈ℕd, q \in \mathbb{N} with d+q≥2d + q \ge 2, a binary word w∈{0,1}mw \in \{0,1\}^m, and a padding count p∈ℕp \in \mathbb{N}, the local tableau transition rule on cell states (pairs of a tape symbol and an optional head state) yields a box tableau circuit schematic of address dimension d+q+1d + q + 1 over alphabet size mm built from base-mm carry product boxes and scalar and two-input gates. Translating this schematic into an arc-consistency instance over 𝔽2\mathbb{F}_2 defines, for each parity ε∈{0,1}\varepsilon \in \{0, 1\}, a valuation graph whose vertices are pairs of valid blocks and legal block readouts. Attaching leaf-multiplicity marks, an apex vertex, and pp padding vertices, and indexing the resulting vertices by a duplicate-free finite listing, yields the pair of simple uncolored graphs G0(M,d,q,w,p)G^0(M, d, q, w, p) and G1(M,d,q,w,p)G^1(M, d, q, w, p) on a common vertex set.

The claim

Theorem 5.2.

  1. Let DD be a one-tape Turing machine, let u∈{0,1}*u \in \{0,1\}^* be a binary string, and let m∈ℕm \in \mathbb{N} satisfy |π(D)|+|u|≤m|\pi(D)| + |u| \le m. Setting w=π(D)u0m−(|π(D)|+|u|)w = \pi(D) u 0^{m - (|\pi(D)| + |u|)}, the padded word satisfies |w|=m and ψ(w)=D.|w| = m \text{ and } \psi(w) = D.(1)✦

  2. Let s,d,q,k,m,p∈ℕs, d, q, k, m, p \in \mathbb{N}, let cc be a Weisfeiler-Leman refinement convention, let DD be a one-tape Turing machine, and let w,z∈{0,1}*w, z \in \{0,1\}^* be binary strings with w=π(D)zw = \pi(D) z, |w|=m|w| = m, and |π(D)|≤m|\pi(D)| \le m. Assume that s≥1s \ge 1, d=3s+6d = 3s + 6, q≥d+3q \ge d + 3 (so d+q≥2d + q \ge 2), k=d+q+δ(c)k = d + q + \delta(c) (where δ(c)\delta(c) equals 11 under the joint convention and 22 under the separate convention), m≥128m \ge 128, m≥18sm \ge 18s, and m≥8(Ss+Rreg+1)⋅12002m \ge 8(S_s + R_{\mathrm{reg}} + 1) \cdot 1200^2. If DD halts on ww and accepts ww if and only if G0(Us,d,q,w,p)≢c,kG1(Us,d,q,w,p)G^0(U_s, d, q, w, p) \not\equiv_{c,k} G^1(U_s, d, q, w, p), then tD(w)>ms.t_D(w) > m^s.(2)✦

In the paper, the result reads: for every integer s≥1s \ge 1, there exists a binary language HsH_s decided by a deterministic one-tape Turing machine MsM_s (whose halting configurations may be kept stationary) in time O((m+ms+2)20)O((m + m^s + 2)^{20}) on inputs of length mm, such that every correct deterministic one-tape decider for HsH_s has worst-case running time strictly greater than msm^s at every sufficiently large input length mm. The Lean library uses the step-bounded universal machine UsU_s and padded machine designations directly inside the Weisfeiler-Leman graph contradiction instead of exporting a separate language HsH_s.

What is checked

Theorem 5.2 is stated over one-tape Turing machines and their length-prefixed designations and parser in (1), and over the step-bounded universal one-tape machine UsU_s, its register and scratch-stack counts RregR_{\mathrm{reg}} and SsS_s, the symbolic pair graphs G0(Us,d,q,w,p)G^0(U_s, d, q, w, p) and G1(Us,d,q,w,p)G^1(U_s, d, q, w, p), and kk-Weisfeiler-Leman equivalence under both joint and separate conventions in (2). For these constructions, the Lean library also proves that test gates in the box tableau circuit schematic are terminal✦ and that every edge coordinate map of a product circuit schematic is injective✦.