The setting
The -dimensional Weisfeiler-Leman (-WL) algorithm decides whether two finite simple undirected graphs can be distinguished by iterative color refinement on -tuples of vertices. For a fixed dimension , standard implementations run in time polynomial in the number of vertices , with exponent growing linearly in . Under the positive exponential-rate Exponential Time Hypothesis (ETH), this page states an asymptotic lower bound showing that for all sufficiently large fixed , no deterministic multitape Turing machine can decide -WL equivalence on -vertex graphs in time for a universal constant . The lower bound applies across both the joint and separate refinement conventions and across both the common-colors and pure-union implementations of the equivalence test.
Weisfeiler-Leman equivalence
Let be a simple undirected graph on a finite vertex set , and let be the Weisfeiler-Leman dimension. For a -tuple , an index , and a vertex , write for the -tuple obtained from by replacing its -th entry with .
Two refinement conventions are considered: joint and separate.✦ Under both conventions, the round- color of a -tuple in is its atomic type . At each subsequent round with , the joint -WL color pairs the round- color of with the multiset, over all , of the -tuples of round- colors obtained by replacing each coordinate with : (1)✦ Under the separate convention, the round- color pairs the round- color of with the -tuple of multisets obtained by varying each coordinate independently: (2)✦ The joint and separate color spaces at round are built inductively by the same nesting of pairs and multisets shown in (1) and (2).
Let and be simple graphs on finite vertex sets and , and fix a refinement convention (joint or separate), writing for the resulting round- coloring. Two implementation variants define when and are equivalent. Under the common-colors implementation, and have the same color histogram at round when (3)✦ and they are -WL equivalent if (3) holds for every .✦ Under the pure-union implementation, one forms the disjoint union on with canonical inclusions and . The graphs and have the same pure color histogram at round when (4)✦ and they are pure -WL equivalent if (4) holds for every .✦ For simple graphs and on , -WL equivalence under a chosen convention and implementation means (3) for every in the common-colors variant and (4) for every in the pure-union variant.✦
Multitape Turing machines
A deterministic multitape Turing machine consists of a number of work tapes (giving two-way infinite tapes indexed by ), a finite tape alphabet for some , a finite state set for some with initial state , a partial Boolean output function , and a deterministic transition function .✦ Given a state and an -tuple of scanned tape symbols, returns a next state and, for each tape , a symbol to write and a head move in with integer offsets , , and , respectively.
A configuration of records the current state, an integer head position on each tape , and the tape contents mapping each tape index and cell coordinate to a symbol in .✦ On a finite binary string , input bits and are represented by the tape symbols and , while is the blank symbol.✦ The initial configuration on input begins in state with every head at cell , tape holding the encoded bit of at each cell and elsewhere, and every other tape blank everywhere.✦
A single step of leaves a configuration unchanged whenever is defined on its current state. Otherwise, it evaluates on the current state and the -tuple of scanned symbols, updates the state, writes the prescribed symbol at cell on each tape while leaving all other cells unchanged, and adds the prescribed move offset to . The -step run of on input is the configuration reached after iterations of this single-step map from the initial configuration.✦ The machine emits a Boolean on input at step if evaluates to on the state of its -step run.✦
Positive exponential-rate ETH
For Boolean variables indexed by , a literal is a pair consisting of a variable index and a polarity .✦ A clause in -conjunctive normal form (-CNF) on variables is a finite list of literals✦, and a -CNF formula on variables is a finite list of -CNF clauses.✦ A truth assignment satisfies a clause if for some literal in the clause✦, and satisfies if it satisfies every clause in .✦ The formula is satisfiable if some truth assignment satisfies it.✦
Formulas are encoded as binary strings using a self-delimiting integer encoding. For with binary bit list of length , the integer encoding consists of copies of , followed by a single , followed by .✦ A clause with literals is encoded as the concatenation of and the strings for . A -CNF formula on variables with clauses has binary encoding obtained by concatenating , , and the encodings of its clauses in order; let denote its bit length.✦
For a function , a deterministic multitape Turing machine decides -satisfiability (-SAT) within time bound if for every and every -CNF formula on variables, there exist and such that emits on at step , if and only if is satisfiable, and .✦ Positive exponential-rate ETH asserts that there exists a real constant such that no deterministic multitape Turing machine decides -SAT within the time bound (5)✦ for any real constant and any integer .
Asymptotic decision time
For each , a pair of simple undirected graphs on vertex set is encoded as the binary string obtained by concatenating , the bits of the adjacency matrix of in row-major order, and the bits of the adjacency matrix of in row-major order.✦ Fix a refinement convention, an implementation variant, a dimension , and a real exponent . A deterministic multitape Turing machine decides -WL equivalence in asymptotic time if two conditions hold. First, for every and every pair of simple graphs on , there exist and such that emits on at step , and if and only if and are -WL equivalent under the chosen convention and implementation. Second, there exist a real constant and a threshold such that for every and every pair of simple graphs on , there exist and satisfying the same emission and equivalence condition together with (6)
The claim
Theorem 1.3. Assume positive exponential-rate ETH. There exist a real constant and an integer such that for every integer , both the joint and separate refinement conventions, and both the common-colors and pure-union implementations, no deterministic multitape Turing machine decides -WL equivalence on all pairs of -vertex simple graphs on within the asymptotic step-count bound (7)✦ for any real constant and any threshold .
What is checked
In the Lean library, Theorem 1.3 is stated over positive exponential-rate ETH for deterministic multitape Turing machines deciding -SAT on self-delimiting binary encodings of -CNF formulas, and over the asymptotic decision-time bound (7) for -WL equivalence under both the joint and separate refinement conventions and both the common-colors and pure-union implementations on pairs of -vertex simple graphs.