Manuscript Offprint
arXiv:2610.19174Majority and Torus Polynomials: Bounded-Lift Lower Bounds and Explicit Constructions
Abstract
Bhrushundi et al. (2019) [BHLR19] introduced torus polynomial approximation as an approach to separating Majority from . In this model, approximation is measured modulo integers. Krishan and Vishwanathan (2026) [KV26] developed a duality framework for lower bounds and posed five open problems. We resolve two of these, concerning integer lifts and explicit polynomial approximations. An integer lift records the integer shifts that turn a torus approximation into an ordinary real approximation. We show that a degree-d torus polynomial approximating Majority with error at most 1/8 and lift contained in an interval of width must satisfy . This rules out low-degree approximating polynomials with lifts in , answering their Open Problem 2. We also answer Open Problem 5 by giving, for every Boolean function on variables, an explicit torus polynomial approximation of degree at most . Its error is optimal: zero when the accepting set has even cardinality and otherwise. The results presented here were discovered and formalized in Lean using GPT-6 Astra.
1 Introduction
Separating Majority from polynomial-size, constant-depth circuits with modular gates is a central challenge in circuit complexity. Furst, Saxe, and Sipser [FSS81] and, independently, Ajtai [Ajt83] showed that the PARITY function is not in , the class of Boolean functions computed by nonuniform polynomial-size, constant-depth circuits over the standard unbounded-fan-in Boolean basis (AND, OR, NOT). This result was strengthened by Håstad [Hås86]. Subsequent work investigated the power of including modular gates in the basis. For an integer , the class consists of functions computed by nonuniform polynomial-size, constant-depth circuits with added to the Boolean basis. Razborov [Raz87] proved that Majority is not in . Building on this method, Smolensky [Smo87] proved that for any prime and any integer that is not a power of , the function is not in . The union of over all integers is called . There was little progress on obtaining lower bounds against until Williams [Wil14] showed that NEXP (nondeterministic exponential time) is not contained in the class. Murray and Williams [MW18] improved this result from NEXP to NQP (nondeterministic quasi-polynomial time). A major open question is whether the Majority function is in .
Bhrushundi, Hosseini, Lovett, and Rao [BHLR19] introduced torus polynomial approximation as an algebraic approach to lower bounds. Torus polynomials accommodate modular gates while retaining ordinary polynomial degree. In this model, a real polynomial approximates a Boolean function on the Boolean cube . Approximation is measured modulo integers. At each input , an integer lift is chosen so that is small. The lift therefore turns a modular approximation into an ordinary real approximation of . Its values can vary substantially across inputs even when has low degree. Bhrushundi et al. [BHLR19, Corollary 20] show that circuits can be simulated by torus polynomials. If such a circuit computes on inputs, then for every there is a polynomial of degree that approximates modulo integers within at every Boolean input. In particular, choosing inverse-polynomial error gives polylogarithmic degree. Consequently, a suitable super-polylogarithmic torus-degree lower bound for Majority would show that Majority cannot be computed by
ACC circuits. Bhrushundi et al. [BHLR19] also prove a lower bound of for symmetric torus polynomials approximating Majority at error .
For ordinary real approximation, averaging a polynomial over all permutations of its inputs preserves both the degree bound and the error when the target is symmetric, as Majority is. The average is therefore a symmetric approximating polynomial. For torus approximation, the integer lifts can differ between permuted inputs, and their average need not be an integer. For example, 0 and 1 both represent 0 modulo one, but their average modulo 1 is . Thus, unlike the real case, one cannot assume without loss of generality that a torus approximation to Majority is symmetric. Establishing the above lower bound for nonsymmetric polynomial approximations would show that Majority is not in .
Krishan and Vishwanathan [KV26] recently developed a linear programming framework for torus lower bounds. Fixing an integer lift turns approximation into linear constraints on the polynomial coefficients. Their duality theorem shows that a degree lower bound is equivalent to producing, for every lift, a witness certifying that these constraints are infeasible. For Majority, they normalize and bound the lifts, leaving only finitely many candidates at each input length and degree. This makes it possible to advance towards a lower bound by excluding successive families of lifts. Their framework also yields lower bounds for unrestricted torus polynomials approximating AND and stronger bounds for symmetric torus polynomials approximating AND and Majority. In particular, their AND bounds show that imposing symmetry can increase the required degree, confirming a substantive obstruction to symmetrization. Their Open Problem 2 asks whether, for all sufficiently large , one can rule out torus polynomials of degree that approximate Majority with error at most and whose integer lifts take values only in . The following formulation makes the required dual witness precise.
Open Problem 2 of Krishan and Vishwanathan [KV26]: three-valued integer lifts
We state a stronger form of the problem, omitting the normalization for imposed after Lemma 9 in Krishan and Vishwanathan [KV26, Section 3]. Thus the statement includes all the normalized three-valued lifts considered there.
Let be Majority with ties accepted, where counts the ones in . Let satisfy . Show that, for all sufficiently large and every , there is a real function such that
and
All sums range over . This is the assertion that every three-valued lift is good, meaning that it has a dual witness excluding a degree-at-most- approximation to with uniform error . The witness may depend on .
Krishan and Vishwanathan also prove that every Boolean function has a torus polynomial approximation of degree at most and error , symmetric when the function is symmetric. Their Open Problem 5 asks for an explicit construction achieving this guarantee.
Open Problem 5 of Krishan and Vishwanathan [KV26] (paraphrased): an explicit approximation at tiny error
Given and any Boolean function , explicitly construct a real polynomial of degree at most such that
Krishan and Vishwanathan [KV26] already established the existence of such a polynomial. The question asks for a construction.
We answer these two questions. For Open Problem 2, we prove the existence of separating witnesses for every three-valued lift of Majority, extending the requested degree range to degrees below a constant fraction of . For Open Problem 5, we give an explicit torus approximation of optimal error for every Boolean function.
Paturi's theorem [Pat92] gives Majority's linear real approximate-degree lower bound, with the explicit constant established by our formalization. Combining this bound with the conversion rules out the proposed approximations. Finite-dimensional separation then gives the witnesses nonconstructively (Corollary 3.2.2). For lifts in , taking gives a real approximation of degree at most . Since the error required by Open Problem 2 is at most for every , this general conversion already yields the requested separating witnesses whenever . A degree-five decoder, called a quintic decoder, improves only the numerical constant. It reduces the composition degree from to , giving the stronger threshold for .
Our second result gives a closed formula for the polynomial approximations at tiny error in Open Problem 5 (Theorem 4.1.1). If the top coefficient of the integer multilinear extension of is , with , then subtracting an integer-valued monomial and a multiple of the alternating-sign polynomial leaves degree at most and error exactly . The formula preserves symmetry and attains the alternating-sum lower bound of Krishan and Vishwanathan [KV26]. For Majority, this error is positive exactly when is a power of two (Corollary 4.2.1).
The two answers clarify different aspects of the approximation model. The first quantifies the lift width required by functions of large real approximate degree. PARITY already exhibits this tradeoff, although it belongs to . Using this framework to separate Majority from will therefore require properties of Majority beyond its real approximate degree. The second makes the previously existential tiny-error approximation theorem constructive and determines its exact error for every Boolean function.
The results are formalized in Lean 4 using the Mathlib library. The formalization also includes a proof of Paturi's characterization, with a dual lower-bound construction following Bun and Thaler [BT15], and the Majority approximate-degree lower bound used in the torus arguments. The Lean sources are available at https://github.com/formalcs/circuit-complexity/releases/tag/release%2F0.2.0. Appendix A collects the corresponding Lean statements and explains their notation. References alongside the mathematical arguments point interested readers to the relevant listings.
1.2 AI disclosure
The results presented here were discovered and formalized using GPT-6 Astra. The model used the Lean circuit-complexity framework developed by Wesonga [Wes26] for the formalization of PARITY lower bounds as a starting point. AI assistance was also used to examine related literature, draft and revise the exposition, and maintain the LaTeX manuscript. The author guided the choice of questions and the scope of the paper and requested revisions to its mathematical framing and presentation. The author is responsible for the mathematical claims, citations, and final text.
2 Preliminaries
2.1 Real and torus approximation
Our lower bounds compare two ways of approximating a Boolean function by a polynomial. Both require a single polynomial to work at every input, but real approximation measures error on the real line, while torus approximation measures it modulo integers. The integer lift connects these models and lets us use real approximate-degree lower bounds to study torus polynomials.
Write , , and for the Boolean vector with support . All polynomials may be multilinearized using when evaluated on the Boolean cube. This operation does not increase degree. We use strict Majority,
For Majority with ties accepted, , where is the coordinatewise complement of . Thus the transformation and transfers an approximation of strict Majority to one of , preserving the degree, the error, and the lift width, as well as the restriction to lifts in . Moreover, has the same parity as for , so the exact-error classification in Corollary 4.2.1 holds for both tie conventions.
Real approximate degree measures the degree needed to achieve a prescribed uniform error. For a Boolean function , its real -approximate degree is the least degree of a real polynomial satisfying at every Boolean point. At error , the polynomial's values on inputs with and lie in disjoint intervals. A lower bound on this degree therefore limits how efficiently a polynomial can distinguish the two outputs.
On the torus , real numbers that differ by an integer represent the same point. In particular, 0 and 1 coincide, so we encode the two Boolean outputs by 0 and 1/2 instead. The distance to the nearest integer,
measures the resulting approximation error.
Definition. A real polynomial approximates on the torus with error at most if
Equivalently, there is an integer-valued function such that everywhere. Such a is an integer lift. Its interval width is .
The lift records which integer translate of the polynomial approaches at each input. Bounding its interval width limits the spread of these translates, which is what makes a polynomial decoder possible. For example, a lift taking values in has interval width at most two. Interval width is different from the number of distinct values of Z. An arbitrary constant integer may be subtracted from both P and Z without changing the degree or error. Subtracting a polynomial that is integer-valued on the Boolean cube from both P and Z also preserves the error, but may change both the degree and the lift width. In that case, our bounds use the degree of the modified polynomial and the width of the modified lift.
For the explicit-construction question, we instead fix the degree and ask how small the error can be. We therefore define
Half the multilinear extension of gives an exact torus representation of degree at most , so . The quantity measures whether reducing this degree bound by one forces a positive error, and how large that error must be. We will determine this quantity exactly and construct a polynomial attaining it.
2.2 The classical symmetric-function characterization
Paturi's theorem [Pat92] determines the real approximate degree of any symmetric Boolean function up to constant factors. The key feature is the location of the function's changes in value as the Hamming weight increases. A change near the middle of the Boolean cube forces a larger approximate degree than changes confined to weights near the endpoints.
A symmetric Boolean function depends only on the number of ones in its input. Its profile is the function , where is the common value of on inputs of Hamming weight . Thus . We write for the set of transition weights. A weight belongs to this set when the values at weights and differ, so
For a nonconstant profile, define
These parameters describe how close a transition lies to the middle of the weight grid. The quantity is twice the distance from to the nearest transition midpoint . For a transition at , there are grid points on its left and on its right. The parameter is the largest size of the smaller of these two sides. Thus a transition near the middle gives a small and a large . If , then is constant and there are no transitions. In this case, set and .
Paturi's characterization states that there are absolute constants , independent of and , such that
For a nonconstant profile, the identity gives the equivalent expression . For constant functions, both expressions are zero, as required. Our conventions also include the zero-variable case. For Majority on variables, the transition lies at the middle of the weight grid, so and . Consequently, Majority has real approximate degree . This is the lower bound used in our degree-range tradeoff.
We outline our proof of Paturi's characterization (1), beginning with the reduction to one variable. A symmetric function has a real polynomial approximation of degree at most and error if and only if there is a univariate real polynomial of degree at most such that
Here the approximation is required only at integer weights. For the forward direction, average the multivariate polynomial over all inputs of each weight . Averaging a squarefree monomial of degree gives , which is a polynomial in of degree at most . Averaging also preserves the error bound because is constant on each weight layer. For the reverse direction, substitute into , preserving both the degree and the error.
For the upper bound, interpolate the profile smoothly between integer weights and make the substitution . The resulting function is even and -periodic. Its rate of change is bounded by
The formal definitions of real and torus approximation appear in Appendix A, Listing A.1.
The univariate approximation predicate and the formal symmetrization statement appear in Appendix A, Listings A.2 and A.3.
a Lipschitz constant , meaning that . A Jackson approximation, obtained by convolution with the normalized fourth power of a Dirichlet kernel, gives an even trigonometric polynomial of degree at most 4m and error for . Taking m to be a sufficiently large constant multiple of makes the error at most 1/3 for a nonconstant profile. An even trigonometric polynomial is a polynomial in . Substituting therefore gives the required univariate polynomial of degree . Constant profiles are approximated exactly by constant polynomials.
For the lower bound, we follow the explicit dual-polynomial approach of Bun and Thaler [BT15]. The aim is to assign signed weights to the integer grid so that their weighted sum against every polynomial below the target degree is zero, while their weighted sum against is too large to be consistent with a good approximation. The construction uses reciprocals of products of differences between selected grid points. These weights annihilate low-degree polynomials. Choosing the grid around a transition that attains concentrates enough weight near the change in to obtain a lower bound at a smaller constant error. A constant-degree error-reduction step extends this bound to error . For transitions near the endpoints, a discrete Markov argument supplies the remaining cases. Together these arguments give . The characterization, including the approximation estimates and boundary cases, is formally verified in Lean.
2.3 The full-cube coefficient
We next introduce the coefficient that controls our explicit construction of torus approximations of degree at most . Let and let be any Boolean function. No symmetry assumption is needed here. Write for its unique multilinear extension, so that at every Boolean input. Then represents exactly on the torus and has degree at most . A multilinear polynomial has only one possible monomial of degree , namely . To reduce the degree by one, we therefore need to cancel the coefficient of this monomial while controlling the error modulo integers.
The coefficients of are obtained by inclusion-exclusion from the values of f on Boolean inputs,
Every coefficient is an integer because every value is zero or one. We call the coefficient of the monomial involving all n variables the full-cube coefficient and denote it by
Its coefficient in is . Subtracting an integer multiple of preserves the values modulo integers on the Boolean cube. Thus an even allows this coefficient to be canceled with no torus error. When is odd, a half-integer coefficient remains after such an integer correction. To handle this remaining coefficient, define the alternating-sign polynomial
On the Boolean cube, each factor is -1 or 1, so and . Thus is times the usual parity character . This sign convention makes its full-cube coefficient . A small multiple of can therefore cancel the remaining coefficient while introducing an error of the same magnitude at every input. The same signs also express as an alternating sum of the values of ,
The congruence holds because 1 and -1 are equal modulo two. Hence whether is even or odd depends only on the parity of the number of accepting inputs. This alternating sum also detects the obstruction to a smaller error. For every polynomial of degree below ,
The formal statement appears in Appendix A, Listing A.4.
Indeed, each monomial omits a variable. Pairing inputs that differ only in that variable leaves the monomial unchanged and reverses the sign of , so their contributions cancel. Thus the alternating sum vanishes for every candidate of degree at most , while its value on the target is . Integer lifts can change this sum only by an integer. When is odd, the resulting half-integer discrepancy forces a positive approximation error. In Theorem 4.1.1, we use this identity to prove that the correction based on attains the smallest possible error.
3 The degree cost of a bounded integer lift
This section shows how restricting the range of an integer lift limits the power of torus approximation. We first convert an approximation with lift width into an ordinary real approximation, increasing the degree by a factor of . Paturi's theorem then gives a degree lower bound for Majority. Finally, we sharpen the conversion for lifts taking values in and use it to obtain the dual witnesses requested in Open Problem 2 of Krishan and Vishwanathan [KV26].
3.1 A conversion to real approximation
Suppose approximates and the lift takes values between and . After subtracting and doubling, the value of is close to an integer between and . This integer is even when and odd when . We therefore seek a univariate polynomial that recovers these two Boolean values from a small neighborhood of each integer. Composing it with will give an ordinary real approximation of .
The function has exactly the desired values at integers. Lemma 3.1.1 replaces g by a polynomial on the interval containing all relevant inputs. The extra 1/4 at either end accommodates the error after doubling. The key estimate is that the decoder's degree grows only linearly with .
Lemma 3.1.1 (A polynomial decoder for bounded integers). For every integer , there is a real polynomial of degree at most such that, on ,
Proof. Set and . Let be the Taylor polynomial of at , through degree , and put . For we have . All th derivatives of have absolute value at most . Taylor's theorem and give, since ,
Here and suffice. Dividing the error by two proves the claim.
The decoder gives the following conversion for any Boolean function. Its degree multiplies the degree of P, and its approximation error combines with the error in P to remain below 1/3. The resulting bound depends on the width B of the lift's range, independently of the interval's location a.
Theorem 3.1.2 (Bounded-lift conversion). Let , , , and . Suppose a real polynomial of degree at most and an integer-valued function satisfy, for every ,
Then
The formal statement appears in Appendix A, Listing A.5.
Proof. Put and . The integer lies in , has parity , and satisfies . Thus . The function agrees with parity at integer points. For any integer and real ,
Applying Lemma 3.1.1 gives
The composition has degree at most . Multilinearization preserves its Boolean values, proving
For Majority, the real approximation produced by Theorem 3.1.2 must have degree by Paturi's theorem. Thus the original degree and the lift width cannot both be small. The next corollary makes this tradeoff explicit, even when the allowed torus error is the constant 1/8.
Corollary 3.1.3 (Majority degree-range tradeoff). There is an absolute constant such that every approximation in Theorem 3.1.2 with satisfies
In particular, constant-width lifts require degree even at constant error 1/8.
Proof. Paturi's theorem gives [Pat92]. Apply Theorem 3.1.2.
Our Lean formalization proves the Majority approximate-degree lower bound with explicit constant 1/10000, so the degree-range tradeoff holds with . For fixed , this gives . These constants are not optimized.
The tradeoff excludes any such approximation with , whether is fixed or grows with . For fixed , the linear order of the degree lower bound is best possible. The ordinary multilinear extension of is an exact degree-at-most- torus representation with lift zero.
Remark (Sharpness). For PARITY, is an exact torus representation with lift . Here , so the general tradeoff is sharp up to constants.
3.2 Three-valued lifts and dual witnesses
Open Problem 2 concerns lifts taking values only in and error at most . Such a lift has width two, so the general conversion already gives a real approximation of degree at most 47d. Because the lift takes only three values, belongs to the six-point set . Interpolating parity exactly on these points gives a decoder of degree five. Bounding its derivative controls the error near these points, yielding a real approximation of degree at most 5d. Theorem 3.2.1 records this improvement for Majority.
Theorem 3.2.1 (A quintic decoder for the ternary lift). Suppose , and a real polynomial with and a function satisfy
Then
The formal statement appears in Appendix A, Listing A.6.
The formal statements appear in Appendix A, Listings A.7 and A.8.
Proof. Let and . Define
Its values at are respectively . Thus . Since , all relevant values lie in . On that interval,
The mean-value theorem gives . The multilinearization of has degree at most 5d.
The same argument applies to any Boolean function , giving under the same approximation hypotheses.
Theorem 3.2.1 rules out the proposed torus approximation whenever . To answer the open problem in its stated form, we turn this nonexistence result into a dual witness for each fixed lift . Let be the real subspace of functions on represented by degree-at-most- polynomials. For real functions on the cube, write and .
A witness assigns signed weights to Boolean inputs so that for every . If such a approximated the target with pointwise error at most , then the absolute weighted sum of that target would be at most . The strict inequality in Corollary 3.2.2 certifies that this is impossible. Finite-dimensional separation guarantees the existence of a witness once the target is too far from .
Corollary 3.2.2 (Finite witnesses for three-valued lifts). If and , then for every there is a real function such that
Proof. The distance from to in the maximum norm is attained because the ambient space is finite-dimensional and is closed. If this minimum were at most , a minimizing polynomial would, by Theorem 3.2.1, imply , contrary to the hypothesis. Thus the distance is strictly greater than . Separating the target from the closed convex sum of and the maximum-norm ball of radius yields a nonzero functional annihilating . The support function of that ball is , which gives the displayed inequality.
The finite witness conclusion also holds for any Boolean function satisfying , with as above.
To obtain the degree range in Open Problem 2, we combine the finite corollary with the explicit linear lower bound for Majority established in our formalization of Paturi's theorem.
Corollary 3.2.3 (Asymptotic witnesses for three-valued lifts). Let satisfy for all sufficiently large . Then, for all sufficiently large and every , there exists with
In particular, this holds whenever . Both conclusions also hold for Majority with ties accepted.
The formal statement appears in Appendix A, Listing A.9.
The formal statement appears in Appendix A, Listing A.10.
Proof. For every satisfying , the explicit lower bound gives
Corollary 3.2.2 therefore supplies the required witness. If , then , since . Hence for all sufficiently large . For ties-accepted Majority, the complement transformation with rules out approximating within by an element of , for every three-valued . The attainment and separation argument of Corollary 3.2.2 then gives the required witness.
The asymptotic statements are formalized for both tie conventions. More generally, Theorem 3.1.2 and the same separation argument apply at error 1/8. For any Boolean function and integer lift with values in , where and , if , there exists such that
This witness excludes uniform approximation to by degree-at-most-d polynomials at every error .
4 Explicit optimal approximation below full degree
We now turn to Open Problem 5 of Krishan and Vishwanathan [KV26], which asks for an explicit construction of torus approximations with exponentially small error. Their Theorem 18 establishes that every Boolean function on variables admits an approximation of degree at most and error at most . We give a formula that attains the smallest possible error for each function. We then describe how to compute its coefficients from the truth table and determine exactly which input lengths allow an exact representation of Majority below full degree.
4.1 Construction and optimality
The construction implements the coefficient cancellation described in the full-cube coefficient subsection. Starting with the exact representation , write its coefficient of as , where is an integer and . Subtracting removes the integer part without changing any value on the torus. If , subtracting removes the remaining half while changing each Boolean value by only in absolute value. If , this second correction is unnecessary.
Theorem 4.1.1 states the resulting formula and its optimality. The alternating-sum obstruction from Lemma 14 of Krishan and Vishwanathan [KV26], applied to the full cube, gives the matching lower bound. Thus the new construction attains the known obstruction. Because both correction terms are invariant under coordinate permutations, it also preserves symmetry whenever f is symmetric.
Theorem 4.1.1 (An explicit polynomial approximation of degree at most ). Let , and let be the multilinear extension (2) of a Boolean function . Write , where and . Then
has degree at most n - 1 and satisfies, at every Boolean point,
Moreover,
If f is symmetric, then is symmetric.
See Appendix A, Listings A.11 and A.12.
Proof. The coefficient of in (6) is . Every other monomial has degree below . At Boolean points,
The first term is integer-valued and . This proves the pointwise error formula.
For completeness, suppose and a polynomial of degree at most has torus error at most . Choose an integer lift for . By (4),
The left side is at most . Thus . When , the explicit construction has zero error. Equation (3) gives the accepting-set formulation in (7). Finally, the uniqueness of implies its symmetry whenever is symmetric, and both correction terms are invariant under coordinate permutations.
The theorem shows that reducing the degree from n to n-1 has only two possible effects on the optimal error. An even number of accepting inputs permits an exact torus representation. An odd number forces error , and the formula attains that error at every input. In particular, symmetry introduces no additional cost for this construction.
To make the construction usable from a truth table, we can expand the formula and compute every coefficient directly. The full-cube coefficient is zero by construction. For , the coefficient of is
The Boolean Möbius transform computes all the by applying successive differences along each of the input coordinates. Each pass uses integer subtractions, giving exactly subtractions in total. The displayed correction then yields all coefficients of in arithmetic operations. This measures the work relative to a truth table with entries. The expanded polynomial can itself have exponentially many coefficients.
The coefficients also have bounded exact representations. A common denominator is , and each integer numerator has absolute value at most . Thus each coefficient can be stored using bits for its numerator and denominator. The operation count above treats each integer subtraction as one operation, regardless of the number of bits in its operands.
Two small examples illustrate the two error cases. Two-bit AND has one accepting input, so its optimal degree-one error is 1/8. The construction gives
which attains this error at all four inputs. Two-bit parity has two accepting inputs, so the construction gives an exact degree-one torus representation, . At the input , its value is 1, which equals the required value 0 modulo integers.
4.2 The exact length dependence for Majority
For Majority, Theorem 4.1.1 reduces the question of exact representation below degree n to the parity of its accepting-set size. The full-cube coefficient gives a convenient way to determine this parity. For a threshold function, it is a signed binomial coefficient, whose parity can be read from the binary digits of its indices. For strict Majority, this calculation singles out precisely the power-of-two input lengths.
The following corollary therefore describes exactly when degree suffices for zero error. At power-of-two lengths, the formula still attains error , but any improvement in error requires restoring full degree .
The formal statements appear in Appendix A, Listings A.13, A.14, and A.15.
The formal statements appear in Appendix A, Listings A.16 and A.17.
Corollary 4.2.1. For ,
At power-of-two lengths, every torus polynomial approximating Majority with error strictly below has degree at least n.
Proof. For the threshold , Pascal's identity and cancellation in the alternating sum give
For strict Majority take . If , the binomial coefficient is , which is even because it equals . For it is one.
If , the coefficient has the parity of . The binary-digit criterion for binomial coefficients says that is odd precisely when and have disjoint binary supports. This follows by expanding over . With and , disjointness holds precisely when is a power of two. Apply Theorem 4.1.1.
At power-of-two input lengths, is therefore the smallest error achievable by a torus polynomial of degree at most approximating Majority. This error is far below the inverse-polynomial error used in the circuit simulation.
For Majority, the polynomial in (6) has integer lift . This lift takes values in , so it has at most two values but interval width . Since , the binomial coefficient formula above and Stirling's formula give
Thus even a lift taking only two values can have exponentially large width. This illustrates the distinction between interval width and the number of lift values.
The formal statement appears in Appendix A, Listing A.18.
References
[Ajt83] Miklós Ajtai. -formulae on finite structures. Annals of Pure and Applied Logic, 24(1):1–48, 1983. doi:10.1016/0168-0072(83)90038-6.
[BHLR19] Abhishek Bhrushundi, Kaave Hosseini, Shachar Lovett, and Sankeerth Rao. Torus polynomials: An algebraic approach to ACC lower bounds. In 10th Innovations in Theoretical Computer Science Conference (ITCS 2019), volume 124 of Leibniz International Proceedings in Informatics (LIPIcs), pages 13:1–13:16, 2019. doi:10.4230/LIPIcs.ITCS.2019.13.
[BT15] Mark Bun and Justin Thaler. Dual lower bounds for approximate degree and Markov–Bernstein inequalities. Information and Computation, 243:2–25, 2015. doi:10.1016/j.ic.2014.12.003.
[FSS81] M. Furst, J. Saxe, and M. Sipser. Parity, circuits, and the polynomial time hierarchy. In Proceedings of the Twenty-second Annual IEEE Symposium on Foundations of Computer Science, pages 260–270, 1981.
[Hås86] Johan Håstad. Almost optimal lower bounds for small depth circuits. In Proceedings of the eighteenth annual ACM symposium on Theory of computing, pages 6–20, 1986.
[KV26] Vaibhav Krishan and Sundar Vishwanathan. Lower bounds and separations for torus polynomials. In 17th Innovations in Theoretical Computer Science Conference (ITCS 2026), volume 362 of Leibniz International Proceedings in Informatics (LIPIcs), pages 88:1–88:20, 2026. doi:10.4230/LIPIcs.ITCS.2026.88.
[MW18] Cody Murray and Ryan Williams. Circuit lower bounds for nondeterministic quasi-polytime: an easy witness lemma for NP and NQP. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, pages 890–901, New York, NY, USA, 2018. Association for Computing Machinery. doi:10.1145/3188745.3188910.
[Pat92] Ramamohan Paturi. On the degree of polynomials that approximate symmetric Boolean functions (preliminary version). In Proceedings of the Twenty-Fourth Annual ACM Symposium on Theory of Computing (STOC 1992), pages 468–474, 1992. doi:10.1145/129712.129758.
[Raz87] A. A. Razborov. Lower bounds on the size of bounded-depth networks over a complete basis with logical addition (in Russian). MatZametki, 41(4):598–607, 1987. An English translation appeared in Mathematical Notes of the Academy of Sci. of the USSR 41(4) (1987) 333–338. URL: http://people.cs.uchicago.edu/~razborov/files/depth.pdf.
[Smo87] Roman Smolensky. Algebraic methods in the theory of lower bounds for Boolean circuit complexity. In Proc. 19th STOC, pages 77–82, New York, 1987. ACM Press.
[Wes26] Saint Wesonga. Formalizing PARITY circuit lower bounds in Lean. arXiv preprint arXiv:2609.24188, 2026. URL: https://arxiv.org/abs/2609.24188.
[Will14] Ryan Williams. Nonuniform ACC circuit lower bounds. J. ACM, 61(1):2:1–2:32, January 2014. URL: http://doi.acm.org/10.1145/2559903, doi:10.1145/2559903.
A Formal theorem statements in Lean
This appendix collects the formal definitions and theorem statements corresponding to the results in the main text. The listings follow the order of the mathematical development and retain references to the associated lemmas, theorems, and corollaries.
A.1 Definitions and reading conventions
The numbered code blocks below give Lean definitions and theorem statements corresponding to the mathematics in the text. Proof scripts are omitted. Listing A.1 gives the formal definitions of real and torus approximation.
In these blocks, Fin n indexes the n input coordinates, Bool is the type of Boolean values, and Cube n represents the Boolean cube. The function bit converts false and true to the real numbers 0 and 1, and P x means . Membership in degreeSpace (K := Real) (Fin n) d means that a cube function is represented by a multilinear polynomial of degree at most d.
Listing A.1: Boolean inputs and approximation predicates
abbrev Cube (n : Nat) := Fin n → Bool
def bit (b : Bool) : ℝ := if b then 1 else 0
def HasRealApproximation {n : Nat} (f : Cube n → Bool) (d : Nat) (ε : ℝ) : Prop := ∃ P : Cube n → ℝ, P ∈ degreeSpace (K := ℝ) (Fin n) d ∧ ∀ x, |P x - bit (f x)| ≤ ε
def HasTorusApproximation {n : Nat} (f : Cube n → Bool) (d : Nat) (ε : ℝ) : Prop := ∃ P : Cube n → ℝ, P ∈ degreeSpace (K := ℝ) (Fin n) d ∧ ∃ Z : Cube n → ℝ, ∀ x, |P x - (Z x : ℝ) - bit (f x) / 2| ≤ ε
The names realApproxDegree f eta, optimalTorusError f d, and torusDistance u denote , , and , respectively. The predicate HasTorusApproximation f d eps packages the existence of a degree-at-most-d approximating polynomial and an integer lift. The definition strictMajority n uses the strict tie convention . All results displayed below have proofs formally verified in Lean. The Majority degree-range and asymptotic witness consequences use a proved linear real approximate-degree lower bound in Listing A.7.
A.2 Symmetrization and Paturi's characterization
The predicate HasUnivariateApproximation n F d eps in Listing A.2 means that some real polynomial q of degree at most d satisfies for every integer . Here q.eval denotes evaluation of q, and q.natDegree is its degree, with the zero polynomial assigned degree zero.
Listing A.2: Univariate approximation on the Hamming-weight grid
def HasUnivariateApproximation (n : Nat) (F : Nat → Bool) (d : Nat) (ε : ℝ) : Prop := ∃ q : Polynomial ℝ, q.natDegree ≤ d ∧ ∀ k : Nat, k ≤ n → |q.eval (k : ℝ) - bit (F k)| ≤ ε
In Listing A.3, profileFunction F denotes . The theorem equates real approximation of this symmetric function with univariate approximation of its profile.
Listing A.3: Exact symmetrization of polynomial approximation
theorem hasRealApproximation_profile_iff_univariate {n d : Nat} {F : Nat → Bool} {ε : ℝ} : HasRealApproximation (profileFunction (n := n) F) d ε ↔ HasUnivariateApproximation n F d ε
The proof of Paturi's characterization described in the main text is formalized in Lean, including the kernel and grid estimates, error reduction, and boundary cases. Listing A.4 gives the resulting statement. Here paturiScale n F is with the convention for constant profiles used in the main text. Every symmetric Boolean function has a canonical Hamming-weight profile, so this formulation covers all such functions.
Listing A.4: Paturi's characterization with uniform absolute constants
theorem paturi_characterization_profile : ∃ c C : ℝ, 0 < c ∧ 0 < C ∧ ∀ (n : Nat) (F : Nat → Bool), c * paturiScale n F ≤ (realApproxDegree (profileFunction (n := n) F) (1 / 3) : ℝ) ∧ (realApproxDegree (profileFunction (n := n) F) (1 / 3) : ℝ) ≤ C * paturiScale n F
A.3 Bounded lifts and dual witnesses
Listing A.5 gives the equivalent existence statement. Here Icc denotes a closed interval.
Listing A.5: Lemma 3.1.1: bounded integer decoder
theorem exists_bounded_integer_decoder (B : Nat) : ∃ H : Polynomial ℝ, H.natDegree ≤ 16 * (B + 1) - 1 ∧ ∀ t ∈ Icc (-1 / 4 : ℝ) (2 * (B : ℝ) + 5 / 4), |H.eval t - (1 - Real.cos (Real.pi * t)) / 2| < 1 / 32
The Lean formulation in Listing A.6 states the same degree bound. Nonnegativity of the error follows from herr at any Boolean input.
Listing A.6: Theorem 3.1.2: conversion to real approximate degree
theorem bounded_integer_lift_conversion {n d : Nat} {f : Cube n → Bool} {P : Cube n → ℝ} (hP : P ∈ degreeSpace (K := ℝ) (Fin n) d) (Z : Cube n → ℤ) (a : ℤ) (B : Nat) (ε : ℝ) (hε : ε ≤ 1 / 8) (hZ : ∀ x, a ≤ Z x ∧ Z x ≤ a + (B : ℤ)) (herr : ∀ x, |P x - (Z x : ℝ) - bit (f x) / 2| ≤ ε) : realApproxDegree f (1 / 3) ≤ (16 * (B + 1) - 1) * d
Listings A.7 and A.8 give the formally verified Majority lower bound and the resulting degree-range tradeoff from Corollary 3.1.3.
Listing A.7: The proved Majority approximate-degree lower bound
theorem strictMajority_realApproxDegree_lower_bound (n : Nat) : (1 / 10000 : ℝ) * n ≤ (realApproxDegree (strictMajority n) (1 / 3) : ℝ)
Listing A.8: Corollary 3.1.3: the Majority degree-range tradeoff
theorem majority_degree_range_tradeoff {n d : Nat} {P : Cube n → R} (hP : P ∈ degreeSpace (K := R) (Fin n) d) (Z : Cube n → Z) (a : Z) (B : Nat) (ε : R) (hε : ε ≤ 1 / 8) (hZ : ∀ x, a ≤ Z x ∧ Z x ≤ a + (B : Z)) (herr : ∀ x, |P x - (Z x : R) - bit (strictMajority n x) / 2| ≤ ε) : (1 / 160000 : R) * n ≤ (d * (B + 1) : Nat)
For fixed B, rearranging this inequality gives . The corresponding Lean theorem is majority_fixed_width_degree_bound.
Listing A.9 states the more general version valid for any Boolean function . Taking gives Theorem 3.2.1.
Listing A.9: Theorem 3.2.1: quintic conversion for any Boolean function
theorem ternary_lift_realApproxDegree_le {n d : Nat} (hn : 40 ≤ n) (f : Cube n → Bool) (P : Cube n → R) (Z : Cube n → Z) (hP : P ∈ degreeSpace (K := R) (Fin n) d) (hZ : ∀ x, -1 ≤ Z x ∧ Z x ≤ 1) (happrox : ∀ x, |P x - (Z x : R) - bit (f x) / 2| ≤ 1 / (20 * (n : R))) : realApproxDegree f (1 / 3) ≤ 5 * d
The finite witness statement, Listing A.10, also holds for arbitrary Boolean and needs only the displayed approximate-degree inequality. Its first conclusion is precisely . The second is the strict separation in Corollary 3.2.2.
Listing A.10: Corollary 3.2.2: the finite strict dual witness
theorem ternary_lift_exists_strict_dual_of_degree {n d : Nat} (hn : 40 ≤ n) (f : Cube n → Bool) (Z : Cube n → Z) (hZ : ∀ x, -1 ≤ Z x ∧ Z x ≤ 1) (hd : 5 * d < realApproxDegree f (1 / 3)) : ∃ γ : Cube n → R, (∀ P ∈ degreeSpace (K := R) (Fin n) d, ∑ x, γ x * P x = 0) ∧ (∑ x, |γ x|) / (20 * (n : R)) < |∑ x, γ x * ((Z x : R) + bit (f x) / 2)|
Listing A.11 matches Open Problem 2 with ties accepted and the stated big-O degree bound. Here weakMajority n x is true exactly when , so it is the function used in the box. The notation =0[atTop] means big-O as , and means “for all sufficiently large .” The order of quantifiers makes the threshold independent of Z, while allowing the witness to depend on Z.
Listing A.11: Corollary 3.2.3: ties accepted and the big-O degree bound
theorem eventually_weakMajority_ternary_dual (d : Nat → Nat) (hd : (fun n → (d n : R)) =0[atTop] (fun n → Real.sqrt ((n : R) / Real.log n)) : ∀f n : Nat in atTop, ∀ (Z : Cube n → Z), (∀ x, -1 ≤ Z x ∧ Z x ≤ 1) → ∃ γ : Cube n → R, (∀ P ∈ degreeSpace (K := R) (Fin n) (d n), ∑ x, γ x * P x = 0) ∧ (∑ x, |γ x|) / (20 * (n : R)) < |∑ x, γ x * ((Z x : R) + bit (weakMajority n x) / 2)|
The stronger linear degree bound is formalized separately in Listing A.12. Its hypothesis is an inequality between natural numbers. The big-O bound above implies this inequality for all sufficiently large n. Both statements are also proved with strictMajority in place of weakMajority.
Listing A.12: Corollary 3.2.3: the eventual linear degree bound
theorem eventually_weakMajority_ternary_dual_of_linear (d : Nat → Nat) (hd : ∀^f n : Nat in atTop, 50000 * d n < n) : ∀^f n : Nat in atTop, ∀ (Z : Cube n → Z), (∀ x, -1 ≤ Z x ∧ Z x ≤ 1) → ∃ γ : Cube n → ℝ, (∀ P ∈ degreeSpace (K := ℝ) (Fin n) (d n), ∑ x, γ x * P x = 0) ∧ (∑ x, |γ x|) / (20 * (n : ℝ)) < |∑ x, γ x * ((Z x : ℝ) + bit (weakMajority n x) / 2)|
A.4 Explicit constructions and their guarantees
The definition in Listing A.13 evaluates (6) on the Boolean cube. Here topCoefficient f is , fullMonomial x is , and parityCharacter x is the value of the alternating-sign polynomial, with the same sign convention as in the main text. Division and remainder in the integer expressions give and , including when is negative. The value acceptingCount f is , so explicitError f equals .
Listing A.13: The explicit approximating polynomial and its error
def explicitApproximant {n : Nat} (f : (Fin n → Bool) → Bool) (x : Fin n → Bool) : ℝ := (if f x then 1 else 0) / 2 - (topCoefficient f / 2 : ℝ) * (fullMonomial x : ℝ) - (topCoefficient f % 2 : ℝ) * (parityCharacter x : ℝ) / (2 : ℝ) ^ (n + 1)
def explicitError {n : Nat} (f : Cube n → Bool) : ℝ := if Odd (acceptingCount f) then 1 / (2 : ℝ) ^ (n + 1) else 0
Listings A.14 and A.15 cover all conclusions of Theorem 4.1.1. The symmetry statement preserves invariance under each coordinate permutation e. Applying it to every permutation proves the stated symmetry conclusion.
Listing A.14: Theorem 4.1.1: degree and pointwise torus error
theorem explicitApproximant_mem_degreeSpace {n : Nat} (hn : 0 < n) (f : (Fin n → Bool) → Bool) : explicitApproximant f ∈ degreeSpace (K := ℝ) (Fin n) (n - 1)
theorem explicitApproximant_torusDistance {n : Nat} (hn : 0 < n) (f : Cube n → Bool) (x : Cube n) : torusDistance (explicitApproximant f x - bit (f x) / 2) = explicitError f
Listing A.15: Theorem 4.1.1: optimality and symmetry
theorem optimalTorusError_pred {n : Nat} (hn : 0 < n) (f : Cube n → Bool) : optimalTorusError f (n - 1) = if Odd (acceptingCount f) then 1 / (2 : ℝ) ^ (n + 1) else 0
theorem explicitApproximant_perm {n : Nat} (f : (Fin n → Bool) → Bool) (e : Equiv.Perm (Fin n)) (hf : ∀ x, f (x ○ e) = f x) (x : Fin n → Bool) : explicitApproximant f (x ○ e) = explicitApproximant f x
The formally verified coefficient bound in Listing A.16 makes the -bit assertion quantitative. A common denominator is and each integer numerator has absolute value at most . Here mobiusCoeff extracts a multilinear coefficient.
Listing A.16: Common denominator and numerator bound
theorem explicitApproximant_coefficients_dyadic {n : Nat} (f : Cube n → Bool) (S : Finset (Fin n)) : ∃ N : Z, mobiusCoeff (explicitApproximant f) S = (N : R) / (2 : R) ^ (n + 1) ∧ |N| ≤ (2 : Z) ^ (2 * n + 1)
The arithmetic bound is certified by Listing A.17. The function tabulate stores a supplied truth table, transform performs the recursive Boolean Möbius transform, and read retrieves the entry indexed by assignmentOfSet u. The cost counts integer subtractions at unit cost. It is exactly , hence at most in this arithmetic cost model.
Listing A.17: Correctness and arithmetic cost of the fast transform
theorem transform_tabulate_spec {n : Nat} (f : Cube n → Z) : (∀ u, read (transform (tabulate f)) (assignmentOfSet u) = mobiusCoeff f u) ∧ transformCost (tabulate f) = n * 2 ^ (n - 1)
Listing A.18 gives both parts of the corollary. The existential condition includes , and the degree conclusion uses a strict error inequality, as in the mathematical statement.
Listing A.18: Corollary 4.2.1: exact error and full-degree necessity
theorem optimalTorusError_strictMajority (n : Nat) (hn : 0 < n) : optimalTorusError (strictMajority n) (n - 1) = if ∃ k : Nat, n = 2 ^ k then 1 / (2 : R) ^ (n + 1) else 0
theorem strictMajority_degree_ge_of_small_error (n : Nat) (hn : 0 < n) (hpow : ∃ k : Nat, n = 2 ^ k) {d : Nat} {ε : R} (hε : ε < 1 / (2 : R) ^ (n + 1)) (h : HasTorusApproximation (strictMajority n) d ε) : n ≤ d