The setting
To reduce an exponential-time decision problem to Weisfeiler-Leman equivalence, a fixed deterministic single-tape Turing machine running for steps on a binary input of length is compiled into a uniform acyclic monotone circuit. Gate addresses consist of binary tuples encoding time and tape position on a cyclic tape of length , and connections between gates are specified by coordinate-wise injections on product domains. Establishing this compilation rests on four concrete primitives: counting the cellular connection schemas, initializing the cyclic tape run at step zero, propagating truth along product-circuit edges, and computing the initial tape letter encoding in polynomial time.
Cyclic Turing machine runs
A binary word is a finite list of bits, with length , empty word , and -th bit for .✦ A head move is a direction .✦ A Turing machine is specified by a number of additional tape symbols beyond the three reserved symbols, a number of additional control states beyond the three reserved states, and a transition function (1)✦ where is the set of machine control states and is the set of machine tape symbols. The input tape symbol maps to and to .✦ A machine tape letter is a pair in , recording a tape symbol together with an optional control state.✦ The machine transition action freezes in halting states and : (2)
For , a -bit binary address is a tuple . Its binary address value is the least-significant-bit-first integer (3)✦ which equals when and satisfies . This defines the binary address bijection given by .✦ The binary address rotation is the bijection (4)✦
A cyclic tape configuration of on a cell set is a triple consisting of a control state , a head position , and a tape function .✦ Given a bijection , the one-step tape transition sets and returns the configuration , where and for , and the updated head position is if , if , and if .✦ For and a binary word , the initial ring configuration on has control state , head at , and tape function (5) The -step ring machine run is obtained by iterating the one-step tape transition along for steps from the initial ring configuration: (6)✦
Cellular connections and product circuits
For and a set , the set of cellular circuit connections is the disjoint union of five families indexed by triples : left connections parameterized by , an index , and an optional index ; center connections parameterized by and ; right connections parameterized by , , and ; join connections parameterized by ; and output connections parameterized by .✦
The paper compiles a Turing machine computation into monotone circuits whose gates are either scalar OR gates with seeds or two-port AND gates, placed at every binary address and linked by coordinate-wise product maps.
For an address dimension , a Boolean product map consists of a nonempty subset and a map that is injective on for each coordinate .✦ A domain point of is a tuple , with source tuple and target tuple . The graph relation holds for when and for every .✦
A product circuit of address dimension over index sets of gate types, of edges, of seeds, and of tests consists of injective indexings of , , , and into ; a port arity with for every ; for each edge , a source gate type , a target gate type , a target port , and a Boolean product map of dimension ; for each seed , a gate type with and a Boolean product map of dimension ; and for each test , a gate type with and a Boolean product map of dimension .
Port truth for , , and is inductively generated by two rules: first, for every , domain point of , and port , the relation holds; second, for every and domain point of , if holds for every , then holds. A node is true, written , when holds for every port .✦
Polynomial word expressions
A function is polynomially bounded if there exist such that for all .✦ The unary word encoding of is the binary word of length .✦ For , a word expression of arity is built inductively from seven constructors: a variable (), the empty word , appending a bit (), dropping the last bit , branching on the last bit , local binding with of arity , and iteration with of arity and of arity .✦
On a tuple , the evaluation is defined structurally: returns ; returns ; appends to ; deletes the last bit of (leaving unchanged); evaluates , , or according as is empty, ends in , or ends in ; evaluates on ; and returns the stage word , where and for each .
A word expression of arity is bounded by on when: for , ; for , unconditionally; for , is bounded by on and ; for , is bounded by on ; for , and the selected branch among are bounded by on ; for , is bounded by on and is bounded by on ; and for , and are bounded by on and is bounded by on for every .✦ A function is a polynomial word function if there exist a word expression of arity and a polynomially bounded function such that for all , and is bounded by on whenever for all . A function is a polynomial unary word function if is a polynomial word function.✦
For a Turing machine , a function , a binary word , and an index , the initial tape letter evaluation is defined by (7)✦
The claim
Proposition 6.1. First, for every and every finite set , the number of cellular circuit connections is (8)✦
Second, for every Turing machine , every , and every binary word , the zero-step ring machine run agrees with the initial ring configuration: (9)✦
Third, for every address dimension , every product circuit of dimension , every edge , and all binary addresses , truth at the source node propagates across the edge relation to the target port: (10)✦
Fourth, for every Turing machine and every function , the map on pairs of binary words given by (11)✦ is a polynomial unary word function.
In the paper, the result reads: for a fixed deterministic single-tape Turing machine running in time at most with and each binary word of length , setting , , and , one can construct in time polynomial in an acyclic monotone circuit description with gate types and connection schemas, seed requests, and test requests such that accepts if and only if at least one designated test gate is true. The four statements in Proposition 6.1 formalize the underlying connection count (8), initial ring configuration identity (9), edge truth propagation (10), and polynomial-time initial tape encoding (11) in the Lean library.
What is checked
Proposition 6.1 is stated over arbitrary natural numbers and , finite alphabets for cellular circuit connections, Turing machines acting on -bit binary address rings, product circuits built from Boolean product maps of dimension , and polynomial word expressions computing the initial tape letter evaluation on pairs of binary words. For the binary address construction, the Lean library also establishes that the least-significant-bit-first address value is strictly less than , which yields the bijection between -bit binary addresses and .✦