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- word in such a diagonal language reduces to deciding -Weisfeiler-Leman (-WL) equivalence of two explicit -vertex graphs whose order is polynomially related to .
To turn this reduction into an unconditional lower bound for an arbitrary deterministic decider at every sufficiently large graph order , the running time of on explicit adjacency matrices must be transferred back to a one-tape Turing machine with a polynomial overhead whose exponent is independent of and . 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 on vertices is a symmetric and irreflexive Boolean-valued adjacency matrix on .✦ Such a graph has diameter at most two if and every pair of vertices satisfies , is adjacent, or shares a common neighbor.✦ A graph-pair input class is either the unrestricted class of all pairs of -vertex graphs or the diameter-two class of pairs of -vertex graphs of diameter at most two.✦
A Weisfeiler-Leman refinement convention is either the joint convention or the separate convention✦, with dimension shift given by (1): (1)✦ For dimension and convention , iterative color refinement assigns a round- color to every -tuple of vertices in an -vertex graph , forming a round- color histogram. Two -vertex graphs and are -WL equivalent under convention if their color histograms agree at every round .✦ A pair of -vertex graphs is represented as a binary string by concatenating a prefix-free binary encoding of with the row-major adjacency matrix bit strings of and .✦
A deterministic multitape Turing machine has a positive number of tapes , at least states (with state initial, states and halted, and state accepting), a tape alphabet of size at least , and a transition function moving each head by , , or .✦ Starting in state with all heads at and the input bit string on the input tape, halts if some step reaches a halted configuration and accepts if it reaches state ; its running time on an input is the number of steps taken.
A deterministic logarithmic-word RAM has a finite register count, a positive number of program locations, a logarithmic word-width function bounded by such that the binary encoding of every pair of -vertex graphs has bit-length at most , 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 ).✦ A configuration of at graph order records the program counter, register bank, memory contents, and an optional Boolean answer✦; denotes the configuration obtained by applying one transition step of at parameter .✦ Starting from the initial configuration holding the packed input words, 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 (either a multitape Turing machine or a logarithmic-word RAM) decides -WL equivalence under convention on input class if, for every and every pair of -vertex graphs in , halts on the encoding of and accepts if and only if and are -WL equivalent under .✦ Its worst-case running time on at vertex count is the maximum number of steps taken by over all pairs of -vertex graphs in .✦
One-tape consumer machines
A deterministic one-tape Turing machine has at least states and at least tape symbols.✦ Its machine bit description is the bit string formed by concatenating the unary encodings (of the form ) of its state count, symbol count, and tabulated transition entries✦, and its length-prefixed designation is given by (2): (2)✦ For each diagonal parameter , the step-bounded universal program runs on the -element register set of the universal simulator together with scratch stacks, parsing a length-prefixed designation and simulating the designated machine for a step budget determined by . Compiling this stack program via the one-tape sweep construction yields the step-bounded universal one-tape Turing machine .
Given , time dimension , space dimension , and pebble parameter , the box tableau circuit schematic and its schematic consistency instance determine a rectangular multiplicity coefficient and, for each coordinate alphabet size , a base graph order , where . A structured bit-stream writer program emits the encoded graph pair of order from an input word of length ; its pair-writing body carries a writer charge , defined recursively on writer programs as for an emit step , the sum of charges for sequential composition, and 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 , compiling the graph-pair matrix writer together with a multitape Turing machine decider yields a one-tape consumer machine with an associated consumer time-overhead factor . Similarly, compiling the matrix writer together with a logarithmic-word RAM decider yields a one-tape RAM consumer machine with an associated consumer overhead factor , while the RAM simulation alphabet for contributes a step-budget constant (where is the register count of , is the size of the RAM simulator register set for , is the number of program locations, is the word-operation constant, and is the instruction depth of ) and a word-operation exponent equal to plus the maximum exponent of the word operations appearing in the program of .
The claim
Lemma 6.2. Let , let be a Weisfeiler-Leman refinement convention, and let be a graph-pair input class. Suppose that , , , , , , , , , and .
If is a deterministic multitape Turing machine with tapes that decides -WL equivalence under convention on input class , and if , , , and , then the worst-case running time of on pairs of -vertex graphs in satisfies (3)✦
If is a deterministic logarithmic-word RAM that decides -WL equivalence under convention on input class , if the binary encoding of every pair of -vertex graphs has bit-length at most so that it fits in the addressable memory of , and if , , , and , then the worst-case running time of on pairs of -vertex graphs in satisfies (4)✦
For every deterministic logarithmic-word RAM , every such that the binary encoding of every pair of -vertex graphs has bit-length at most so that it fits in the addressable memory of , every configuration of at graph order , and every Boolean value , if the answer field of is set to , then (5)✦
In the paper, the result reads: there is an absolute constant such that for every sufficiently large address dimension , corresponding diagonal parameter and cutoff exponent , and every correct deterministic equivalence decider in either stated model, there is a fixed one-tape decider for the diagonal language that, on every sufficiently long word of length , tries the reduced graph pairs for all orders in the interval with a step cutoff of steps of per pair, returns the first completed answer with reversed polarity, or falls back to if no trial completes, using at most one-tape steps before fallback or returning a completed answer. The Lean library instead obtains the lower bound pointwise at each graph order by compiling together with the graph-pair matrix writer for into a one-tape consumer machine whose designation length is at most .
What is checked
Lemma 6.2 is stated over deterministic multitape Turing machines and deterministic logarithmic-word RAMs deciding -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 , the diagonal parameter , the address dimensions and , the graph order , 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✦.