The setting
Reducing -CNF satisfiability to -dimensional Weisfeiler-Leman (-WL) indistinguishability requires compressing a formula with clauses into a bounded number of finite domains whose pairwise consistency captures satisfiability. Under the Exponential Time Hypothesis (ETH), any reduction that passes through a simultaneous choice problem on domains must keep every domain and every pair label set within size so that the resulting graphs remain small enough to yield an exponential lower bound.
The reduction operates at two levels. First, partitioning the clauses of a -CNF formula into groups produces a simultaneous choice system whose parity lifts and have equal order bounded by times a factor depending only on , and are -WL equivalent if and only if the formula is unsatisfiable. Second, encoding the same clause-grouping construction as concrete bit-string tables yields choice system data whose induced choice system matches bit-encoded -CNF satisfiability and respects the matching size bound.
Choice systems
Let be a natural number, and write (empty when ). An ordered index pair in is a pair with .✦
A choice system on consists of a finite domain for each , a finite label set for each ordered index pair in , and labeling maps and .✦ The choice system is successful if there exists a tuple such that (1)✦ For a natural number , the choice system satisfies the choice system size bound if for every and for every ordered pair in .✦
To represent a choice system concretely by tables, choice system data on consists of a finite list of functions for each , together with a natural-number bound for every .✦ For and , the choice data entry is the value at of the -th function in (using -based indexing into ), defaulting to when .✦ The choice pair bound is ✦, and the clamped choice label is (2)✦ The choice system from data induced by takes each domain to be the index set of size , each label set for to be of size , and the labeling maps to be and from (2).✦
Parity lifts
A WL coloring convention is either the joint or the separate -WL refinement convention.✦ For a convention and a natural number , the bag parameter is (3)✦
Fix a natural number . A helper triple consists of an ordered pair in and a third index ✦; the helper triple is incident to a main index if .✦ The template graph is the simple graph whose vertex set is the disjoint union of the main clique and the set of helper triples , in which distinct main vertices are adjacent, each helper vertex is adjacent to its three incident main vertices , and no two helper vertices are adjacent.✦
Given a choice system on , the base graph has vertex set equal to the disjoint union of the main pairs with and and the helper pairs with a helper triple and .✦ Two vertices of are adjacent if they are joined in either direction by a base graph arc, of which there are four types:✦
a main arc from to for whenever ;
a left arc from to and a right arc from to ;
a third arc from to for every and every .
The base projection maps to and to ; it is a graph homomorphism from to .✦
Let denote the parity bits (integers modulo ).✦ For a parity assignment and a template vertex , a parity tag at is a map on the neighborhood of in whose values sum to in .✦ A lift graph vertex is a pair with and a parity tag at .✦ The parity lift graph is the simple graph on the lift graph vertices in which and are adjacent if and are adjacent in and .✦
Let be the star parity assignment that maps the first main vertex to and every other vertex of to .✦ The zero parity lift is the parity lift graph of with the identically zero parity assignment✦, and the star parity lift is the parity lift graph with parity assignment .✦ For any natural number , the lift order factor is (4)✦ where and denote truncated subtraction on .
Weisfeiler-Leman equivalence
Let be a simple graph on a finite vertex set and let . For each round , the joint -WL coloring and the separate -WL coloring are defined recursively on -tuples . At round , both assign to its atomic type (the equality and adjacency relations among its coordinates). At round , writing for the tuple obtained by replacing with , (5) where denotes a multiset.
Two finite simple graphs and have the same -WL color histogram under convention at round if the multisets of round- colors over and are equal, using the joint coloring from (5) when is joint and the separate coloring when is separate.✦ They have the same pure -WL color histogram under at round if, inside the disjoint union , the multiset of round- colors of -tuples in equals the multiset of round- colors of -tuples in .✦ The graphs and are -WL equivalent (respectively, pure -WL equivalent) under if they have the same -WL color histogram (respectively, the same pure -WL color histogram) at every round . The detection round is when is joint and when is separate.✦
Grouped formulas
For a natural number , a boolean literal over is a pair of a variable index and a Boolean polarity .✦ A -CNF clause over is a finite list of at most boolean literals✦, and a -CNF formula over is a finite list of -CNF clauses.✦ A Boolean assignment satisfies a clause if some literal in the clause has ✦; it satisfies if it satisfies every clause in ✦, and is satisfiable if some assignment satisfies it.✦
For natural numbers and , the clause group width is (6)✦ which equals whenever . Given a -CNF formula with clauses over and a positive integer , the clauses of are partitioned into groups by assigning the -th clause () to the group indexed by .✦ The clause variable scope of a clause is the set of variables appearing in its literals✦, and the group variable scope for is the union of the scopes of all clauses in group .✦ Any partial assignment on a subset extends to by assigning to every variable outside .✦
From these groups and scopes, the grouped formula choice system is a choice system on : its domain consists of the Boolean assignments on whose extension to satisfies every clause in group , its label set for is the set of Boolean assignments on , and both labeling maps and are given by restriction to .✦ For a WL coloring convention and , the bag parameter from (3) is positive✦, and the SAT parity choice system is the grouped formula choice system .✦
Bit-encoded choice tables
Let be the set of binary variable names, consisting of all finite strings over .✦ A bit-encoded literal is a pair ✦, a bit-encoded clause is a finite list of bit-encoded literals✦, and a bit-encoded formula is a finite list of bit-encoded clauses.✦ An assignment satisfies a bit-encoded clause if some literal in the clause satisfies ✦, and satisfies if it satisfies every clause in .✦
For a natural number and a bit-encoded formula with clauses, the formula chunk width is from (6)✦, and the leaf word length is (7)✦ For each , the -th bit-formula clause chunk is the contiguous sublist of obtained by dropping the first clauses and taking at most clauses.✦
For any bit-encoded formula , let be the list of variable names occurring in the literals of , in order of occurrence.✦ Given a list of variable names , a bit string over , and a variable name , let be the -based index of the first occurrence of in (or if does not occur in ); the bit-string variable lookup returns the -th bit of if , and otherwise.✦ For , let be the fixed enumeration of all binary strings of length .✦ The satisfying bit strings of of length form the sublist of consisting of all for which the assignment satisfies every clause of .✦
Given a family of bit-encoded formulas, , indices , and a bit string , write and . The shared-variable pair key replaces each in by if appears in and by otherwise, and then appends zeros.✦ The pair key index row maps each to the -based index of in (or to if absent).✦ The bit-encoded choice data on takes to be the list of rows as ranges over the satisfying bit strings of of length , and sets every pair bound .✦ Finally, the leaf choice data is for the clause chunks of and the leaf word length from (7).✦
The claim
Lemma 5.2. Let be a WL coloring convention, let be a natural number with bag parameter , and let be a -CNF formula with clauses over variables. For the SAT parity choice system and its zero and star parity lifts and , the vertex counts satisfy (8)✦ where is the lift order factor (4). Furthermore, and are -WL equivalent under if and only if is unsatisfiable, and they are pure -WL equivalent under if and only if is unsatisfiable; if is satisfiable, then at the detection round the graphs and have neither the same -WL color histogram nor the same pure -WL color histogram under .
For every positive integer and every bit-encoded formula whose clauses each have at most literals, the choice system induced by the leaf choice data satisfies (9)✦
For every natural number and every bit-encoded formula , every domain and every pair label set of satisfies the size bound (10)✦
What is checked
In the parity-lift reduction (8), the Lean library states the cardinality bound, the -WL and pure -WL equivalences, and the detection-round separation over every WL coloring convention , every dimension , and every -CNF formula over variables, using the grouped choice system and its zero and star parity lifts over the template graph . For the bit-encoded leaf tables, the Lean library states the satisfiability equivalence (9) over every and every bit-encoded formula whose clauses have width at most , and states the size bound (10) over every natural number and every bit-encoded formula without a width restriction.
The Lean library also establishes that the bag parameter is positive for every WL coloring convention and every .✦