Manuscript Offprint
arXiv:2611.09183On derandomizing the line-point low-degree test
Abstract
We investigate the derandomized version of the classical line-point low-degree test in the high-error regime in the bivariate setting and reveal some unexpected behavior. The classical line-point low-degree test takes an -variate function over a finite field , queries it along a random line and accepts if the restriction of the function to this line is a low-degree polynomial. The high-error version of (the analysis of) this test asserts that if has at least expected local agreement with a degree- univariate polynomial on a random line, then in fact is non-trivially close to some degree- -variate polynomial even as approaches 0 (provided is sufficiently large compared to and ). The derandomized version of the problem asks if the same holds when the line is not chosen uniformly over all possible lines but rather from a small set. Derandomized analyses of low-degree tests play a crucial role in obtaining near-linear sized PCPs. In this paper we explore the bivariate case ().
We show, somewhat surprisingly, that there exists a function and a set of lines in of size nearly such that on every line in , has agreement on average with some univariate polynomial of degree and yet is far from every polynomial of degree . On the positive side, we show that once the field size is at least such examples disappear and we can get sets of lines of size on which the low-degree test has a high-error analysis.
On the way to our positive result, we show a new high-degree version of the classical two-direction Polishchuk-Spielman divisibility lemma. It deals with finding a low-degree global root of a trivariate polynomial , based on restrictions of to lines in different directions (generalizing the original and case). Specifically, it states that if has a low-degree root for all lines in each of those directions, then has a low-degree global root . This high degree Polishchuk-Spielman lemma is proved by a new technique: using simultaneous Hensel lifting of consistent roots on many parallel lines.
Our negative result addresses one of the big challenges in analyzing low-degree tests, namely the rarity of interesting counterexamples that offer concrete barriers.
*Tata Institute of Fundamental Research, Mumbai, India. {prahladh, mrinal, ramprasad}@tifr.res.in. Research supported by the Department of Atomic Energy, Government of India, under project number RTI400112, and in part by research grants from Google and Premji Invest.
†Department of Computer Science and Department of Mathematics, University of Toronto, Canada. swastik@utoronto.ca.
‡School of Engineering and Applied Sciences, Harvard University, Cambridge, Massachusetts, USA.madhu@cs.harvard.edu. Supported in part by a Simons Investigator Award.
Contents
1 Introduction 2 1.1 Our results 4 2 Overview of the proofs 7 3 Notations and preliminaries 10 3.1 Notations 10 3.2 Preliminaries 11 3.3 Hasse derivatives 11 3.4 Resultant and discriminant 13 3.5 Power series roots 14 3.6 The Polishchuk–Spielman lemma 14 3.7 Pruning to subgraph of high min degree 15 4 Consistent roots on parallel lines to global rational roots 16 4.1 The case of axis parallel lines 16 4.2 From axis parallel to the general case 18 5 Generalizations of the Polishchuk–Spielman lemma 19 5.1 Preprocessing 20 5.2 Finding two good directions 21 5.3 Rational roots from and 21 5.4 From a rational function to a polynomial 23 5.5 A Z-root of 23 6 The low-degree test 24 6.1 Pruning to good lines, good points 25 6.2 Interpolation 25 6.3 Proof of Theorem 1.2 28 7 Counterexamples when 30
Low-degree testing, one of the classical problems in property testing, checks if a given function, viewed as a table of values, is close to the evaluation of a polynomial of low total degree, by querying the function only on a few points of the domain. More precisely, given a finite field of size , a dimension parameter and a degree parameter , the goal of low-degree testing is to check if the function is close to the evaluation of some -variate polynomial of total degree at most , i.e., , where denotes the space of all such polynomials, by querying the function on very few points of . The most natural such test is the line-point test of Rubinfeld and Sudan [RS96]: pick a uniformly random line in , query at all points of , and accept if the restriction is the evaluation of a univariate polynomial of degree at most (i.e., ). Low-degree tests, and the line-point test in particular, are the algebraic core of the proof of the PCP theorem [AS98, ALMSS98], and improvements to their analyses have repeatedly translated into improvements in the parameters of PCPs.
The soundness of the line-point test is typically studied in two regimes. In the low-error (or unique-decoding) regime, where the test rejects with small constant probability , the early works [RS96, AS98, ALMSS98], culminating in those of Polishchuk and Spielman [PS94] and Friedl and Sudan [FS95], show that is -close to a degree- polynomial as soon as . To state the results in the high-error (or list-decoding) regime, it is convenient to compare the expected local agreement of with degree- univariate polynomials, namely , with the global agreement . For the line-point test over fields of size , Arora and Sudan [AS03] proved that implies . While this gave an analysis of the line-point test in the high-error regime, it worked only when the field size was at least quartic in the degree. In parallel and independent work, Raz and Safra [RS97] proved a similar result, this time over linear-sized fields (i.e., ), at the cost of replacing lines by planes (and hence queries by queries). In recent work [HKSS24], a subset of the authors of this paper gave a high-error analysis of the line-point test over fields of size , thereby obtaining a common strengthening of the above two results. In this work, we ask if this improved analysis of the line-point test can be extended to a derandomized test.
Derandomized low-degree tests. A second, equally important, axis along which low-degree tests have been improved is their randomness complexity. The line-point test over picks a random line, which requires roughly random bits, since there are about lines in . When a low-degree test is used inside a PCP, the randomness of the test essentially dictates the size of the resulting proof, and so reducing the number of lines (or planes) the test uses is the key step in constructing PCPs of nearly-linear size [GS06, PS94, BSVW03, BGHSV06, BGHSV05, MR08, MR10a, MR10b]. In fact, it follows from Goldreich and Sudan [GS06] that lines suffice (to be precise lines), however their proof does not yield an explicit set of such lines. The natural way to derandomize the test is to restrict the directions of the lines: instead of allowing every direction in , one allows only directions from a small, structured set—for instance, directions from a small-biased set [BSVW03] or directions in for a subfield [MR08]. The latter reduces the number of lines from about to about .
In the low-error regime, derandomized line-point tests are well understood. Already the Polishchuk–Spielman analysis [PS94] is a derandomized analysis: for bivariate functions it uses lines in only two directions (the axis-parallel lines), and it is this feature that made it useful for nearly-linear sized PCPs. Ben-Sasson, Sudan, Vadhan and Wigderson [BSVW03] extended this to the -variate line-point test with directions drawn from a small-biased set. In the high-error regime, however, the only derandomized low-degree test
Here, for functions on a common domain, , where is uniform over the domain, and for a family of functions, .
is the derandomized plane-point test of Moshkovitz and Raz [MR08], which derandomizes the Raz–Safra test [RS97] and which works over fields of size as long as the subfield satisfies . This leaves open the following question.
Is there a high-error analysis of a derandomized line-point test?
The Raz–Safra and Moshkovitz–Raz analyses are coding-theoretic and use the fact that two planes typically intersect in a line, on which the restricted polynomials form a code of distance ; two lines intersect in at most one point, so this approach does not apply to line-point tests, which instead have a very algebraic analysis [AS03, HKSS24]. One could, nevertheless, ask if the Moshkovitz–Raz approach to derandomizing the plane-point test of Raz–Safra extends to the recent improved analysis of the line-point test [HKSS24]. The crucial observation of Moshkovitz–Raz is that besides the above coding-theoretic fact, the Raz–Safra analysis uses just the sampling properties of the planes-vs-points bipartite graph, which even the derandomized-planes-vs-points graph has, and hence the Raz–Safra analysis carries over. The algebraic analyses of the line-point test [AS03, HKSS24], on the other hand, crucially use lines in a large number of directions, a number that grows with the degree , whereas a derandomized test with directions offers only of them, where should ideally depend only on . This implies that a Moshkovitz–Raz-style transformation of the analysis of [HKSS24] is not feasible.
Nevertheless, in this work, we show that, with substantial modifications, the analysis of [HKSS24] can be adapted to the setting where , the number of directions, is considerably smaller than the degree .
1.1 Our results
In this subsection, we describe our three results: (1) the necessity of quadratically large fields for derandomizing the line-point low-degree test, (2) an analysis of a derandomized line-point test in which the number of directions satisfies provided , and (3) a generalization of the Polishchuk–Spielman divisibility lemma. We state all these results in the bivariate setting, i.e., and , since this case already presents several challenges, as we will soon see. Unlike the analysis of the bivariate test in [HKSS24], we do not know if the analysis in Theorem 1.2 can be lifted from the bivariate to the multivariate case.
Derandomization is infeasible in subquadratic-sized fields. The current best analyses of the line-point test [HKSS24] as well as the analysis of the derandomized plane-point test [MR08] in the high-error regime work over fields of size . However, a similar derandomized analysis of the line-point test has remained elusive. Our first result shows that such a derandomization using lines whose slopes come from a subfield is in fact infeasible as long as the field size is subquadratic in the degree parameter, at least for fields of small characteristic. This infeasibility result is especially interesting since counterexamples that offer concrete barriers are rare in the study of low-degree tests.
Theorem 1.1 (Necessity of large fields for LDT). For every prime of the form and , the following holds: Let be the finite field of size , be the subfield of of size and the degree parameter. For any , let denote the line given by . Let . Observe that consists of all lines with slope in the subfield .
There exist a function and univariate polynomials of degree , one for each , such that and yet agree .
Furthermore, there exists a trivariate polynomial of Z-degree and -degree such that for each , is a Z-root of the restriction of to , yet has no polynomial Z-root.
This choice of directions is precisely the subfield-based derandomization of [MR08], thus ruling out a similar derandomization for the line-point test with comparable parameters.
The special case (i.e., and ) shows that there exists a function having expected local agreement with degree univariate polynomials as large as , but still is -far from bivariate polynomials of degree at most .
An important caveat of these counterexamples is that the characteristic of the underlying field is small (in particular, ), and it is a natural question to understand if these examples can be extended to finite fields of large characteristic.
A high-error derandomized line-point test. We now complement the above counterexample by showing that once the field size is quadratically large, any set of directions for suffices.
Theorem 1.2 (Analysis of derandomized line-point test). There is a constant such that the following holds for every , every finite field of size , and all natural numbers satisfying and . Let be a set of distinct directions in , and let be the set of all lines along these directions (i.e., ). Then for any , we have
Three features of this statement deserve comment.
- First, the number of directions must grow with : if is a random univariate function and , where the set of directions includes the direction with slope , then is constant on every line with slope , so the expected local agreement is at least , and yet has negligible agreement with every low-degree polynomial. Thus is necessary, and our theorem shows that suffices.
Second, the conclusion shows agreement with a polynomial of degree 2k rather than k. Some loss of this kind is unavoidable once the directions are restricted: if the set U consists of the directions given by r distinct slopes and divides k, the polynomial
has degree at most on every line with slope in , but has total degree . Thus passes the test with probability 1, i.e., has perfect local agreement, but is far from every polynomial of degree . In a companion paper, we show that the total degree of such polynomials is bounded above by . (The same phenomenon appears for in the Polishchuk–Spielman analysis [PS94], which also concludes with a polynomial of degree .)
- Third, our requirement on the field size is quadratic in the degree , unlike the derandomized plane-point test of Moshkovitz–Raz [MR08], which requires only a linear dependence. As observed in Theorem 1.1, such a quadratic dependence is necessary at least for low-characteristic fields. More precisely, for a field with characteristic at most , we require for derandomization to work with lines in even directions, while the condition in the above theorem shows that this is tight up to the value of the constant and in this case, the number of directions can be made as low as .
A Polishchuk–Spielman lemma for few directions and high Z-degree. At the heart of the Polishchuk–Spielman analysis [PS94] is a divisibility lemma, which can alternatively be stated (see [HKSS24, Lemma 1.3]) as follows. Let be a trivariate polynomial with Z-degree one. Suppose the restriction of to many axis-parallel lines has a Z-root that is a polynomial of degree at most ; in other words, for various restrictions of the form or , the restricted polynomial divides the restricted polynomial and the quotient has degree at most . Then itself has a Z-root that is a bivariate polynomial of degree at most in each variable; that is, divides and the quotient has degree at most in each variable. Intuitively, the global root is what explains the roots on the various restrictions.
A natural question is whether this lemma generalizes to polynomials of Z-degree larger than one. Such a generalization was crucial to the analysis of the line-point test in the high-error regime in [HKSS24] (see [HKSS24, Lemma 1.4]). However, the generalization there required, as a hypothesis, that have a low-degree Z-root on its restrictions to lines in many directions (not just two, as in the original Polishchuk–Spielman setting). One could ask for the smallest number of directions for which such a generalization holds. If the number of directions equals the Z-degree, i.e., , then the statement is simply false: for distinct and irreducible of degree , the polynomial
has a degree- Z-root on every line with , but no polynomial Z-root. (The case of this example appears in [HKSS24].)
Our third result shows that this example is essentially the only obstruction: as soon as the number of directions exceeds the Z-degree, the generalized lemma holds, provided the field is large enough.
Lemma 1.3 (Generalized Polishchuk–Spielman lemma). Let have -degree , and suppose that the restriction of to every line in directions has a Z-root that is a univariate polynomial of degree at most . If , then has a Z-root of total degree at most . Moreover, there exist two directions (among the directions) such that the restriction of agrees with the given roots on all but of the lines in these two directions.
Compared to the corresponding statement in [HKSS24, Lemma 1.4], this result needs only directions, which is optimal by the example above, rather than a number of directions that grows with . This comes at a cost, however: the field must be of size rather than , and, as observed in Theorem 1.1, this large field size is unavoidable and the condition cannot be weakened to .
Our proof of Theorem 1.2 does not directly use this lemma. Instead, both statements are proved from another, similar statement (see Lemma 2.1), which shows that consistent low-degree Z-roots on a family of parallel lines can be lifted to a global rational Z-root of . Lemma 1.3 follows from Lemma 2.1 by observing that if there are sets of parallel lines, then there is a pair of directions such that the roots on the lines in these directions agree on a constant (depending on ) fraction of points in . This agreement provides the necessary structure for us to apply Lemma 2.1 for lines in these two directions. This also allows us to conclude that the two rational roots obtained must in-fact be the same! We then use the standard Polischuk-Spielman lemma to conclude that these rational roots must be polynomials.
Given that our counterexamples only prove tightness of the above result when the characteristic is small (in particular when ), it would be interesting to know whether the quantitative bounds in Theorem 1.2 and Lemma 1.3 can be improved over fields of sufficiently large characteristic.
Organization
In the next section, we provide an overview of our proofs. We set up the necessary notation and preliminaries in Section 3. We then prove Lemma 2.1 in Section 4. We use this lemma to complete the proof of Lemma 1.3 in Section 5 and the analysis of the derandomized low-degree test in Theorem 1.2 in Section 6. Finally, we prove Theorem 1.1 in Section 7.
AI use
All the technical content in the paper is due to its human authors. An AI assistant (Claude) was used to help write the introduction, and for typographical corrections and minor edits to the abstract and the proof overview.
2 Overview of the proofs
Our proofs of Theorem 1.2 and Lemma 1.3 follow the high-level outlines of similar results in [AS03] and [HKSS24]. However, the presence of lines in very few directions introduces some important technical challenges that the proof has to overcome. In this section, we discuss the high-level outline of the proofs of the main theorems.
Proof of Theorem 1.2: Let be a function that satisfies
where refers to the set of all lines in distinct directions. The proof starts by focusing on the set of lines in and points in that pass the test with probability . We call such points and lines good and focus on them for the analysis of the test. We show that there is a non-zero trivariate of low total degree and constant -degree such that for all good points , is zero. We also show that for all good lines , there is a univariate of degree such that is a -root of the polynomial . By massaging to avoid some degenerate cases, we show that satisfies the hypothesis of a variant of a generalization (Lemma 2.1) of the Polishchuk–Spielman lemma. We then rely on this lemma, together with bounds on the degree of to complete the proof of Theorem 1.2. The details can be found in Section 6.
We note that while the interpolation step is similar to that in [AS03, HKSS24], the details turn out to be substantially cleaner in the proof here. Instead of focussing on two good directions as is done in the earlier proofs, we start by sampling a small number of good lines and finding a non-zero low-degree such that is identically zero for these special lines. We then use the geometry of the space to conclude that must satisfy a similar constraint for all good lines . A similar interpolation argument was also independently discovered in the recent work of Kominers, Thaler and Zheng [KTZ26] on an improved analysis of the (non-derandomized) line-point test.
The main technical highlight of this proof is a version of the Polishchuk–Spielman lemma in the high Z-degree setting. We now describe the lemma, the main ideas in its proof and the proof of Lemma 1.3 which improves on the corresponding lemma in [HKSS24] in the number of directions required: only one more than the Z-degree, which is the bare minimum.
Proof of Lemma 1.3: The following technical lemma is the key to both the proof of Theorem 1.2 and Lemma 1.3.
Lemma 2.1 (Lifting from consistent parallel lines). There is a constant such that the following holds. Let be a non-zero trivariate polynomial of -degree . Let be a set of parallel lines in such that for every , there exists a polynomial of degree at most that satisfies
Furthermore, let be a line that is not parallel to the lines in , and let be a degree polynomial such that is identically zero, is non-zero, and for every , and agree at the point .
If , then there exists of total degree at most such that
Moreover, for all but at most choices of , the restriction of on is well defined and equals .
This lemma shows that consistent, low-degree -roots of on a set of parallel lines can be lifted to a common global rational root. Here, consistency of the roots on the parallel lines is asserted by their agreement with the -root on a separate anchor line that intersects these parallel lines, and the fact that the multiplicity of the root on is one. A similar lifting theorem, but from a non-degenerate point, is at the heart of the proof in [HKSS24]. We need to lift from an anchor line instead of an anchor point as in [HKSS24] as the number of lines passing through any point in the derandomized test is very small (in fact, ). Lifting from an anchor point involves division by and hence the only requirement is that this field element is non-zero. Lifting from an anchor line involves division by the polynomial and hence the requirement that this polynomial is non-zero. However, this causes several complications as we are dividing by a polynomial and not a field element. We need to ensure that the degrees of the numerator and denominator polynomials do not blow up and one has to carefully count the degree growth. This is done using a corollary of a result of Furstenberg [Fur67, BKRRSS26] applied to Newton's iteration (see Theorem 3.16).
To prove the above lemma, we show that the root on the anchor line can be lifted via Newton iteration to obtain a global power series root. This power series root is then shown to be equal to the low-degree polynomial roots on (most of) the lines in using the consistency of the anchor line with the lines in . We then work with an appropriate truncation of the power series root (which has rational coefficients) to show that if the number of lines in is large enough, then this truncation gives us a rational global Z-root of . The details of the proof are discussed in Section 4.
To prove Lemma 1.3, we start by preprocessing to ensure some non-degeneracy properties (e.g. square-freeness and non-zero Z-derivative). We then use the fact that the Z-degree of is strictly smaller than the number of directions available to conclude that there is a pair of directions (among the available directions), such that roots on many lines in these directions are consistent (i.e. their values on the intersection points agree) for at least of the points in . For simplicity of notation, let us assume that the directions correspond to lines parallel to the and -axes (i.e. horizontal and vertical lines). The high-level idea is to invoke Lemma 2.1 twice: once on a set of horizontal parallel lines with a vertical line as anchor, and once on a set of vertical parallel lines with a horizontal line as anchor. This gives us two global roots of : lies in with -degree at most , and lies in with -degree at most . Moreover, these roots explain the given roots of on many horizontal lines and vertical lines respectively. Since we chose the two directions to be such that the given roots of on lines in these directions are often consistent, this implies that and agree on many points. By the Schwartz-Zippel lemma, this means that the low-degree rational functions and are identical, and in particular they lie in and have degree at most in both variables.
Filling in the details, e.g. handling degeneracy of , showing the existence of good anchors for the lifting outlined above and dealing with lines where the rational root does not equal the polynomial root on the line requires some care, and we discuss the details of the proof in Section 5.
Proof of Theorem 1.1 For the proof of Theorem 1.1, let us for the purpose of this overview restrict our attention to characteristic two fields (i.e., ) and when (i.e., ). In this case, we work over a field , where . This field clearly contains the subfield of size . We set the degree parameter to . The lines considered for the line-point test in this construction are of the form , where is in and is in . Thus, the set of lines considered here has lines in it, lines each in the directions. To construct the function , we start by assigning univariate polynomials of degree to each of the lines in . We show that over a uniformly random pair of lines chosen from , the line polynomials agree at the intersection of these lines with probability very close to half, and yet there is no degree bivariate polynomial whose restriction to a constant fraction of the lines in equals the line polynomial in . These properties are very closely built into the careful construction of the line polynomials, which are constructed using properties of the trace function () from to . More precisely, the line polynomial associated to the line for and
, is the polynomial , where the half-trace polynomial is defined as
Observe that is the trace map extended as a polynomial map to all of and is related to as for every .
On the way to the proof of Theorem 1.1, we also construct a polynomial defined as
with -degree 2 and -degree . We show that on every line , the polynomial is a -root of , and yet has no -root in the bivariate polynomial ring .
Note that we are considering lines in directions here, and yet the Z-degree of Q is just 2! This is in stark contrast to the setting of Lemma 1.3, where over a field of sufficiently large (and yet quadratic) size, existence of low-degree polynomial Z-roots on all lines in any set of directions is sufficient to guarantee the existence of a low-degree polynomial Z-root globally.
This overview focuses on the case when and (and hence ). Our results work for all characteristics and all provided the characteristic is at most . We discuss the details of these constructions in Section 7.
3 Notations and preliminaries
3.1 Notations
• F denotes a (usually) finite field.
-
The support of a polynomial is the set of non-zero monomials in it.
-
denotes the linear space of univariate polynomials of degree less than with coefficients in , and can naturally be identified with the space .
-
The -weighted degree (or simply the -degree) of a monomial is defined to be equal to . The -degree of a polynomial is defined to be the maximum of the -degrees of any monomial in the support of .
-
The degree of a rational function is defined to be equal to the maximum of the degrees of the numerator of R and the denominator of R.
-
For and polynomial , the expression denotes the coefficient in the polynomial , when it is viewed as a univariate in with coefficients in .
-
For a trivariate polynomial and a line , the polynomial denotes a bivariate polynomial obtained by restricting the variables to the line . For instance, if the line is parameterized as for slope and intercept , denotes the bivariate polynomial .
-
For a line and a trivariate , we say that has a -root of degree on the line if there is a polynomial of degree at most such that is identically zero, where .
We note that the existence of a degree -root on a line is independent of the precise parameterization of the line and is a property of the polynomial . Thus, we often just say that a polynomial is a -root of on the line , indicated by , without specifying the precise parameterization.
3.2 Preliminaries
Lemma 3.1 (Chernoff bound). Let be independent random variables taking values in , let denote their sum, and be the expected value of . Then,
for every .
Lemma 3.2 (Claims A.4, A.5, A.6 in [HKSS24]). For all such that and .
Then, the number of monomials of -degree at most is greater than , and the number of monomials of -degree at most , where is either zero or is not divisible by is greater than .
Lemma 3.3 (Schwartz-Zippel lemma). Let be any field and be a subset of . If is a non-zero polynomial on variables with coefficients in , then the number of zeroes of on the product set is at most .
Lemma 3.4. Let be any field and be a non-zero polynomial of total degree at most . Then, the number of lines in such that the restriction of on is identically zero is at most .
Proof. Each distinct line on which restricts to 0 gives a distinct linear factor of .
Definition 3.5. Let be a polynomial that factorizes as , for irreducible polynomials such that for , and natural numbers . Then, the squarefree part of is defined as .
3.3 Hasse derivatives
Definition 3.6. The Hasse derivative of order of a polynomial , denoted by , is defined as the coefficient of in the polynomial , when is viewed as a univariate in with coefficients in the ring .
Lemma 3.7 (Properties of Hasse derivatives). Let be a field of characteristic . Then, the following properties hold.
- Let be a non-zero polynomial of degree at least one. The first order Hasse derivative of is identically zero, if and only if there exists a polynomial such that .
• For any two polynomials , . By induction, this implies that for every , .
A consequence of the above lemma is the following corollary.
Corollary 3.8. Let be any field, be a natural number and be non-zero polynomials such that .
If is not divisible by the characteristic of the field and is non-zero, then is non-zero.
Proof. This immediately follows from the fact that in Lemma 3.7.
In the next lemma, we try to understand the following issue: we have a bivariate over a field of characteristic that is not the th power of a polynomial. The goal of the lemma is to understand the number of lines such that the restriction of on the line is the th power of a polynomial.
Lemma 3.9. Let be any field of characteristic and be a non-zero polynomial of total degree at most such that there does not exist a polynomial satisfying .
Then, there is at most one direction such that for all directions , the following is true: the number of lines in the direction for which the restriction of on is th power of a polynomial is at most .
Proof. Let for non-negative integers such that , and . Since is not the th power of a polynomial, there exists an that is non-zero, such that does not divide at least one of and . Thus, from Lemma 3.7, we get that at least one of the first order Hasse derivatives or is not identically zero. Without loss of generality, we assume that is non-zero.
Lines parallel to Y-axis: Since is non-zero, there is at least one non-zero monomial in such that does not divide . Let be the coefficient of in , when it is viewed as a univariate in with coefficients in . Clearly, for an , is the th power of a univariate in only if is zero. But there are at most many such .
Lines of the form for : Since is non-zero, there is at most one such that the polynomial is identically zero. We now argue that for every , the set of lines of slope such that the restriction is a th power has size at most .
From Lemma 3.7 and the definition of Hasse derivatives, we get that
Furthermore, for to be a th power, it must be the case that the Hasse derivative is identically zero, or in other words, is a zero of the polynomial . But this polynomial has -degree at most , and is non-zero; indeed ensures that is non-zero, and shifting to retains this non-zeroness. Thus, there at most choices of for which is a th power.
3.4 Resultant and discriminant
Definition 3.10 (Sylvester Matrix, Resultant and Discriminant). The Sylvester matrix of two univariates over a field of degree is a matrix corresponding to the linear transformation
defined as
where are polynomials of degree at most and respectively.
The determinant of the Sylvester matrix of is referred to as the Resultant of and is denoted by . The resultant of and its first order Hasse derivative is referred to as the Discriminant of and is denoted by .
The utility of the resultant and discriminant stem from the following fundamental facts.
Theorem 3.11. For every field and polynomials of degree at least one, the is non-zero if and only if have gcd 1.
Corollary 3.12. Let be a finite field or a field of characteristic zero and be a polynomial of degree at least two. Then, is squarefree if and only if is non-zero.
In the course of our proofs, we would also have to work with multivariate that we view as univariate in one of the variables with coefficients in the field of rational functions. For such fields, we have the following weaker variant of Corollary 3.12.
Corollary 3.13. Let be any field and be a polynomial of degree at least two such that the Hasse derivative is non-zero and has degree at least one. Then, is squarefree if and only if is non-zero.
On many occasions in this paper, we work with polynomials with larger number of variables and view them as univariate with respect to one of the variables and coefficients coming from the field of rational functions in the other variables. In such settings, we use and to denote the resultant and discriminants respectively, with the subscript indicating that we are viewing the multivariate as univariate in Z.
Another simple, but useful structural property of the resultant (and discriminant) for multivariate polynomials that we rely on is the following.
Observation 3.14. Let be trivariates with -degree at least one, and let be such that and .
Then, when evaluated at equals the .
Proof. The proof follows from the fact that the Z-degree preserving property of ensures that the Sylvester matrix of (while viewing these as a univariate in Z) when evaluated at equals the Sylvester matrix of .
3.5 Power series roots
Theorem 3.15 (Newton iteration). Let be any field and be any extension of , and let be a bivariate polynomial with coefficients in . Let be such that and . Let , and for every , be defined as
Then, for every , is the unique polynomial that satisfies the following conditions.
The following theorem gives an explicit non-iterative expression for the approximate root defined above. This is a corollary of a theorem of Furstenberg [Fur67] and the precise expression here is implicit in Corollary 3.3 and Theorem 4.1 in [BKRRSS26].
Theorem 3.16 (Explicit Newton iteration [Fur67, BKRRSS26]). Let be any field and be any extension of , and let be a bivariate polynomial with coefficients in . Let be such that and . Let , and for every , be defined as
Then, equals the polynomial
where equals .
3.6 The Polishchuk–Spielman lemma
Lemma 3.17 ([PS94]). Let be any field and be polynomials with -degrees at most . Let there be -values such that divides in the ring and the quotient has degree at most , and let there be -values such that divides in the ring and the quotient has degree at most .
There exists constants with such that if , then there is a bivariate of degree at most in each variable such that
Furthermore, for all but choices of the substitutions x, y, and .
3.7 Pruning to subgraph of high min degree
Lemma 3.18. Let be a bipartite graph, such that the maximum degree of a vertex is at most , the maximum degree of a vertex is at most . Let be parameters such that the average degree of a vertex in is and the average degree of a vertex in is .
Then, there exists a subgraph of the graph G such that
- The degree of every vertex in in the graph is at least and the degree of every vertex in in the graph is at least .
Proof. To prove the lemma, we iteratively start deleting low-degree vertices from the graph as long as there is such a vertex. We argue that this procedure stops at some point, and when it stops, the remaining graph has the desired properties.
Algorithm Prune
Set flag to 1.
• If for every , for every , set to 0 and stop.
• While is 1:
- For :
– if , delete u and update .
- For :
– if , delete v and update .
- If for every , for every , set to 0 and stop.
Here, by the degree of a vertex, we mean the degree in the subgraph of G alive at that moment, after any deletions that might have occurred in the algorithm.
If equals one at the beginning of the While loop, then at least one vertex is deleted from the graph in that run of the loop, and hence this process will terminate in finitely many steps. Note that at any step of the algorithm, a vertex in is deleted if its degree in the current graph is less than , and hence its deletion results in the deletion of at most edges from the graph. Similarly, the deletion of any right vertex in the second for loop results in the deletion of at most edges from the graph.
Thus, the maximum number of edges that could have been deleted during the run of the algorithm is at most , which is at most , since . So at least edges must have survived the pruning process.
Hence, the graph obtained at the end of the process is non-empty. Clearly, the minimum degree condition on the vertices will be satisfied at this point. The lower bound on the number of surviving left and right vertices now follows from the number of surviving edges and the bounds on the maximum degrees.
4 Consistent roots on parallel lines to global rational roots
In this section, we state and prove the following technical lemma that is crucial for the proof of the generalization of the Polishchuk–Spielman lemma in Lemma 1.3 as well as to the proof of Theorem 1.2.
Lemma 2.1 (Lifting from consistent parallel lines). There is a constant such that the following holds. Let be a non-zero trivariate polynomial of -degree . Let be a set of parallel lines in such that for every , there exists a polynomial of degree at most that satisfies
Furthermore, let be a line that is not parallel to the lines in , and let be a degree polynomial such that is identically zero, is non-zero, and for every , and agree at the point .
If , then there exists of total degree at most such that
Moreover, for all but at most choices of , the restriction of on is well defined and equals .
For the proof of the lemma, we first do an affine change of basis and reduce to the setting where the lines in are parallel to the -axis and the line is the -axis. This helps simplify the notation in the proof while conveying most of the main technical ideas.
4.1 The case of axis parallel lines
Lemma 4.1. Let be a non-zero trivariate polynomial of -degree . Let be a set of field elements such that for every , there exists a polynomial of degree at most that satisfies
Furthermore, let be a degree polynomial such that is identically zero, is non-zero, and for every , .
If , then there exists such that , and
Moreover, for all but at most choices of , .
Proof. From the bound on the weighted degree of , we have that the degree of is also at most . Moreover, since is a non-zero polynomial of degree at most , it can have no more than zeroes in the set . Let be the subset of defined as
Thus, we have that
We now view as a bivariate in , with coefficients over the field . From the hypothesis of the lemma, we have that
Thus, from Theorem 3.15, we have that there is a unique power series in Y, with coefficients from the field such that
Let be defined as the truncation of modulo . Thus, is a univariate in of degree with coefficients in the field of rational functions in , and is the unique such element that satisfies
To complete the proof of the lemma, we need the following two claims. We first complete the proof of the lemma using the claims and then discuss the proofs of the claims.
Claim 4.2. For every , the denominator of is non-zero and . In particular,
Claim 4.3. .
To prove the theorem, we consider the formal rational function . Clearly, R is a polynomial in Y and a rational function in X. Moreover, R can be written as
where each is a polynomial of total degree at most (in fact, at most ). Thus, is at most . In particular, let us focus on the numerator of the , whose degree is at most . From Claim 4.2, we have that for every , is well defined (its denominator does not vanish), and its numerator evaluates to zero. Thus, if
we get that is identically zero, and is a Z-root of . Moreover, from Claim 4.2, we get that for every , equals .
But the inequality needed on the size of immediately follows from , the upper bound on in Claim 4.3.
Proof of technical claims
Proof of Claim 4.2. From Theorem 3.16, we have that the denominator of is a power of . Thus, from the definition of , we get that for every , this denominator is non-zero.
Since is zero modulo , we get that for every , is well defined, and
Moreover, the degree of is at most and the constant term of equals . From the hypothesis of the lemma, this equals .
Thus, and are both degree polynomials in that are the lifts of the root of , which additionally satisfies . By the uniqueness part of Theorem 3.15, we get that must equal , and thus, must be identically zero.
Proof of Claim 4.3. The claim immediately follows from the expression for approximate Z-roots of the bivariate in Theorem 3.16, when invoked with initial conditions is zero and is non-zero.
4.2 From axis parallel to the general case
We now complete the proof of Lemma 2.1.
Proof of Lemma 2.1. For the ease of notation, we assume that neither the line nor the lines in are parallel to the -axis. The argument below can be easily extended to this case by a different parameterization of the lines.
Let be the line with slope that is parallel to the lines in . Similarly, let be the line for some in . We also know that . Let be new formal variables and let us consider the system of linear constraints
Since , this system has a unique solution and gives us a way to write and as affine linear combinations of , namely and .
Let be a trivariate polynomial defined as
Clearly, equals .
Now, for any line that is parallel to , parameterized as and polynomial ,
Furthermore, by setting , we get a polynomial with degree at most the degree of such that if is identically zero, then is also identically zero.
Similarly, the degree- Z-root of implies that is identically zero for a polynomial of degree at most .
Thus, the polynomial satisfies the hypothesis of Lemma 4.1. From the conclusion of the lemma, we get a rational function with numerator and denominators of degree at most such that is a Z-root of . Now, writing as linear combinations of as in equation Equation 4.4, we get a rational function of degree at most that is a Z-root of . Note that this transformation between and is invertible, so the non-zero denominator of cannot vanish under this transformation.
The moreover part also follows immediately from the basis change and the guarantees on the restrictions of U in Lemma 4.1.
5 Generalizations of the Polishchuk–Spielman lemma
We now state and prove the generalization of Lemma 3.17 that drives the analysis of our low-degree test.
Theorem 5.1. There exists a constant such that for all where is a prime power, is the finite field of size and is a polynomial with -degree the following is true.
Let be subsets of lines in such that for every , is the set of all parallel lines in a certain direction, the lines in and are intersecting for . Furthermore, for every and line , there is a polynomial of degree at most that is a Z-root of .
If , and , then there is a biivariate polynomial of total degree at most so that is identically zero and there are distinct indices such that the restriction of on any line equals for all but choices of lines in .
In the rest of this section, we prove this theorem.
Proof of Theorem 5.1
The rest of this section is devoted to the proof of Theorem 5.1. The proof is in divided into various stages. We first start by preprocessing Q in a way that ensures additional structure on the problem instance without loss of generality. We then zero-in on two of the r-directions that are good in some formal sense. Using the lines in these two directions, we conclude that Q must have a Z-root that is a rational function in X, Y. This is the step that involves the use of the generalization of the Polishchuk–Spielman lemma in Lemma 2.1. Finally, we conclude that the root obtained in the previous step is not just a rational function; it is a polynomial of the appropriate degree, and concludes the proof of Theorem 5.1.
5.1 Preprocessing
We start with the preprocessing step here.
The square-free part
Let be the square-free part of (Definition 3.5). Then, clearly, also satisfies the hypothesis of the theorem. Furthermore, if the conclusion is true for , then it is also true for . So, we work with henceforth.
Z-degree at least one
The hypothesis of the theorem may be true on some of the lines because is identically zero. From Lemma 3.4, we know that the total number of such lines is at most the total degree of , which is at most . In fact, a stronger conclusion is true here: for all but at most lines , the Z-degree of equals the Z-degree of . We discard the bad lines (note that the number of lines in each direction is large enough compared to for us to be able to tolerate this loss), and for the rest of the proof assume that is non-zero and equals the Z-degree of for all lines under consideration. In particular, this ensures that the Z-degree of is at least one for the hypothesis to hold.
Furthermore, we will assume without loss of generality that for at least one of the line polynomials , the degree equals , else we can replace everywhere by . This also implies that , since otherwise a degree polynomial cannot be a factor of the polynomial of total degree at most .
Ensuring a non-zero Z-derivative
This step of pre-processing can be skipped if the underlying field has characteristic either zero or larger than the Z-degree of , since over such fields implies that is a non-zero polynomial. Some of the details are simpler in this setting, and we encourage the reader to read the proof with this setting in mind for the first time.
Over fields of small positive characteristic, it may be the case that and yet is identically zero. From Lemma 3.7, we know that this happens if and only if is a polynomial in for some . Let be such that is a polynomial in and not in . From Lemma 3.7, we get that there exists a polynomial and a natural number such that is non-zero, and . For the next few steps of the proof, we work with . We eventually return to towards the end.
To proceed further, we first discuss the properties of that follow from the properties of . Since the -degree of is at most , we get that the -degree of is at most . Furthermore, for any line , if is a degree polynomial such that is identically zero, then we get
Thus, is a Z-root of for any line where is the Z-root of . So, the property of having Z-roots on lines is preserved, although the degree of each of the Z-roots on lines is now bounded above by . We also record the following simple observation that follows from the definitions so far.
Observation 5.2. is square-free, is non-zero. If line L is such that
then,
Going forward, we work with , whose -degree is at most , and has -roots of degree at most on many lines. Furthermore, each of these roots is the -th power of a polynomial of degree at most .
5.2 Finding two good directions
In this phase, we use the fact that the number of directions is strictly greater than the (and hence ) to conclude that there is a pair of directions such that the line polynomials for lines in and have non-trivial consistency. This is formalized in the following lemma.
Lemma 5.3. There exist such that and there is a set of points in of size at least such that for every point and lines and incident on , the corresponding line polynomials and agree on .
Proof. Let be any point and let be the lines incident on such that . Let be the corresponding line polynomials such that is identically zero. Since each of the lines is incident to , we get that equals zero, or equivalently, is a zero of the univariate . But has degree at most , and so there is a subset of size at least of these lines such that the corresponding line polynomials agree on .
Thus, by Pigeonhole principle, there is a pair of directions such that the line polynomials in these directions agree on at least fraction of all points . For , this fraction is at least .
Finally, we note that we can only do the above arguments on points in that have a line from each of the sets incident on it. In particular, we need to exclude all points in that may be incident to any of the bad lines excluded in Section 5.1. Thus, the size of the set of points where lines in are consistent with each other is at least , which, for (for a sufficiently large constant ) is .
5.3 Rational roots from and
For brevity of notation, we assume that and . From Lemma 5.3, we know that line polynomials on lines in and are consistent on at least points in for some absolute constant . Let
be a bipartite graph with vertices with there being an edge between lines if the corresponding line polynomials and are consistent, i.e. they agree on the point . Clearly, both sets of vertices in the bipartition have size at most , the maximum degree of any vertex is and there are at least edges in the graph.
From Lemma 3.18, we get that there is a subgraph of with vertex sets and of size at least each and minimum degree at least .
We focus on lines in this subgraph now, and refer to the lines in as heavy lines.
Setting up an anchor
We now prove the following crucial technical claim.
Claim 5.4. For all but lines in , is non-zero.
Proof. Recall that has the property that is a non-zero polynomial. Furthermore, is square-free. We know from Lemma 3.4 that there are at most lines in total such that is strictly smaller than or is identically zero. Let be the subset of all such lines.
Furthermore, for some , so, there exist lines in and in that are not in .
If the -degree of is zero, we get that for any such not in , is non-zero and we are done.
Else, the -degree of is at least one. Since is square-free, we get from Corollary 3.13 that is a non-zero bivariate polynomial, and has degree at most . Thus, from Lemma 3.4, there are at most lines such that vanishes identically when restricted to these lines. Let be the set of such lines. Clearly, .
From Observation 3.14, we get that for any line that is not in , the polynomials and do not share a common -root, and if the polynomial is a root of , then it cannot be a root of .
The claim now follows from the upper bound on the sizes of and .
Existence of a rational root
Let be a line not excluded in Claim 5.4. Since is heavy, the line polynomial on is consistent with at least of the line polynomials for lines in . Let be the subset of of these lines. We also know from Claim 5.4 that is non-zero and is identically zero. Recall that the -degree of is at most and each of the line polynomials has degree at most , where . So, a stronger bound on is that .
From the setting of parameters, we have that , for for a sufficiently large constant . This implies that
Thus, from Lemma 2.1, we get that there is a rational function of degree at most such that
and for all but choices of lines , .
Let be the set of lines in such that . We have that since . Let us consider the induced subgraph of on vertices .
The degree of vertex in in this graph is at least and hence the number of edges is at least for some constant . Once again, by an application of Lemma 3.18, we get that this graph has an induced subgraph where the size of the left and right side of the bipartition as well as the minimum degree are at least .
We now repeat the argument applied to the graph over the last two sections to this new graph we pick a line in as the anchor (using Claim 5.4 again), and pick its neighbors in as in the set and invoke Lemma 2.1 to obtain a rational function of degree at most whose restriction on all but lines in equals the corresponding line polynomial . Let be the subset of whose line polynomials are consistent with . Note that the number of edges in with both end points in is at least , where once again we use the fact that (and hence ) is much smaller than .
Recall that and hence, for every line in , . This means that for every and , if and are adjacent in , then and agree on the point . Thus, and are rational functions of degree and agree on at least many points in . Since , this means, from Lemma 3.3, that and must be the same rational function.
5.4 From a rational function to a polynomial
Let denote the rational function in simplest form that equals constructed in the previous subsection. From the construction above, we know that its degree is at most , and it equals a degree polynomial when restricted to many lines in two distinct directions. Since is much smaller than the number of lines in each direction, we apply the classical Polishchuk–Spielman lemma (Lemma 3.17) on the numerator and the denominator of to conclude that there is a bivariate polynomial of degree at most that equals on all but of the lines in consideration in the two directions.
5.5 A Z-root of Q
If the characteristic of the underlying field exceeds , then the polynomial is equal to , and hence is a Z-root of , and hence of , and this completes the proof of the theorem.
Over fields of (small, positive) characteristic , we have that for some positive integer . From the discussion so far, we know that is a Z-root of of in other words, divides . Substituting by , we get that divides , and hence and therefore the original polynomial . To complete the proof of the theorem, it suffices to show that equals for some polynomial .
To see this, we recall that has the property that there exist two distinct directions in such that the restriction of on at least lines in these directions equals the line polynomial . But from the relationship between and , we know that , where is the Z-root of .
Let be the largest integer such that there is a polynomial satisfying , and is not the th power of any polynomial in . Now, if , then must be the th power of every line polynomial for which . But, we have this property for more than lines in two different directions, and hence by Lemma 3.9, we get that is also a th power, which is a contradiction. Thus, must equal and and satisfy .
So, we get that divides and hence Q. This completes the proof of Theorem 5.1.
6 The low-degree test
In this section, we analyze the derandomized version of the line-point low-degree test in the high-error regime. We start by recalling the set up.
Setup: Let be directions of interest to us. represent distinct directions and hence, and are not scalar multiples of each other for any . Let be subsets of lines in such that for every , is the set of all lines in the direction in . Clearly, . Clearly, for every point , and for every , there is a unique line in that is incident to . Let denote the union of .
We now restate the theorem we wish to prove. We recall the main theorem.
Theorem 1.2 (Analysis of derandomized line-point test). There is a constant such that the following holds for every , every finite field of size , and all natural numbers satisfying and . Let be a set of distinct directions in , and let be the set of all lines along these directions (i.e., ). Then for any , we have
Before we proceed it will be convenient to understand the hypothesis of the above theorem, namely
It will be convenient to interpret this statement in terms of a subgraph of the points-vs-line incidence graph. The points-vs-line incidence graph is the graph between the set of all points in and set of allowed lines where a point is adjacent to a line in if . Let be the set of edges of this incidence graph. We label the points with the function , more precisely is labeled with . We label the lines with univariate polynomials of degree that have the best agreement with the restriction of the function on that line. More precisely, for each , we consider the restricted function and find the univariate polynomial of degree at most that has the best agreement with (if there exists more than one best-fit, we break ties arbitrarily). We now consider the subgraph of the points-vs-line incidence graph where is defined as follows:
note that the same line can be indexed in many different ways
In other words, is an edge in iff the line polynomial agrees with the points table at the point . It immediately follows from the definition of this graph that iff .
6.1 Pruning to good lines, good points
Consider the bipartite lines-vs-points incidence graph for the function defined as follows. The set is the set of all points in and the set is the union of all lines in . For a point and a line in , is an edge in iff the line is incident to and the line-point test for the function passes on the line-point pair .
Clearly, the number of points is , the number of lines is qr and the maximum degree of any line in the graph is at most the field size, i.e. q and the maximum degree of any point is r. Furthermore, if the test passes with probability , then the graph has edges. Thus, the average degree of a line vertex in G is and the average degree of a point vertex is .
Applying Lemma 3.18 to the graph gives us the following corollary.
Corollary 6.1. Let be a function such that . Then, there exists a subgraph of the graph such that
• The degree of every vertex in is at least and the degree of every vertex in is at least .
For the rest of this proof, we focus our attention on the lines and points in the graph . We refer to them as good lines and good points respectively. For the ease of notation, we also drop the subscript f and simply refer to as .
6.2 Interpolation
From this section onwards, we will use to denote the maximum of k and . We think of as a proxy for the degree parameter k.
In this section, we show that there is a non-zero trivariate polynomial of sufficiently low degree that in some sense succinctly captures the fact that the low-degree test passes with probability at least . This step is similar in spirit to the interpolation step in prior works, most notably in the low-degree test of Arora-Sudan [AS03], and was subsequently used in the work of Harsha, Kumar, Saptharishi and Sudan [HKSS24]. However, in our opinion, the details of the interpolation here are substantially simpler than those in these prior works. Furthermore, the quantitative guarantees are also somewhat stronger, and in particular the interpolated polynomial explains the passing of the test on all good lines and points and not just a subset of them as given by the analogous interpolation steps in [AS03, HKSS24]. This argument for interpolation was also discovered in an independent work of Kominers, Thaler and Zheng [KTZ26] where the goal was to obtain improved soundness guarantees for the (non-derandomized) line-point test.
We now prove the following lemma.
Lemma 6.2. Let be any field of size q and let p denote its characteristic.
There exists a non-zero polynomial with -degree at most such that for every good line , and the corresponding line polynomial of degree , the univariate polynomial is identically zero and is zero for every good point .
We first set the parameters needed for the lemma.
Setting parameters: The parameter is set to be equal to and the parameter is set to . Recall that in the context of the results in this paper, the parameter is an arbitrary constant, for a large enough , and . We have the following simple claim summarizing some of the inequalities satisfied for our setting of parameters.
Claim 6.3. Let be parameters as defined earlier in this section. Then, for all sufficiently large ,
We are now ready to proceed with the proof.
Proof of Lemma 6.2. The proof of existence of will be via the probabilistic method. We will probabilistically pick a small subset of all good lines, and find a polynomial with low -degree such that for every line in , is identically zero via the polynomial method. We will then use the geometry of the set up to show that with high probability, any such also satisfies the conclusion of the lemma. We now discuss the details.
Constructing : The set is constructed by starting with an empty set and including every good line in independently with probability . Thus, the expected size of the set equals . We also know that the number of good lines is at least , and at most . Thus,
By Chernoff bound (Lemma 3.1), we also get that with probability at least ,
For the rest of the proof, we assume that the above tail bound holds.
Constructing : For this step, we proceed via the polynomial method. Let be a polynomial with -degree such that its coefficients are formal variables. The goal is to show that there is a non-zero specialization of these formal variables (for coefficients) such that the satisfies for every in the set . Let the line be defined as
Thus, the univariate can be explicitly written as . The coefficients of are clearly homogeneous linear forms in the coefficients of , and the degree of is at most the -degree of , which is at most . Thus, setting to be identically zero imposes at most homogeneous linear constraints on the coefficients of . If the number of such constraints is strictly less than the number of variables in the linear system, we must have a non-zero solution. Thus, from Lemma 3.2, we have that there is a non-zero solution if
Since is a natural number, and is at most , which in turn is at most , it suffices to have such that , which is an inequality satisfied by our choice of . We note that this step is completely deterministic once the random bits in the choice of the set are fixed.
Behavior of on other good lines: We now argue that with high probability (over the choice of ), any polynomial constructed in the previous step satisfies for every good line .
Let be an arbitrary good line that is not in the set . By definition, has at least good points on it, and through each of these good points, there are at least lines that are also good and consistent with the value of at the point. Let be any good point on the line and let be the polynomial . The goal in this step is to show that the polynomial is identically zero with high probability over the randomness in the choice of . By a union bound over the set of all good lines, this will complete the proof of the lemma. To this end, we proceed by showing that has too many zeroes, or in other words, the polynomial vanishes at many points on , and hence must be identically zero.
The key observation for this is that for any point , if and are both neighbors of in the graph , i.e. the test passes for both the line-point pairs and , then the line polynomials and agree on . Moreover, if the line is in , then, by construction of , is identically zero. From the above two properties, we have that also has a zero at . We state the following simple claims and use them to complete the proof of the lemma, but we need a definition first.
We say that a good point on is fortunate if there is a line through such that is a neighbor of in the graph and is contained in . A point that is not fortunate is said to be unfortunate.
Claim 6.4. is unfortunate with probability at most , which, from our choice of parameters is at most .
Claim 6.5. Let be two distinct good points that are neighbors of in the graph . Then, the events that and are fortunate are independent of each other.
Since is a good line, it has at least good points as neighbors in and from Claim 6.4, we have that the expected number of fortunate points on the line is at least , which from the choice of our parameters is , and from our choice of constants, this is at least . Furthermore, from Claim 6.5, the number of fortunate points on is a sum of independent random variables, and hence via Lemma 3.1, we get that with probability at least , contains at least fortunate points. This implies that the univariate polynomial that has degree at most has at least distinct zeroes, and hence must be identically zero.
From a union bound over the at most good lines, we get that with high probability satisfies
for every good line .
We now note that the above condition also implies that must satisfy for every good point , since every good point is incident to many good lines (all of its neighbors in the graph ) such that for each of these lines and agree at . This condition lets us conclude that is at least one: if this was not the case, is a bivariate of total degree at most that vanishes on at least points (namely, all the good points) in . But, , so this implies that must be identically zero, which is a contradiction. Finally, since depends on and yet does not contain any monomial with its -degree divisible by , we get from the definition of Hasse derivatives that must be non-zero.
This completes the proof of Lemma 6.2.
□
Proof of technical claims
Proof of Claim 6.4. Every good line incident to is included in the set independently with probability and being a good point is a neighbor of at least such good lines in , including itself. So, the probability that none of the good lines incident to , which are not equal to , is contained in is at most . The rest of the argument is just a sequence of inequalities using the fact that .
□
Proof of Claim 6.5. The independence of the events at immediately follows from the fact that every line is included in independently with probability and the events at do not have any line in common apart from itself, which does not play a role in these points being fortunate.
6.3 Proof of Theorem 1.2
We are now ready to complete the analysis of the low-degree test.
Proof of Theorem 1.2. Since the function passes the test with probability , we get from Lemma 6.2 that there is a with -degree at most such that for every good line , and the corresponding line polynomial of degree , the univariate polynomial is identically zero.
Note that must depend on the variable , else, it has degree at most and vanishes at all good points, and there are much more than of them for our choice of parameters. Thus, if does not depend on , then by Lemma 3.3, it must be identically zero.
Reducing to the non-degenerate case: As in the proof of Theorem 5.1, we work with the square-free part of . Let be the square-free part of . Let be the largest integer such that there exists a polynomial for which .
This implies that is a non-zero polynomial. We now note that also satisfies the interpolation constraints on all good lines and good points, i.e. for all good lines and line polynomials and is zero for all good points , where . Furthermore, the -degree of is at most . Notice that .
Now, if is zero, i.e. it is a non-zero polynomial of degree at most in , then, it follows from Lemma 3.3 that there must exist a good point such that is non-zero for . We now argue that a similar conclusion holds even when is at least one. To see this, we consider the discriminant of with respect to . From Corollary 3.13, and the properties of discussed so far, we get that is a non-zero bivariate of degree at most . Multiplying with the leading coefficients of and , while viewing these as a univariate in , we get a non-zero polynomial of degree at most . Since is large enough compared to , we get from Lemma 3.3 that there is a good point for which this product polynomial is non-zero. From Observation 3.14 and Corollary 3.12, we get that for any such , the univariate and do not have a common-zero. In particular, since is a zero of (from the interpolation constraints), we get that must be non-zero. For the rest of the proof, we work with this good point .
Setting up for lifting from parallel lines: We now proceed with the proof of the theorem. Let be the neighbors of the point in the graph . Since and for every , and must agree on , we get that the polynomial is non-zero at . Let us fix one such line in , and consider the set of lines such that and have a common neighbor in . From the properties of , is adjacent to points and each of these points is incident to at least lines. Thus, is at least . Since there are at most lines in any direction, we get that there is a set of size at least , such that for every , is at least . We focus on these directions.
We now note that for every , the set of parallel lines together with the line satisfies the hypothesis of Lemma 2.1, with the degree of the root on the line polynomials being at most . Thus, it follows that if , (which is an inequality that holds in our setting) then for each such , we have a rational function of degree at most that is a -root of and furthermore, the restriction of on equals for all but lines in .
From rational roots to polynomial roots: In our setting of parameters, is greater than the -degree of (if the constant in Theorem 1.2 is chosen to be large enough). So, there must exist distinct such that . This rational function, that we now refer to as , has degree at most and for at least many parallel lines in two different directions, the restriction of to these lines is a polynomial of degree at most . In other words, for each of these lines, the restriction of the denominator of to this line divides the restriction of the numerator of on this line, and yields a quotient of degree at most . Thus, from Lemma 3.17, we get that if , then when reduced to its simplest form, the rational function is actually a polynomial of degree at most . Moreover, the restriction of on at least of these lines equals the corresponding line polynomial . Since each of these lines is incident to at least points in the graph and the line polynomials are consistent with the function values of at these points, we get that equals the function on points.
We also know that the polynomial is a power when restricted to lines in two different directions. Thus, by (an iterative application of) Lemma 3.9, we get that there exists a polynomial of degree at most such that . Furthermore, since th roots of a field element in are unique, and by definition, we get that if agrees with on the point , then must agree with on . Furthermore, the degree of is at most .
This completes the proof of the theorem.
7 Counterexamples when
In this section, we show some limitations of derandomized tests when . The main result of this section is the following theorem which immediately implies Theorem 1.1.
Theorem 7.1. For every and prime , the following holds.
Let the local agreement parameter . Let be the finite field of size and the degree parameter .
Let be the set of all lines in whose slope lies in the subfield . Then there exists a collection of functions such that:
-
For each , agrees with a univariate polynomial of degree at most on .
-
If we pick the two lines independently and uniformly at random from the set of all lines in , and let be their point of intersection (undefined if the lines are parallel), we have:
-
There exists a trivariate polynomial of -degree and -degree at most such that for each , is a -root of the restriction of to , yet has no polynomial -root.
-
For any bivariate polynomial of total degree at most for some , if we choose a line uniformly at random, then we have:
- There exists a function satisfying
and yet agree for every bivariate polynomial of total degree at most -degree where C>1.
First for some notation and helper claims that will help us prove this theorem. Given a prime and , consider the field extensions: . It will be convenient to use the following notation: and . To understand the counterexample, it is instructive to think of the case when and .
We will use to denote the usual trace polynomial from to ,
Our construction will also use the half-trace function, denoted by , which refers to trace polynomial from to , but extended as a polynomial to all of .
Evaluated on it is an -linear map, and evaluated on it is the field trace map to .
For and , let denote the line
Note that
For each and , define the polynomial of degree by
For the line , we use to define the function as follows:
First, we see that these line polynomials are mostly consistent. The lines and intersect at .
Claim 7.4.
Proof. The relevant expressions are only defined if . Condition on ; this only changes the claimed probability by .
Let be the random variable . We have:
Now observe that when are picked uniformly from , then is a uniform element of , and is essentially (upto error ) a uniform nonzero element of . We also have that is essentially (upto error ) a uniform element of .
Thus the probability in question is, upto error the probability that of a uniform nonzero element of has . But for , we have that , and the probability that equals 0 equals .
Thus the probability in question is at least .
Next we see that there is no bivariate polynomial that has high agreement with these line polynomials in a very strong sense.
Claim 7.5. For any and for all of degree at most ,
Proof. Let be polynomials defined as follows.
We would need the following two technical claims for the proof.
Subclaim 7.6. For any polynomial , the polynomial is not identically zero.
Subclaim 7.7. For every , the polynomial is a Z-root of .
Given the sub claims, the proof of the claim is fairly straightforward. Let is a bivariate polynomial of degree . Define
By Subclaim 7.6, is a non-zero bivariate polynomial of degree at most and its individual degree in both is upper bounded by , where is the total degree of . Since
is identically zero for every , and for every line parameterized as , we get that implies that is identically zero. Here we use that fact that since . So, the equality of and as functions on implies that they are equal as formal polynomials and since is a formal root of , so must . Thus, every such line for which gives us a distinct factor of of the form . So, the number of such lines is at most the degree of , which is at most . Finally, observing that has exactly lines completes the proof of the claim.
We now prove the subclaims.
Proof of Subclaim 7.6. Consider the infinite power series . Observe that is identically zero for every . Thus, are -roots of in the ring of power formal series in over . Furthermore, observe that these roots are truly power series (and cannot be polynomials) since is homogeneous and each term contributes non-zero monomials of degree exactly that can never be canceled out. Since the -degree of equals , it cannot have any more roots in this ring (and hence the polynomial ring).
Proof of Subclaim 7.7. Follows immediately by plugging in and checking that is identically zero for all and .
Note that we crucially use that and .
We are now ready to prove Theorem 7.1.
Proof of Theorem 7.1. Let be a prime and . Consider the field extensions: . Note, the local agreement parameter and the degree parameter .
The set of all lines whose slopes lie in the subfield is given by (7.2) and the collection of functions be as in (7.3).
Item 1 follows from the definition of polynomial which has degree at most while Item 2 follows from Claim 7.4 and Item 3 follows from Subclaim 7.6 and Subclaim 7.7.
We now use Claim 7.5 to prove Item 4. Let be a bivariate polynomial of total degree at most for some . By Claim 7.5, we have the first subitem that . Now, to prove the second subitem, we note that are both univariate polynomial on of degree at most . Thus, if they are not equal, then they agree on at most points on . So, using Claim 7.5, we get
Finally, we are left with proving Item 5. We now define the points table as follows. For every point , let be the subset of lines in that are incident to . From Subclaim 7.7, and the form of the polynomial there, we get that for every and , has -degree exactly and is a -root of . Thus, for every , equals one of the roots of . We set to be the most popular value taken by as we range over the lines .
We now argue that this has at least -expected local agreement with polynomials of degree at most . Now, for every , we have that is at least . Hence,
Finally, we have to argue that has low agreement with every of degree at most . To see this, recall from the definition of that for every , . Furthermore, from Subclaim 7.6 that for every polynomial , is a non-zero polynomial, and its degree is at most . Thus, if equals for some , then must vanish at . But from Lemma 3.3, this can happen on at most fraction of points in . If for some , then this bound is at most .
This completes the proof of Theorem 7.1.
References
[ALMSS98] SANJEEV ARORA, CARSTEN LUND, RAJEEV MOTWANI, MADHU SUDAN, and MARIO SZEGEDY. Proof verification and the hardness of approximation problems. J. ACM, 45(3):501–555, May 1998. (Preliminary version in 33rd FOCS, 1992). eccc:1998/008. 3
[AS98] SANJEEV ARORA and SHMUEL SAFRA. Probabilistic checking of proofs: A new characterization of NP. J. ACM, 45(1):70–122, January 1998. (Preliminary version in 33rd FOCS, 1992). 3
[AS03] SANJEEV ARORA and MADHU SUDAN. Improved low-degree testing and its applications. Combinatorica, 23(3):365–426, 2003. (Preliminary version in 29th STOC, 1997). eccc:1997/003. 3, 4, 7, 8, 25
[BGHSV05] ELI BEN-SASSON, ODED GOLDREICH, PRAHLADH HARSHA, MADHU SUDAN, and SALIL VADHAN. Short PCPs verifiable in polylogarithmic time. In LUCA TREVISAN, ed., Proc. 20th IEEE Conf. on Comput. Complexity, pages 120–134. 2005. Full version available at http://www.tcs.tifr.res.in/~prahladh/papers/BGHSV2/BGHSV2005.pdf. 3
[BGHSV06] ——. Robust PCPs of proximity, shorter PCPs and applications to coding. SIAM J. Comput., 36(4):889–974, 2006. (Preliminary version in 36th STOC, 2004). eccc:2004/021. 3
[BKRRSS26] SOMNATH BHATTACHARJEE, MRINAL KUMAR, SHANTHANU S. RAI, VARUN RAMANATHAN, RAM-PRASAD SAPTHARISHI, and SHUBHANGI SARAF. Closure under factorization from a result of Furstenberg. In ADITYA BHASKARA and ARTUR CZUMAJ, eds., Proc. 58th ACM Symp. on Theory of Computing (STOC), pages 174–185. 2026. arXiv:2506.23214, eccc:2025/084. 9, 14
[BSVW03] ELI BEN-SASSON, MADHU SUDAN, SALIL VADHAN, and AVI WIGDERSON. Randomness-efficient low degree tests and short PCPs via epsilon-biased sets. In LAWRENCE L. LARMORE and MICHEL X. GOEMANS, eds., Proc. 35th ACM Symp. on Theory of Computing (STOC), pages 612–621. 2003. 3
[FS95] KATALIN FRIEDL and MADHU SUDAN. Some improvements to total degree tests. In Proc. 3rd Israel Symp. on Theoretical and Computing Systems, pages 190–198. 1995. (See arXiv for corrected version). arXiv:1307.3975. 3
[Fur67] HARRY FURSTENBERG. Algebraic functions over finite fields. Journal of Algebra, 7(2):271–277, 1967. 9, 14
[GS06] ODED GOLDREICH and MADHU SUDAN. Locally testable codes and PCPs of almost linear length. J. ACM, 53(4):558–655, 2006. (Preliminary version in 43rd FOCS, 2002). eccc:2002/050. 3
[HKSS24] PRAHLADH HARSHA, MRINAL KUMAR, RAMPRASAD SAPTHARISHI, and MADHU SUDAN. An improved line-point low-degree test. In SANTOSH VEMPALA, ed., Proc. 65th IEEE Symp. on Foundations of Comp. Science (FOCS), pages 1883–1892. 2024. arXiv:2311.12752, eccc:2023/182. 3, 4, 6, 7, 8, 11, 25
[KTZ26] SCOTT DUKE KOMINERS, JUSTIN THALER, and KAI ZHE ZHENG. Improved soundness for the line-versus-point test, 2026. (manuscript). eccc:2026/147. 8, 25
[MR08] DANA MOSHKOVITZ and RAN RAZ. Sub-constant error low degree test of almost-linear size. SIAM J. Comput., 38(1):140–180, 2008. (Preliminary version in 38th STOC, 2006). eccc:2005/086. 3, 4, 5, 6
[MR10a] ——. Sub-constant error probabilistically checkable proof of almost-linear size. Comput. Complexity, 19(3):367–422, 2010. eccc:2007/026. 3
[MR10b] ——. Two-query PCP with subconstant error. J. ACM, 57(5), 2010. (Preliminary version in 49th FOCS, 2008). eccc:2008/071. 3
[PS94] ALEXANDER POLISHCHUK and DANIEL A. SPIELMAN. Nearly-linear size holographic proofs. In FRANK THOMSON LEIGHTON and MICHAEL T. GOODRICH, eds., Proc. 26th ACM Symp. on Theory of Computing (STOC), pages 194–203. 1994. 3, 5, 6, 14
[RS96] RONITT RUBINFELD and MADHU SUDAN. Robust characterizations of polynomials with applications to program testing. SIAM J. Comput., 25(2):252–271, April 1996. (Preliminary version in 23rd STOC, 1991 and 3rd SODA, 1992). 3
[RS97] RAN RAZ and SHMUEL SAFRA. A sub-constant error-probability low-degree test, and a sub-constant error-probability PCP characterization of NP. In FRANK THOMSON LEIGHTON and PETER W. SHOR, eds., Proc. 29th ACM Symp. on Theory of Computing (STOC), pages 475–484. 1997. 3, 4