Manuscript Offprint
arXiv:2609.37929Vanishing Ideals and the Computational Tractability of Sum-of-Squares over Boolean Domains
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Building on the bit-complexity framework of Raghavendra–Weitz and the moment-SOS criteria of Gribling–Polak–Slot, we study the effective use of truncated vanishing identities over Boolean polynomial systems. A complete, constructible identity space gives an augmented moment SDP that can be optimized with exact rational feasibility and arbitrary additive accuracy. We give a self-contained geometric implementation: an explicit affine reduction and a simplex of Boolean evaluations supply the radius bounds required by rational ellipsoids. The identity space can be constructed directly or extracted from a supplied graded Gröbner basis, including one supplied at a higher truncation degree. An explicit transfer theorem connects this augmented formulation to the original system. Two-sided SoS derivations eliminate the added equality axioms from certificates, with controlled degree and coefficient growth, and imply containment of a projected higher-level moment relaxation in the augmented body. Together with spectral coefficient bounds, this gives polynomial-time search for rational proofs with an additive perturbation.
For Min-closed linear systems, propagation constructs the identity space in polynomial time at fixed degree and gives degree- certificates for both signs of each degree-t basis element. Consequently, a rational degree- proof of can be found in polynomial time for fixed whenever has a degree- proof. The augmented degree- moment SDP can be optimized in polynomial time with exact rational feasibility and a comparison to the original degree- relaxation. Boolean complementation gives the same results for Max-closed systems, including generalized packing and covering. Min-closed systems thus provide a concrete application of the general criteria. All complexity bounds are in the Turing model.
*Supported by the Swiss National Science Foundation projects no. 200021_207429/1 “Ideal Membership Problems and the Bit Complexity of Sum of Squares Proofs” and no. 200021_212929/1 “Computational methods for integrality gaps analysis”.
Contents
1 Introduction 3
2 Preliminaries and conventions 7
3 The dual criterion: controlling certificates through vanishing identities 8
4 The primal criterion: identities determine the right geometry 11
4.1 Proof of the primal criterion 12
4.2 Two effective routes to the same affine hull 16
4.3 SoS derivability supplies the higher-level comparison 18
5 Application to Min-closed and Max-closed systems 19
5.1 Construct the full list by closures 19
5.2 Comparing the direct and Gröbner-basis routes 21
5.3 Propagation and infeasibility have degree-four certificates 22
5.4 The reduced basis and its two-sided certificates 23
5.5 Both algorithmic conclusions and the exact degree accounting 24
5.6 Max-closed systems via Boolean complementation 25
5.7 Generalized packing and covering 26
Declaration on the use of AI tools 26
Acknowledgments 26
References 26
A Algebraic tools and coefficient bounds 28
A.1 A bit bound for a supplied Boolean basis 30
A.2 Reduced bases for Min-closed Boolean sets 30
B Rational linear algebra and Boolean moment geometry 31
C The ellipsoid method and exact-feasible optimization 33
C.1 Preliminaries and the GLS ellipsoid theorem 34
C.2 An explicit ball of nearly optimal points 35
C.3 Exact-feasible approximate optimization 36
D Bounded-certificate search and residual repair 39
For a fixed degree, the corresponding semidefinite program has polynomial dimension. This fact alone does not prove polynomial-time solvability in the Turing model. Two obstructions must be addressed. On the dual side, a low-degree SoS certificate may require coefficients of enormous bit length. On the primal side, valid polynomial identities impose linear relations among the moments. The feasible moment set may consequently lie in a proper affine subspace of the displayed coordinate space and have empty interior there, even though it has a well-behaved relative interior.
Earlier criteria. O'Donnell [19] showed that low SoS degree alone does not control coefficient size. Raghavendra–Weitz [22] control this obstruction by combining spectral bounds with efficient Nullstellensatz derivations from the equality axioms. Their criterion shows that effective ideal membership can turn the existence of a low-degree SoS proof into the existence of one whose coefficients have bounded bit length. Mastrolilli [17] (see also [3, 4]) subsequently used truncated Gröbner bases to construct effective generating sets for Boolean constraint problems, thereby making the algebraic input of the Raghavendra–Weitz criterion algorithmically available and obtaining efficient formulations of the associated theta body relaxations. Bortolotti–Mastrolilli–Vargas [5] later developed degree-automatability criteria based on algebraic derivations over finite domains.
Building on Raghavendra–Weitz and classical results on rational semidefinite optimization, Gribling–Polak–Slot (GPS) [10] give algebraic and geometric conditions for polynomial-time computation of moment-SOS bounds. Their algebraic condition identifies the matrix kernels forced by polynomial identities, while their spectral condition supplies quantitative nondegeneracy. They also observe that a Gröbner basis can provide the required algebraic information. Their algebraic criterion provides the moment-SOS framework for our primal result. We give a direct geometric implementation using the classical rational ellipsoid method. We specialize this framework to rational Boolean systems for which the complete truncated identity space can be constructed efficiently, give explicit affine coordinates and geometric bounds, and connect these identities to proof search over the original axioms through a degree-controlled transfer. For Min- and Max-closed linear systems we construct the identities and prove the required two-sided derivations. The contributions are stated precisely below.
The common principle. Our starting point is the complete vector space of identities of bounded degree that vanish on the Boolean feasible set. This space has two different algorithmic roles. To search for proofs over the original system, its identities must be derivable from the original axioms with controlled degree and coefficient size. To optimize over moments, the same identity space must be constructible: a rational spanning list must be available with controlled encoding length. Derivability and constructibility are logically distinct requirements, and the paper keeps their consequences separate.
On the dual side, a two-sided SoS derivation of an identity means proofs of both and . Such derivations allow the identity to be used and later eliminated from an SoS certificate. On the primal side, imposing every truncated identity removes precisely the affine directions that vanish on all feasible Boolean points. Parametrizing the resulting affine hull by independent coordinates exposes a genuine inner ball. Thus the same identity space links proof search and moment optimization, but through two different kinds of algorithmic access.
Figure 1 displays these two branches. The two ways of constructing the primal input are developed in Section 4.2.

Figure 1: The common algebraic object and its two algorithmic uses. The left branch assumes bounded two-sided certificates; the right branch assumes an effective description of all truncated identities. Two-sided derivations also yield the hierarchy comparison in Figure 2.
Contributions. The paper makes the preceding principle quantitative and algorithmic in four steps. We use ordinary degree throughout: a degree-2d pseudoexpectation has moments through degree 2d and a moment matrix indexed by monomials through degree d.
- A dual criterion and an explicit transfer theorem. Theorem 3.3 assumes that both signs of every element of a truncated reduced graded Gröbner basis have degree- SoS proofs with bounded coefficients. Under this assumption, every polynomial that has a degree-2d SoS proof also has a degree- proof with controlled coefficient size. The bounded-certificate search reduction in Appendix D, using standard convex optimization and an explicit Boolean residual correction, then finds a rational Gram certificate of in polynomial time whenever has a degree-2d proof.
The spectral estimate follows Raghavendra–Weitz, with the rational moment and localizing-matrix bounds of Gribling–Polak–Slot. Theorem 3.2 quantifies the standard algebraic substitution needed when the useful identities are not original equality axioms. It shows how to eliminate every added equation by substituting two-sided SoS proofs of and . The theorem tracks the resulting degree and coefficient growth: if has degree and its two signs have degree- proofs, then its use in a degree-2d certificate can be eliminated within degree . This permits identities derived using inequalities to play the role that equality consequences play in the Raghavendra–Weitz criterion.
- A constructive Boolean realization of the primal criterion. Theorem 4.1 starts from a rational, polynomial-size spanning list of all identities of degree at most 2d. Adding their moment equalities to the original degree-2d relaxation gives the augmented body . We prove directly that these equalities describe its complete affine hull, compute independent rational coordinates, construct an inner ball of inverse-exponential radius and a polynomially bounded outer ball, and give a strong rational separation oracle. The rational ellipsoid method then returns a rational point of that satisfies every constraint exactly and is optimal within any prescribed additive error.
This optimization principle is a Boolean instance of Gribling–Polak–Slot [10, Proposition 6 and Theorem 7]: the complete identities supply their algebraic hypothesis, and Boolean evaluation moments supply their spectral hypothesis. Their SDP algorithm already has an exactly feasible rational output [10, Theorem 15 and Section 3.4]. Here we give an explicit, self-contained construction of the affine reduction and quantitative ellipsoid data from the supplied identity list. This construction, and its combination with degree-controlled derivability, are the parts developed in this paper.
-
Two effective constructions of the same primal body. The input to the primal theorem can be obtained in two ways. The direct route constructs any rational spanning list of the truncated identity space, for example from closure information. The Gröbner-basis route starts from a supplied or effectively computed reduced graded basis of the vanishing ideal, where ; the case is sufficient, while a basis supplied at a higher degree can simply be truncated to the required degree. Graded division extracts all identities needed at degree 2d, while standard monomials provide the independent moment coordinates. Theorem 4.3 records the running time and encoding length of this reduction. Both routes impose the same affine equations and hence optimize the same body ; they are alternative implementations of one geometric idea, not different relaxations. The use of truncated Gröbner bases as effective generators connected with the Raghavendra–Weitz criterion, and for the efficient formulation of theta bodies, originates in Mastrolilli [17]. Our supplied-basis theorem integrates that algebraic route with the present exact-feasible moment optimization result.
-
Connection with the original moment hierarchy. Constructibility of the identities suffices to optimize . Derivability supplies an additional conclusion. If every identity used in has two-sided SoS derivations of degree at most the even integer , then soundness gives
Here is the original moment relaxation with moments through degree 2d, and discards moments of degree above 2d. Consequently, for a maximization problem the pseudoexpectation produced over has objective value at least the optimum of the original degree- relaxation, up to the requested additive error. The moment degree of the algorithm remains 2d; records the degree needed to derive and eliminate the added identities.
Min-closed systems as an application. Min-closed systems supply both the algebraic and algorithmic hypotheses of the general criteria explicitly. The same closure structure supports the two algorithms. A Boolean linear inequality is Min-closed if the coordinatewise minimum of two satisfying Boolean vectors also satisfies it. We call a system of such rows a generalized packing system. Classical packing inequalities , , are examples, but Min-closed rows can have mixed signs and need not define a downward-closed family. The example illustrates this difference. Generalized covering is defined by Max-closed rows, including classical nonnegative covering inequalities. The assumption is on each given row, not only on the intersection of the rows.
For Min-closed systems, closures of small supports construct all truncated identities without enumerating the feasible set. This verifies the constructibility hypothesis and yields the primal algorithm. Separately, Boolean propagation admits degree-four SoS certificates and refutes an infeasible Min-closed system in degree four. Conditioning these refutations proves both signs of every degree-t basis element in degree , with polynomial coefficient bit length. This verifies the derivability hypothesis and yields the dual algorithm and the comparison with a higher level of the original moment hierarchy.
For a moment vector , let denote the associated linear functional, defined on monomials by and extended linearly to polynomials.
Theorem 1.1 (Algorithmic consequences for generalized packing and covering). Fix . For a rational Boolean linear system whose rows are all Min-closed, or whose rows are all Max-closed, the following tasks have polynomial bit complexity in the input length and the number of accuracy bits.
(i) Under the promise that a given rational has a degree-2d SoS proof, find a rational Gram proof of of degree at most .
(ii) Either report that the Boolean system is infeasible, or return a rational degree-2d pseudo-expectation that is exactly feasible and -optimal for . Its objective value is at least .
In (ii) the degree of f is at most 2d and maximization is used. The precision may be specified as , with time polynomial in . The augmented SDP uses only moments through degree 2d.
Here is the linear functional associated with the moment vector : it assigns to the squarefree monomial and is extended to polynomials by linearity and the Boolean equations. The notation denotes the original degree-t moment relaxation, while also imposes all vanishing identities through degree 2d. Theorem 1.1 combines Corollaries 5.7 and 5.8 with Proposition 5.9, giving polynomial-time algorithms on both the certificate and moment sides for these systems.
The Min-closed application therefore contributes the missing bridge from the abstract criteria to compact systems of rational linear inequalities. It gives, for the same original formulation, polynomial-time proof search in degree and polynomial-time optimization of the augmented degree-2d moment body, together with . Max-closed systems follow by Boolean complementation. The geometric and optimization arguments are included in full, with the rational ellipsoid theorem of Grötschel–Lovász–Schrijver [11] as the algorithmic tool.
Huber and Mastrolilli [12] apply Theorem 1.1 to the approximation of Chvátal–Gomory closures. They obtain a polynomial-time approximation scheme for the first Chvátal–Gomory closure generated by multipliers in , for fixed , over capacity-bounded Min-closed systems. The primal criterion developed here supplies the algorithmic ingredient: polynomial-time computation of rational pseudoexpectations satisfying the required bounded-degree SoS constraints exactly, with controlled additive error in the objective.
A further application is given by Benedetto Proença, Encz, and Mastrolilli [1], who construct truncated vanishing identities and their two-sided SoS derivations for soft Majority-closed Boolean linear systems. Applying the criteria developed here yields polynomial-time proof search with controlled degree increase and exact-feasible rational optimization of the augmented moment relaxations at fixed degree, providing the computational foundation for their approximation algorithm.
Organization. Section 2 fixes the degree and encoding conventions. Sections 3 and 4 prove the two general criteria. Section 5 applies the criteria to Min-closed systems, compares the two primal constructions, and transfers the conclusions to Max-closed systems by Boolean complementation in Section 5.6. Its final subsection discusses generalized packing and covering. After the references, Appendices A–D collect the technical tools used in the main text. They recall standard facts (see e.g. [11]) from rational linear algebra, positive-semidefinite separation, the rational ellipsoid method, and perturbation-and-repair arguments, while proving the quantitative affine-hull, radius, reconstruction, and encoding estimates required by our applications.
2 Preliminaries and conventions
Let and consider a rational polynomial system
including the Boolean equations for all . Its real feasible set is , and
Fix . Write and
Here 2d is the maximum moment degree and d is the moment-matrix order. Let len be the total binary encoding length of the input system, including dimensions and monomial supports. Rational numbers have binary numerators and positive denominators; denotes total encoding length. All computational bounds count bit operations. All logarithms are to base two, and denotes a closed Euclidean ball. Accuracy parameters are positive rationals. For a polynomial , write . For real symmetric matrices, use the trace inner product .
Moment and proof conventions. For , write and . Multilinear reduction ml replaces each positive exponent by one. For even , a vector defines
The original pseudoexpectation relaxation consists of the vectors satisfying
Zero input polynomials are discarded. A constraint of degree greater than t has no block or multiplier at this truncation, but still defines S. Degrees refer to ordinary total degree before multilinearization.
A degree-t SoS proof of is an identity
where every is a sum of squares and the are arbitrary polynomials. Real coefficients suffice for soundness: if , then , by applying to the squares, localizing squares, and equality multiples in (5). Boolean reductions preserve degree: repeatedly use for , with the other monomial factors retained. Thus polynomial identities proved modulo the Boolean ideal can be lifted to this convention without increasing degree.
For even , let discard all moments of degree greater than 2d. It maps into : every lower-degree PSD matrix is a principal submatrix of the corresponding higher-degree matrix, and every required equality is already imposed at degree .
Gram encoding and certificate size. Write for the vector of all ordinary monomials of degree at most . A sum of squares of degree at most is represented by , where is symmetric. We encode a rational certificate by these Gram matrices and the coefficients of the equality multipliers. A size bound controls the magnitudes of these entries, which may be real. A rational PSD Gram matrix is an exact rational certificate even if a chosen square-root factorization has irrational entries. Degree automatability below means polynomial-time search for a rational certificate of , under the promise that has a degree-2d certificate, allowing degree and time polynomial in the number of monomials at that degree and the requested number of accuracy bits.
Vanishing identities and graded bases. The ideal is considered over ; its degree-bounded coefficient spaces have rational bases, since they are kernels of Boolean evaluation matrices. We always use a fixed graded lexicographic order. The reduced Gröbner basis is monic; denotes its elements of ordinary degree at most . An identity list is complete at degree if its rational span is . A truncated basis is generally not such a linear spanning list until its admissible monomial multiples are included. Appendix A proves the standard division and Boolean reduction facts used for this purpose.
Definition 2.1 (Strong rational separation). For a closed convex , a strong rational separation oracle accepts a rational query only if ; otherwise it returns and satisfying for every . Its time and output length are polynomial in the oracle-instance encoding and the query encoding. This is exact separation, including on the boundary.
3 The dual criterion: controlling certificates through vanishing identities
We use the spectral coefficient-control method of Raghavendra–Weitz [22], closely related to the moment-SOS certificate bounds in [10, Theorems 9 and 22]. The first lemma gives the bounded representation modulo the vanishing ideal. Theorem 3.2 next shows how to eliminate added identities, with degree and coefficient bounds. Combining these two results gives the dual criterion.
A degree-2d SoS proof may contain Gram-matrix components whose associated polynomials vanish at every feasible point. Such components do not affect the values of the proof on the feasible set, but they can carry arbitrarily large coefficients. We project them away and collect the resulting difference in a polynomial of the vanishing ideal. This projection argument is used only to prove the existence of an equivalent certificate whose coefficients are bounded by a polynomially encoded number B. The algorithm does not construct the projected Gram matrices, nor does it enumerate the feasible set S. Once the bound B is known, it searches directly, in the original Gram encoding, for any rational certificate satisfying the coefficient bound B.
The following lemma adapts the Gram-projection step in the proof of Raghavendra–Weitz [22, Theorem 10] to the present Boolean setting. We retain the resulting vanishing residual as an element of the truncated vanishing ideal; it will be eliminated later through two-sided SoS derivations. For the arithmetic spectral bounds we use the integer-matrix argument of [22, Lemmas 6 and 7] and its moment and localizing-matrix formulations in [10, Theorem 7 and Propositions 20 and 21]. These bounds apply to rational Boolean evaluation moments, including when some inequalities vanish at feasible points.
Lemma 3.1 (Bounded certificate modulo the vanishing ideal). Suppose and a rational polynomial has a degree-2d SoS proof. Put . There exist PSD Gram matrices
where negative are omitted. Every matrix entry and every coefficient of has magnitude at most , for a computable uniform polynomial. The coefficients here may be real.
Proof. Start with any Gram proof, without a coefficient bound. For each retained block form, for the proof only,
Let be the orthogonal projection onto its range and put . A vector in satisfies . Every summand is nonnegative; thus whenever . Consequently equals the original summand at every . The equality terms in the original proof vanish there, so the displayed residual vanishes there as well.
Choose a positive common denominator of the coefficients of , with . The matrix is an integer PSD matrix of order at most . Its entries have magnitude at most : ordinary monomials evaluate to zero or one, there are at most input terms, and . By Lemma A.3, every positive eigenvalue of is at least . Therefore every positive eigenvalue of is at least
If , take . Otherwise . Averaging the original proof on gives
Here every other averaged Gram term is nonnegative. Since , the left side is at least . Hence every entry of has magnitude at most ; for a PSD matrix this follows from . Expanding at most Gram terms and the input coefficients now bounds by . All the displayed majorants are computable from the encoded input, even though the projections and the set need not be computed.
The following theorem allows identities with two-sided SoS proofs from the original system to be used as additional equality axioms and then eliminated from a certificate. The final certificate proves the same inequality from the original axioms alone, with controlled degree and coefficient growth. On the moment side, this gives containment of a projected higher-degree relaxation in the augmented lower-degree body. The substitution is classical: it shows that the support of a quadratic module is an ideal [13, Section 4.1, Eq. (16)].
Theorem 3.2 (Transfer from added identities to the original system). Let be even, and let be a finite list of nonzero polynomials of degree at most . Suppose both signs of every have SoS proofs from (1) of degree . Define the even degree
omitting the inner maximum if is empty. Then:
(i) Every degree-r SoS certificate of from the original system augmented by the equality axioms , , can be transformed into an SoS certificate of the same inequality from the original system alone, of degree at most . If all entries of the augmented certificate, including its equality multipliers, have magnitude at most , and the two-sided certificates have entries of magnitude at most , the transferred certificate has entries of magnitude at most
Rational input certificates give a rational output by an explicit polynomial-bit-time substitution in their encoded sizes and .
(ii) Let be the degree-r moment relaxation with these equality axioms and all degree-allowed multipliers. Then
If the admissible multiples of span , then , the moment body obtained by imposing all vanishing identities through degree . The inclusion requires only the two-sided degree bounds.
Proof. Write the augmented certificate as
For every multiplier , use the polynomial identity
Substituting the two assumed certificates and multiplying by the displayed squares gives a certificate for ab of degree at most . Summing proves the degree assertion in (i).
Multiplication of a Gram polynomial by replaces its matrix by , where is the coefficient matrix for multiplication by . Here every coefficient of has magnitude at most . Each new Gram entry is therefore a sum of at most terms of magnitude at most . The same bound holds for coefficients of the multiplied equality terms, by expanding . There are two substituted certificates per , in addition to the original terms. This proves the displayed magnitude bound. With rational certificates, the indicated additions and multiplications are polynomially many operations on rationals of polynomial encoding length, which proves the bit-complexity statement.
For (ii), take and any polynomial with . The same substitution gives proofs of both and within degree . Soundness yields . Restriction to degree preserves this identity and the original moment constraints, proving the inclusion. If the admissible multiples span the full truncated identity space, their moment equalities are exactly those defining .
The transfer is an algebraic substitution, while the quantitative coefficient bound makes it usable in the Turing model. Applied after the spectral lemma and graded division, it proves the dual criterion. Applied to the moment functionals alone, it gives the hierarchy comparison below. Effective construction of the identity space supplies the separate algorithm for optimizing the augmented body.
The dual criterion should be compared with the equality-based Nullstellensatz condition in [22, Theorem 10] and the polynomial-calculus criterion in [5, Theorem 2.1]. Berkholz's simulation gives an SoS derivation of from a degree-D polynomial-calculus derivation of , within degree 2D [2, Lemma 3.1]. The hypothesis below instead asks directly for certificates of both and , with controlled degree and coefficient bounds; inequalities may participate in these certificates.
Theorem 3.3 (Dual criterion). Let the rational Boolean system be as in Section 2. Let be its reduced graded basis truncated at degree 2d. Assume its coefficients have magnitude at most and, for each , both and have Gram certificates with entries and equality coefficients of magnitude at most , of degree , for a fixed constant c. Put
The maximum over an empty basis is omitted. Every degree-2d SoS proof of a rational can be replaced by a degree- proof whose Gram entries and equality coefficients have magnitude at most . Given computable numerical bounds and an even search degree bounding the right side of (7), one can search at that degree for a rational Gram proof of in polynomial time in these parameters and , under the promise that a degree-2d proof of exists. Neither the basis nor its two-sided certificates must be supplied to the search algorithm.
Proof. For nonempty S, apply Lemma 3.1 and divide its residual by the monic graded basis. Lemma A.2, valid also for real coefficients, gives
At most cancellation steps and hence at most basis elements are used. Regard the resulting identity as a certificate with these basis elements added as equality axioms. Theorem 3.2(i) eliminates them with degree (7) and a coefficient bound polynomial in the representation size and the magnitudes already bounded above. Write . Since , : split any monomial of degree at most into a fixed number of factors of degree at most , choosing a deterministic split. This proves the asserted coefficient bound, with computable majorants.
If , its reduced basis is . Skip the averaging lemma and use directly in (6). The same degree and coefficient conclusions follow from the two assumed proofs of 1 and -1.
Finally use bounded-certificate search: a computable magnitude bound on a real certificate suffices to find a rational certificate of at the same degree, with polynomial cost in the monomial count, input encodings, bound encoding and accuracy bits. Lemma D.1 proves this by finding a rational point in a small relaxation of the coefficient SDP and repairing its residual with Boolean equations. Its input consists only of the original coefficient equations and the computed bound, so the search does not require the basis or its two-sided proofs.
The criteria include refutations by taking . For proof search, choose and multiply the returned certificate of by two. This statement is subject to the hypotheses of the dual criterion; for Min-closed systems, Lemma 5.4 constructs a degree-four refutation whenever the system is infeasible.
4 The primal criterion: identities determine the right geometry
The primal argument starts from the vector space
of all polynomial identities of degree at most 2d that vanish on the feasible set. The geometric criterion assumes that this space is available through a rational spanning list that can be constructed efficiently. We then describe two ways to produce such a list: a direct construction, and graded division by a suitable truncated Gröbner basis. Both constructions impose the same affine equalities on the moments and therefore define the same augmented body .
This is related to quotient-ring moment formulations: combinatorial moment matrices over finite varieties are described in [16, Section 2.1], and degree-compatible quotient bases underlie the theta-body construction in [9, Section 2]. Here also retains the localizing constraints for the original inequalities.
The underlying moment-solvability principle belongs to the algebraic framework of Gribling–Polak–Slot [10]. The theorem below gives a constructive Boolean specialization, with an explicit affine reduction, quantitative radius and separation bounds, and an exactly feasible rational output. When the same identities admit two-sided SoS derivations, the transfer theorem additionally relates this augmented moment body to the original hierarchy.
Theorem 4.1 (Primal criterion). Let be the Boolean feasible set of (1). Consider the following two properties.
(i) One can construct, from the system and d, a finite list satisfying
in time polynomial in W, len, with total rational encoding length .
(ii) For every , both and have SoS proofs from the original system of degree at most , where is even and .
Under hypothesis (i), define
For every and every rational , one can compute a rational satisfying
The running time and output length are polynomial in . For fixed and , this is polynomial in the input length and . All normalization, equality and PSD constraints are satisfied exactly.
If hypothesis (ii) also holds, then
Consequently , for , is the required rational pseudoexpectation.
The list in (8) spans all ordinary vanishing polynomials through degree 2d. Multilinearization expresses their equalities in moment coordinates. Construction supplies the optimization algorithm; SoS soundness supplies the higher-level comparison, as shown in Figure 2.
4.1 Proof of the primal criterion
Proof of Theorem 4.1. The proof follows a geometric sequence: the complete identities give independent moment coordinates; Boolean evaluations supply a simplex with a controlled inner radius; moment bounds and exact PSD tests give an outer radius and strong separation. The ellipsoid method then optimizes in these coordinates without needing the simplex or its centre. The final step uses two-sided derivability only to compare hierarchy levels. We give each construction and its bit bound below.

Figure 2: The two hypotheses of the primal criterion, for the same complete list and nonempty . Constructibility gives exact-feasible optimization over ; derivability gives the displayed containment. Their combination gives the objective comparison. For Min-closed systems the comparison degree is , while the algorithm stores only degree-2d moments. Here abbreviates its rational degree-2d part.
- Pass to moment coordinates and identify the affine hull. Construct and multilinearize its elements. Put
Equation (8) gives
Indeed, each reduced polynomial is an identity. Conversely, if , express as a rational linear combination of and apply ml; the left side remains . Grouping coefficients by monomial support constructs these reductions in polynomial time and bit length in , .
Let have their coefficient vectors as rows, indexed by , and let . For the proof only, let have rows , . Its rational kernel is the coefficient space of . Since is a rational matrix, its real kernel has a rational basis. Thus (12) implies
Every has empty-monomial coordinate one. Imposing therefore makes the coefficients in a linear combination of these vectors sum to one. Consequently
Evaluation at a feasible point satisfies all PSD constraints and identities, proving the middle inclusion. Every original equality multiple of degree at most 2d vanishes on S, so its multilinear reduction is also in the row span of A.
The matrix E and the feasible set are not enumerated. Different complete lists define the same . Any equality multiple of ordinary degree at most 2d is already imposed, because it is itself a truncated vanishing identity.
- Parametriz useing free original moments. Let and . Rational elimination constructs rational , and distinct nonempty sets such that
Its rank premise holds because no nonzero constant polynomial vanishes on the nonempty set : deleting the empty-monomial column of preserves row rank. Choose nonempty pivot columns and rows with nonsingular. After setting and , the formula is
When , there are no pivot equations.
The dense matrix encoding is polynomial in . Clearing denominators gives integer entries of bits, and all minors have bits. The exact elimination and cofactor argument in Appendix B give polynomial construction time and polynomial bit lengths for , . In particular,
If , contains every actual evaluation and is therefore feasible. Return , which is exactly optimal. Assume in the next four steps.
- Form the reduced SDP. Let and let be column of , . Substitution in the PSD matrices gives
where and only is retained. The block size uses the original ordinary degree of . Define
All equalities hold identically under , so is an affine bijection. There are at most scalar table entries. Each is a sum of at most products of an input coefficient and an entry of , . If bounds the latter bit lengths, an entry has at most bits. Thus the rational coefficient table, including dimensions, has length and is computable in that time.
- Supply inner and outer radii. Equations (13) and (15) imply . Choose existentially affinely independent vectors in this set. Their simplex is contained in . Since they are 0/1 vectors, is an invertible integer matrix with entries in and . Applying Lemma B.2 to this integral simplex gives
The estimate bounds the change in barycentric coordinates under a perturbation of norm . Hence . Only the numerical radius, computable from , is required; neither the vertices nor the centre must be found.
Lemma B.3 gives for , using principal moment matrices and a decomposition of into two sets of size at most . Because free coordinates are original moments, . This set is nonempty, closed and convex by (16), and bounded, so it is compact. Persistent kernels of the PSD matrices cause no problem: the ball is in the space of free moments.
- Supply strong rational separation. Given , evaluate exactly. The standard exact PSD test, Lemma B.4, tests rational PSD matrices in polynomial bit complexity and, on rejection, produces rational such that . If every block is PSD, accept the query. Otherwise set
For every ,
The normal is nonzero, since a negative constant quadratic form would contradict nonemptiness. Each separator entry is a sum of at most products of two witness entries and one table entry. Matrix evaluation, the PSD test and these sums therefore have polynomial time and output length in . The oracle reads only the rational matrix table; all sign tests are exact.
- Optimize and reconstruct. Write and . Then
Compute the powers of two
by exact integer comparisons. They satisfy , , , and . The exact-feasible approximate optimization lemma (Lemma C.6, proved in Appendix C) returns with
This lemma requires known radius bounds but not a supplied centre. Set . The bijection gives exact feasibility in , and restoring the objective constant proves (10).
For bit complexity, ; are polynomial in ; and ; the objective length is polynomial in ; and . Lemma C.6 and rational reconstruction therefore have polynomial bit cost and output length in . Hypothesis (i) absorbs construction of and into . No step increases the moment degree.
- Use the SoS derivations to compare hierarchy levels. Take and . Soundness and hypothesis (ii) give and , hence . The restriction belongs to and satisfies , because . Therefore . This proves the first inclusion in (11); the second follows from the definition of .
The sets and are nonempty, closed and bounded by the Boolean moment bound, so their maxima exist. Projection preserves the objective f, and thus
Combining (18) with (10) proves the remaining assertion.
Relation to the GPS criterion. For fixed , Proposition 6 of [10] applies to the degree-2d formulation augmented by . Here only the original axioms of degree at most are retained, as in the definition of ; the full solution set supplies the following witness. To check the hypotheses, take . If and , then nonnegativity on gives
The resulting constant-multiplier representation satisfies their degree restriction for the equality axioms. Each moment of is an integer divided by , so Theorem 7 of [10] supplies the required positive-eigenvalue bounds, also for the localizing matrices. Their explicit ball constraint can be added without changing the relaxation, since
Multiplication by any square of degree at most preserves the degree-2d SoS bound, so all its localizing conditions are already implied. The same spectral argument applies to this additional block. Thus the known solvability criterion covers the augmented body. The proof above constructs its affine coordinates and radius bounds directly from , without computing L or enumerating S. Its ellipsoid reduction, detailed in Appendix C, is included as a self-contained alternative proof of this solvability conclusion, rather than as an additional hypothesis needed to apply GPS. The comparison with additionally uses the two-sided derivations, through SoS soundness.
Remark 4.2 (The body optimized). The algorithm optimizes at moment degree 2d. Two-sided derivations give the comparison . Equality with , or an extension of an output to , would require additional hypotheses. The effective identity description is supplied by construction or by the graded-basis route below.
4.2 Two effective routes to the same affine hull
Throughout this subsection the target moment degree is and . For the fixed polynomial system, define
This definition is independent of the chosen identity representation.
Route I: construct the truncated identity space directly. Construct a rational list with . Multilinearize its rows, impose normalization, and use rational elimination as in the proof of Theorem 4.1. The resulting affine space is exactly , and the augmented SDP is . The construction time and encoding length of determine the algebraic preprocessing cost.
Route II: use a supplied or computed graded basis. Here the algebraic input is a correct degree-D truncation of the reduced graded basis of the vanishing ideal , with . Graded division through degree r extracts the required identity space. The use of truncated Gröbner bases to make the algebraic input of the Raghavendra–Weitz criterion effective, and to formulate theta-body relaxations, appears in [17]. Gribling–Polak–Slot also identify Gröbner bases as a sufficient source of their algebraic condition [10, discussion following Proposition 6]. Here we spell out the degree-preserving extraction from the supplied vanishing-ideal basis and its rational encoding cost. The following theorem covers both and a larger supplied truncation.
The normal-form coordinates used below are the standard quotient-basis coordinates of combinatorial moment matrices [16, Section 2.1]; see also the degree-compatible bases in [9, Section 2]. We make the truncated identity extraction and its bit complexity explicit.
Theorem 4.3 (Supplied-Gröbner-basis primal optimization). Let and . Suppose the correct reduced graded lexicographic basis truncation of is supplied, with and total rational encoding length . Set
Then the following statements hold.
(i) The list spans . Adding as equality axioms, with all degree-allowed multipliers, has moment formulation exactly .
(ii) Graded normal forms supply an alternative complete identity list and an explicit rational bijection onto . Each free coordinate is an original moment indexed by a standard monomial.
(iii) For and rational , one can compute a rational with , in time and output length polynomial in , , , , . All degree-r feasibility conditions hold exactly.
The supplied basis is promised to be correct. The moment degree remains r for every .
Proof. Identity extraction. In a graded order, every basis element has degree equal to its leading-monomial degree. A divisor usable in the division of a polynomial of degree at most therefore belongs to . Division never raises degree. Lemma A.2 now proves the spanning assertion. There are at most admissible multiples; they are constructed just by shifting exponents. Pairing with all polynomial multipliers of permitted degree is equivalent to pairing with these monomial multipliers. Hence the augmented certificate system has exactly the asserted moment equalities. The affine-hull argument in Theorem 4.1 identifies its feasible body with .
Normal forms and coordinates. Let be the monomials of degree at most not divisible by any leading monomial in . They are precisely the standard monomials of the full basis in this degree range. They are squarefree because belongs to the initial ideal of , and they include 1 because is nonempty. For , write for its reduced normal form, computed using . It is a linear combination of of degree at most , and
Uniqueness and linearity follow within degree : the difference of two reduced remainders would be an ideal polynomial supported on standard monomials. A nonzero such polynomial has a standard leading monomial, contradicting the defining Gröbner property. This also proves linearity and (19).
For all ordinary , form
omitting zero polynomials. Each is an identity. If is an identity of degree at most , linearity gives . Thus is another complete spanning list.
Write and, for , compute
If , this says ; for it says . Hence the map is injective. Conversely, assign arbitrary real values to and value one to the constant standard monomial. Extend linearly to a functional on their span and define . Boolean reduction does not change normal forms, so is represented by the moments in (20). Equation (19) shows that it annihilates every truncated identity. Thus its moment vector belongs to . Every vector in satisfies these same normal-form identities and is reconstructed from its standard moments. This proves the affine bijection; in particular there are no remaining affine dependencies among these coordinates. PSD feasibility is imposed after this parametrization, exactly as in (16).
Bit complexity and optimization. Reading and filtering costs polynomial time in . Each of the at most divisions takes at most cancellations, with polynomial rational bit length by Lemma A.2. The normal-form table, both identity lists, and , therefore have polynomial construction time and encoding length in , . The standard Boolean coefficient estimate of Lemma A.5 also bounds the length of the retained reduced basis by a polynomial in . In normal-form coordinates the feasible evaluation vectors have entries . The same integral simplex, outer-radius and separation arguments from Theorem 4.1 apply. Its optimization proof, counting as part of the input, proves (iii).
Corollary 4.4 (The same-degree supplied-basis result). Supplying as additional equality axioms to degree-2d SoS, with all allowed multipliers, makes its moment formulation optimizable in polynomial time with exact rational feasibility and arbitrary additive accuracy at the same moment degree.
Proof. Apply Theorem 4.3 with .
The empty case is also decidable under the supplied-basis promise: if and only if . The reduced basis of the unit ideal is , and its constant element is present at every truncation degree. Thus the supplied-basis algorithm can first perform this test and report infeasibility before applying the nonempty case.
Three different degrees. The target degree determines the moment variables. The algebraic input degree only specifies how much of the graded basis is available: elements above degree are discarded for this construction. If is computed rather than supplied, its computation cost must also be included; a polynomial-time computation for preserves the fixed-d polynomial-time conclusion. An unbounded input degree is accounted for by . The third degree, , bounds SoS derivations and is used solely for the inclusion proved below.
For example, a degree-d truncation need not determine all identities needed by a degree-2d moment body. For the Min-closed system on the Boolean cube, there is no nonzero degree-one vanishing identity, whereas is a degree-two identity. Thus at moment degree two the degree-one truncated basis misses a required affine equation. The relevant degree is the degree of all stored moments, not just the order of the moment matrix.
Figure 3 summarizes the common geometric endpoint. Different complete lists and different choices of representatives or standard moments can change the coordinate description, but not or .
4.3 SoS derivability supplies the higher-level comparison
Corollary 4.5 (From two-sided basis derivations to the level comparison). Suppose a complete identity list at degree 2d is constructible and both signs of each have proofs of degree . Set

Figure 3: Two implementations of one geometric principle. An appropriate graded basis supplies the full identity space and can directly supply standard-monomial coordinates. Both routes optimize at moment degree r. For Min-closed systems, closures construct either input, and canonical representatives make the two coordinate descriptions coincide (Proposition 5.3).
Then every degree-2d vanishing identity has two-sided degree- proofs, and . If , this is the comparison in Theorem 4.1.
Proof. Graded division expresses each identity as with . Thus both signs of have degree-2d certificates when the basis elements are equality axioms. Apply Theorem 3.2(i) to these two certificates and (ii) to the resulting moment constraints. The admissible basis multiples span the identity space by Theorem 4.3.
The two criteria use the same identity space in different ways: bounded two-sided certificates control proof search for a given target, while an effective identity description determines the moment geometry. Min-closed systems supply both ingredients through closures, as we show next.
5 Application to Min-closed and Max-closed systems
Let be a rational linear system, where , together with the Boolean equations. Assume each individual row is Min-closed on , under this input promise. Its solution set is closed under coordinatewise minimum. We verify the two criteria using the same closure structure, with all degree and bit bounds explicit. The closure description is part of the Boolean ideal-membership framework of [17]. For the present input of rational linear rows, we give the construction and the SoS derivations in full. The constructions provide the equality data for the moment criterion; the derivations provide the transfer to the original rows, with the explicit comparison degree .
5.1 Construct the full list by closures
Identify a Boolean vector with its support, and write for the vector with support . For , define . If is empty, put ; otherwise put
Min-closure implies ; hence is the least feasible support containing .
The next lemma gives a propagation algorithm for rational Boolean Min-closed linear systems and bounds its bit complexity.
Lemma 5.1 (Effective closure construction). Each is computable in time polynomial in . In particular, detects .
Proof. Use the following exact propagation algorithm. Maintain a set P of coordinates forced to one, initially P = T. For every row compute its maximum under this restriction:
If some , return . Otherwise, whenever some free coordinate and row satisfy , add to and restart. If no such coordinate exists, return .
The latter expression is exactly the maximum of that row when is also imposed. Thus every added coordinate must be one in every solution extending , and an infeasible row proves . At termination, fix a row. Its feasible assignments extending form a nonempty Min-closed family. For each free , the failed forcing test supplies an assignment in that family with . Their intersection is , which consequently satisfies the row. If no coordinate is free, nonemptiness directly implies this assertion. It holds for every row, so ; the forcing invariant proves .
There are at most additions and rational operations per scan. All tested quantities are sums of input coefficients, with polynomial bit length in . This proves the bit bound, including constant rows and the case .
Assume now that . Compute the closures of all . For each distinct finite closure , select a representative with , choosing for . Define
Zero polynomials may be omitted. Representatives have degree at most 2d, even when their closures have larger cardinality. Each nonzero listed polynomial has at most two terms with coefficients in .
Lemma 5.2 (Completeness and bit complexity of the constructed list). The list (23) satisfies . Its construction time and total encoding length are polynomial in , .
Proof. For a feasible support D,
Indeed is equivalent to when a feasible extension exists. Thus all closure polynomials vanish on ; the Boolean polynomials vanish on the entire cube.
First consider a multilinear . Order the distinct finite closures by nondecreasing cardinality. Subtract rational linear combinations of to remove impossible monomials and replace each remaining monomial by its representative. The residual is and still vanishes on . Evaluate it at the feasible supports , . The resulting coefficient matrix is
It is upper triangular with diagonal entries one: if , either is larger or the sets are distinct of equal size. Hence implies . All multilinear identities are therefore spanned by .
For an arbitrary ordinary polynomial in , write the exact identity
The right side is spanned by , while is a multilinear identity and is spanned by . This proves the full ordinary-polynomial spanning equality.
There are closure calls, at most nonzero closure polynomials, and at most Boolean polynomials. Closures are stored as -bit sets and grouped by exact comparison. Every output polynomial has degree at most and at most two unit coefficients, with supports and exponents of polynomial encoding length in , . Lemma 5.1 and , , give polynomial total construction time and length in , len. This establishes hypothesis (i) of the criterion.
5.2 Comparing the direct and Gröbner-basis routes
The closure construction yields both a complete identity list and a truncated reduced graded basis. These give two implementations of the primal algorithm on the same input system.
Proposition 5.3 (Two closure-based implementations for Min-closed systems). For nonempty rowwise Min-closed systems and , one can construct either the direct list (23) or the reduced graded basis in time polynomial in W, len. Both give exactly the same and . Choosing the least graded-lexicographic representative in each finite closure class makes the direct class coordinates identical to the standard-monomial coordinates of Theorem 4.3.
Proof. The direct list and its completeness were proved in Lemma 5.2. For the basis route, compute the same closures for every squarefree monomial of degree at most r. For each finite closure C among them, choose the least monomial in the fixed graded lexicographic order. This is also the least monomial in its entire evaluation class. Indeed the least representative is squarefree, by Boolean reduction, and it cannot have degree greater than a representative already present through degree r. The independence argument of Lemma 5.2, or equivalently the proof of the standard basis description in Lemma A.6, shows that the are exactly the standard monomials through degree r.
Enumerate all ordinary monomials of degree at most , and define
For each nonstandard , meaning , retain if all its immediate proper divisors , for , are standard. Nonstandard monomials are exactly the monomials in the initial ideal. Testing these immediate divisors therefore selects precisely its minimal generators through degree : if any proper divisor is in the initial ideal, an immediate divisor is also in it, by closure under multiplication. The tail is zero or a single standard monomial, and in the latter case is smaller than . The proof of Lemma A.6 identifies these polynomials as exactly the corresponding reduced basis elements. Thus the output is , with no missing or extra elements. Only stored closures and monomial comparisons are used. There are monomials and at most immediate divisors per monomial, and output coefficients belong to . This gives the claimed polynomial bit complexity.
For the coordinate comparison, let . The direct equations set in impossible classes, set in class , and set in every other finite class . Independence of these class functions proves that the parameters are free affine coordinates. Choosing gives , where this notation denotes the moment indexed by the squarefree monomial . Normal form sends to zero or , so (20) gives the very same equations and variables. The two identity lists consequently have the same row space after multilinearization, and the same affine hull and augmented body.
If a basis with has already been computed, it can instead be filtered as in Theorem 4.3; this yields the same construction at the target degree. In the Min-closed application already suffices. The degree appearing later is the SoS derivation degree for the higher-level comparison; either primal implementation uses identity or basis degree .
5.3 Propagation and infeasibility have degree-four certificates
The closure algorithm also has a low-degree proof interpretation. The certificates below multiply the original inequalities by Boolean literals, represented as squares modulo the Boolean equations. We prove the degree-four bound directly, including its preservation along an entire propagation chain.
Lemma 5.4 (Certificates for propagation and refutation). Run the closure algorithm from the empty support on a rowwise Min-closed linear system. Every propagated assertion has a rational Gram SoS proof of of degree at most four. If the system is infeasible, it has a degree-four rational Gram refutation, that is, a proof of . All coefficient bit lengths and construction time are polynomial in .
Proof. First consider a feasible row that forces without previous assignments. Write it as
The minimum of over the Boolean cube is . Since the row is feasible and forces , we must have : otherwise, changing from one to zero would preserve feasibility. Under the restriction , the minimum becomes . This restricted row is infeasible, so
The following congruence modulo the Boolean ideal supplies a proof:
(24)
Indeed, replace every squared Boolean literal by that literal. Terms containing then cancel, and the remaining coefficient of is . Every weight is nonnegative, the localizing term has degree three, and the other squares have degree at most four. Lemma A.1 lifts this to an exact degree-four identity.
Now let P be the previously forced set. A row maximum under is obtained by also setting all its negative-weight variables to one and its other positive-weight variables to zero.
Thus already fixed negative-weight variables do not affect either its feasibility or its forcing gap. Only matters for that gap. Define
This deletes the variables in and subtracts their weights from the capacity. If the row forces a free , use (24) with in place of and the positive set . Replace its localizing term by . For each ,
This follows by multilinearizing both sides and lifts in degree four. Substitute the already constructed proof of into the first term on the right. It is multiplied only by the positive scalar , not by a further polynomial. Hence the whole propagation chain remains of degree four. This proves the assertion by induction on its length.
If a residual row is infeasible, its gap is , where . The identity
is verified by cancellation. Substitute and the degree-four propagation proofs, and divide by . This yields a degree-four proof of -1. Lemma 5.1 ensures that an infeasible system does reach such a row: otherwise the terminating assignment would satisfy every row.
For the bit bound, first scale each input row by a positive product of its denominators. All weights and capacities become integers of magnitude at most . Each positive gap is an integer between 1 and . There are at most forcing steps and one refutation step. If is the product of the first gaps, all coefficients after step have denominators dividing : the formulas only add integer multiples of previous certificates and divide by the current gap. If bounds their magnitudes, the explicit formulas, sums and Boolean reductions give, for an absolute constant ,
Consequently and are polynomial in , . Restoring the original rows multiplies their Gram coefficients by the positive integer scaling factors, preserving the bound. Only degree-four polynomials and degree-at-most-two Gram monomials are used, so the number of stored coefficients and all rational operations are polynomial in , , . This also covers constant infeasible rows.
5.4 The reduced basis and its two-sided certificates
The standard structural description proved in Appendix A.2 (Lemma A.6) says that the reduced graded basis consists of squarefree monomials, differences of two squarefree monomials, and Boolean equations. We now derive both signs of these identities from the original inequalities, with an explicit degree bound. For finite-domain equation systems preserved by a semilattice or a dual discriminator, Bortolotti–Mastrolilli–Vargas [5, Theorems 2.1 and 2.3, and Section 8] use low-degree polynomial-calculus derivations of truncated basis elements to obtain degree automatability. Here the input consists of linear inequalities and Boolean equations, and we construct the two-sided SoS certificates required by our criterion.
Lemma 5.5 (Conditioning an infeasible partial assignment). Suppose a partial Boolean assignment on disjoint sets has no extension in . Let and . Then and have rational Gram proofs of degree at most from and the Boolean equations.
Proof. Add the Min-closed assignment rows for and for . The augmented system is infeasible, so Lemma 5.4 gives a degree-four refutation. Multiply that identity by the square . Every term attached to an added assignment row becomes zero modulo the Boolean ideal, because contains the corresponding literal. The left side is . All resulting terms have degree at most , so Lemma A.1 removes the zero terms and restores an exact proof from the original axioms at that degree. Finally gives a proof of the positive sign of degree at most .
The construction takes time polynomial in and the input length. For the uses below, , so has at most two terms. In that case multiplication of Gram matrices by uses a matrix with entries 0, 1, -1 and at most two contributions per column. Together with the bit bound in Lemma 5.4 and Boolean reduction, all resulting coefficient bit lengths are polynomial in , , .
Theorem 5.6 (Two-sided SoS derivations of Min-closed bases). Let C be rowwise Min-closed and b an element of its reduced graded vanishing-ideal basis, with . Both and have rational Gram SoS proofs of degree at most , with coefficient bit lengths polynomial in n, len, t and total size polynomial in and len.
Proof. If , the basis is : the positive sign is trivial and the negative sign follows from Lemma 5.4. Assume and use Lemma A.6. The two signs of a Boolean basis element are equality axioms. If vanishes, the partial assignment is infeasible. Lemma 5.5 gives both signs in degree .
For , write , , with . The exact identity
reduces the claim to two nonnegative functions that vanish on . For an ordering ,
After Boolean reduction each summand is zero, or a partial-assignment indicator with at most literals and at most one negative literal. Each such indicator vanishes on : their sum is zero there and every summand is pointwise nonnegative. Lemma 5.5 therefore proves both signs of each one in degree at most . Apply the same argument to and combine the signs to obtain both signs of . All intervening telescoping and Boolean identities have degree at most and lift within the stated bound.
At most 2t nonzero indicators are used. Their certificates have the polynomial bit bound proved in Lemma 5.5, and summing them increases denominator and numerator lengths by at most a polynomial factor in t. The number of monomials and Gram entries at degree is . This proves the asserted total size bound.
5.5 Both algorithmic conclusions and the exact degree accounting
At this point the two inputs have been established separately: Lemma 5.2 constructs the full identity space, and Theorem 5.6 proves its basis identities from the given rows. Theorem 4.1 then supplies optimization of the augmented moment body. The degree calculation below is the transfer step that gives proof search over the original system and the comparison to its higher moment relaxation.
Corollary 5.7 (Min-closed proof search). Under the promise that has a degree-2d SoS proof from , one can find a rational Gram proof of of degree at most in time polynomial in , , , . An exact, possibly real, proof of with that degree and coefficient magnitudes exists.
Proof. The basis coefficients belong to , so . Theorem 5.6 supplies for and computable coefficient bounds . For every basis element the degree in Theorem 3.3 is at most
Apply that theorem, padding the search to degree if necessary. The empty-set case uses the degree-four refutation and is also covered.
Corollary 5.8 (Min-closed pseudoexpectation optimization). Given a rowwise Min-closed rational linear system, , a rational of degree at most , and rational , an algorithm with running time and output length polynomial in reports infeasibility if . Otherwise it constructs the list (23), or equivalently uses the graded-basis route of Proposition 5.3, and returns a rational satisfying
In particular . All degree-2d moment, localizing and equality constraints hold exactly.
Proof. Compute by Lemma 5.1. If it is , report infeasibility. Otherwise Lemma 5.2 constructs a complete identity list with polynomial encoding length. Theorem 5.6, Corollary 4.5 and (27) prove two-sided derivations for all these identities in degree . Apply Theorem 4.1. Equation (13) identifies the affine hull. The direct implementation constructs only the identity list. Alternatively, Proposition 5.3 constructs and Theorem 4.3 gives the identical optimization guarantee for the same body. In both implementations the higher-degree certificates are used only to prove the level comparison.
Thus a single structural analysis supplies both the computable identity space and its low-degree derivability. The moment optimization takes place at degree 2d; the number records the soundness comparison and the degree sufficient for proof search. The algorithm stores moments through degree 2d.
5.6 Max-closed systems via Boolean complementation
The standard coordinate substitution transfers the polynomial system, its certificates and its moment functionals. Thus the Max-closed conclusions use the same algorithmic and degree estimates.
Proposition 5.9 (Degree-preserving Boolean complementation). All conclusions of Corollaries 5.7 and 5.8 hold for systems whose rows are all Max-closed. The transformation preserves certificate degree, exact rational feasibility, objective values and the inclusion between projected hierarchy levels. Its encoding cost is polynomial in the number of monomials at the relevant degree and in the input length.
Proof. Define the involution . If satisfy a transformed row, and satisfy the original Max-closed row. Their coordinatewise maximum is , so the transformed row is Min-closed. For a linear row , substitution gives , with polynomial coefficient bit length. The Boolean polynomial transforms exactly as .
Substitution commutes with addition and multiplication, does not increase degree, and sends a square to a square. Applying it to a SoS identity therefore gives a certificate of the same degree for the transformed system and target. In Gram form it is a rational congruence transformation on each monomial vector. Applying it twice recovers the original identity.
For a degree- pseudoexpectation of the transformed system define for . Normalization is preserved; nonnegativity on every square and every allowed localizing square follows from the preceding degree observation, and equality multiples are preserved. Consequently this defines an affine bijection between the two original moment relaxations. In explicit multilinear moments it reads
This map is rational, invertible by the same formula, and commutes with restriction to lower degree. It sends actual evaluation vectors to actual evaluation vectors and hence their affine hulls to each other. Thus it also maps the augmented bodies bijectively. With transformed target , the objective is preserved exactly. A complete identity list may be transported by if an explicit original-coordinate SDP is desired.
Each ordinary monomial of degree at most expands into at most distinct terms, with integer coefficient magnitudes at most . Each coefficient thus has at most bits. Expanding and collecting terms therefore costs polynomial time in and the input length, since . The same bounds apply to the Gram congruences. For multilinear moments there are at most possible terms. All transports therefore preserve the required polynomial bit complexity.
5.7 Generalized packing and covering
Min-closed rows define the generalized packing class considered here; Max-closed rows define its generalized covering counterpart. Boolean complementation transfers the algorithmic results between these classes.
Classical packing and covering systems satisfy the respective closure promises and are special cases of Theorem 1.1. The same conclusion holds for the mixed-sign rows that individually satisfy the corresponding promise: all rows are Min-closed for generalized packing, and all are Max-closed for generalized covering. Closure is taken on the Boolean cube.
For a maximization application whose rounding analysis uses degree-2d pseudoexpectation inequalities, Corollary 5.8 supplies those inequalities exactly. In addition its objective is at least the true Boolean optimum minus , because actual evaluations belong to every hierarchy level. To conclude an application-specific approximation ratio, its rounding theorem and the conversion of the additive optimization error to the required scale must still be supplied.
Declaration on the use of AI tools
The paper’s main ideas, results, and proofs were developed by the author, building on the cited literature and the contributions acknowledged below. AI tools assisted with English editing, the organization and drafting of proofs, and checks of statements, arguments, and references. This assistance included all appendices, which collect classical tools and develop the quantitative specializations used in the paper. The author takes full responsibility for the final content, including its correctness, attribution, and originality.
Acknowledgments
Preliminary versions of Lemma 3.1 and Theorem 3.3 were developed with contributions from Alex Bortolotti and Luis F. Vargas while they were working with the author on SNSF project 200021-207429. These results are included in this paper with their permission.
References
[1] Nathan Benedetto Proença, Koppány István Encz, and Monaldo Mastrolilli. Robust approximation and the arity barrier at width two. arXiv preprint, 2026.
[2] Christoph Berkholz. The relation between polynomial calculus, Sherali-Adams, and sum-of-squares proofs. In 35th Symposium on Theoretical Aspects of Computer Science (STACS 2018), volume 96 of LIPIcs, pages 11:1–11:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018.
[3] Arpitha P. Bharathi and Monaldo Mastrolilli. Ideal Membership Problem over 3-Element CSPs with Dual Discriminator Polymorphism. SIAM J. Discret. Math., 36(3):1800–1822, 2022.
[4] Arpitha P. Bharathi and Monaldo Mastrolilli. Ideal Membership Problem for Boolean Minority and Dual Discriminator. SIAM J. Discret. Math., 39(1):206–230, 2025.
[5] Alex Bortolotti, Monaldo Mastrolilli, and Luis F. Vargas. On the degree automatability of sum-of-squares proofs. In Proceedings of the 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025), volume 334 of LIPIcs, pages 34:1–34:19, 2025.
[6] David Cox, John Little, and Donal O'Shea. Ideals, Varieties, and Algorithms. Springer, 4 edition, 2015.
[7] Etienne de Klerk and Frank Vallentin. On the Turing model complexity of interior point methods for semidefinite programming. SIAM Journal on Optimization, 26(3):1944–1961, 2016.
[8] Michel X. Goemans and David P. Williamson. Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. Journal of the ACM, 42(6):1115–1145, 1995.
[9] João Gouveia, Pablo A. Parrilo, and Rekha R. Thomas. Theta bodies for polynomial ideals. SIAM Journal on Optimization, 20(4):2097–2118, 2010.
[10] Sander Gribling, Sven Polak, and Lucas Slot. A note on the computational complexity of the moment-SOS hierarchy for polynomial optimization. In Proceedings of the 2023 International Symposium on Symbolic and Algebraic Computation (ISSAC 2023), pages 280–288. Association for Computing Machinery, 2023. Full version: https://arxiv.org/abs/2305.14944.
[11] Martin Grötschel, László Lovász, and Alexander Schrijver. Geometric Algorithms and Combinatorial Optimization, volume 2 of Algorithms and Combinatorics. Springer, 1988.
[12] Stefano Huber and Monaldo Mastrolilli. Approximating the Chvátal–Gomory closure of capacity-bounded Min-closed systems. Accepted at the 37th International Symposium on Algorithms and Computation (ISAAC 2026), 2026.
[13] Igor Klep and Markus Schweighofer. An exact duality theory for semidefinite programming based on sums of squares, 2012. arXiv:1207.1691v2, Section 4.1, Eq. (16).
[14] Jean B. Lasserre. Global optimization with polynomials and the problem of moments. SIAM Journal on Optimization, 11(3):796–817, 2001.
[15] Monique Laurent. A comparison of the Sherali–Adams, Lovász–Schrijver, and Lasserre relaxations for 0–1 programming. Mathematics of Operations Research, 28(3):470–496, 2003.
[16] Monique Laurent. Semidefinite representations for finite varieties. Mathematical Programming, 109(1):1–26, 2007.
[17] Monaldo Mastrolilli. The complexity of the ideal membership problem for constrained problems over the Boolean domain. ACM Transactions on Algorithms, 17(4):32:1–32:29, 2021.
[18] H. Michael Möller and Bruno Buchberger. The construction of multivariate polynomials with preassigned zeros. In Computer Algebra, EUROCAM '82, volume 144 of Lecture Notes in Computer Science, pages 24–31. Springer, 1982.
[19] Ryan O'Donnell. SOS is not obviously automatizable, even approximately. In Proceedings of the 8th Innovations in Theoretical Computer Science Conference (ITCS 2017), volume 67 of LIPIcs, pages 59:1–59:10, 2017.
[20] Pablo A. Parrilo. Semidefinite programming relaxations for semialgebraic problems. Mathematical Programming, 96(2):293–320, 2003.
[21] Helfried Peyrl and Pablo A. Parrilo. Computing sum of squares decompositions with rational coefficients. Theoretical Computer Science, 409(2):269–281, 2008.
[22] Prasad Raghavendra and Benjamin Weitz. On the bit complexity of sum-of-squares proofs. In Proceedings of the 44th International Colloquium on Automata, Languages, and Programming (ICALP 2017), volume 80 of LIPIcs, pages 80:1–80:13, 2017.
A Algebraic tools and coefficient bounds
Polynomial division and reduced Gröbner bases are classical; see [6]. The Min-closed basis structure is related to Mastrolilli [17], with a closure-based proof below. We prove the Boolean reductions, spectral estimates and explicit coefficient bounds used in this paper. These quantitative formulations and the residual correction specify the degree and bit bounds needed by our algorithms.
Lemma A.1 (Degree-preserving Boolean reduction). For a polynomial of degree at most , the difference is a sum with . For rational input the multipliers can be computed in polynomial time in the number of ordinary degree- monomials and the input length, with polynomial coefficient bit length. Also .
Proof. For each monomial, lower an exponent one unit at a time using , retaining its other factors. At most reductions per monomial suffice, none increasing degree. Add the resulting identities and group equal terms. The coefficients are sums of at most times the input number of terms, so rational bit length and computation time are polynomial. Grouping coefficients by support also proves the norm inequality.
The degree-preserving representation below is the division algorithm for a graded order [6, Chapter 2, Section 3], together with the Gröbner-basis membership criterion [6, Chapter 2, Section 6, Corollary 2]. The proof also records the elementary magnitude and rational encoding bounds used here.
Lemma A.2 (Degree-preserving graded division with a size bound). Let be the degree-r truncation of a monic reduced graded basis of an ideal . If and , then
Writing and assuming basis coefficients have magnitude at most , one may choose . Division uses at most cancellations; for rational data it takes polynomial bit time in and the supplied basis and polynomial lengths.
Proof. At each step cancel the current leading term by a divisible leading monomial of a basis element. Because the order is graded, every term introduced has degree at most the cancelled degree, hence at most . Every chosen divisor belongs to . The leading monomial strictly decreases, so at most steps occur. The remainder is zero: a nonzero remainder in the ideal would have leading monomial divisible by a basis leading monomial, contrary to reduction. Each cancellation multiplies the current coefficient norm by at most . The quotient coefficients are the cancellation coefficients, grouped into at most terms, which gives the stated bound. For rational input, a common denominator for all input coefficients raised to bounds the denominators arising from monic division; the magnitude bound controls the numerators. Both have polynomial bit length. Real division has the same magnitude argument without any rationality assertion.
The following integer-matrix estimate is [22, Lemma 6]. We include its short proof.
Lemma A.3 (Nonzero spectrum of an integer PSD matrix). Let A be an integer PSD matrix of order , with entries of magnitude at most . Every positive eigenvalue is at least .
Proof. If the rank is , the product of the positive eigenvalues is, up to sign, the coefficient of in . It is a nonzero integer, so has magnitude at least one. Every eigenvalue is at most . Dividing the product bound by the other eigenvalues gives a lower bound . The rank-zero case is vacuous.
The next lemma is a Boolean residual-correction counterpart of [10, Lemma 23]. There the correction uses certificates for from the ball constraint; here Boolean equations give certificates for and preserve the prescribed even degree.
Lemma A.4 (Degree-preserving correction of a Boolean residual). Let be even and let be a rational polynomial of degree at most . If , then has a rational Gram SoS certificate from the Boolean equations alone of degree at most , constructible in polynomial bit time in the degree-t monomial count and the encodings of .
Proof. For a squarefree monomial , split with , and set , . Modulo the Boolean ideal,
Both sides have degree at most ; the identity also holds for . Write and use
The constant and the weights are nonnegative rational numbers, and so give rational PSD Gram terms. Lift the congruences and by Lemma A.1. There are polynomially many terms and all operations have polynomial bit complexity.
A.1 A bit bound for a supplied Boolean basis
Interpolation on a finite set underlies the Buchberger–Möller construction of its vanishing-ideal basis [18]. The elementary determinant argument below gives the coefficient bit bound for Boolean evaluations; the statement concerns size rather than an algorithm for finding an unknown feasible set.
Lemma A.5 (Bit bound from Boolean evaluations). For nonempty and , put and . Every coefficient of the reduced graded basis truncation is rational with numerator and denominator of bits. There are at most basis elements in this truncation, and their total encoding length, including monomial supports, is polynomial in . This is a size bound, not a construction algorithm.
Proof. The standard monomials of degree at most are squarefree, because belongs to the initial ideal. Let their number be . They are linearly independent as functions on : otherwise an ideal polynomial would have a standard leading monomial. Their evaluation matrix on thus has column rank . Select existentially rows giving an invertible matrix .
For , its monic leading term is a monomial and its tail is a linear combination of these standard monomials, because the basis is reduced and the order is graded. Write . Evaluating on the chosen rows yields , where is the 0/1 evaluation vector of . Cramer's rule expresses each as a ratio of integer determinants of magnitude at most , with nonzero denominator. The reduced numerator and denominator have bits.
Different reduced basis elements have distinct leading monomials; there are at most monomials through degree , and at most terms per element. Monomial supports have encoding length polynomial in , and . This proves the total size bound. For the basis is .
A.2 Reduced bases for Min-closed Boolean sets
For the Boolean Min-closed ideals considered here, the closure argument below shows that the normal form of a monomial is either zero or a monomial with coefficient one, and identifies the possible elements of the reduced Gröbner basis.
Lemma A.6 (Reduced graded bases for Min-closed Boolean sets). For nonempty Min-closed , every element of its reduced graded lexicographic basis is a squarefree monomial, a difference of two squarefree monomials, or a Boolean polynomial . All nonzero coefficients are 1 or -1.
Proof. We give the closure proof of this structural description for Min-closed Boolean ideals; see also [17]. Consider all feasible supports, ordered by nondecreasing cardinality. The functions , one for each feasible support , are linearly independent: their evaluation matrix on these same supports is upper triangular with diagonal entries one. Every monomial is either zero on , or agrees on with exactly one such function, namely the one indexed by the closure of its support.
In every nonzero evaluation class choose the least monomial in the fixed graded order. It is squarefree, since multilinearization gives the same function with smaller degree whenever a square occurs. Every nonchosen monomial is a leading monomial of an identity: use if it is zero on , and otherwise. Conversely a chosen cannot be the leading monomial of an identity. Independence of the class functions would require another monomial of its class with nonzero coefficient in the identity; such a monomial is larger than , contradicting leadingness. The standard monomials are therefore exactly the .
For a reduced basis element with leading monomial , all other terms are standard. Independence forces its tail to be zero in the zero class, and to be otherwise. If the minimal leading generator contains a square, then divides and is itself in the initial ideal because is an identity. Minimality gives . Its proper divisor must be standard, so its basis element is . Otherwise is squarefree and its tail is squarefree. This proves every case. For the reduced basis is .
B Rational linear algebra and Boolean moment geometry
Rational elimination, determinant estimates and Schur complements are classical tools. We give direct proofs of the precise consequences used by the primal algorithm: polynomial bit bounds, a uniform radius for an integral simplex, Boolean moment bounds and a rational negative witness for a failed PSD test. These bounds apply to the free-coordinate formulation of the moment SDP.
The following rational-elimination fact is classical; see Edmonds' algorithm as stated in [11].
Lemma B.1 (Bit bounds for rational elimination). A rational linear system of total encoding length H can be solved, rank-tested and parametrized in polynomial bit time and output length. The free variables can be chosen among its original coordinates.
Proof. Clear denominators by their product. Integer entries then have bits. Every minor has absolute value at most . Gaussian elimination with reduced fractions has entries given by ratios of such minors. There are polynomially many arithmetic operations on polynomial-length integers. Choosing pivot columns and solving the nonsingular pivot system gives the stated parametrization; Cramer's rule gives the same bit bound for its coefficients. The zero-rank case needs no inversion.
A barycentre argument of this type is used in [11, Lemma 6.2.6] to bound an inscribed radius from facet complexity. The following specialization instead uses integral 0/1 vertices and proves the explicit radius needed here by determinant bounds.
Lemma B.2 (Uniform ball inside an integral simplex). Let , let be affinely independent, and put and . Define
Then
The lower bound is computable from p alone in polynomial time and has polynomial rational encoding length.
Proof. The matrix is integral with entries in and . Each entry of is a signed cofactor divided by . In the determinant expansion of a matrix with entries in there are products of magnitude at most one. Hence
For p = 1, use the empty determinant 1 and .
Take any with , and put . Then
(31)
Define the barycentric coefficients
Their sum is one. Each is at least , by the bound on . In particular, they are nonnegative. Using , we get
Thus the entire closed ball lies in .
Finally implies
Computing requires integer multiplications on integers of bits. The formula for therefore has the claimed construction cost and encoding bound.
The next bound is an elementary PSD consequence of the Boolean moment matrix formulation; see [15] for that formulation. We give the short argument for our moment convention.
Lemma B.3 (Bounds on Boolean pseudo-moments). Every satisfies for every . Consequently, for ,
For nonempty S, the set of (16) is nonempty, compact, and convex.
Proof. For , the principal submatrix of indexed by , is
Its determinant gives , so . This also holds for by normalization. For choose a disjoint decomposition with . Positive semidefiniteness gives
The same inequality is valid when the two indices coincide. Each is a selected original moment , so . This proves (32). The PSD cone is closed and convex and the maps are affine; therefore is closed and convex. It is bounded by (32) and nonempty because it contains every . It is consequently compact.
Polynomial-time testing of rational positive semidefiniteness by Gaussian elimination is described in [11, proof of Theorem 9.3.30, pp. 294–295]. We include the elimination proof and its witness encoding bound.
Lemma B.4 (Exact PSD test with a rational negative witness). Given a rational symmetric matrix , one can in polynomial bit complexity either certify or find with . The witness has polynomial encoding length.
Proof. Use symmetric elimination. The empty matrix is PSD. If a diagonal entry is negative, is a witness. If and , set
Then . A zero diagonal whose entire row is zero can be deleted, restoring a zero coordinate on return. If none of these cases applies and the matrix is nonempty, a positive diagonal entry can be permuted to the first position. Write
The identity
shows that is PSD exactly when is PSD. A negative witness for lifts to for . Recurse on . There are at most stages and polynomially many rational operations.
To bound the bits, suppose each input entry has length at most . Clear denominators by their positive product, producing an integer matrix with entries of bits. This positive scaling preserves the sign of quadratic forms. Every minor has bits, using the determinant bound for an minor. If denotes the indices of the positive pivots already eliminated, then every remaining Schur entry has the form
The denominator is nonzero; all reduced fractions have polynomial bit length. Deleted zero rows do not affect the formula for the remaining indices. The terminal witness has at most two nonzero coordinates, of polynomial bit length by the explicit cases above. If Q is the complement of P, insert zeros for deleted coordinates in and recover all pivot coordinates at once by
The cofactor formula and the minor bound give polynomial bit length for this vector. Equation (33) applied successively verifies that it is a negative witness for and hence for G. Exact elimination with fractions reduced at each step therefore has polynomial bit cost, including recovery of the witness.
C The ellipsoid method and exact-feasible optimization
This appendix records the standard rational central-cut ellipsoid theorem of GLS [11, Theorem 3.2.1], and proves the exact-feasible optimization consequence used in the paper. The rational ellipsoid implementation itself is the classical external algorithmic theorem; its statement, accepted-point convention and precise reference are given below. All subsequent reductions and radius-dependent complexity estimates are proved here. The argument is also valid when the centre of the inner ball is not supplied. In this appendix p is the ambient dimension, len the oracle-instance length, and the requested accuracy. Other letters are local.
C.1 Preliminaries and the GLS ellipsoid theorem
Geometry and encoding. All balls are closed Euclidean balls:
For a closed set C, write
For a rational positive definite matrix Q and a rational vector z, let
Volume means p-dimensional Lebesgue measure. All logarithms are to base two. The notation denotes the binary encoding length of a rational number (numerator and positive denominator), with the corresponding sum convention for vectors and matrices. Arithmetic is in the Turing bit model.
Let len denote the length of the data specifying the separation oracle for the instance. An oracle-polynomial algorithm makes polynomially many oracle calls, with polynomially bounded query lengths, and otherwise performs polynomially many bit operations. If the oracle itself runs in time polynomial in len and the query length, this gives an ordinary polynomial-time algorithm, with len included among the parameters.
We use strong rational separation as in Definition 2.1.
Numerical conventions. To make a running-time bound involving logarithms unambiguous, the main lemma uses supplied bounds and accuracy of the form
in ordinary binary rational encoding. Their encoding lengths are , , and , respectively. This entails no loss of accuracy or geometric validity. Given arbitrary positive rational inputs , replace them by
Thus , , and . These powers are found by integer comparisons and bit lengths, without evaluating real logarithms. For arbitrarily encoded rational inputs, the time to read and process those inputs must also be included. An arbitrary real accuracy is handled by supplying a rational accuracy no larger than it. In the main text is the accuracy requested in Theorem 4.1.
Theorem C.1 (Rational central-cut ellipsoid method; GLS). Let , let be closed and convex, and let and be rational. Suppose an oracle, given and rational , either declares or returns with satisfying
There is an oracle-polynomial rational algorithm returning either
(i) a rational point that is a queried ellipsoid centre accepted by the oracle; or
(ii) a rational ellipsoid containing with .
The number of oracle calls is
and query lengths and other bit costs are polynomial in and the oracle input/output lengths.
This is a restatement, in our notation and normalized parameter range, of [11, Theorem 3.2.1, p. 87]. The iteration bound follows from GLS (3.2.2); its rational implementation and containment/volume analysis are on pp. 87–93, especially Lemmas 3.2.8–3.2.10 on p. 88. The acceptance clause in alternative (i) records the stopping rule on p. 88. The restriction follows the dimension assumption that GLS make for all proofs of their Chapter 3 (p. 66) and use in the proofs of Lemmas 3.2.8 and 3.2.10 (pp. 89–90 and 93); the case is handled explicitly below. No nonempty-interior hypothesis is needed here.
Corollary C.2 (Exact feasibility or a small enclosing ellipsoid). Let and let be rational. If a closed convex set has a strong rational separation oracle, then for every rational an oracle-polynomial algorithm returns either a rational point , or an ellipsoid containing C of volume at most . Consequently, if , the algorithm must return a point in C.
Proof. Use the algorithm of Theorem C.1, with the following oracle adapter. On a query , call the strong oracle at . Accept only if it certifies . Otherwise normalize the returned vector by . The strict separation inequality implies
so this is a valid oracle for Theorem C.1. Normalization is rational and has polynomial bit cost. By the acceptance clause in Theorem C.1, every point returned by the algorithm was accepted by the strong oracle and therefore belongs exactly to C. All rounding in the ellipsoid updates is already covered by the GLS theorem; no rounding of the final point is performed. If the ellipsoid alternative occurs, monotonicity of volume gives . This excludes that alternative when .
Remark C.3 (The volume certificate). The ellipsoid alternative certifies a volume upper bound, including for nonempty sets with small volume. This is the certificate used by the optimization proof below.
C.2 An explicit ball of nearly optimal points
The separation-to-optimization arguments of GLS use lower volume bounds to detect improving feasible regions; see the proof of [11, Theorem 4.2.2, p. 106]. The next two elementary lemmas give the particular near-optimal-ball and rational-volume estimates used here, starting from an inner ball whose centre need not be supplied.
Lemma C.4 (Near-optimal ball). Suppose K is compact and convex and
Let , set and , and let . If maximizes over , then
where OPT = .
Proof. The maximum exists by compactness. Since , convexity gives
The set on the left is the ball in (36). Any of its points has the form , with . Both and belong to ; hence
This proves the inclusion. Neither a nor needs to be known to the algorithm.
Lemma C.5 (A rational volume threshold). Let and , and define
Every convex set containing a ball of radius satisfies . If , then . Moreover,
If is rational, then and
Proof. The ball contains a cube of side length : the Euclidean distance from its centre to a corner is . Therefore
The range for and the logarithmic identity follow from the definition. When is rational, rational exponentiation gives the encoding estimate. This avoids computing the volume of the Euclidean unit ball.
C.3 Exact-feasible approximate optimization
The reduction from separation to approximate linear optimization over a well-bounded convex body is classical; see GLS [11, Theorem 3.2.1, Theorem 4.2.2, and Remark 4.2.5]. The interior-point result [7, Theorem 1.1], recalled in [10, Theorem 15], also returns an exactly feasible rational point. Its input includes a rational feasible centre and inner and outer radius bounds in the affine space of the SDP. Here we use the classical strong-separation approach, for which the radius bounds suffice without supplying the centre. Lemma C.6 records the exact-feasibility version needed here under a strong rational separation oracle, including the explicit dependence on the inner radius and the requested accuracy.
Lemma C.6 (Exact-feasible approximate optimization). Let , and let be supplied positive rational numbers normalized as in (34); in particular, and . Let be compact and convex, with
Assume that admits a polynomial-time strong rational separation oracle. The centre need not be supplied. For every , the algorithm described in the proof, using the rational central-cut ellipsoid method, returns such that
Its running time is polynomial in
For arbitrary positive rational bounds and accuracy, first apply the normalization in Section C.1 and include the input encoding lengths. The resulting point satisfies the originally requested accuracy, and all feasibility assertions refer to the original set K.
Proof. First suppose . The bounds and accuracy are normalized by hypothesis. Denote the optimum by OPT and define the following rational quantities:
Here , , , and . Also
Step 1: obtain one exactly feasible point. Apply Corollary C.2 to K with threshold . Since K contains a ball of radius , Lemma C.5 gives . Thus the call returns a rational point . If , return this point immediately. In what follows .
Step 2: implement a threshold query with a controlled gap. For , let
This is a closed convex subset of , possibly empty. A strong oracle for it is constructed as follows. If a query satisfies , return and , which satisfy
Otherwise call the oracle for . Its separating inequality remains valid for , and a positive answer certifies .
Run Corollary C.2 on with the same threshold . The resulting threshold procedure has the following alternatives:
To prove the failure implication, suppose instead that . Lemma C.4 gives a ball of radius whose objective values are all at least . That ball is contained in , so by Lemma C.5. The enclosing-ellipsoid alternative is then impossible. This proves (44). The procedure need not decide whether is empty.
Step 3: search while retaining an exactly feasible point. Initialize numerical bounds and , keeping the point found in Step 1. Maintain the invariant
It holds initially by (42). While , set and execute the threshold procedure. Update as follows:
(a) On success with point , set and , leaving unchanged.
(b) On failure, set , leaving and unchanged.
Both updates preserve (45), by (43) and (44). In a failure update, because . Thus the upper endpoint strictly decreases. If the current width is , a success reduces it to , whereas a failure changes it to
The loop therefore terminates after
threshold queries. At termination, (45) yields
which is (39). The point y is exactly feasible because it is always one of the points accepted by the strong oracle.
Step 4: bit complexity. The numbers in (41) have polynomial encoding length in the parameters of (40). In particular,
Furthermore is polynomial in and . Each ellipsoid call thus uses polynomially many oracle queries of polynomial length, provided the threshold also has polynomial length. The following observation makes that last point explicit and prevents a recursive bit-length bound.
Let be the product of the denominators of and in lowest terms. After threshold queries, both and have denominator dividing . Indeed, taking a midpoint introduces at most one additional factor of two, and adding introduces no other denominator. Both endpoints stay in , because the interval contracts at every iteration. Hence their encoding lengths, and the length of the next threshold, are
Together with (46), this is a uniform polynomial bound. Notice that a successful update uses , not ; the returned point's coordinates never feed into the search thresholds.
The oracle for uses only a rational scalar-product comparison and at most one call to the oracle for K. Its bit cost is polynomial in the query length, , , and . Combining this fact, Theorem C.1, (46), and (47) proves the claimed total polynomial running time, including output length. For example, the total number of calls to the oracle for K is at most
with polynomial bit work per call.
Dimension one. If , apply the preceding proof in dimension two to and objective . The product contains and is contained in , because and . Its strong oracle acts on a rational query as follows. If , return
Then for every . Otherwise query the oracle for at : accept if it accepts , and lift a separating pair to if it rejects. This is a polynomial-time strong rational separation oracle for . Projecting the returned point onto its first coordinate preserves exact feasibility and objective value. The change of parameters is polynomial. This completes the proof for all .
Application to the main text. The algorithm uses the numerical radius bound. The existential Boolean simplex in Section 4 provides this bound directly from the number of free coordinates.
D Bounded-certificate search and residual repair
The passage from coefficient bounds to approximate SoS proof search uses classical convex optimization; see the bit-complexity context in Raghavendra–Weitz [22] and the rounding and residual-repair arguments in [10, Theorem 22 and Lemma 23]. Here we prove the particular reduction used in the paper: a full-dimensional perturbation of the coefficient SDP, followed by exact repair of a small residual using Boolean axioms. A related exact-arithmetic technique is rational rounding followed by projection onto the affine space of Gram matrices, under a strict feasibility and error bound [21, Section 3.1, Proposition 8]. The reduction below combines a perturbation of the coefficient SDP with the degree-preserving Boolean correction of Lemma A.4. The proof invokes the GLS consequence established in Appendix C and the explicit correction in Appendix A.
Lemma D.1 (Bounded-certificate search). Let be even. Suppose a rational Boolean polynomial system admits a real degree-t Gram proof of a specified rational polynomial whose matrix entries and equality-multiplier coefficients have magnitude at most a supplied rational . For rational , an algorithm finds a rational degree-t Gram proof of in time polynomial in , the system and target encodings, and .
Proof. List the independent symmetric Gram entries and equality-multiplier coefficients as , and write the coefficient equations of a degree-t proof as . They include all ordinary monomials of degree at most , of which there are . The rational matrix is explicitly constructed by polynomial multiplication. Its dimensions and encoding length are polynomial in the stated input. Put , and let denote its Gram blocks. Use the retained degrees as in Section 2, and define the known polynomial
All these are rational and have polynomial encoding length. Set and consider the compact convex set
Let encode the assumed exact certificate. For , each box coordinate of has magnitude less than 2B, each equation residual has magnitude at most , and the perturbation in any symmetric Gram block has Frobenius norm at most . Thus
The centre is not needed. Box and coefficient inequalities have explicit rational separators. A failed PSD condition gives a rational negative witness by Lemma B.4, and hence a strong separator linear in . A zero normal with a negative constant is impossible because is nonempty. This is a polynomial-time strong rational oracle. Normalizing the radius bounds to powers of two, apply Lemma C.6 with objective zero to obtain a rational exactly. All required logarithms and oracle encodings are polynomial in the input parameters.
Replace each block by , leaving the equality multipliers unchanged, and let be the polynomial they certify. It is an exact rational SoS proof of . Before the shift the coefficient error from has norm at most ; the shift adds . Hence for ,
Lemma A.4 gives a rational Boolean certificate of at degree . Adding it to the certificate of gives the exact polynomial identity for . All final matrix and coefficient lengths are polynomial by the oracle output bound and the explicit repair construction.