WorksComputer Science
On counting satisfying assignments via polynomial separation
Abstract
We give a preliminary exposition of a qualitative form of the main result of OpenAI's preprint "The Exponential Time Hypothesis is false": for every fixed , -SAT on variables with clauses can be decided in time and polynomial space. We separate the general counting procedure from the construction that supplies its input. The procedure deforms the clause inputs so that, at designated points, the count factors into local sums, from which Hermite interpolation recovers the original count; the construction builds such deformations from coordinate swaps in a tensor basis, leveraging a parity interpolation in the spirit of Alman and Williams.
Statements and proof strategy
Throughout, a 3-CNF is a conjunction of clauses containing at most three literals, and counts all declared variables, including unused ones. Time means deterministic bit complexity. Polynomial exponents in time and space bounds are absolute, independent of the fixed parameters; implicit multiplicative constants may depend on parameters indicated by subscripts. We write for a nonnegative integer .
Theorem 1. For every , satisfiability of a 3-CNF on variables with clauses can be decided in time and polynomial space.
Here is fixed independently of the input size. The implicit constant may depend on , so the statement does not give a running-time bound for an arbitrary choice . Arbitrarily small fixed positive exponential rates suffice to contradict the Exponential Time Hypothesis of Impagliazzo and Paturi [4], which asserts that for some there is no deterministic -time algorithm for 3-SAT. The algorithmic statement we prove is the following counting result.
Theorem 2. For every and , the number of satisfying assignments of a 3-CNF on variables with clauses, in which each variable occurs at most times, can be computed in time and polynomial space.
Proof of Theorem 1 from Theorem 2. The sparsification lemma [5], in the bounded-occurrence formulation stated in [3 Lemma 1], expresses the input as a disjunction of at most 3-CNFs on the same variables, each with occurrence bound . Unused variables can be retained as declared variables. After removing duplicate clauses, the input has clauses. For fixed , sparsification takes time; depth-first traversal generates its leaves one at a time in polynomial space. Take and count each formula at rate . The original formula is satisfiable exactly when one of these counts is positive. The combined time is , in addition to polynomial-time input preprocessing. The unused in the exponent absorbs the parameter-dependent polynomial in . Processing the formulas sequentially gives the asserted bounds. □
To apply the counting procedure, we express the formula algebraically: Remove tautological clauses and repeated literals, retaining unused variables. An empty clause gives count ; if no clauses remain, the count is . This preprocessing takes polynomial time in . If no empty clause is present, the occurrence bound implies that at most clauses remain, so the subsequent counting algorithm has polynomial factors in alone. For each remaining clause , let be its set of variables. For , put for a positive literal and for a negative literal. The polynomial
is on assignments satisfying clause and on the others. Thus the desired count is
Each occurrence of in clause is replaced by its own form , linear in and polynomial in , with . At each of designated points , fixing a few integer linear forms (measurements) makes every clause depend only on variables in one small group. The count then factors into local sums. § 2 shows how Taylor coefficients at these points reduce to such sums, so Hermite interpolation recovers the value at . § 3–§ 4 construct the forms by writing the identity operator as a sum of terms that use variables outside their assigned groups at only a few designated points, plus an exact remainder whose value on an assignment is determined by measurements. Factors cancel each term at those points. The number of vanishing factors bounds the degree, and hence the Taylor order required for recovery. Assignments remain Boolean, although the deformed inputs need not be.
Separated deformations and recovery
We work with a general finite family of factors, indexed by . For each factor, let and let be a nonzero polynomial, supplied as a list of monomials and rational coefficients. Write
A zero factor gives and is handled separately. For clause indicators, when the occurrence bound is .
Definition 3. Let , , be nonnegative integers and , positive integers. A separated deformation of with parameters consists of forms
with , and the following data at each of distinct designated rational points :
a finite indexed family of disjoint groups , , with union and sizes at most , allowing empty groups, and an assigned group for each factor;
integer linear forms in , called measurements, where , each supported in one group (that is, with zero coefficients outside that group) and taking values in on the Boolean cube;
separation: if agree on and have the same measurement values, then for every .
The groups, factor assignments, and measurements may depend on .
The algorithm enumerates measurement values. Once they are fixed, each factor depends only on its assigned group, although the forms may initially involve variables anywhere in .
All data are listed explicitly, with sparse encodings permitted. Let be their total binary encoding length plus .
The recovery algorithm
Suppose a separated deformation is given. Define
Then and . The values at the designated points need not determine , but its Taylor coefficients through order at each point do, since . We retain only these orders, performing computations in .
To recover Taylor coefficients, we keep in the base inputs and introduce auxiliary variables in the perturbations . Setting restores the desired inputs; setting to a fixed Boolean vector instead makes the perturbations independent of , preserving separation. Each auxiliary variable brings a factor of , so each monomial in the order- coefficient involves at most auxiliary variables. The proof below shows how inclusion–exclusion converts this observation into local sums with at most original variables fixed to 1.
The local routine takes a designated point , a set , and shifts in , independent of . It computes
Assign each measurement to a group containing its support. Enumerate , where is the proposed value of . A group assignment is compatible with if it realizes every measurement assigned to that group. Initialize a running sum to zero, and for each :
Enumerate assignments to each group and retain a compatible representative , without imposing the constraints . If any group has no compatible assignment, discard .
For each group, enumerate its compatible assignments satisfying for . Let combine with the representatives in the other groups, and compute
The representatives provide values outside the current group; separation makes their choice irrelevant to the factors assigned to this group. They need not satisfy the constraints in the other groups: those constraints are imposed when computing the other local sums.
Add to the running sum.
Return the running sum. An empty product is 1, so a group assigned no factors still contributes its number of compatible assignments satisfying the constraints.
For recovery, evaluations at indicator vectors determine the auxiliary multilinear coefficients by inclusion–exclusion. Write for the indicator vector of and proceed as follows.
At each designated point , initialize in . For every with and every , form
and add to .
By Hermite interpolation, find the unique polynomial of degree less than satisfying
at every designated point .
Return .
Process the measurement tuples and pairs sequentially, retaining the Taylor coefficient arrays for interpolation.
Correctness and cost
We verify the local routine and the recovery step in turn, then bound the arithmetic cost and storage.
Lemma 4. Suppose a separated deformation of with parameters is given. Put and , and let be the binary encoding length of the factors and deformation data plus . The recovery algorithm returns in time
and polynomial space in .
Proof. Fix and a feasible measurement tuple . Since each measurement is supported in its assigned group, the compatible assignments satisfying for form a Cartesian product. Separation makes each shifted factor depend only on its assigned group and on . Thus the product of the local sums is exactly the contribution of to (1). Summing over proves correctness of the local routine.
For the recovery step, introduce auxiliary variables and put
At the inputs become , so . Each correction is linear in and divisible by . Consequently the coefficient has -degree at most .
Reduce modulo for every , obtaining a multilinear polynomial with the same Boolean values. Write
The degree bound implies for . At , only monomials indexed by subsets of survive, so . Inverting these subset sums by inclusion–exclusion gives
For Boolean we have
The monomial on the right is exactly when for every . Moreover,
The shifts are independent of , so fixing the measurements still separates these factors. Summing over and substituting the coefficient formula therefore yields
Both and have degree less than , and their difference is divisible by at each of the distinct designated points. It must therefore be zero. This is the uniqueness step in Hermite interpolation [7 Chapter 5], and proves that the algorithm returns .
Each enumeration of a group examines at most assignments, and there are at most measurement tuples. Each call to the local routine uses arithmetic operations. There are pairs at each point; the number of points is included in . This proves the operation bound in (2).
The numerical terms added to the encoding length in bound the degrees and coefficient-array sizes polynomially. The operands also have polynomial bit length in : the shifts are obtained from the input polynomials. A common denominator for the input data, raised to a polynomially bounded power, clears the denominators in the truncated evaluations; their numerators also have polynomial bit length. Summation adds at most the logarithm of the number of terms, again polynomial in . The Hermite system has polynomial dimension and entry bit length, so exact rational linear algebra has polynomial bit cost. Sequential enumeration stores only the current assignments, representatives, running sums, and coefficient arrays, using polynomial space.
The three nonpolynomial factors in (2) account for local enumeration, measurement values, and Taylor recovery. The following criterion bounds their combined exponential rate.
Corollary 5. Fix . Suppose that for every one can construct a separated deformation of the clause indicators of each preprocessed 3-CNF with occurrence bound , at least one clause, and no empty clause, in time , with , such that
Then Theorem 2 holds for this .
Proof. Here . Since , the binomial theorem gives
Lemma 4 bounds the time by
The exponential rate tends to zero with , so it can be made smaller than any prescribed . Adding the input preprocessing cost gives the factor in Theorem 2. □
The second bound in (4) concerns the ranges of the measurements as well as their number. A single integer linear form, such as , can encode the entire Boolean assignment. Thus controlling the number of measurements alone does not suffice; their ranges must also be controlled.
Balanced labels
Fix an occurrence bound and a formula after the preprocessing in § 1, with at least one clause and no empty clause. An incidence is a pair with ; their number is .
Fix an integer independently of , and use designated points. The parameter choice is explained in § 5. Let , with elements. Assign a label vector to each clause and to each variable. At designated point , variable belongs to group and clause is assigned to group . The incidence label is the pair , with possible values. Balancing the variable labels makes the groups small; balancing incidence labels allows coordinate swaps after bounded padding.
Lemma 6. In polynomial time one can assign labels so that each variable label occurs times and each incidence label occurs times.
Proof. For each clause size, distribute clauses cyclically among the vectors in . If counts incidences in clauses with label , then , with error at most . Classify each variable by the multiset of labels on its incident clauses, including the empty multiset for unused variables. There are at most types. For any clause label , every variable of a given type has the same number of incidences with clauses labeled . Distributing the variables of each type cyclically among therefore balances all these incidence counts at once. A type with variables contributes to each variable label. Summing proves the first bound. If is the multiplicity of in type , the incidence count for label is
For fixed the numbers of labels and types are constant, so the assignments take polynomial time.
We give every incidence label the same number of positions so that coordinate swaps preserve the coordinate set. Write for the number of incidences with label and put . Place those incidences in positions ; the remaining positions are padding. Thus the coordinate set is
For write and . Define by placing at the incidence position of and zero at each padding position. No Boolean variables are added. Exactly label vectors have any prescribed value at coordinate . Lemma 6 therefore gives for the groups , . Unused variables remain in these groups and contribute their factors of 2 through the local sums.
The tensor construction
Use the groups and clause assignments from § 3, with designated points . We first identify a sufficient operator decomposition, then construct it using swaps.
From a decomposition to a deformation
Call a linear operator on local at if, at each incidence position of clause , the form depends only on variables in group . Linear combinations of operators local at remain local at . We will decompose the identity into such operators and an exact remainder , called the residual operator. Its value is the residual vector: the correction needed to recover from the other terms.
Lemma 7. Suppose we have an exact decomposition into linear operators on ,
where , each is local at every , and is determined at each point by bounded integer measurements, each supported in one group. Then
defines forms , where is the position of , with degree at most , , and separation after fixing the measurements.
Proof. Every multiplier equals 1 at zero, so and . At , the terms with vanish, making local at . Specifying the measurements determines the residual vector and gives the separation condition for the input forms. Also .
It remains to construct a decomposition with few possible locality failures per summand and measurements satisfying Corollary 5.
Why swaps give the decomposition
For each fixed position number , pair the coordinates and of the two labels. This identifies
For , let exchange and , leaving all other coordinates and unchanged. At an incidence position of clause , this permutation reads a position whose variable label has th coordinate . If that position contains a variable, the variable belongs to the assigned group; if it is padding, the value is zero. Thus is local at . Swapping other coordinate pairs does not change this th coordinate, so it preserves that property.
The swaps commute and satisfy . Write , with , and put . The full swap is local at every designated point, but feeding to the clauses generally gives them values of other variables or padding zeros. It therefore cannot replace the original inputs. Its usefulness comes from the identity
This operator performs every swap except those in , and is local at every designated point outside . Here the designated point corresponds to coordinate pair : the multiplier cancels each term that omits that swap and may therefore fail to be local there. Consequently, multiplying a polynomial of total degree at most in the swaps by gives a linear combination of operators with at most possible locality failures each. It remains to find such a polynomial whose product with agrees with the identity on a subspace of small codimension. The complementary components will supply the measurements. The bounds below require their proportion to be , since each measurement value uses bits.
For one coordinate pair, the standard vectors of give the orthogonal eigenbasis
The eigenvalues of the swap are respectively . The antisymmetric vectors comprise of the basis vectors, a proportion . Tensor this basis over the coordinate pairs and take a copy for each , obtaining a common eigenbasis for all swaps. Set
On a basis vector with antisymmetric factors, multiplies the swap eigenvalues and therefore acts by . Each summand acts by on an antisymmetric factor and by otherwise, so acts by . A uniformly chosen tensor basis vector chooses its factors independently, each antisymmetric with probability . Hence , with standard deviation at most . Set and choose the central window
This window contains the values of for most basis vectors, yet is small. Let be the unique polynomial of degree less than with for , and put . Then is the identity on the span of those basis vectors. A term in is a product of at most swaps; cancelling repeated swaps by cannot increase that number. Thus we can expand
Multiplication by gives the exact decomposition
Here the residual operator is , and its value is . The identity holds for any polynomial of degree less than ; the choice of makes this residual vector depend on few basis components. Following (6), define
At the incidence position of , the output form is .
Measurements. We must determine the residual vector using measurements supported in individual variable groups. There are two steps.
First, call a vector exceptional if its number of antisymmetric factors lies outside . The operator kills every nonexceptional basis vector. Since the basis is orthogonal, the inner products for exceptional determine the residual vector:
All vectors and denominators on the right are fixed by the construction; only the values depend on the assignment.
Second, each may involve more than one variable group. Fixing its value could couple assignments in those groups, preventing the count from factoring. At each designated point , write and split it as
Use the nonzero forms as the measurements. Their values determine by addition, while each imposed constraint involves only one group.
This splitting creates at most two measurements per exceptional vector at each designated point. Indeed, the th tensor factor of is or , so every position in its support has first-label coordinate or . Every variable occupying such a position therefore belongs to group or . Supply these measurements and the forms to the recovery algorithm, with factor assignments .
Separation and parameter bounds
The tensor basis controls both the number and the ranges of the measurements, giving the following bounds.
Lemma 8. The preceding procedure constructs a separated deformation in polynomial time for fixed , admitting parameter bounds
Its size parameter satisfies .
Proof. Since , we have , , and . These inequalities imply and that contains every integer within of .
Each tensor factor has entries in and at most two nonzero entries. Thus every has entries in and at most nonzero entries. Replacing incidence coordinates by variables can merge coefficients, and padding contributes zero; neither operation increases their sum of absolute values. Restricting to one group cannot increase it either. Every measurement therefore has integer coefficients with absolute sum at most , so its value on a Boolean assignment lies in . The measurements determine the residual vector by the orthogonal expansion above. Lemma 7 now gives , , and separation at every designated point.
To count the exceptional vectors, use (the probability only counts basis vectors; the construction is deterministic). Let be the indicator that the th tensor factor is antisymmetric, minus . The variables are independent and centered. Since ,
Every exceptional vector has . Applying Markov’s inequality to bounds the proportion of such vectors:
The two-group support established above gives . The group-size bound follows from Lemma 6.
Every operator acts separately on the coordinates with a given position number. For fixed , its coefficients belong to a fixed finite set of rationals. Each input form involves at most positions, and each measurement arises from at most positions. There are forms and measurements over all points. Sparse encoding, including variable indices, uses bits; the augmentation in has the same bound. The construction takes time.
The rate and alternative constructions
The bounds just proved make each exponential rate arbitrarily small.
Proof of Theorem 2. Lemma 8 gives
For the middle bound, use . Given , choose an integer . All three bounds in (4) follow, so Corollary 5 applies.
The construction requires both , to reduce the Taylor order, and , to reduce the logarithm of the cost of enumerating measurement values relative to . A second-moment estimate gives only , which does not establish the second requirement when . The fourth moment gives , allowing and . These limits concern ; each algorithm fixes independently of . With and , and .
The interpolation of parity used to construct has a direct antecedent in Alman and Williams [1 Section 2 and Lemma 3.1]. Their interpolation lemma prescribes a symmetric function’s values on consecutive Hamming layers, without any distributional assumption. Their Section 2 applies this to a central window containing most inputs under the uniform distribution on the Boolean cube. Here the relevant distribution is instead -biased: the Boolean coordinates are the eigenvalues of the projections , and parity is . Alman and Williams also construct probabilistic polynomials with per-input correctness guarantees [1 Theorem 1.2]; here a fixed interpolant suffices because we retain the exceptional components exactly. Their later work on Walsh–Hadamard matrix rigidity uses the same interpolation lemma to represent parity on an interval of inner products [2 Lemmas 3.1–3.2]. Our exceptional set consists of basis vectors rather than matrix entries.
Corollary 5 also in principle permits other constructions. In this tensor basis, a rational polynomial agreeing with parity outside a proportion of the product distribution with independent coordinates satisfying can replace . The operator fixes every basis vector on which agrees with parity; the remaining basis vectors supply the measurements. Its expansion in swaps has at most possible locality failures per term. Thus it suffices that and , with the stated polynomial construction time and data size. A different representation may replace both the swaps and the basis, but must supply its own group-supported measurements satisfying the number and range bounds of Corollary 5.
References
- [1]J. Alman and R. Williams, Probabilistic polynomials and Hamming nearest neighbors, Proc. 56th IEEE Symposium on Foundations of Computer Science (2015), 136–150. Section, theorem, and lemma numbering follows the full version, July 18, 2015: https://people.csail.mit.edu/rrw/polys-hamming.pdf.DOI
- [2]J. Alman and R. Williams, Probabilistic rank and matrix rigidity, Proc. 49th ACM Symposium on Theory of Computing (2017), 641–652. Lemma numbering follows arXiv:1611.0558v2.arxiv.org/abs/1611.05558
- [3]C. Calabro, R. Impagliazzo, and R. Paturi, A duality between clause width and clause density for SAT, Proc. 21st IEEE Conference on Computational Complexity (2006), 252–260.DOI
- [4]R. Impagliazzo and R. Paturi, On the complexity of k-SAT, J. Comput. System Sci. 62 (2001), no. 2, 367–375.DOI
- [5]R. Impagliazzo, R. Paturi, and F. Zane, Which problems have strongly exponential complexity?, J. Comput. System Sci. 63 (2001), no. 4, 512–530.
- [6]OpenAI, The Exponential Time Hypothesis is false, Math Release Preprint, October 25, 2026 version.
- [7]J. von zur Gathen and J. Gerhard, Modern Computer Algebra, 3rd ed., Cambridge University Press, 2013.