Manuscript Offprint
arXiv:2610.42138Approximate Polynomial Satisfiability and Integral Closure Membership in the Counting Hierarchy
Abstract
Andrews, Garg, and Schost recently, in a breakthrough result, placed Hilbert's Nullstellensatz (HN) in the Counting Hierarchy (CH) using constant-depth circuits for multivariate resultants. While HN deals with exact polynomial satisfiability, Guo, Saxena, and Sinhababu (CCC 2018; Theory of Computing 2019) introduced approximate polynomial satisfiability (APS) as a natural approximative analogue of polynomial system satisfiability. They proved its NP-hardness and a PSPACE upper bound, and used APS to construct hitting sets for in polynomial space, substantially narrowing the GCT chasm in geometric complexity theory.
We place APS in the Counting Hierarchy for rational polynomials given by arithmetic circuits. Our proof combines Noether normalization with a geometric restriction on how points in the image of a polynomial map approach the origin, reducing APS to a test on multivariate resultants which allows solvability in CH. It complements the independent and concurrent proofs of Balaji, Shirmohammadi, Tavenas, and Worrell, and Andrews, Garg, Oliveira, and Schost. Moreover, we also place integral closure membership testing in the Counting Hierarchy. Here, the question is whether a given polynomial is integral over . Our approach uses a global annihilator criterion and an effective degree bound to reduce non-integrity to APS in polynomial time.
*Universität des Saarlandes, Saarbrücken, Germany. agarwal@cs.uni-saarland.de †Indian Institute of Technology Delhi, India. mt1240231@iitd.ac.in ‡Universität des Saarlandes, Saarbrücken, Germany. apandey@cs.uni-saarland.de §Universität Regensburg, Germany. hshukla.math04@gmail.com
1 Introduction
Deciding whether a system of polynomial equations has a complex solution is a central problem in algebraic complexity. This decision problem, usually called Hilbert's Nullstellensatz (HN), is NP-hard and has long been known to lie in PSPACE [Can88]. Koiran placed it in AM under the generalized Riemann hypothesis [Koi96]. The recent breakthrough of Andrews, Garg, and Schost gives an unconditional Counting Hierarchy upper bound [AGS26]. Their uniform constant-depth circuits for multivariate resultants extend the line of work on shallow algebraic computation developed by Andrews and Wigderson for univariate resultants and related linear-algebra problems [AW24].
Guo, Saxena, and Sinhababu [GSS18, GSS19] introduced approximate polynomial satisfiability (APS) as a natural approximative analogue of polynomial system satisfiability. They established algebraic and geometric characterizations of APS, proved its NP-hardness, and gave a PSPACE algorithm. Not only that, they also showed an equivalence of non-existence of APS to the system of polynomials having an annihilator with a non-zero constant term.
Intuitively, APS allows the input coordinates to vary, and even become unbounded, provided that all output values tend to zero. For example, the system
has no exact solution, but the substitution makes its outputs tend to the origin as approaches 0. Formally, for a polynomial map , the decision problem APS asks whether origin lies in the Zariski closure of the image of the polynomial map. In other words, APS asks whether . Note that over , the Euclidean and Zariski closures of this constructible image coincide [Mum95, Chapter 1].
Problem 1.1 (Approximate polynomial satisfiability). Given arithmetic circuits over computing , decide whether .
Moving from an image to its closure is fundamental in border complexity: it permits algebraic objects (eg: polynomials, tensors) to be represented as limits of “simpler” ones. Border rank of tensors is a basic example [BCS97, Lan12]; bounds on the order of such approximations go back to Lehmkuhl and Lickteig [LL89]. Guo, Saxena, and Sinhababu showed that APS also supplies an algorithmic route to problems in geometric complexity theory (GCT). In particular, they used it to construct polynomial-size hitting sets for in polynomial space [GSS19]. Here consists of polynomial families of polynomially bounded degree approximable by polynomial-size arithmetic circuits. A hitting set must detect every nonzero polynomial in this closure, including those obtained only by approximation. Through Mulmuley's connection between hitting sets and effective Noether normalization [Mul17], the construction narrows the GCT chasm: it replaces the EXPSPACE bound for these constructions by a PSPACE bound. With the recent improvement in the complexity of HN, it begs the question whether the complexity of APS can also be improved in the same way? Our first result gives an affirmative answer for polynomials input as arithmetic circuits with coefficients from .
Our second result concerns integral closure, a basic construction in commutative algebra and algebraic geometry [AM69, Chapter 5]. Given a polynomial and a finitely generated subalgebra , we ask whether satisfies a monic equation over . Formally, we ask the following.
Problem 1.2 (Integral closure membership). Given arithmetic circuits over computing polynomials , decide whether is integral over . In other words, we want to test whether there exists and , such that .
EXPSPACE upper bounds for the general integral closure testing are well-known through Gröbner Bases computations [DJ97]. However, we show that deciding integrality over polynomial subalgebras can be done much more efficiently than these worst-case exponential space bounds. In particular, we also put this problem in CH by reducing it to an instance of APS.
Theorem 1.3. Approximate polynomial satisfiability (APS) belongs to the Counting Hierarchy.
Input polynomials are represented by arithmetic circuits over Q, with binary rational constants. Division gates are allowed, under the promise that every divisor is nonzero as a rational function and that every output represents a polynomial. Complexity statements use the ordinary Turing model and binary encodings of rational coefficients.
Remark 1.4 (Sparse representation). Our results also apply to polynomials given in sparse representation, with exponents encoded in binary. Indeed, repeated squaring converts such inputs into division-free arithmetic circuits in time polynomial in the sparse input size.
Remark 1.5 (Division Gates). Note that the proof also holds if circuits of input polynomials have division gates. If degree of each is polynomial in input length, then we can use [Str73] to remove these division gates with only a polynomial blowup. On the other hand, even if the degree of were exponential in the input description, then writing each , it is easy to see that the system has an APS if and only if the system has an APS, where is a new variable.
Remark 1.6 (Coefficients from other fields). Theorem 1.3 also holds for arithmetic circuits over number fields and finite fields, with image closure taken over the algebraic closure of the coefficient field, see Remark 6.7. For simplicity of exposition, throughout this work, we assume that the input polynomials have rational coefficients.
Several standard applications of APS consequently inherit improved upper bounds. Below, is any of the coefficient fields covered above, , and vectors and tensors are given by their full coordinate lists.
Corollary 1.7. Theorem 1.3 has the following consequences.
(i) Tensor border rank. Given a tensor over and an integer encoded in binary, deciding whether its border rank over is at most belongs to CH.
(ii) Orbit-closure problems. For rational linear actions of products of general and special linear groups, given by arithmetic circuits in explicit matrix coordinates, deciding
belongs to CH. This includes null-cone membership, obtained by taking .
(iii) Hitting sets for . Given in unary, a hitting set of size for all nonzero -variate polynomials over of degree at most and approximative circuit size at most can be constructed in . Thus these hitting sets are -explicit. Their coordinates have polynomial-length encoding; over finite fields, we allow a finite extension of polynomial degree.
The first two consequences follow from the standard parametrizations of bounded-rank tensors and group orbits, using denominator clearing for rational parametrizations. For hitting sets, the certification criterion of Guo, Saxena, and Sinhababu [GSS19, Theorem 5.2 and Remark 5.3] reduces failure of a candidate hitting set for their universal circuit family to APS. Certification therefore belongs to , and bitwise search over polynomial-length candidate encodings gives the stated construction, improving their PSPACE upper bound.
For our second main result, we provide a solution to the question raised in Problem 1.2, bringing down the complexity of integral closure membership testing from EXPSPACE to .
Theorem 1.8. Integral closure membership testing belongs to . More precisely, non-integrality has a deterministic polynomial-time many-one reduction to APS.
Remark 1.9 (Other coefficient fields). Theorem 1.8 also holds over the number fields and finite fields covered by our extension of Theorem 1.3, with integrality taken over , where is the base field, see Remark 7.10.
Corollary 1.10. Under the input and coefficient-field conventions above, the following problems belong to , where denotes the algebraic closure of the coefficient field:
(i) Integral closure of ideals. Given polynomials , decide whether belongs to the integral closure of the ideal .
(ii) Finiteness of polynomial maps. Given a polynomial map , decide whether is finite, or equivalently, proper.
The first consequence follows from the standard equivalence between integrality of over the ideal and the integrality of over , where is a new variable. To see this consider the degree 1 graded part, i.e., in the proof of [HS06, Proposition 5.2.1] with , and . For the second, is finite precisely when every coordinate is integral over ; finiteness and properness are equivalent for affine morphisms [The26, Tag 01WN].
1.2 Related work
Independent and concurrent work. Independently and concurrently, Balaji, Shirmohammadi, Tavenas, and Worrell [BSTW26] obtained the Counting Hierarchy upper bound for APS established in Theorem 1.3. Both proofs use generalized characteristic polynomials and the resultant circuits of Andrews, Garg, and Schost [AGS26], but their geometric reductions differ. [BSTW26] first reduce to a minimally dependent tuple and prescribe generic scalar multiples of a single infinitesimal parameter as the values of all but one coordinate. Their key argument uses the lowest-degree homogeneous part of an annihilating relation to show that, for a suitable choice of the remaining coordinate, a positive APS instance admits a solution on which that coordinate also tends to zero. They detect the existence of such a solution by comparing resultant valuations.
Our geometric reduction builds on ideas of Lehmkuhl and Lickteig [LL89] from their study of tensor border rank. We use finite Noether normalization of the image closure, reducing origin membership to membership in the finite fiber over zero. We then show that every point of this fiber is approached by image points whose projections lie on one generic line through zero. Crucially, finiteness of the normalization also ensures that the image coordinates of every solution branch have finite limits. Thus, the possible limits are exactly the points of this finite fiber. Applying a generic linear form allows us to represent these points by the roots of a univariate polynomial, with zero occurring as a root exactly when the original instance admits an approximate solution. We obtain this polynomial through the resultant construction of [AGS26, Section 4].
We also learned through personal communication that Andrews, Garg, Oliveira, and Schost [AGOS26] independently obtained the same upper bound. In concurrent work, Bhargav, Curticapean, Jindal, and Shukla [BCJS26] establish #P-hardness of computing a bit of the multivariate resultant.
Strong Approximative Nullstellensatz and its connection to integrality. Guo, Saxena, and Sinhababu characterize non-existence of APS by an annihilator with non-zero constant term and use bounded-degree relations and succinct linear algebra to obtain their PSPACE bound [GSS19]. This is very similar in spirit to the Weak Hilbert's Nullstellensatz. Inspired by this, Agarwal, Dutta, Pandey, and Shukla develop a strong approximative Nullstellensatz for containment of approximate vanishing sets [ADPS26]. Their criterion involves integral dependence over the maximal ideal of a local subalgebra of , thus, allowing the use of elements from . While similar in nature, the problem is distinct from checking integrality over . For example, given and , it can be checked that is not integral over , but , and hence lies in the localized subalgebra used in [ADPS26].
Polynomial Subalgebra Membership Testing. Kayser showed that Subalgebra Membership Testing is EXPSPACE-complete, and that its homogeneous restriction is PSPACE-complete [Kay25]. However similar, subalgebra membership is not the same as integral closure. For example, x is integral over but does not belong to it.
Resultants, ETR, and the Counting Hierarchy. Andrews and Wigderson gave constant-depth arithmetic algorithms for univariate resultants, greatest common divisors, and related problems [AW24]. This was later extended by Andrews, Garg, and Schost to multivariate resultants and they used it to place HN in the Counting Hierarchy [AGS26], using generalized characteristic polynomials originating with Ierardi and Canny [Ier89, Can90] to treat affine systems. Recently, [BCJS26, Ope26] have shown that the complexity class Existential Theory of Reals (ETR) also lies in the Counting Hierarchy, using the method of multivariate resultants. Additionally, [BCJS26] also show that computing a bit of this multivariate resultant is #P-Hard.
Annihilator degree bounds. Degree bounds for annihilating polynomials were first described by Perron [Per27], and this line of work was further extended in [Kay09, BMS13] that showed singly exponential bounds for the minimal annihilator. In particular, these bounds were used by Guo, Saxena, and Sinhababu [GSS19] to obtain an annihilator of singly exponential degree, which they then use to decide non-existence of APS in PSPACE. In the same vein, we also use these bounds to establish the singly exponential degree bound for our integral closure membership testing certificate.
2 Proof Ideas
We first describe our methods for proving Theorem 1.3.

Figure 1: A finite Noether normalization reduces testing to testing membership in the finite set (orange points). For a generic line through the origin, the irreducible components of are curves mapping onto . Every point of lies on at least one such curve. It can be approached along a branch with , using actual image points away from the limit. The parameter may require a finite algebraic extension of . Arrows indicate specialization as .
2.1 Approximate Polynomial Satisfiability in Counting Hierarchy
Let
We want to decide whether . Write , and first assume . Without loss of generality, we can assume that and using the standard tricks which preserve existence of APS such as the random reduction theorem [GSS19] and the random hyperplane intersection lemma [AGS26], see Lemma 3.12 and Theorem 3.13 for precise statements. So for the rest of this section we assume , and .
On a very high level, our proof has these main steps: (a) Initially, we need to check , where might be an infinite set. However, we show that we can restrict ourselves to checking membership of origin in a finite subset of . We do this using the Noether normalization which gives a linear map with the property that only a finite subset maps to in the normalized space, that is, . (b) We then show that every point can be approached by those points in the image which project to the same generic line in the normalizing space under the map (see Figure 1 for a visualization). Parameterizing the line by , we get that all solutions of (where is the direction of line ) satisfies for some . Thus, our task of checking if origin is in the closure of the image is reduced to checking if for some with . Moreover, Noether normalization and fiber-dimension theorem guarantees that such will only be finitely many. (c) Next, we show that in order to check if for some solution , it suffices to check if for some solution , for a generic choice of . (d) We then define a univariate polynomial with roots corresponding to the solutions , which has as a limiting root if and only if . (e) This allows us to use the multivariate resultant method of [AGS26] - with slight modifications - to check if this affine root indeed exists.
We now describe each of these steps in more details.
- Restricting to a finite subset of the image. Linear Noether normalization, is a standard tool in algebraic geometry which gives a linear map such that
whose restriction to is finite and surjective, so takes Zariski closed sets to closed sets, see Lemma 3.15 for a precise statement. In particular, is finite. Since ,
- Constructing a parametrized system of equations with finitely many solutions. Note that some of these points in will originate from under the polynomial map , while the others will be points purely in , and hence have no preimage. If was indeed in , then this corresponds to an actual root of the system, and the problem reduces to Hilbert's Nullstellensatz, which is known to be in CH [AGS26]. Hence, we assume that has no preimage.
We then show that every point can be approached by those points in the image which project to the same generic line in the normalizing space under the map . For this, choose a generic direction corresponding to a line through the origin. Identify the one dimensional space with via . Then, can be split into irreducible curves, each of which is surjective on , see Lemma 3.9. Since , any point of necessarily lies on one of these curves, see Figure 1.
By another standard consequence of linear Noether normalization (Lemma 3.15) the coordinates of are integral elements over , where , i.e., satisfy monic polynomials equations over . Replacing by makes integral over . Hence, no can “diverge” at . In other words, the valuation of each , see Section 3.2.
The connection to the approximate solutions can now be viewed as follows. Since the image of and its domain have the same dimension, the fiber-dimension theorem (see Theorem 3.4) gives a Zariski open set such that for each , the fiber set is finite. Since is surjective, there is a Zariski open set such that . A general direction will lie in with high probability. Hence, for such an , the line is “almost” contained in , i.e., misses only finitely many points of . Thus every point can be approached by actual outputs satisfying
along an algebraic branch such that . Hence, for every , there is an algebraic branch with
Note that the output paths may differ for different points, and only their projections lie on the fixed line . However, this allows us to search for the desired “limiting output” using the exact equations (2.1). Concretely, we work with the following system of polynomials:
By the above discussion, this system has a finite nonempty set of solutions, and we have equations in variables . Furthermore, every solution of (2.2) has a finite limit in the -coordinates, coordinates are integral over as discussed) and that limit belongs to . Since is covered exactly by these limits, the possible output limits are exactly the points of . Thus, we can restrict our attention to identifying if 0 occurs as a limit, see Section 4 for a detailed treatment. In particular, notice that we need to look at the algebraic solutions using Puiseux series and take the projective closure of a curve defined by Equation (2.2) on the graph associated to the polynomial system to ensure that the ideas we describe extend to homogeneous systems required by the multivariate resultant.
- Constructing the univariate polynomial associated to . Rename the coordinates to and -coordinates as in Equation (2.2). Since is finite, we can always choose such that for every non-zero , and define
This gives us the following equivalence:
Using the above defined linear form , construct the polynomial
So exactly when . Recall that each is obtained as a limit of some solution of (2.2), and each solution of (2.2) approaches a point in in coordinates. So the polynomial
has the same zeros at t = 0 as .
The observation that is obtained as a product of evaluations of a linear polynomial on the solutions of a polynomial system (2.2) intuitively prompts us towards using resultants. Precisely, the Poisson formula [AGS26, Theorem 4.3] allows us to evaluate the new polynomial on roots of the rest of the polynomials.
- Using the multivariate resultant. Let be the solutions to the system (2.2) over . Note that this system need not be homogeneous. On the other hand, the multivariate resultant is only defined for homogeneous systems as discussed in [AGS26]. Homogenizing the system (2.2) considered as polynomials over can introduce positive dimensional components at infinity that are not closures of their affine solutions. In [AGS26] the authors tackle exactly this issue by using the generalized characteristic polynomials introduced by Canny-Ierardi [Can90, Ier89] which uses a perturbation of these polynomials. In general, let be the homogenizations of (2.2), with and is the degree of in variables over . Note that we are only homogenizing with respect to the variables. Introduce and replace them by . This removes the positive dimensional component but some finite set of points at infinity might still survive the Canny-Ierardi perturbation, for example has no APS, but the homogenized system has a root . Since we are concerned with the solutions to the affine system (2.2) over , we introduce a new parameter , that will track the points at infinity. So similarly to [AGS26] define
be a quadratic form over . At an affine point with , and , which is exactly the form of the polynomial . So taking the multivariate resultant of and should be connected to , and so to . Let
We now use the finite limit set and factorization statements in [AGS26, Lemmas 4.6–4.7]. The limit set contains every isolated point of the original projective zero set, so every point of . Its affine points are precisely the set . Thus, we get
Here is the least degree coefficient of a polynomial in variable . The polynomial and differ by a non-zero factor . Thus, writing such that , we get for some . Hence, by using multivariate resultants we construct a polynomial that has same zeros as , see Section 5.1, and Section 5.2 for details.
- Perform the resulting coefficient test in CH. The system of homogeneous polynomials has polynomial size. By [AGS26] we can access any specified coefficient bit of its resultant in CH, hence we do not need to write out the entire resultant.
After clearing denominators, the resultant has degree and integer coefficient bit lengths bounded by , where is the input length. Thus both monomial exponents and positions within a coefficient's binary representation have polynomial-length encodings. Given CH access to individual coefficient bits, coefficient vanishing can be tested by quantifying over these bit positions. A fixed number of quantifier blocks over polynomial-length indices then suffices to identify the successive lowest nonzero powers and test the resulting constant coefficient in . Hence the entire test lies in CH; see Section 6.
2.2 Integral Closure Membership Testing in Counting Hierarchy
In this section, we discuss the ideas we use to place the problem of deciding whether a polynomial lies in the integral closure of the ring in CH (see Problem 1.2).
In order to prove this we want to use the above APS CH result. We do precisely that. We give a polynomial time reduction from integral closure membership testing to APS to get the desired result. Apriori, it is not clear how integrality relates to APS. However, we observe that the Approximate Rabinowitsch's Trick [ADPS26, Lemma 2] exactly hints towards this connection. In fact, we can use the classical valuative criterion for integral dependence [AM69, Corollary 5.22] (see Corollary 7.6 for a precise statement) to make this connection precise. In particular, we can define a system of polynomials such that is integral over if and only if has no APS, where is singly exponential in the degrees of the input polynomials. See Section 7 for a full proof.
We now describe the proof idea in more details. For the proof we need some concepts from valuation theory of rings [AM69]. In particular, for , we say that the valuation of a polynomial (denoted ) is the exponent of the least power of in . If , then valuation is defined to be infinity. For a precise definition, see Section 3.2.
Example 2.1 (Valuations). Let .
(i) If , then , and .
(ii) If , then , and .
(iii) If , then , and .
By definition, is integral if and only if there is a monic polynomial in with coefficients from . Observe that this monic polynomial guarantees that if valuation of each is non-negative then valuation of will also be non-negative. At this point, it is not so clear if the converse also holds. But the valuative criterion for integral dependence says exactly this, see Corollary 7.6. In other words, it means that if is not integral, then there is an assignment such that all the are bounded (i.e., ), but diverges (i.e., ). We observe that this is very similar to the approximate Rabinowitsch's trick relating to non-divergence used in [ADPS26, Lemma 2] which gives a criterion for this non-divergence in terms of APS. Since we have shown that APS is in CH, this gives an approach towards also putting integral closure membership testing in CH. However, at this point there is still a computational roadblock as this requires deciding APS for , for each . Precisely, it requires deciding whether for each , have no APS.
In terms of annihilators, using [GSS19] criteria, the system might give different annihilators for different . We show in Theorem 7.3 that in fact the “local” annihilators for each can be used to get a single global polynomial certificate of degree which is singly exponential in the input parameters, see Theorem 7.7 for a full statement. At this point, since linear algebra over a singly exponential system is in PSPACE [Csa76, Ber84], we can check for integrality in PSPACE. Still, we cannot reduce the complexity to CH yet, as this global polynomial doesn’t directly correspond to an APS instance.
To achieve this, we again use Corollary 7.6. We claim that setting , we can define a system of polynomials such that is integral over if and only if has no APS, see Theorem 7.8 for a full proof. For the easy direction, not being integral implies that there is an algebraic branch such that each had a non-negative valuation but had a negative valuation. Then, select , and so has a positive valuation. Thus each of the polynomials in has a positive valuation, and hence there is an APS. The converse is where the choice of becomes crucial. Intuitively, it ensures that the valuation of doesn't dominate the valuation of any and we don't get false witnesses of non-integrity.
Example 2.2. Let and . Clearly, is integral over , yet if we set , has the approximate zero . Here, the generator is also diverging, just more slowly than along .
Suppose is integral and there is an APS of , and let be an approximate solution witnessing APS. Thus, and each is positive. Hence, valuation of each is greater than . Now we use the global degree certificate obtained above to show that along such an algebraic branch ,
to obtain a contradiction as is an annihilator. Since is singly exponential, we can compute each in polynomial depth and get a polynomial sized APS criterion for the integral closure test putting integral closure testing in CH.
3 Preliminaries
Let be an algebraically closed field. We write , for a general point in the affine -space over , and also for coordinates on . The distinction will be clear from the context. We use dimension in the sense of [Vak25, Definition 12.1.1]. The degree of an affine variety is the degree of its projective closure, with projective degree defined in [Vak25, Section 18.6, p. 520]
3.1 Dominant and finite morphisms, and integral dependence
Throughout this paper, an affine algebraic set will be the same as an algebraic variety, and when an algebraic variety it irreducible we will explicitly state this. We first recall the definition of coordinate ring associated to an affine algebraic set over . Let (the last isomorphism is as a set) be an algebraic set, and be its associated ideal, then the coordinate ring is given by . A morphism of affine algebraic sets given by polynomials induces a ring homomorphism of associated coordinate rings in the opposite direction.
Definition 3.1 ([Vak25, Section 3.6.4]). Let be an algebraically closed field. An irreducible affine variety over is a nonempty Zariski-closed subset that cannot be written as the union of two proper Zariski-closed subsets of . Equivalently, the associated ideal is a prime ideal.
For an irreducible affine variety over , since is a prime ideal its coordinate ring is an integral domain. Hence, its function field is , where is the field of fractions of .
Example 3.2. Any affine space is by definition irreducible. If and are irreducible, then so is . Furthermore, if is map affine algebraic sets, and is irreducible, then the image is irreducible. In particular, for , is always irreducible.
Definition 3.3 ([The26, Tag 01RI]). Let and be irreducible affine varieties over an algebraically closed field . A morphism is dominant if its image is Zariski dense in , that is,
where the closure is taken in . Equivalently, for every nonempty Zariski-open subset .
We recall the following properties of dominant morphisms [Vak25, Exercise 7.5.C and Theorem 12.2.1].
Theorem 3.4 ([Vak25, Theorem 8.4.2, Corollary 12.4.2]). Let and be irreducible affine varieties over an algebraically closed field , and let be a dominant morphism. Then induces a field embedding . Identifying with its image, we have
Moreover, there is a nonempty Zariski-open subset such that, for every , the fiber is nonempty, and each of its irreducible components has dimension .
Example 3.5. In Theorem 3.4, if , then is finite algebraic, since it is a finitely generated field extension of transcendence degree zero. Thus a dominant morphism from an irreducible curve to gives a finite extension , with the function field of as .
Now we recall the notions of integrality and integral closures, and state some geometric consequences.
Definition 3.6. For a ring extension of commutative rings with , an element is integral over if
The extension is integral if every element of is integral over . The elements integral over form its integral closure in . An integral domain is integrally closed if its integral closure in equals ; see [AM69, Chapter 5, pp. 59–63].
A morphism of affine varieties is finite when its coordinate ring is a finite -module via .
Remark 3.7 ([AM69, Proposition 5.1 and Corollary 5.2]). Every finite ring extension is integral. Furthermore, if is generated by adjoining finitely many integral elements over , then is finite as an -module.
We recall the following standard geometric properties of finite morphisms.
Theorem 3.8 ([The26, Tags 01WM,02LS,0ECG,0F32,0BQ3]). Let be a finite morphism of affine varieties over . Then the map is closed (maps closed subspaces to closed subspaces) and every fiber is finite. So for each closed . In particular, if is dominant, then it is surjective.
Furthermore, if and are irreducible, with integrally closed in , and is dominant, then is open, i.e., maps open subsets to open subsets.
The following useful consequence is an application of the above theorem to .
Lemma 3.9. Let be an irreducible affine variety of dimension and let be finite and dominant. For any affine line , let , and let be the irreducible components of . Then maps each surjectively onto . In particular, for , every point of is in one of .
Proof. The closed space is a curve because is finite and dominant, hence surjective, and .
Since is just the polynomial ring in -variables, and so is integrally closed in , the map is also open, and so is its restriction to . We show without loss of generality that restricted to is surjective. Let be the open set obtained after removing the irreducible closed sets from . Then is open in but also closed, as is a closed set. Here the last equality holds precisely because . Hence .
3.2 Image closures and approximate vanishing
From now on we assume , however one may as well take to be any algebraically closed field. Recall from Theorem 3.4 and Example 3.2 that for a polynomial map and , is irreducible of dimension with being the annihilator ideal of .
Let
Here is the field of formal Puiseux series that is algebraically closed, and , is the valuation map, defined as follows: for an element with , we define , and set .
Definition 3.10 (Approximate vanishing and APS). For a tuple of polynomials in , let
We say that the system (equivalently the map) has APS if .
The following is the statement of weak approximative nullstellensatz (in the sense of [ADPS26]).
Theorem 3.11 ([GSS19, Lemma 4.1 and Theorem 4.2]). Let F be as above. Then
The definition of in [GSS19] is given in terms of , however it is enough to assume . Indeed, a Puiseux witness of will belong to , for some large enough , and so gives a witness in the sense of [GSS19].
In the following section we recall the standard results that reduce the general setting to the case when and .
3.3 Random hyperplane sections and random projections
Set and . We assume that are non-constant, otherwise there is nothing to prove. If , then and APS trivially holds. Hence we assume from now on that .
We state the random hyperplane-section and projection results in the forms used in this paper. In each statement, coefficients are sampled independently and uniformly from a finite set . We recall the following standard result mentioned in [AGS26]. It estimates the probability with which a random hyperplane intersection drops the dimension of a given affine algebraic set . This is in some ways, explicitization of the classical result of Bertini on hyperplane intersections. Successively intersecting with many random hyperplanes, one can reduce the dimension of to 0.
Lemma 3.12 ([AGS26, Lemma 4.9]). Let be an affine algebraic set of degree . A random affine linear equation reduces its dimension to with probability at least . Consequently, successive random affine linear equations have a finite nonempty intersection with with probability at least .
Degree does not increase under hyperplane sections. The following result reduces the number of outputs to by a random linear projection, preserving both the image dimension and APS.
Theorem 3.13 (Geometric form of [GSS19, Theorem 4.6]). Let be polynomials of degree at most and transcendence degree . Choose and put , . With probability at least ,
Combining these two results reduces deciding APS to and transcendence degree n case, which we record as the following proposition.
Proposition 3.14. With the notation above, impose random affine linear equations on the variables and parametrize their intersection. If , then take random linear combinations of the outputs. With probability at least
this construction produces a map of transcendence degree such that has APS if and only if has APS.
Proof. Let , and , the algebraic closure of function field of . Recall that the map is a map of irreducible algebraic sets and is dominant on its image , Theorem 3.4 gives that a general fiber has dimension , and degree at most by Bézout's inequality. This corresponds to saying that in the system of equations , for all define an affine algebraic set of dimension over . Since is Zariski dense we can as well sample the coefficients of our random hyperplanes from . Applying Lemma 3.12 to this affine algebraic set over gives that random hyperplanes cut it to a finite nonempty set with failure probability at most . So the map restricted to the -plane given by the intersection of random hyperplanes is still dominant onto . So we obtain a map , that preserves APS.
Theorem 3.13, then gives outputs while preserving APS and transcendence degree. The sum of the failure probabilities, then give the claimed bound.
Both operations preserve polynomial circuit size. If the input circuit length is , then and the logarithms of the displayed degree bounds are polynomial in . Hence an integer grid of polynomial coefficient bit length makes the failure probability a fixed small constant. The image dimension can be found as in Lemma 6.1. Thus the geometric construction may be carried out with the reduced map, renamed , and dimensions satisfying
In this reduced case, we use the following standard form of linear Noether normalization.
Lemma 3.15 ([Mil24, Proposition 2.42 and Lemma 2.43]). Let be an irreducible affine variety of dimension . For a linear map given by , for general the restriction is finite and surjective.
By Remark 3.7 the coordinate ring is a finite -module, so the ring homomorphism given by is injective and each is integral over the image of via . The following gives the failure probability of a random choice of in Lemma 3.15.
Remark 3.16. Since is an irreducible affine hypersurface, it is given by the vanishing of a single irreducible polynomial . Let , and be the highest-degree homogeneous part of . By the proof of [Mil24, Lemma 2.43] the linear map fails to give a Noether normalization if the chosen satisfies . If are drawn independently and uniformly from a set , then Schwartz-Zippel lemma gives the failure probability of being a Noether normalization being at most .
3.4 Complexity theoretic inputs
Input size. For both problems, denotes the total size of the input circuits, including binary rational constants. Gates perform addition, subtraction, and binary multiplication. Formal degrees are computed by taking the maximum at addition gates and the sum at multiplication gates; they have polynomial-length binary representations. Output degrees and coefficient bit lengths are at most . We never expand these outputs. After clearing rational denominators gate by gate, Kronecker substitution reduces coefficient-bit access to [ABKPM09, Theorem 4.1]. The implicit coefficient table has size ; hence [AGS26, Corollaries 5.13 and 6.4, Lemma 6.5] give resultant-coefficient access in for polynomially many such forms, without a degree-two assumption. A sparse polynomial with binary exponents converts to a circuit in polynomial time by repeated squaring. An input rational target is handled by subtracting its coordinates at the output gates. Dummy variables and a zero generator allow us to assume without changing either problem.
The Counting Hierarchy. Set and . Then [KP11]. A fixed number of polynomially bounded existential or universal quantifiers over a language at a fixed level stays in . The hierarchy is closed under complement and polynomial-time Turing reductions to a language at a fixed level. A randomized polynomial-time computation with such an oracle also stays in , since . A fixed finite collection of these oracles can be combined at one fixed level.
Trailing coefficients. For a nonzero polynomial over a domain, let
Thus TC extracts a coefficient, not the coefficient times . Trailing coefficients are multiplicative, and nested operations are read from right to left. The coefficients are polynomials in all the remaining variables. Consequently, evaluation at generally does not commute with a trailing-coefficient operation.
4 The geometry of APS
In this section, we discuss the geometric construction behind reducing the problem to multivariate resultants. We follow the discussion in Section 2.1. Let , and be the origins of , and , respectively, and let . Then Proposition 3.14 reduces the problem to
Let be the input coordinates (variables) of and be the coordinates on , i.e., the output variables of . For notational simplicity we will refer to and by and coordinates, respectively. Let be the formal-degree bound from the input-size discussion; thus . Recall the field of Puiseux series of Section 3.2. The aim is to construct a system of homogeneous polynomials in variables over such that affine solutions of this system over exactly capture if .
4.1 The graph and a finite family along a line
Let be the graph of the polynomial map , and let given by be the projection map to the second component. Then
Recall that , and is a dominant morphism of irreducible affine algebraic spaces by the definition of . Theorem 3.4 gives a nonempty open over which the fibers of are finite and nonempty. Choose a finite surjective linear projection using Lemma 3.15 ( gives a Noether normalization of ). Let be the coordinates on the image of , denoted by .
It will be important to choose as a complement of a closed set of singly exponential degree. The composition is dominant, so Theorem 3.4 shows that is algebraic over the field generated by the polynomials , equivalently over . Indeed, Perron's bound [GSS19, Section 1, p. 2] gives relations with . Let be the product of the leading coefficients of in , which are nonzero. Outside the algebraic set , the map is finite and surjective by Section 3.1. So we can choose as the complement of the closed set defined by of degree . Bézout along with gives . We summarize this in the following proposition.
Proposition 4.1. Let be as above. Then can be chosen as a complement of a closed set of degree at most .
By Theorem 3.8, is closed, so is closed of dimension . Hence let be the open set
Thus every point of above belongs to .
Choose a nonzero such that meets , and identify with , whose coordinate ring is given by . Let
Let . Then is finite and surjective over . Since is an open subset of , so it is integrally closed in its field of fractions which is the same as . Hence by Theorem 3.8 is open. The following proposition shows that the map is dominant on each component of .
Proposition 4.2. Let and be as above, and let be an irreducible component of . Then is dominant, and is a finite extension.
Proof. The proof is similar to Lemma 3.9. Recall that is open. We apply the component argument as in the proof of Lemma 3.9, over . Each component of maps onto and has dimension one. On taking closures, one obtains that each irreducible component of is a curve that dominates , and so the function field of is a finite extension of fields over by Theorem 3.4.
Over the required equations of are simply
There are equations in variables. Their solution set is finite and nonempty for . When viewed over , the Proposition 4.2 says that each coordinate or is algebraic over , and so a solution to the system 4.1 over has coordinates that are algebraic over . In the next section, we see that the -coordinates are in fact integral, and how one can view them as elements of . The following example illustrates the above discussion.
Example 4.3. For , the image closure is . Take the -plane , identified with , and project by . This is an isomorphism on , hence a finite Noether normalization. The line given by imposes and . The projection and line restriction therefore give a finite generic fiber whose coordinates lie in . We can choose our open set to be . The generators of are given by
Above V, the solution set over of the system (4.2) is finite.
4.2 Specializing the finite generic fiber
Put . This set is finite and nonempty by Theorem 3.8. Lemma 3.9 already ensures that every lies on a component of dominating . First we recall the following standard fact about algebraic embeddings and integral elements.
Lemma 4.4 ([The26, Tags 09GU, 00IC]). The natural inclusion extends to an embedding , for each Galois extension of . Every such embedding maps the integral closure of in into , and is integrally closed.
Recall from Proposition 4.2 that for each irreducible component of , is a finite extension of . In fact, the coordinates of a point on are algebraic over . By Lemma 4.4 we consider them as elements of . The following proposition gives the valuation theoretic properties of the -coordinates.
Proposition 4.5. Every solution of (4.1) satisfies , i.e., , and . Conversely, every point of occurs as such a residue.
Proof. Since is finite, Remark 3.7 shows that each is integral over via . Substituting gives monic equations over , so . Taking constant terms in the equations of and in gives .
Conversely, fix and choose an irreducible component of through dominating , by Lemma 3.9. Since contains the part of above , some irreducible component of dominates . Let and take a finite Galois extension containing . Since is finite, the coordinate ring is contained in the integral closure of in .
Recall from the classical geometric points and maximal ideals correspondence that there is a maximal ideal of whose vanishing set is exactly the point . The ideal is generated by image of in by Hilbert Nullstellensatz. By the lying-over theorem [AM69, Theorem 5.10], there exists a maximal ideal of lying above .
By Lemma 4.4, choose an embedding over . Since is integral over , we have . The embedding therefore determines a maximal ideal of above because maps to an ideal above in . Since the maximal ideals in a finite Galois extension are Galois conjugates [The26, Tag 09EA], we may compose with a Galois automorphism so that the resulting embedding satisfies
Applying this embedding to the coordinate functions of gives a solution of (4.1) satisfying .
In Example 4.3, the curve is itself irreducible, and for , the coordinates of solutions over of the system 4.2 are
of whom the -coordinates are integral over . Furthermore, , and one can directly see that is , for , respectively. So for all .
4.3 Relative closure and homogenization of all coordinates
Take the closure via the natural embedding . The closure is the union of the closures of the irreducible components of . By Proposition 4.2, each is an irreducible curve. Since is locally closed, it is open and dense in . Thus is a proper closed subset of an irreducible curve and hence consists of finitely many points (see [Har77, Chapter I, §8, p. 56]). Moreover, the irreducible components of are precisely the closures of the irreducible components of .
Since is complete, the projection is closed [Mil24, Definition 7.1 and Theorem 7.22]. Extend the map to , and call it again . Thus is closed and contains the dense part of above , so . Since is finite and surjective, the composition is surjective with finite fibers.
Moreover, recall by Proposition 4.2, every irreducible component of of is a curve dominating , and we obtain by closing each irreducible component of . Hence for each irreducible component of , the map is surjective with finite fiber.
For , define the finite set
Then
By Proposition 4.5, the points of over are represented by solutions of (4.1), with . Clearing denominators in the projective -coordinates gives
where is chosen so that all coordinates have nonnegative valuation and at least one has valuation zero. Taking constant terms gives a point of above .
Conversely, let , and choose an irreducible component of containing q. By Proposition 4.2, dominates L.
By the local Newton–Puisieux parametrization theorem for algebraic curves [The26, Tags 0C45, 0C0S] (see also [Abh90, Lecture 14, p. 104]), there is a Puiseux branch of through q, parametrized by for some , such that the projective x-coordinates of are
with . Since the component intersects in an open set of , we have . Consequently, , and together with the corresponding -coordinates these give a solution of (4.1). Clearing denominators in its projective -coordinates recovers . We summarize this discussion as the following proposition.
Proposition 4.6. Every point is the specialization of a Puiseux family with homogeneous coordinates , where for all , , and . Therefore, , so , viewed as a projective algebraic set over , is affine.
Returning back to the Example 4.3, one sees that the curve is given by . The coordinates are defined over . Viewing it in projective coordinates, we obtain that is given by
Furthermore, .
This relative closure explains the geometry, but does not provide a homogeneous system with the same number of homogeneous equations as the number of homogenized variables, which is needed for a resultant. Homogenizing only in x would still require the equations of C, which we do not know.
In Example 4.3, the homogenized graph equations in just the -coordinates allow with arbitrary , whereas requires . In particular, at just homogenizing in -coordinates will not be able to distinguish if unless the equations defining are known, which is something we want to avoid.
We observe, that if we could homogenize the system 4.1 with respect to all x and y variables, then we will get a homogeneous system amenable to the resultant method of [AGS26]. So we use the map
and show that we do not loose the information we were looking for. Observe that on , division by recovers both x and y. Thus the Puiseux branches in Proposition 4.6 retain their output coordinates over ; information is lost only when is identically zero.
Once again for the case of Example 4.3, the relative to L branch and its image under are
Its first coordinate is nonzero over , so we can extract -coordinates by factoring out , which is not identically 0, from the last three coordinates . If we specialize to , then the last three -coordinates become , and so the projection to the -coordinates will contain , but as noted earlier it is not a point in . This also shows why it is important to first work over , and then specialize later to , instead of specializing first to .
We set , , and homogenize using the formal degree bounds over . Let
These are homogeneous equations in -variables over . On the chart over , they give exactly the finite solution set of (4.1).
Theorem 4.7. The map has APS if and only if there are satisfying
(4.5)
Proof. If , Proposition 4.5 supplies an affine solution with , so . Clearing the denominators in homogeneous coordinates with a power of such that the minimum of or is zero, one obtains with required properties. Conversely, dehomogenizing a tuple in (4.5) gives , so and and .
5 An approximative characteristic polynomial
We now construct the polynomial from the proof idea in Section 2.1. Keep the reduced map and the square system (4.1), i.e., the number of variables are the same as the number of equations, and homogeneous system (4.4) from Section 4. In Section 4.3, Proposition 4.6 and Theorem 4.7 we saw that the Puiseaux branches in on that specialize to the points on and project to a point in under correspond to the affine ( ) solutions of the homogeneous system (4.4) over . As noted before, this is exactly the kind of problem studied in [AGS26, Section 4].
So we let be finite nonempty solution set of the system (4.1) viewed over , and let denote the tuple in the -tuple . Proposition 4.5 says that the set of , as ranges over , are exactly . Choose a linear form injective on . Such forms exist because the excluded coefficient tuples lie in finitely many proper hyperplanes. Then
We compute a polynomial with the same set of roots as , allowing positive multiplicities, using only the explicit homogeneous equations .
5.1 The perturbation of Ierardi and
Let , and d be a degree bound on , and let
Here is independent of the line parameter t. Let
and define
The quadratic form over is chosen to output the factors of the polynomial . Similar to [AGS26, Lemma 4.8], we note that if , then when , and when . Here recall from Section 3.2 that is the trailing coefficient of with respect to a variable . So is a constant free polynomial in exactly when . This is what we use to single out the affine solutions of the homogeneous system (4.4). Let be a finite set of limit points in the sense of [AGS26, Definition 4.5 and Lemma 4.6] for the system defined by polynomials over . Then contains all the isolated projective points over of the system (4.4) and is finite.
Remark 5.1. The set contains may contain a finite set of points from the positive dimensional components of over at . However, the affine points in are exactly the ones in , i.e., the solutions to the affine system (4.1) over , as the system (4.1) defines the 0-dimensional over .
We now state the standard factorization lemma of [Ier89, Lemma 2.6] applied to our polynomials and .
Lemma 5.2 ([Ier89, Lemma 2.6] or [AGS26, Lemma 4.7]). Let , , , and be as above. For each , there are positive integers such that
Recall that each , corresponds to the projective solution to the system (4.4), so we choose . As a consequence of the above lemma we obtain that
for some . Here turns out to be an element in precisely because it is coming from the points with , and for such points we can clear the denominators and assume that . Futhermore, at least one of is non-zero, so .
5.2 and have same roots
In this section we finally show that the univariate polynomials and have same roots as claimed.
Theorem 5.3. Let , and be as above. Then there is a such that
Therefore,
Proof. By Proposition 4.5, for the coordinates of are elements of , and so have non-negative valuation with respect to . Therefore, , for . By Lemma 5.2 and equation (5.4), we obtain
The last equality above follows because at the factors , and the trailing coefficient operation distributes over a product. Once again by Proposition 4.5, the set is the same as , so we obtain
where and . Note that for , may not be equal to , since we only have a equality of sets . This finishes the proof.
In Example 4.3, the polynomials , where polynomials over given in (4.2). The solution set over consists of and . The operation will get rid of all but finitely many points of the component at , and the only isolated affine point is . In fact, for this example with a somewhat tedious calculation one can compute One can choose . In this case, Lemma 5.2 gives
Finally, . Recall that , which in this case is the same as the polynomial . As , so by Theorem 5.3 the original system does not have APS.
5.3 The test in the Counting Hierarchy
Theorem 5.3 reduces APS, for generic choices of the auxiliary parameters, to the test
To obtain a Counting Hierarchy algorithm, we must implement this test from the given arithmetic circuits. This requires choosing the auxiliary parameters with polynomial bit length and bounded failure probability, and accessing the required coefficients without expanding the resultant.
Section 6 supplies these details. In particular, the resultant degrees and coefficient bit lengths are at most singly exponential in the input length, so monomial exponents and bit positions have polynomial-length encodings. Access to individual coefficient bits, together with a fixed number of quantifier blocks over these indices, suffices to perform the three trailing-coefficient operations and the final vanishing test.
6 Effective construction in the Counting Hierarchy
We now implement the criterion in Equation (5.6) from the given arithmetic circuits. Throughout this section, denotes the original input length, including the binary encodings of rational constants. All circuits constructed below have size polynomial in . Their formal degrees, and the bit lengths of their expanded coefficients, may be singly exponential.
6.1 Dimension and reduction of the input
We first determine the image dimension needed for Proposition 3.14.
Lemma 6.1 (Image dimension from exact feasibility). For a polynomial map given by rational circuits, the dimension of its image closure is computable in deterministic polynomial time with an oracle at a fixed level of CH.
Proof. Let be a map in variables, and let be its Jacobian matrix. In characteristic zero, the transcendence degree of equals the rank of over .
For , introduce matrices of variables and , and a variable v. Then
Indeed, a nonzero k-minor can be made nonzero at some point , and can select that minor. Conversely, an invertible certifies rank at least .
Differentiation and the determinant construction of [Ber84] give a polynomial-size circuit for the polynomial in (6.1). Introduce one variable for each gate value, impose its defining equation, and set the output to zero. This gives a polynomial-size quadratic HN instance with the same feasibility status. By [AGS26, Theorem 6.9], its feasibility is decidable at a fixed level of CH. Testing the polynomially many values of k determines the image dimension.
Write for this dimension. If , the image consists of one point, so APS is equivalent to exact feasibility of the original system. We decide this using HN. If , the image closure is , so APS holds.
For , apply Proposition 3.14, choosing its sampling grid so that the failure probability is at most 1/12. The logarithms of the degree bounds in that proposition are polynomial in L, so the sampled integers have polynomial bit length. The affine subspace can be parametrized by rational linear algebra, and substitution preserves polynomial circuit size. If the sampled equations do not define an r-dimensional affine subspace, we return an arbitrary answer; this is included among the unsuccessful reduction choices.
Without loss of generality, we have the polynomial map such that , and for which we need to check the existence of APS. Let bound its formal degrees. Then . Use the equations and homogenizations from Equations (4.1) and (4.4), with
Here the are fixed homogenizing degrees, chosen before sampling the remaining parameters. Homogenization can be performed gate by gate using formal degrees; powers of the homogenizing variable are computed by repeated squaring. Consequently, the homogeneous equations and their perturbations still have polynomial-size circuit descriptions.
6.2 Choosing the auxiliary parameters
Let collect the coefficients of the projection , the direction , and the linear form . There are polynomially many such parameters. For the fixed reduced input, regard them first as independent indeterminates, and form the resultant from (5.3):
The geometric argument of Theorem 5.3 applies over an algebraic closure of . Hence, defining
(6.2) we obtain a polynomial identity on yes-instances and a nonzero polynomial on no-instances. We use this symbolic construction only to analyze the random choices; the algorithm does not construct .
We next bound the degree of . The resultant is homogeneous of degree in the coefficients of the th perturbed equation and degree in the coefficients of . Its total degree in these coefficient groups is therefore at most . Each substituted coefficient has total degree at most in . Thus
In particular, has a polynomial-length binary encoding.
The following lemma controls the effect of substituting numerical values for .
Lemma 6.2 (Stability of nested trailing coefficients). Let
be nonzero and have total degree at most . There are nonzero polynomials , each of degree at most , such that, whenever for all ,
Proof. Take the first nonzero coefficient of in . Choose a nonzero coefficient of one of its monomials in the remaining variables. If , this coefficient polynomial remains nonzero after substitution. All lower coefficients were identically zero, so the first trailing exponent is unchanged.
Repeat this argument on the selected coefficient polynomial, successively for . Extracting coefficients never increases total degree, so each has degree at most .
Let for some such that , and sample each coordinate of independently and uniformly from . Apply Lemma 6.2 with
If none of its three exceptional polynomials vanishes, then
On a yes-instance, the constant coefficient on the right is zero by (6.2). On a no-instance, is a nonzero polynomial in of degree at most , and its specialization can vanish only on one additional exceptional set. Schwartz-Zippel therefore gives
Every sampled integer has polynomial bit length. Neither the exceptional polynomials nor need to be computed.
Remark 6.3 (Nonzero resultant for every sample). The polynomial is nonzero for every specialization , including unsuccessful choices. Indeed, its coefficient of the highest possible power of is
Thus all three trailing-coefficient operations are defined for every sample.
6.3 Coefficient access and the final test
We now fix a sampled tuple of polynomial bit length. The remaining auxiliary variables are .
Since the input coefficients are rational, we allow a coefficient to be represented as , where and ; this representation need not be reduced. Access to its bits means access to the sign and binary magnitude bits of and to the bits of . A coefficient vanishes exactly when its numerator vanishes.
Theorem 6.4 (Resultant coefficient access). For the resultant , a specified bit of the numerator or denominator representing a specified coefficient is computable at a fixed level of CH. Its degrees and the bit lengths of these representations are bounded by . These statements hold uniformly over all sampled tuples of polynomial bit length.
Proof. The coefficient-access argument in Section 3 provides a CH oracle for the coefficients of the input forms. Their implicit dense descriptions have singly exponential length.
By [AGS26, Corollary 5.13], the resultant coefficients are computed by uniform constant-depth arithmetic circuits of size
Here there are four auxiliary variables, and their degrees in the input coefficients are at most . The arithmetic-to-threshold simulation of [AGS26, Lemma 6.1] preserves constant depth and gives singly exponential size and output bit-length bounds.
The gate-evaluation argument of [AGS26, Lemma 6.3] applies with the input bits supplied by the coefficient oracle: gate indices have polynomial length, input gates are evaluated in CH, and each further threshold layer adds one majority quantifier. Since the depth is constant, output bits remain at a fixed level of CH. The degree bound follows from (6.3).
In particular, exponentially long coefficients cause no difficulty: a position within such a coefficient still has a polynomial-length binary encoding. The next lemma makes the resulting vanishing test explicit.
Lemma 6.5 (Trailing-coefficient test). Let be a nonzero rational polynomial, where k is fixed. Suppose its degrees and the numerator and denominator bit lengths in its coefficient representations are bounded by , and that individual coefficient bits are accessible at a fixed level of CH. Then the predicate
also belongs to a fixed level of CH.
Proof. Write
Choose a bound large enough to cover all exponents and coefficient bit lengths. Each exponent and bit position then has a polynomial-length encoding.
If with , then
Thus coefficient vanishing and nonvanishing are decidable in CH.
The successive trailing operations select the lexicographically least tuple for which some is nonzero, with compared first. Guess this tuple and require
Finally, require . All indices are bounded by U, and all quantified strings have polynomial length. Expanding the coefficient tests introduces only a fixed number of additional quantifier blocks over the coefficient-bit oracle. Hence the whole predicate lies at a fixed level of CH.
Proof of Theorem 1.3. Compute the image dimension using Lemma 6.1. Handle the cases r = 0 and r = m as described above. Otherwise, perform the reduction of Proposition 3.14, with failure probability at most 1/12.
For the reduced map, choose the auxiliary parameters from the grid specified above and form the circuit descriptions of the homogeneous equations and their perturbations. By Theorem 6.4 and Lemma 6.5, we can test
using an oracle at a fixed level of CH. This test is defined for every sample by Remark 6.3.
Conditional on a successful input reduction, Theorem 5.3 and (6.4) show that the test is correct with probability at least 11/12. Including the input reduction, the total error probability is at most 1/6.
All random choices use polynomially many bits, and all remaining computations take polynomial time with the stated oracles. Choose a fixed large enough to include these oracles in . The resulting algorithm belongs to
This proves the theorem for rational circuit input. Sparse input with binary exponents converts to this representation in polynomial time by repeated squaring.
Corollary 6.6. For rational circuit input, and hence for sparse input with binary rational coefficients and binary exponents, deciding whether a system has an approximate zero but no exact zero belongs to CH.
Proof. Combine Theorem 1.3 with HN in CH and closure of CH under complement and finite Boolean combinations.
Remark 6.7 (Other coefficient fields). Theorem 1.3 also holds for arithmetic circuits over number fields and finite fields, with image closure taken over the algebraic closure of the coefficient field. We use the standard representation by an irreducible defining polynomial and power-basis coordinates; for finite fields, the characteristic is given in binary. We need the following modifications to accommodate positive characteristic
-
The image dimension cannot, in general, be computed by Jacobian rank. Instead, for a tuple of algebraically independent indeterminates , we compute the dimension of the generic fiber over and subtract it from the number of input variables. This computation is in CH by [AGS26, Corollary 7.2], using auxiliary variables for the arithmetic circuit gates.
-
Writing , we replace Puiseux series by elements of equipped with the extended -adic valuation, and interpret limits as residues of elements of nonnegative valuation. The lifting argument uses normalization of curves and extension of valuations, allowing inseparable extensions as well; see [The26, Tag 0ASF]. Noether normalization and the resulting integrality argument remain valid. Products over solutions retain their algebraic multiplicities, which do not affect whether the specialized constant coefficient vanishes.
-
Finally, generic parameters are sampled from a sufficiently large finite extension of . An extension of polynomial degree suffices for our degree bounds and can be constructed using [AGS26, Lemma 2.13]. The resultant coefficient tests use the finite-field version of [AGS26, Theorem 6.7], preserving the CH upper bound. No lower bound on the characteristic relative to the input degrees is required. For number fields, the characteristic-zero geometric argument applies, with arithmetic performed in the given number-field representation.
7 Integral closure membership in the Counting Hierarchy
Here, we prove Theorem 1.8. We do it by reducing integral closure membership testing to APS.
The well-known valuative criterion for integral dependence [AM69, Corollary 5.22] establishes a connection between integrality and valuation theory, see Corollary 7.6 for an equivalent version useful for our purposes. Meanwhile there also exists a connection between valuation theory and APS, see Theorem 3.11. This suggests an underlying connection between integrality and APS, which was also made somewhat explicit in the approximate Rabinowitsch's trick in [ADPS26, Lemma 2]. In the rest of this section, we formalize this intuition to get the desired criterion.
Fix , and let . Without loss of generality, we can assume , otherwise it is always integral. Using Theorem 3.11, it is easy to see the following connection between APS of a locally defined system of polynomials and their valuations.
Lemma 7.1. Given consider the system of polynomials where each polynomial lies in . Then, has an APS if and only if there exists some , such that for each polynomial , .
We can now use the connection of APS to annihilators to get an equivalent local annihilator for this locally defined system of polynomials.
Lemma 7.2. Fix . Then, the system of polynomials has no APS if and only if there exists
such that
(i) is and annihilator of , i.e., , and
(ii)
Proof. By the criterion of [GSS19, ADPS26], non-existence of APS for is equivalent to existence of a polynomial with constant term equal to 1 after rescaling, such that . Now define
Then , and .
For the converse, if a satisfying (i) and (ii) exists, then define
Clearly, , and . Hence, is the annihilator for with non-zero constant term, and hence has no APS.
We now come to our main observation: these “local” annihilator certificates can in fact be converted into a global certificate . This is essential as we have infinitely many local certificates which makes any computational strategy impossible to execute. Let denote the system of polynomials , i.e., , and denote the annihilator ideal of polynomials in .
Theorem 7.3 (Equivalence of the pointwise and global criteria). With the above notation, the following are equivalent:
(1) For every , there exists a polynomial such that .
(2) There exists a single polynomial such that .
Proof. Let . Thus, the ideal may be viewed as the ideal of all -polynomials that arise from annihilator relations in after forgetting all terms divisible by or by . Assume first that (1) holds. Fix . By hypothesis there exists with . Passing to the quotient modulo , the image lies in , and satisfies . Hence is not a common zero of . Since this is true for every , the variety is empty. By Hilbert's Nullstellensatz, , and . By definition of , means that there exists an annihilator whose restriction to the slice is the constant polynomial 1. That is, there exists and such that . Setting gives . Thus (2) holds.
Conversely, assume (2). Then for every , evaluating the identity at yields . Since , the same polynomial serves as a witness in (1) for every . Thus (1) holds.
Remark 7.4. From an algebraic geometric viewpoint one can also see Theorem 7.3 as an explicit version of a classical result: finitely generated locally trivial modules of rank 1 over a unique factorization domain are globally trivial. Indeed is a locally finitely generated module of . Our local conditions (1) corresponds in Theorem 7.3 mean that at each the localized module
i.e., locally trivial of rank 1 over via the witness . Hence, there exists a such that
as -modules.
Thus, the above discussion relates non-existence of APS for all local systems to a global polynomial certificate. But, we still don't have an explicit connection to integrality. This is provided in the following theorem.
Theorem 7.5. A polynomial is integral over if and only if there exists such that and .
Proof. Suppose is integral over . Then, there exists a monic relation for some and some . Define
Clearly, . Further, on substituting . Since , we obtain
For the converse, let for some and some polynomials . Since in , the same identity holds in the localization . Now substitute in the fraction field . Then . Hence,
Multiplying by gives a monic polynomial relation for f over A.
In fact, this can also be extended to an equivalence with valuations.
Corollary 7.6 (Boundedness criterion). The polynomial is integral over if and only if, for every ,
Proof. For a monic relation, a negative valuation of makes its highest power the unique term of least valuation, a contradiction. Conversely, if is not integral, then Lemma 7.2 and Theorems 7.3 and 7.5 imply that there is an approximate zero of a for some . All are nonnegative valuations, whereas has positive valuation and . Hence .
Hence, we can now check for integrality by checking for this global annihilator certificate. However, computationally the issue is that we currently have no handle on the degree of this polynomial , which could make computation very expensive. But as we now show, we can establish a singly exponential bound on this polynomial using Noether normalization.
7.1 A singly exponential certificate
First note that we can always compute the transcendence degree of the input polynomials with rational coefficients in CH by just creating a minimally independent set by sequentially adding elements and checking for algebraic independence using the Jacobian criterion [CKW11]. Now, look at the system . If is integral over , then , if . We use Noether normalization to project these to a space defined by their linear combinations such that is integral over this new system. Along with the polynomials , this makes a new system of polynomials whose transcendence degree is . Hence, the annihilating ideal of the new system is a principal ideal [Kay09]. This helps us to establish the singly exponential degree bound on the annihilator.
Theorem 7.7. Assume is integral over . Let , and . Then there exists satisfying conditions in Theorem 7.5, and . For rational input polynomials, may be chosen over .
Proof. Let be integral over . Since , by applying first random linear projections Theorem 3.13 and then linear Noether normalization Lemma 3.15, there exists such that for . Let . For generic choices of , the above procedure gives a Noether normalization of closure of the image of , so are algebraically independent. Hence the ring is integral over . Since, is integral over , so is integral over , and the transcendence degree of the system is . Thus, is a principal ideal. Then, using Theorem 7.5 we have such that and by [Kay09, Theorem 11], we have that . Now define
Clearly, . Further, . hence, . Since, only uses linear combinations of variables of , .
At this point, we can use this singly exponential degree bound to put integral closure testing in PSPACE by solving an exponential-sized system of linear equations in the same way as for computing annihilator using Perron's bound [Per27, GSS19], which can be solved in PSPACE [Csa76, Ber84, Mul86]. However, this still does not give a CH upper bound, because while similar, this global annihilator certificate does not exactly correspond to any APS instance.
7.2 A polynomial-time reduction to APS
In this section, we show how we can get an equivalent APS instance for integral closure membership testing, which will finally put Problem 1.2 in CH.
Theorem 7.8 (From non-integrality to APS). Let be the bound from Theorem 7.7, or any larger integer, and let . Define a system of polynomials by . Then is integral over if and only if does not have APS.
Proof. If is not integral over , Corollary 7.6 supplies with for all , and . Substituting we obtain , so for all . Thus is an approximate zero of by [ADPS26, Definition 1].
Conversely, suppose is integral and is an approximate zero of . Set . Since , we obtain , and for all . The case is already excluded, since then . By Theorem 7.7, there is a certificate with . Write
Substituting in its annihilating identity gives the rational-function identity
It can be evaluated at because . Each monomial in with nonzero evaluation contributes a term with valuation
A monomial evaluating to zero has infinite valuation and causes no exception. The coefficients have valuation zero. Hence every summand after 1 in Equation (7.1) has positive valuation and cannot cancel the constant term. This contradiction proves the first equivalence.
Proof of Theorem 1.8. Let be the circuit input length. Compute formal-degree upper bounds and choose an integer from them. Define as in Theorem 7.7 with (as always) and . These integers have polynomial binary length and can be computed in polynomial time. The proof of Theorem 7.7 applies to these upper bounds as well as to the actual degrees. Repeated squaring computes each using additional multiplication gates. Sharing the given circuits therefore yields a rational circuit for of size polynomial in . By Theorem 7.8, this is a deterministic polynomial-time many-one reduction from non-integrality to APS. Our APS algorithm from Theorem 1.3 decides the resulting instance in CH. Closure under complement of CH proves the claimed upper bound for integral closure membership.
Thus, we have established a CH procedure of integral closure membership testing. The idea behind introducing was to ensure that the valuation of dominate the valuation of u and don't allow false witnesses of non-integrality by providing a uniform exponent without knowing a monic equation in advance. This can also be seen in the following example.
Example 7.9 (Why the power is needed). Let and for . The element belongs to and is therefore integral. Yet the tuple has an approximate zero: take and , giving . For the powered tuple , approximate vanishing of its first two coordinates forces . Hence, if , then
so this false witness is excluded.
Remark 7.10. The global annihilator criterion and the reduction from non-integrality to APS are valid in arbitrary characteristic. For the certificate degree bound, we use the arbitrary-characteristic annihilator bound of [BMS13, Corollary 6]. Using in this bound avoids any Jacobian computation. The same polynomial-time reduction therefore applies, and the claimed upper bound follows from the corresponding result for APS.
Lemma 7.11 (From APS to non-integrality). Let be an algebraically closed field, let , and let be a fresh variable. Then
This gives a deterministic polynomial-time many-one reduction from APS to non-integrality.
Proof. If has no APS, the annihilator criterion gives a relation
Multiplying this identity by gives
a monic relation for over .
Conversely, suppose that is integral over this algebra. Write a monic relation as
Taking the coefficient of in the above monic relation produces an annihilator of with constant term 1: every contribution from has positive total degree in the . Thus has no APS.
The reduction simply introduces and multiplies each input polynomial by it, so its circuit size is polynomial.
8 Conclusion and open questions
We place approximate polynomial satisfiability and integral closure membership over polynomial subalgebras in the Counting Hierarchy. Our APS algorithm uses finite Noether normalization to restrict attention to finitely many points of the image closure. These points arise as limits of solutions to a one-parameter polynomial system, and their membership can be tested through coefficients of a multivariate resultant. For integral closure membership, a global annihilator criterion and an effective degree bound give a deterministic polynomial-time reduction from non-integrality to APS.
These results yield Counting Hierarchy upper bounds for tensor border rank, the orbit-closure problems specified in Corollary 1.7, integral closure membership for ideals, and finiteness of polynomial maps. They also give constructions of polynomial-size hitting sets for . The results apply to the coefficient fields and input representations discussed above.
The connection between APS and integral dependence also works in the reverse direction. For a fresh variable , a tuple has an approximate zero precisely when is not integral over (Lemma 7.11). Consequently, APS and non-integrality are equivalent under deterministic polynomial-time many-one reductions.
Exact versus approximate satisfiability. Can APS be reduced to Hilbert's Nullstellensatz by a polynomial-time many-one reduction? The reverse reduction is known [BSTW26]. Such a reduction would transfer further upper bounds for exact satisfiability to APS and, through the equivalence above, to non-integrality. More broadly, can APS be placed in the polynomial hierarchy?
From decision to certificates. Our integral closure algorithm decides whether a polynomial is integral without constructing a monic relation or a global annihilator certificate. Can the Counting Hierarchy upper bound be extended to accessing the coefficients of such certificates? Since a degree-bounded certificate may have exponentially many coefficients, a natural formulation asks whether one can select a valid certificate and compute a specified coefficient bit within CH.
Acknowledgements
AP and SA would like to thank the SiMul Research group @ CRAN for hosting the Geometry of Neural Networks and Tensors in Nancy workshop. They would also like to thank Alex Massarenti who they met there and a discussion with whom resulted in the idea about formalizing the intuition about “approaching” the approximate solution. HS would like to thank Cornelius Brand for pointing us to the reference [LL89], that was very helpful in completing the geometric picture. AH would like to thank Markus Bläser for hosting him for an internship in his group. AP would also like to thank Raimund Seidel for hosting him during this work. Finally, we would like to thank Markus Bläser for his guidance throughout.
Funding
HS was supported by the European Union (ERC, CountHom, 101077083). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
AI Disclosure
OpenAI Codex assisted with organizing and drafting the manuscript from the authors’ supplied notes, checking references, and reviewing the arguments. It contributed to the global certificate and degree-bound proofs, the reduction from non-integrity to APS in Section 7, and the circuit-input and dimension arguments. Its assistance also affected the exposition and verification of the APS in Counting Hierarchy construction.
References
[Abh90] Shreeram S. Abhyankar. Algebraic Geometry for Scientists and Engineers, volume 35 of Mathematical Surveys and Monographs. American Mathematical Society, 1990.
[ABKPM09] Eric Allender, Peter Bürgisser, Johan Kjeldgaard-Pedersen, and Peter Bro Miltersen. On the complexity of numerical analysis. SIAM Journal on Computing, 38(5):1987–2006, 2009. https://people.cs.rutgers.edu/~allender/papers/slp.pdf.
[ADPS26] Sanyam Agarwal, Sagnik Dutta, Anurag Pandey, and Himanshu Shukla. When Hilbert approximates: A strong Nullstellensatz for approximate polynomial satisfiability. In Dana Moshkovitz, editor, 41st Computational Complexity Conference (CCC 2026), volume 383 of Leibniz International Proceedings in Informatics (LIPIcs), pages 19:1–19:18. Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2026. https://doi.org/10.4230/LIPIcs.CCC.2026.19.
[AGOS26] Robert Andrews, Abhibhav Garg, Rafael Oliveira, and Éric Schost, 2026.
[AGS26] Robert Andrews, Abhibhav Garg, and Éric Schost. Hilbert’s Nullstellensatz is in the counting hierarchy, 2026. arXiv:2602.17904. https://arxiv.org/abs/2602.17904.
[AM69] Michael F. Atiyah and Ian G. Macdonald. Introduction to Commutative Algebra. Addison-Wesley, 1969.
[AW24] Robert Andrews and Avi Wigderson. Constant-depth arithmetic circuits for linear algebra problems. In 2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS), pages 2367–2386. IEEE, 2024.
[BCJS26] C. S. Bhargav, Radu Curticapean, Gorav Jindal, and Himanshu Shukla. Multivariate resultants: Complexity and applications for ETR, 2026.
[BCS97] Peter Bürgisser, Michael Clausen, and Mohammad Amin Shokrollahi. Algebraic Complexity Theory, volume 315 of Grundlehren der mathematischen Wissenschaften. Springer, 1997.
[Ber84] Stuart J. Berkowitz. On computing the determinant in small parallel time using a small number of processors. Information Processing Letters, 18(3):147–150, 1984.
[BMS13] Malte Beecken, Johannes Mittmann, and Nitin Saxena. Algebraic independence and blackbox identity testing. Inf. Comput., 222:2–19, 2013.
[BSTW26] Nikhil Balaji, Mahsa Shirmohammadi, Sébastien Tavenas, and James Worrell. Approximate polynomial satisfiability is in the counting hierarchy, 2026. arXiv:2610.00644, version 1, September 30, 2026. https://arxiv.org/abs/2610.00644.
[Can88] John F. Canny. Some algebraic and geometric computations in PSPACE. In Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing, pages 460–467. ACM, 1988.
[Can90] John Canny. Generalised characteristic polynomials. Journal of Symbolic Computation, 9(3):241–250, 1990.
[CKW11] Xi Chen, Neeraj Kayal, and Avi Wigderson. Partial derivatives in arithmetic complexity and beyond. Foundations and Trends® in Theoretical Computer Science, 6(1-2):1–138, 2011.
[Csa76] Laszlo Csanky. Fast parallel matrix inversion algorithms. SIAM Journal on Computing, 5(4):618–623, 1976.
[DJ97] Theo De Jong. An algorithm for computing the integral closure. arXiv preprint alg-geom/9704017, 1997.
[GSS18] Zeyu Guo, Nitin Saxena, and Amit Sinhababu. Algebraic dependencies and PSPACE algorithms in approximative complexity. In Rocco A. Servedio, editor, 33rd Computational Complexity Conference (CCC 2018), volume 102 of Leibniz International Proceedings in Informatics (LIPIcs), pages 10:1–10:21. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2018.
[GSS19] Zeyu Guo, Nitin Saxena, and Amit Sinhababu. Algebraic dependencies and PSPACE algorithms in approximative complexity over any field. Theory of Computing, 15(16):1–30, 2019. https://theoryofcomputing.org/articles/v015a016/.
[Har77] Robin Hartshorne. Algebraic Geometry, volume 52 of Graduate Texts in Mathematics. Springer, 1977.
[HS06] Craig Huneke and Irena Swanson. Integral Closure of Ideals, Rings, and Modules, volume 336 of London Mathematical Society Lecture Note Series. Cambridge University Press, 2006.
[Ier89] Douglas Ierardi. Quantifier elimination in the theory of an algebraically-closed field. In Proceedings of the Twenty-First Annual ACM Symposium on Theory of Computing, pages 138–147. ACM, 1989.
[Kay09] Neeraj Kayal. The complexity of the annihilating polynomial. In 2009 24th Annual IEEE Conference on Computational Complexity, pages 184–193. IEEE, 2009.
[Kay25] Leonie Kayser. Computational complexity of polynomial subalgebras. In Proceedings of the 2025 International Symposium on Symbolic and Algebraic Computation (ISSAC), pages 337–344. ACM, 2025. Full version: https://arxiv.org/abs/2502.05278.
[Koi96] Pascal Koiran. Hilbert's Nullstellensatz is in the polynomial hierarchy. Journal of Complexity, 12(4):273–286, 1996.
[KP11] Pascal Koiran and Sylvain Perifel. Interpolation in valiant's theory. Computational Complexity, 20(1):1–20, 2011.
[Lan12] J. M. Landsberg. Tensors: Geometry and Applications, volume 128 of Graduate Studies in Mathematics. American Mathematical Society, 2012.
[LL89] Thomas Lehmkuhl and Thomas Lickteig. On the order of approximation in approximative triadic decompositions of tensors. Theoretical Computer Science, 66(1):1–14, 1989.
[Mil24] James S. Milne. Algebraic geometry, 2024. Version 6.10, November 11, 2024. https://www.jmilne.org/math/CourseNotes/AG.pdf.
[Mul86] Ketan Mulmuley. A fast parallel algorithm to compute the rank of a matrix over an arbitrary field. In Proceedings of the eighteenth annual ACM symposium on Theory of computing, pages 338–339, 1986.
[Mul17] Ketan D. Mulmuley. Geometric complexity theory V: Efficient algorithms for Noether normalization. Journal of the American Mathematical Society, 30(1):225–309, 2017.
[Mum95] David Mumford. Algebraic geometry I: complex projective varieties. Springer Science & Business Media, 1995.
[Ope26] OpenAI. Existential universal real sentences in the counting hierarchy, 2026.
[Per27] Oskar Perron. Algebraische abhängigkeit und ihre anwendung in der algebra. Mathematische Annalen, 1927.
[Str73] Volker Strassen. Vermeidung von divisionen. Journal für die reine und angewandte Mathematik, 264:184–202, 1973.
[The26] The Stacks project authors. The Stacks project, 2026. https://stacks.math.columbia.edu.
[Vak25] Ravi Vakil. The Rising Sea: Foundations of Algebraic Geometry, 2025. Notes, October 21, 2025 version. https://math.stanford.edu/~vakil/216blog/F0AGoct2125public.pdf.