OctoInform Beta

OpenAI preprint, September 2026 · §6. Quantitative transfer and the time lower bound

Lemma 6.2: Transferring the diagonal bound to kk-Weisfeiler-Leman deciders at each graph order nn, together with stability of halted RAM configurations

Pointwise time lower bounds for Turing machines and RAMs.

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

The diagonalization lower bound for one-tape Turing machines yields hard binary languages that cannot be decided in a given polynomial time bound at sufficiently large input lengths. Through the computation reduction, deciding membership of a length-mm word in such a diagonal language reduces to deciding kk-Weisfeiler-Leman (kk-WL) equivalence of two explicit nn-vertex graphs whose order nn is polynomially related to mm.

To turn this reduction into an unconditional lower bound TA(n)>naT_A(n) > n^a for an arbitrary deterministic decider AA at every sufficiently large graph order nn, the running time of AA on explicit adjacency matrices must be transferred back to a one-tape Turing machine with a polynomial overhead whose exponent is independent of kk and AA. Lemma 6.2 states this pointwise transfer for deterministic multitape Turing machines and deterministic logarithmic-word random-access machines (RAMs), together with the stability of halted RAM configurations under single transition steps.

Weisfeiler-Leman deciders

A graph GG on n∈ℕn \in \mathbb{N} vertices is a symmetric and irreflexive Boolean-valued adjacency matrix on {0,…,n−1}\{0, \dots, n - 1\}.✦ Such a graph has diameter at most two if n>0n > 0 and every pair of vertices x,y∈{0,…,n−1}x, y \in \{0, \dots, n - 1\} satisfies x=yx = y, is adjacent, or shares a common neighbor.✦ A graph-pair input class 𝒫\mathcal{P} is either the unrestricted class of all pairs of nn-vertex graphs or the diameter-two class of pairs of nn-vertex graphs of diameter at most two.✦

A Weisfeiler-Leman refinement convention cc is either the joint convention or the separate convention✦, with dimension shift σ(c)∈ℕ\sigma(c) \in \mathbb{N} given by (1): σ(c)={1,if c is the joint convention,2,if c is the separate convention.\sigma(c) = \begin{cases} 1, & \text{if } c \text{ is the joint convention}, \\ 2, & \text{if } c \text{ is the separate convention}. \end{cases}(1)✦ For dimension k∈ℕk \in \mathbb{N} and convention cc, iterative color refinement assigns a round-tt color to every kk-tuple of vertices in an nn-vertex graph GG, forming a round-tt color histogram. Two nn-vertex graphs GG and HH are kk-WL equivalent under convention cc if their color histograms agree at every round t∈ℕt \in \mathbb{N}.✦ A pair (G,H)(G, H) of nn-vertex graphs is represented as a binary string by concatenating a prefix-free binary encoding of nn with the row-major adjacency matrix bit strings of GG and HH.✦

A deterministic multitape Turing machine AA has a positive number of tapes tAt_A, at least 33 states (with state 00 initial, states 11 and 22 halted, and state 11 accepting), a tape alphabet of size at least 33, and a transition function moving each head by −1-1, 00, or 11.✦ Starting in state 00 with all heads at 00 and the input bit string on the input tape, AA halts if some step reaches a halted configuration and accepts if it reaches state 11; its running time on an input is the number of steps taken.

A deterministic logarithmic-word RAM AA has a finite register count, a positive number of program locations, a logarithmic word-width function wA(n)>0w_A(n) > 0 bounded by O(log⁡(n+2))O(\log(n + 2)) such that the binary encoding of every pair of nn-vertex graphs has bit-length at most wA(n)⋅2wA(n)w_A(n) \cdot 2^{w_A(n)}, and a program mapping each location to a RAM instruction (including halting with a Boolean answer, jumping, memory loads and stores, branching on zero, and word operations on binary words of length wA(n)w_A(n)).✦ A configuration CC of AA at graph order nn records the program counter, register bank, memory contents, and an optional Boolean answer✦; stepA(C)\mathrm{step}_A(C) denotes the configuration obtained by applying one transition step of AA at parameter nn.✦ Starting from the initial configuration holding the packed input words, AA halts on an input if some step reaches a configuration with an answer set, accepts if that answer is true, and has running time equal to the number of steps taken.

A deterministic decider AA (either a multitape Turing machine or a logarithmic-word RAM) decides kk-WL equivalence under convention cc on input class 𝒫\mathcal{P} if, for every n∈ℕn \in \mathbb{N} and every pair (G,H)(G, H) of nn-vertex graphs in 𝒫\mathcal{P}, AA halts on the encoding of (G,H)(G, H) and accepts if and only if GG and HH are kk-WL equivalent under cc.✦ Its worst-case running time TA(n)T_A(n) on 𝒫\mathcal{P} at vertex count nn is the maximum number of steps taken by AA over all pairs of nn-vertex graphs in 𝒫\mathcal{P}.✦

One-tape consumer machines

A deterministic one-tape Turing machine MM has at least 33 states and at least 33 tape symbols.✦ Its machine bit description b(M)b(M) is the bit string formed by concatenating the unary encodings (of the form 1j01^j 0) of its state count, symbol count, and tabulated transition entries✦, and its length-prefixed designation π(M)\pi(M) is given by (2): π(M)=1|b(M)|0b(M).\pi(M) = 1^{|b(M)|} 0 b(M).(2)✦ For each diagonal parameter s≥1s \ge 1, the step-bounded universal program runs on the 1414-element register set of the universal simulator together with Ss∈ℕS_s \in \mathbb{N} scratch stacks, parsing a length-prefixed designation and simulating the designated machine for a step budget determined by ss. Compiling this stack program via the one-tape sweep construction yields the step-bounded universal one-tape Turing machine MsM_s.

Given MsM_s, time dimension d∈ℕd \in \mathbb{N}, space dimension q∈ℕq \in \mathbb{N}, and pebble parameter K=d+q+2K = d + q + 2, the box tableau circuit schematic and its schematic consistency instance determine a rectangular multiplicity coefficient κ(Ms,d,q,d+q+2)∈ℕ\kappa(M_s, d, q, d + q + 2) \in \mathbb{N} and, for each coordinate alphabet size m∈ℕm \in \mathbb{N}, a base graph order N0(Ms,d,q,m)=1+Cm2((Cm2+1)2+1)∈ℕN_0(M_s, d, q, m) = 1 + C m^2 ((C m^2 + 1)^2 + 1) \in \mathbb{N}, where C=κ(Ms,d,q,d+q+2)C = \kappa(M_s, d, q, d + q + 2). A structured bit-stream writer program emits the encoded graph pair of order nn from an input word of length mm; its pair-writing body carries a writer charge χ(Ms,d,q)∈ℕ\chi(M_s, d, q) \in \mathbb{N}, defined recursively on writer programs as 4⋅charge(p)+204 \cdot \mathrm{charge}(p) + 20 for an emit step pp, the sum of charges for sequential composition, and charge(n)+charge(body)+100\mathrm{charge}(n) + \mathrm{charge}(\mathrm{body}) + 100 for a loop.

Compiling a multitape Turing machine or RAM decider with the matrix writer into a single one-tape consumer machine isolates all machine-model dependence into a polynomial simulation overhead whose exponent is independent of the dimension and the decider. For a fixed graph order nn, compiling the graph-pair matrix writer together with a multitape Turing machine decider AA yields a one-tape consumer machine CTM(Ms,d,q,A,n)C_{\mathrm{TM}}(M_s, d, q, A, n) with an associated consumer time-overhead factor ϕTM(Ms,d,q,A)=8(scratchBound(Ms,d,q)+4+2tA+1)∈ℕ\phi_{\mathrm{TM}}(M_s, d, q, A) = 8(\mathrm{scratchBound}(M_s, d, q) + 4 + 2 t_A + 1) \in \mathbb{N}. Similarly, compiling the matrix writer together with a logarithmic-word RAM decider AA yields a one-tape RAM consumer machine CRAM(Ms,d,q,A,n)C_{\mathrm{RAM}}(M_s, d, q, A, n) with an associated consumer overhead factor ϕRAM(Ms,d,q,A)=8(scratchBound(Ms,d,q)+4+|Reg(A)|+1)∈ℕ\phi_{\mathrm{RAM}}(M_s, d, q, A) = 8(\mathrm{scratchBound}(M_s, d, q) + 4 + |\mathrm{Reg}(A)| + 1) \in \mathbb{N}, while the RAM simulation alphabet for AA contributes a step-budget constant BA=100(RA+1)+cA⋅depth(A)(depth(A)+1)+LA+2∈ℕB_A = 100(R_A + 1) + c_A \cdot \mathrm{depth}(A)(\mathrm{depth}(A) + 1) + L_A + 2 \in \mathbb{N} (where RAR_A is the register count of AA, |Reg(A)||\mathrm{Reg}(A)| is the size of the RAM simulator register set for AA, LAL_A is the number of program locations, cAc_A is the word-operation constant, and depth(A)\mathrm{depth}(A) is the instruction depth of AA) and a word-operation exponent eA∈ℕe_A \in \mathbb{N} equal to 11 plus the maximum exponent of the word operations appearing in the program of AA.

The claim

Lemma 6.2. Let s,d,q,k,a,n,m∈ℕs, d, q, k, a, n, m \in \mathbb{N}, let cc be a Weisfeiler-Leman refinement convention, and let 𝒫\mathcal{P} be a graph-pair input class. Suppose that k=d+q+σ(c)k = d + q + \sigma(c), m≥128m \ge 128, s≥1s \ge 1, d=3s+6d = 3s + 6, q≥d+3q \ge d + 3, 18s≤m18s \le m, N0(Ms,d,q,m)≤n≤m8N_0(M_s, d, q, m) \le n \le m^8, κ(Ms,d,q,d+q+2)≤m\kappa(M_s, d, q, d + q + 2) \le m, χ(Ms,d,q)≤m\chi(M_s, d, q) \le m, and 8(Ss+14+1)⋅12002≤m8(S_s + 14 + 1) \cdot 1200^2 \le m.

  1. If AA is a deterministic multitape Turing machine with tAt_A tapes that decides kk-WL equivalence under convention cc on input class 𝒫\mathcal{P}, and if s≥2max⁡(2400,8a+1)+3s \ge 2\max(2400, 8a + 1) + 3, |π(CTM(Ms,d,q,A,n))|≤m|\pi(C_{\mathrm{TM}}(M_s, d, q, A, n))| \le m, ϕTM(Ms,d,q,A)≤m\phi_{\mathrm{TM}}(M_s, d, q, A) \le m, and 8tA+2≤m8 t_A + 2 \le m, then the worst-case running time of AA on pairs of nn-vertex graphs in 𝒫\mathcal{P} satisfies TA(n)>na.T_A(n) > n^a.(3)✦

  2. If AA is a deterministic logarithmic-word RAM that decides kk-WL equivalence under convention cc on input class 𝒫\mathcal{P}, if the binary encoding of every pair of nn-vertex graphs has bit-length at most wA(n)⋅2wA(n)w_A(n) \cdot 2^{w_A(n)} so that it fits in the addressable memory of AA, and if s≥2max⁡(2400,16a+45)+3s \ge 2\max(2400, 16a + 45) + 3, |π(CRAM(Ms,d,q,A,n))|≤m|\pi(C_{\mathrm{RAM}}(M_s, d, q, A, n))| \le m, ϕRAM(Ms,d,q,A)≤m\phi_{\mathrm{RAM}}(M_s, d, q, A) \le m, and BA(wA(n)+1)eA≤mB_A (w_A(n) + 1)^{e_A} \le m, then the worst-case running time of AA on pairs of nn-vertex graphs in 𝒫\mathcal{P} satisfies TA(n)>na.T_A(n) > n^a.(4)✦

  3. For every deterministic logarithmic-word RAM AA, every n∈ℕn \in \mathbb{N} such that the binary encoding of every pair of nn-vertex graphs has bit-length at most wA(n)⋅2wA(n)w_A(n) \cdot 2^{w_A(n)} so that it fits in the addressable memory of AA, every configuration CC of AA at graph order nn, and every Boolean value bb, if the answer field of CC is set to bb, then stepA(C)=C.\mathrm{step}_A(C) = C.(5)✦

In the paper, the result reads: there is an absolute constant DD such that for every sufficiently large address dimension rr, corresponding diagonal parameter ss and cutoff exponent pp, and every correct deterministic equivalence decider AA in either stated model, there is a fixed one-tape decider BB for the diagonal language HsH_s that, on every sufficiently long word of length mm, tries the reduced graph pairs for all orders nn in the interval ImI_m with a step cutoff of mpm^p steps of AA per pair, returns the first completed answer with reversed polarity, or falls back to MsM_s if no trial completes, using at most OA,r(mD+50p)O_{A,r}(m^{D + 50p}) one-tape steps before fallback or returning a completed answer. The Lean library instead obtains the lower bound pointwise at each graph order nn by compiling AA together with the graph-pair matrix writer for nn into a one-tape consumer machine whose designation length is at most mm.

What is checked

Lemma 6.2 is stated over deterministic multitape Turing machines and deterministic logarithmic-word RAMs deciding kk-WL equivalence under either the joint or separate refinement convention on either all graph pairs or diameter-two graph pairs, with explicit thresholds on the alphabet size mm, the diagonal parameter ss, the address dimensions dd and qq, the graph order nn, the consumer designation lengths, and the model-specific overhead factors, together with RAM configurations whose answer field is set. Beyond the three headline bounds (3), (4), and (5), the Lean library verifies that test gates in the box tableau are terminal✦, that each schematic consistency edge coordinate map is injective✦, and that every word operation occurring in a RAM program belongs to its compiled operation list✦.