The setting
In uniform circuit reductions for Weisfeiler-Leman equivalence, the evolution of a one-dimensional cellular automaton for steps on a ring of cells is represented as a finite Boolean circuit whose gates are indexed by binary space-time addresses in with . Each scalar gate computes the disjunction of its incoming wires together with an optional seed flag, each AND gate computes the conjunction of two disjunctive input ports, and designated test gates record accepting states at the final step.
A product description encodes such an addressed circuit compactly through a finite set of gate types, one-coordinate connection schemas, and one-coordinate seed and test requests. Expanding a product description yields a concrete circuit system whose wires act coordinatewise on binary addresses. For a cellular automaton instance, these coordinate tables implement binary time increments, cyclic position shifts modulo , and initial tape configurations.
Binary addresses and carry tables
For any , a binary address of length is a bit string , where denotes false and denotes true, and denotes bit negation for .✦ For , the binary value of a bit string is defined recursively by and (1)✦ Because for every , the map is a bijection , called the binary encoding bijection.✦
For and a carry index , the carry domain and increment bit map at coordinate are defined by (2) For an optional carry index , the cyclic carry domain and cyclic increment bit map extend (2) to the wrap-around case : (3) Given , let . For and , the threshold bit domain is (4)✦
Circuit systems and product descriptions
Let and be sets of scalar gate types and AND gate types. The set of circuit gates is the disjoint union ✦, and the set of circuit ports is , where each AND gate has two input ports and .✦ A circuit system over , , and an edge set consists of a source map , a destination map , a set of seeds , and a set of tests , such that for every and every (with viewed in the scalar summand of ).✦
For any address set , pairing a gate or port with an address yields the addressed gate and addressed port : a scalar maps to in both cases, an AND gate maps to , and an AND port maps to .
A product description specifies an exponentially large addressed circuit compactly through one-coordinate domain and transition tables. For an address length and index sets , , (connection schemas), and (requests), a product description consists of:
for each schema , a source gate , a destination port , nonempty coordinate domains , and coordinate maps that are injective on for every ;
for each request , a scalar gate type , a test flag ( for a seed, for a test), and nonempty coordinate domains for every .
An address is allowed for a schema if for all ✦, and allowed for a request if for all .✦ Each schema induces the edge address map defined coordinatewise by . For , the request set is (5)✦ The description satisfies the terminal test condition if for every , every , and every address allowed for , the addressed gate is distinct from the scalar gate .✦
The set of expanded edges of is . When satisfies the terminal test condition, its expanded circuit system is the circuit system over scalar types , AND types , and edges given by (6)✦
Cellular automaton schemas and requests
Fix an alphabet and natural numbers . A local neighborhood triple is an element .✦ A cellular automaton instance consists of a local transition rule , an input word , a blank symbol , and a set of accepting symbols , subject to .✦ Using the binary encoding bijection , the input length bits encode ✦, and for each , the input index bits encode position .✦ For any set , the time and position join of two length- tuples places at coordinate and at coordinate for .✦
Take scalar gate types and AND gate types . An automaton edge kind belongs to one of five disjoint families: left-neighbor transitions , center-neighbor transitions , right-neighbor transitions , internal AND links , and rule output links , where and .✦ An automaton circuit edge is a pair with .✦ For each , its source gate , destination port , time domain , time map , position domain , and position map are defined by the five cases:
left-neighbor : , , , , , and ;
center-neighbor : , , , , , and ;
right-neighbor : , , , , , and ;
internal AND link : , , , and ;
rule output link : , , , and .
The automaton request index set is the disjoint union (7)✦ For each request and each , its gate label , test flag , time domain , and position domain are:
input seed : , , , and ;
blank seed : , , , and ;
accepting test : , , , and .
The automaton circuit description is the product description of address length over scalar types , AND types , connection schemas , and requests whose source and destination maps are and , whose schema domains and maps are and , and whose request gate labels, test flags, and domains are , , and .✦
The definition
Definition. Let be an alphabet, let , and let be a cellular automaton instance with . Since the automaton circuit description satisfies the terminal test condition, the automaton circuit system is the expanded circuit system of , (8)✦ over scalar gates , AND gates , and expanded edges consisting of all pairs with allowed for .
What is checked
The definition is stated over an arbitrary alphabet , natural numbers and with , and a cellular automaton instance , assembled from binary address encodings, carry and threshold bit tables, product descriptions, and their expanded circuit systems. The Lean library proves that the binary value of every bit string is strictly less than ✦ and that the automaton circuit description satisfies the terminal test condition.✦