diff 89fffe8..3a99d6c squarefree_polynomial_values_v2.txt
diff --git a/squarefree_polynomial_values_v2.txt b/squarefree_polynomial_values_v2.txt
index 8a779e6..8eece66 100644
--- a/squarefree_polynomial_values_v2.txt
+++ b/squarefree_polynomial_values_v2.txt
@@ -1,322 +1,1133 @@
-Which polynomials take squarefree values, and how often? Take f(n)=n^2+1. Its values begin 2, 5, 10, 17, 26, 37, 50, and 50 is not squarefree because 25 divides it. For f(n)=n^4+2 the values begin 3, 18, 83, 258, 627, and 9 divides 18. A prime power p^k divides f(n) only for n in certain classes modulo p^k. When those classes never exhaust the residues, the product over p of the fractions outside them is the predicted density; for every irreducible polynomial of degree four through eight and k=d-2, provided no prime power divides every value, it is the true density.
-
-For an integer k >= 2, an integer a is k-power-free if no prime power p^k divides a. The convention includes negative integers and excludes zero. For f in Z[x] write
-rho_f(q)= # { a in Z/qZ: f(a) = 0 mod q } , S_(f,k)(X)= # { 1 <= n <= X: f(n) is k-power-free } .
-The necessary local condition is rho_f(p^k)<p^k for every prime p: no prime kth power divides every value of f. The candidate density is the product of the proportions surviving these separate congruences.
-
-Theorem. Let f in Z[x] be irreducible over Q of degree d with 4 <= d <= 8, and put k=d-2. If rho_f(p^k)<p^k for every prime p, then
+Which polynomials take squarefree values, and how often? Take f(n)=n^2+1. Its
+values begin 2, 5, 10, 17, 26, 37, 50, and 50 is not squarefree because 25
+divides it. For f(n)=n^4+2 the values begin 3, 18, 83, 258, 627, and 9 divides
+18. A prime power p^k divides f(n) only for n in certain classes modulo p^k.
+When those classes never exhaust the residues, the product over p of the
+fractions outside them is the predicted density; for every irreducible
+polynomial of degree four through eight and k=d-2, provided no prime power
+divides every value, it is the true density.
+
+For an integer k >= 2, an integer a is k-power-free if no prime power p^k
+divides a. The convention includes negative integers and excludes zero. For f in
+Z[x] write
+rho_f(q)= # { a in Z/qZ: f(a) = 0 mod q } , S_(f,k)(X)= # { 1 <= n <= X: f(n) is
+k-power-free } .
+The necessary local condition is rho_f(p^k)<p^k for every prime p: no prime kth
+power divides every value of f. The candidate density is the product of the
+proportions surviving these separate congruences.
+
+Theorem. Let f in Z[x] be irreducible over Q of degree d with 4 <= d <= 8, and
+put k=d-2. If rho_f(p^k)<p^k for every prime p, then
 S_(f,k)(X)=c_(f,k)X+o_f(X), c_(f,k)=prod_p (1-(rho_f(p^k))/(p^k) )>0.
 No primitivity or sign condition on the leading coefficient is required.
 
-For quartics this is a squarefree-value density theorem. In degrees 5,6,7,8 the prime powers excluded are p^3,p^4,p^5,p^6. The statement concerns positive integer inputs and imposes no bound on the coefficient height of f; the error term is not asserted uniform in f. In particular x^4+2 and x^4+1 have positive squarefree-value density. The first is Eisenstein at 2; the second is the eighth cyclotomic polynomial. For x^4+2 the value at zero excludes an odd prime square and the value at one excludes a square of 2; the value at zero of x^4+1 is one, so its local condition is immediate.
-
-The problem has a long history. Ricci obtained the asymptotic in the range k >= d. Hooley obtained the asymptotic at the exponent d-1 first treated for infinitude by Erdos. Erdos singled out the unresolved squarefreeness of n^4+2 in 1953 and returned to the obstacle at exponent d-2 in his 1965 survey.
+For quartics this is a squarefree-value density theorem. In degrees 5,6,7,8 the
+prime powers excluded are p^3,p^4,p^5,p^6. The statement concerns positive
+integer inputs and imposes no bound on the coefficient height of f; the error
+term is not asserted uniform in f. In particular x^4+2 and x^4+1 have positive
+squarefree-value density. The first is Eisenstein at 2; the second is the eighth
+cyclotomic polynomial. For x^4+2 the value at zero excludes an odd prime square
+and the value at one excludes a square of 2; the value at zero of x^4+1 is one,
+so its local condition is immediate.
+
+The problem has a long history. Ricci obtained the asymptotic in the range k >=
+d. Hooley obtained the asymptotic at the exponent d-1 first treated for
+infinitude by Erdos. Erdos singled out the unresolved squarefreeness of n^4+2 in
+1953 and returned to the obstacle at exponent d-2 in his 1965 survey.
 ./sfrefs/erdos-1953.pdf
 ./sfrefs/erdos-1965.pdf
 
-Nair obtained the asymptotic for k >= (sqrt(2)-(1)/(2))d, with further developments by Nair and by Huxley and Nair. The 1976 bound reaches k=d-2 for d >= 24. Heath-Brown's affine determinant method gave the range k >= (3d+2)/4, reaching k=d-2 for d >= 10. Combining that method with Salberger's global determinant estimates, Browning improved the range to k >= (3d+1)/4, which reaches k=d-2 for d >= 9.
+Nair obtained the asymptotic for k >= (sqrt(2)-(1)/(2))d, with further
+developments by Nair and by Huxley and Nair. The 1976 bound reaches k=d-2 for d
+>= 24. Heath-Brown's affine determinant method gave the range k >= (3d+2)/4,
+reaching k=d-2 for d >= 10. Combining that method with Salberger's global
+determinant estimates, Browning improved the range to k >= (3d+1)/4, which
+reaches k=d-2 for d >= 9.
 ./sfrefs/browning-2011.pdf
 ./sfrefs/salberger-2007.pdf
 
-The formulation and published reproof in Xiao are used: the input interval is 1 <= n <= X and the constant is the Euler product over all residue classes modulo p^k. The shape of the polynomial can permit stronger estimates: Heath-Brown proved a power-saving asymptotic for irreducible binomials x^d+c when k >= (5d+3)/9, which at k=d-2 covers degrees d >= 6 under the binomial restriction; Reuss obtained a power-saving error for the general polynomial at exponent d-1.
+The formulation and published reproof in Xiao are used: the input interval is 1
+<= n <= X and the constant is the Euler product over all residue classes modulo
+p^k. The shape of the polynomial can permit stronger estimates: Heath-Brown
+proved a power-saving asymptotic for irreducible binomials x^d+c when k >=
+(5d+3)/9, which at k=d-2 covers degrees d >= 6 under the binomial restriction;
+Reuss obtained a power-saving error for the general polynomial at exponent d-1.
 ./sfrefs/xiao-2017.pdf
 ./sfrefs/heathbrown-2013.pdf
 ./sfrefs/reuss-2015.pdf
 
-Granville showed that the abc conjecture yields the predicted squarefree-value density for separable integer polynomials with no fixed prime-square divisor. Greaves and Helfgott treated squarefree values of binary forms; a density in two integer variables does not by itself give the density on the fixed line with second coordinate one. Recent results of Browning and Shparlinski and of Sofos study the averaged discrepancy over polynomial coefficient families, and those averaged statements do not imply a theorem for each fixed polynomial. Carella's preprint claims the asymptotics for n^4+1 and n^4+2; Zapata Ceballos and Jalalvand claim positive density for certain monic degree-2q polynomials including n^4+1. Neither claim enters as a theorem input: the large-prime estimate and sieve transfer are proved independently.
+Granville showed that the abc conjecture yields the predicted squarefree-value
+density for separable integer polynomials with no fixed prime-square divisor.
+Greaves and Helfgott treated squarefree values of binary forms; a density in two
+integer variables does not by itself give the density on the fixed line with
+second coordinate one. Recent results of Browning and Shparlinski and of Sofos
+study the averaged discrepancy over polynomial coefficient families, and those
+averaged statements do not imply a theorem for each fixed polynomial. Carella's
+preprint claims the asymptotics for n^4+1 and n^4+2; Zapata Ceballos and
+Jalalvand claim positive density for certain monic degree-2q polynomials
+including n^4+1. Neither claim enters as a theorem input: the large-prime
+estimate and sieve transfer are proved independently.
 ./browning-shparlinski-jnt-2024.pdf
 ./sfrefs/carella-2023.pdf
 
-For higher degrees Browning's theorem gives a direct consequence. Let f in Z[x] be irreducible over Q of degree d >= 4 and k=d-2. If f has no fixed prime kth-power divisor, then
+For higher degrees Browning's theorem gives a direct consequence. Let f in Z[x]
+be irreducible over Q of degree d >= 4 and k=d-2. If f has no fixed prime
+kth-power divisor, then
 S_(f,k)(X)=c_(f,k)X+o_f(X), c_(f,k)=prod_p (1-(rho_f(p^k))/(p^k) )>0.
-Indeed for 4 <= d <= 8 this is the density theorem for irreducible polynomials, and for d >= 9 one has d-2 >= (3d+1)/4, so Browning's theorem in Xiao's form applies to the primitive positive-leading part of f; removing sign and content preserves the density.
-
-A fixed-product consequence follows from factorwise estimates. A nonzero polynomial is separable over Q if each nonconstant irreducible factor occurs with multiplicity one. Fix k >= 2 and let F in Z[x] minus { 0 } be separable over Q with every nonconstant irreducible factor of degree at most k+2. If rho_F(p^k)<p^k for every prime p, then
+Indeed for 4 <= d <= 8 this is the density theorem for irreducible polynomials,
+and for d >= 9 one has d-2 >= (3d+1)/4, so Browning's theorem in Xiao's form
+applies to the primitive positive-leading part of f; removing sign and content
+preserves the density.
+
+A fixed-product consequence follows from factorwise estimates. A nonzero
+polynomial is separable over Q if each nonconstant irreducible factor occurs
+with multiplicity one. Fix k >= 2 and let F in Z[x] minus { 0 } be separable
+over Q with every nonconstant irreducible factor of degree at most k+2. If
+rho_F(p^k)<p^k for every prime p, then
 S_(F,k)(N)=c_(F,k)N+o_(F,k)(N), c_(F,k)=prod_p (1-(rho_F(p^k))/(p^k) )>0.
-More generally, let F=(F_1, ... ,F_r), r >= 1, be a fixed family of nonzero integer polynomials, each separable with all nonconstant irreducible factors of degree at most k+2, sharing factors allowed, and put Omega_p= { a in Z/p^kZ: p^k | F_i(a) for some i } . If # Omega_p<p^k for every prime p then
+More generally, let F=(F_1, ... ,F_r), r >= 1, be a fixed family of nonzero
+integer polynomials, each separable with all nonconstant irreducible factors of
+degree at most k+2, sharing factors allowed, and put Omega_p= { a in Z/p^kZ: p^k
+| F_i(a) for some i } . If # Omega_p<p^k for every prime p then
 S_(F,k)(N)=c_(F,k)N+o_(F,k)(N), c_(F,k)=prod_p (1-( # Omega_p)/(p^k) )>0,
-where S_(F,k)(N) counts 1 <= n <= N with every F_i(n) k-power-free. The single-polynomial form constrains the value of the whole product F; the family form constrains the F_i(n) separately and uses the joint condition Omega_p. All data are fixed; no uniform or power-saving error is claimed.
-
-The finite-prime part reduces to the Chinese remainder theorem. Outside a fixed finite set, separability and Hensel lifting give rho_f(p^k) <= d, so for fixed large Y the primes Y<p <= X remove at most O_f(XY^(1-k)+pi(X)) integers in (X,2X]. The hard part is the control of primes larger than the input interval. The central estimate is that, with k=d-2 and 4 <= d <= 8, there is delta=delta_f>0 with
+where S_(F,k)(N) counts 1 <= n <= N with every F_i(n) k-power-free. The
+single-polynomial form constrains the value of the whole product F; the family
+form constrains the F_i(n) separately and uses the joint condition Omega_p. All
+data are fixed; no uniform or power-saving error is claimed.
+
+The finite-prime part reduces to the Chinese remainder theorem. Outside a fixed
+finite set, separability and Hensel lifting give rho_f(p^k) <= d, so for fixed
+large Y the primes Y<p <= X remove at most O_f(XY^(1-k)+pi(X)) integers in
+(X,2X]. The hard part is the control of primes larger than the input interval.
+The central estimate is that, with k=d-2 and 4 <= d <= 8, there is
+delta=delta_f>0 with
 # { n in Z: X<n <= 2X, p^k | f(n) for some prime p>X } << _f X^(1-delta).
-The estimate does not require local admissibility. The sieve argument shows explicitly that it implies the density theorem, including sign and content generality, holding the finite cutoff fixed as X -> infinity and then letting the cutoff tend to infinity; this produces the exact Euler product without a power-saving error in the density asymptotic.
-
-Proof strategy. Fix a dyadic prime interval P <= p <= 2P and choose one qualifying prime for each counted input. Write P=X^eta and b=d-keta. The relation f(n)=yp^k places the triples (n,y,p) on the surface f(x)=yz^k with coordinate sizes X,X^b,X^eta; a weighted determinant argument on this surface suffices when eta is large.
-
-The remaining range uses the factorization of f. Let theta be a root of f and K=Q(theta). Ideal factorization and the unit theorem produce integral alpha,beta in K with
+The estimate does not require local admissibility. The sieve argument shows
+explicitly that it implies the density theorem, including sign and content
+generality, holding the finite cutoff fixed as X -> infinity and then letting
+the cutoff tend to infinity; this produces the exact Euler product without a
+power-saving error in the density asymptotic.
+
+Proof strategy. Fix a dyadic prime interval P <= p <= 2P and choose one
+qualifying prime for each counted input. Write P=X^eta and b=d-keta. The
+relation f(n)=yp^k places the triples (n,y,p) on the surface f(x)=yz^k with
+coordinate sizes X,X^b,X^eta; a weighted determinant argument on this surface
+suffices when eta is large.
+
+The remaining range uses the factorization of f. Let theta be a root of f and
+K=Q(theta). Ideal factorization and the unit theorem produce integral alpha,beta
+in K with
 alpha^kbeta=mu(n-theta)
-for a fixed nonzero integer mu, with conjugate sizes comparable to P^(1/d) and X^(b/d). Integer coordinates in a fixed integral basis give two boxes; the projective directions satisfy explicit polynomial equations, and near a balanced point, after choosing one of finitely many local branches, either direction determines the other analytically once 1/n is specified. The directions are partitioned into small paired boxes; an archimedean determinant yields a polynomial equation on each pair, and components defined by an equation in a single coordinate block receive a second cut. The distinction between a mixed equation and a pure equation matters, since the latter also reduces the independent Taylor monomials in the local determinant. Two further steps convert the cuts into counts: a reduced basis of the integer lattice of a direction box shrinks its points in new integral coordinates, while an exceptionally short lattice vector bounds the number of boxes in which it occurs; then the uniform affine counting theorem applies through lower bounds for weighted spaces of polynomial functions, its auxiliary varieties depending on earlier prime choices with a random deletion argument controlling bad reduction.
-
-In degree four the surfaces and curves need sharper geometry: on a surface the difficult projections have degree one or two; a quadric supplies an additional field degree; on a plane a deficient bound forces either a polynomial of degree at most four on a general line or a degree-two map on the line of directions with four distinct critical values; on a curve the limiting case is a degree-five polynomial with four prescribed critical values, and after normalizing two critical points only finitely many such polynomials occur, the integer values forming one set of size O_f(X^(1/5)) removed once before summing over boxes.
-
-Consider now the reduction from a large-prime tail to the exact density. The geometric argument estimates large prime-power divisors only for a primitive polynomial with positive leading coefficient, and the finite-prime conditions must still be imposed on the original polynomial because removing content changes the corresponding Euler factors. Let f in Z[x] be irreducible over Q of degree d >= 2 and k >= 2, with rho_f(p^k)<p^k for every prime p. Write f=scg with s in { -1,1 } , c in N the positive content, and g in Z[x] primitive with positive leading coefficient, and assume
+for a fixed nonzero integer mu, with conjugate sizes comparable to P^(1/d) and
+X^(b/d). Integer coordinates in a fixed integral basis give two boxes; the
+projective directions satisfy explicit polynomial equations, and near a balanced
+point, after choosing one of finitely many local branches, either direction
+determines the other analytically once 1/n is specified. The directions are
+partitioned into small paired boxes; an archimedean determinant yields a
+polynomial equation on each pair, and components defined by an equation in a
+single coordinate block receive a second cut. The distinction between a mixed
+equation and a pure equation matters, since the latter also reduces the
+independent Taylor monomials in the local determinant. Two further steps convert
+the cuts into counts: a reduced basis of the integer lattice of a direction box
+shrinks its points in new integral coordinates, while an exceptionally short
+lattice vector bounds the number of boxes in which it occurs; then the uniform
+affine counting theorem applies through lower bounds for weighted spaces of
+polynomial functions, its auxiliary varieties depending on earlier prime choices
+with a random deletion argument controlling bad reduction.
+
+In degree four the surfaces and curves need sharper geometry: on a surface the
+difficult projections have degree one or two; a quadric supplies an additional
+field degree; on a plane a deficient bound forces either a polynomial of degree
+at most four on a general line or a degree-two map on the line of directions
+with four distinct critical values; on a curve the limiting case is a
+degree-five polynomial with four prescribed critical values, and after
+normalizing two critical points only finitely many such polynomials occur, the
+integer values forming one set of size O_f(X^(1/5)) removed once before summing
+over boxes.
+
+Consider now the reduction from a large-prime tail to the exact density. The
+geometric argument estimates large prime-power divisors only for a primitive
+polynomial with positive leading coefficient, and the finite-prime conditions
+must still be imposed on the original polynomial because removing content
+changes the corresponding Euler factors. Let f in Z[x] be irreducible over Q of
+degree d >= 2 and k >= 2, with rho_f(p^k)<p^k for every prime p. Write f=scg
+with s in { -1,1 } , c in N the positive content, and g in Z[x] primitive with
+positive leading coefficient, and assume
 T_g(X):= # { n in Z: X<n <= 2X, p^k | g(n) for some prime p>X } =o_(g,k)(X).
 Then S_(f,k)(N)=c_(f,k)N+o_(f,k)(N) with c_(f,k)=prod_p(1-rho_f(p^k)/p^k)>0.
 
-The proof normalizes and treats the local factors. Multiplication by s does not affect divisibility; g is irreducible and inherits local admissibility; neither polynomial has an integer root since d >= 2, so no counted value is zero. For a prime p | c put e=v_p(c). Local admissibility forces e<k and
+The proof normalizes and treats the local factors. Multiplication by s does not
+affect divisibility; g is irreducible and inherits local admissibility; neither
+polynomial has an integer root since d >= 2, so no counted value is zero. For a
+prime p | c put e=v_p(c). Local admissibility forces e<k and
 rho_f(p^k)=p^erho_g(p^(k-e)), 1-(rho_f(p^k))/(p^k)=1-(rho_g(p^(k-e)))/(p^(k-e)),
-because p^k | f(a) is equivalent to p^(k-e) | g(a) and each class modulo p^(k-e) has exactly p^e lifts modulo p^k; for p !| c the root counts agree. Let B contain the prime divisors of c, the leading coefficient of g and the discriminant of g. For p notin B the reduction of g has degree d and simple roots, and each root modulo p^j lifts uniquely to p^(j+1) because
+because p^k | f(a) is equivalent to p^(k-e) | g(a) and each class modulo p^(k-e)
+has exactly p^e lifts modulo p^k; for p !| c the root counts agree. Let B
+contain the prime divisors of c, the leading coefficient of g and the
+discriminant of g. For p notin B the reduction of g has degree d and simple
+roots, and each root modulo p^j lifts uniquely to p^(j+1) because
 g(a+p^j u) = g(a)+p^j u g'(a) mod {p^(j+1)}
-determines u modulo p when g'(a) is invertible. Hence rho_f(p^k)=rho_g(p^k)=rho_g(p) <= d for p notin B. With q_p=rho_f(p^k)/p^k<1 one has sum_p q_p<infinity since k >= 2, and for large p, q_p <= 1/2 and -2q_p <= log(1-q_p) <= -q_p, so the product converges to a strictly positive number with the finitely many bad-prime factors retained exactly.
-
-The finite sieve and the intermediate primes proceed as follows. Fix Y >= 2 beyond B and set Q_Y=prod_(p <= Y)p^k and c_Y=prod_(p <= Y)(1-rho_f(p^k)/p^k). Let A_Y(X) count n in (X,2X] with p^k !| f(n) for all p <= Y. The Chinese remainder theorem gives exactly Q_Yc_Y permitted classes modulo Q_Y, so
+determines u modulo p when g'(a) is invertible. Hence
+rho_f(p^k)=rho_g(p^k)=rho_g(p) <= d for p notin B. With q_p=rho_f(p^k)/p^k<1 one
+has sum_p q_p<infinity since k >= 2, and for large p, q_p <= 1/2 and -2q_p <=
+log(1-q_p) <= -q_p, so the product converges to a strictly positive number with
+the finitely many bad-prime factors retained exactly.
+
+The finite sieve and the intermediate primes proceed as follows. Fix Y >= 2
+beyond B and set Q_Y=prod_(p <= Y)p^k and c_Y=prod_(p <= Y)(1-rho_f(p^k)/p^k).
+Let A_Y(X) count n in (X,2X] with p^k !| f(n) for all p <= Y. The Chinese
+remainder theorem gives exactly Q_Yc_Y permitted classes modulo Q_Y, so
 A_Y(X)=c_YX+O(Q_Y),
-with Y fixed as X -> infinity. Let A(X) count all k-power-free values in (X,2X]. For X>Y the integers removed by primes Y<p <= X number at most
-I_Y(X) <= sum_(Y<p <= X)rho_f(p^k) ((X)/(p^k)+1 ) <= dXsum_(m>Y)m^(-k)+dpi(X) <= (d)/(k-1)XY^(1-k)+dpi(X),
-using pi(X) << X/log X. For large X the remaining exceptional set is counted by T_g(X), so
+with Y fixed as X -> infinity. Let A(X) count all k-power-free values in (X,2X].
+For X>Y the integers removed by primes Y<p <= X number at most
+I_Y(X) <= sum_(Y<p <= X)rho_f(p^k) ((X)/(p^k)+1 ) <= dXsum_(m>Y)m^(-k)+dpi(X) <=
+(d)/(k-1)XY^(1-k)+dpi(X),
+using pi(X) << X/log X. For large X the remaining exceptional set is counted by
+T_g(X), so
 0 <= A_Y(X)-A(X) <= I_Y(X)+T_g(X).
-Dividing by X and first letting X -> infinity with Y fixed, the tail hypothesis gives
-c_Y-(d)/(k-1)Y^(1-k) <= liminf_(X -> infinity)(A(X))/(X) <= limsup_(X -> infinity)(A(X))/(X) <= c_Y.
+Dividing by X and first letting X -> infinity with Y fixed, the tail hypothesis
+gives
+c_Y-(d)/(k-1)Y^(1-k) <= liminf_(X -> infinity)(A(X))/(X) <= limsup_(X ->
+infinity)(A(X))/(X) <= c_Y.
 Letting Y -> infinity and using c_Y -> c_(f,k) yields A(X)=c_(f,k)X+o_(f,k)(X).
 
-To pass from dyadic intervals to positive inputs, fix J >= 1 and apply this to the disjoint intervals (N/2^(j+1),N/2^j] for 0 <= j<J. For fixed J the total count is c_(f,k)N(1-2^(-J))+o_(f,k,J)(N) and [1,N/2^J] contains at most N/2^J integers, so
-c_(f,k)(1-2^(-J)) <= liminf_(N -> infinity)(S_(f,k)(N))/(N) <= limsup_(N -> infinity)(S_(f,k)(N))/(N) <= c_(f,k)(1-2^(-J))+2^(-J),
+To pass from dyadic intervals to positive inputs, fix J >= 1 and apply this to
+the disjoint intervals (N/2^(j+1),N/2^j] for 0 <= j<J. For fixed J the total
+count is c_(f,k)N(1-2^(-J))+o_(f,k,J)(N) and [1,N/2^J] contains at most N/2^J
+integers, so
+c_(f,k)(1-2^(-J)) <= liminf_(N -> infinity)(S_(f,k)(N))/(N) <= limsup_(N ->
+infinity)(S_(f,k)(N))/(N) <= c_(f,k)(1-2^(-J))+2^(-J),
 and letting J -> infinity finishes.
 
-A large-prime bound survives any fixed finite congruence restriction on n, since the restricted exceptional set is a subset of the unrestricted one; in the finite sieve those restrictions combine with the conditions modulo p^k using the least common multiple, with no independence needed, and the exact content-prime conditions can be retained while using the large-prime bound for the primitive polynomial.
-
-The same normalization works when a density theorem for the primitive polynomial is already available, without a separate estimate in arithmetic progressions. Let f be irreducible of degree at least two and k >= 2 with rho_f(p^k)<p^k, write f=scg with s= +-1, c the positive content, g primitive with positive leading coefficient, and suppose S_(g,k)(N)=c_(g,k)N+o_(g,k)(N) with c_(g,k)=prod_p(1-rho_g(p^k)/p^k). Then S_(f,k)(N)=c_(f,k)N+o_(f,k)(N) with the positive Euler product of the transfer proposition. The normalization and product-convergence arguments do not use the tail hypothesis, so both products converge and their factors are tied by the local-factor identities. Fix Y beyond every prime divisor of c; for h=f,g let B_(h,Y)(N) count 1 <= n <= N avoiding p^k | h(n) for all p <= Y, and put c_(h,Y)=prod_(p <= Y)(1-rho_h(p^k)/p^k). The finite count gives B_(h,Y)(N)=c_(h,Y)N+O(Q_Y) with Q_Y=prod_(p <= Y)p^k. An input in B_(f,Y)(N)-S_(f,k)(N) avoids the small-prime conditions for f but has a divisor p^k with p>Y; it also avoids such primes for g, and p !| c gives p^k | g(n), so
+A large-prime bound survives any fixed finite congruence restriction on n, since
+the restricted exceptional set is a subset of the unrestricted one; in the
+finite sieve those restrictions combine with the conditions modulo p^k using the
+least common multiple, with no independence needed, and the exact content-prime
+conditions can be retained while using the large-prime bound for the primitive
+polynomial.
+
+The same normalization works when a density theorem for the primitive polynomial
+is already available, without a separate estimate in arithmetic progressions.
+Let f be irreducible of degree at least two and k >= 2 with rho_f(p^k)<p^k,
+write f=scg with s= +-1, c the positive content, g primitive with positive
+leading coefficient, and suppose S_(g,k)(N)=c_(g,k)N+o_(g,k)(N) with
+c_(g,k)=prod_p(1-rho_g(p^k)/p^k). Then S_(f,k)(N)=c_(f,k)N+o_(f,k)(N) with the
+positive Euler product of the transfer proposition. The normalization and
+product-convergence arguments do not use the tail hypothesis, so both products
+converge and their factors are tied by the local-factor identities. Fix Y beyond
+every prime divisor of c; for h=f,g let B_(h,Y)(N) count 1 <= n <= N avoiding
+p^k | h(n) for all p <= Y, and put c_(h,Y)=prod_(p <= Y)(1-rho_h(p^k)/p^k). The
+finite count gives B_(h,Y)(N)=c_(h,Y)N+O(Q_Y) with Q_Y=prod_(p <= Y)p^k. An
+input in B_(f,Y)(N)-S_(f,k)(N) avoids the small-prime conditions for f but has a
+divisor p^k with p>Y; it also avoids such primes for g, and p !| c gives p^k |
+g(n), so
 0 <= B_(f,Y)(N)-S_(f,k)(N) <= B_(g,Y)(N)-S_(g,k)(N).
-Dividing by N and letting N -> infinity at fixed Y, the assumed density of g gives
-c_(f,Y)-(c_(g,Y)-c_(g,k)) <= liminf_(N -> infinity)(S_(f,k)(N))/(N) <= limsup_(N -> infinity)(S_(f,k)(N))/(N) <= c_(f,Y),
+Dividing by N and letting N -> infinity at fixed Y, the assumed density of g
+gives
+c_(f,Y)-(c_(g,Y)-c_(g,k)) <= liminf_(N -> infinity)(S_(f,k)(N))/(N) <= limsup_(N
+-> infinity)(S_(f,k)(N))/(N) <= c_(f,Y),
 and letting Y -> infinity proves the claim.
 
-The separable-product corollary follows by the same bookkeeping. Write F_i=c_iprod_(g in G_i)g with c_i in Z minus { 0 } and G_i a set of distinct primitive irreducible polynomials with positive leading coefficients, and let G=_iG_i so shared factors appear once. The joint local condition implies local admissibility of each F_i and of every g in G.
-
-For a factor of degree d <= k+2 let T_(g,k)(X) count X<n <= 2X with p^k | g(n) for some prime p>X, and record T_(g,k)(X)=o_(g,k)(X).
-
-For d <= k, omitting finitely many integer roots and using |g(n)| << _g X^d: if d<k the tail is empty, and if d=k only primes X<p <= C_gX occur, each with at most d roots modulo p^k, an interval of length X<p^k holding at most one representative per root, so T_(g,k)(X) << _gpi(C_gX)=o_g(X). If d=k+1, the unweighted triple estimates of Reuss give o_g(X) triples with X<n <= 2X, a>X^(1-delta), mu^2(a)=1, a^(d-1)b=g(n), for some fixed delta>0; the values g(n) are positive for large X, so a=p and b=g(n)/p^k include every input counted by T_(g,k)(X). If d=k+2 <= 8 the large-prime proposition applies. Finally, if d=k+2 >= 9, then k=d-2 >= (3d+1)/4 and k/d>3/4; Xiao's estimate is E_B(B^(1-delta))=o_g(B) for some fixed delta>0, where
+The separable-product corollary follows by the same bookkeeping. Write
+F_i=c_iprod_(g in G_i)g with c_i in Z minus { 0 } and G_i a set of distinct
+primitive irreducible polynomials with positive leading coefficients, and let
+G=_iG_i so shared factors appear once. The joint local condition implies local
+admissibility of each F_i and of every g in G.
+
+For a factor of degree d <= k+2 let T_(g,k)(X) count X<n <= 2X with p^k | g(n)
+for some prime p>X, and record T_(g,k)(X)=o_(g,k)(X).
+
+For d <= k, omitting finitely many integer roots and using |g(n)| << _g X^d: if
+d<k the tail is empty, and if d=k only primes X<p <= C_gX occur, each with at
+most d roots modulo p^k, an interval of length X<p^k holding at most one
+representative per root, so T_(g,k)(X) << _gpi(C_gX)=o_g(X). If d=k+1, the
+unweighted triple estimates of Reuss give o_g(X) triples with X<n <= 2X,
+a>X^(1-delta), mu^2(a)=1, a^(d-1)b=g(n), for some fixed delta>0; the values g(n)
+are positive for large X, so a=p and b=g(n)/p^k include every input counted by
+T_(g,k)(X). If d=k+2 <= 8 the large-prime proposition applies. Finally, if d=k+2
+>= 9, then k=d-2 >= (3d+1)/4 and k/d>3/4; Xiao's estimate is
+E_B(B^(1-delta))=o_g(B) for some fixed delta>0, where
 E_B(xi)= # { 1 <= n <= B: b^k | g(n) for some squarefree integer b>xi } ,
-and taking B=2X the event p>X>(2X)^(1-delta) places the tail inside this exceptional set.
-
-Let B contain the prime divisors of the c_i, the leading coefficients and discriminants of the g in G, and the resultants of distinct pairs in G; this set is finite. For p notin B, no two distinct factors vanish at the same residue modulo p and the roots are simple, so
-p^k | F_i(n) <-> p^k | g(n) for some g in G_i, # Omega_p <= sum_(g in G)rho_g(p^k)=sum_(g in G)rho_g(p) <= D,
-with D=sum_(g in G)deg g. Once X exceeds all primes in B the family's large-prime exceptional set lies in the union of the sets counted by the T_(g,k)(X) and so has size o_(F,k)(X). For fixed Y beyond B the Chinese remainder theorem leaves exactly
+and taking B=2X the event p>X>(2X)^(1-delta) places the tail inside this
+exceptional set.
+
+Let B contain the prime divisors of the c_i, the leading coefficients and
+discriminants of the g in G, and the resultants of distinct pairs in G; this set
+is finite. For p notin B, no two distinct factors vanish at the same residue
+modulo p and the roots are simple, so
+p^k | F_i(n) <-> p^k | g(n) for some g in G_i, # Omega_p <= sum_(g in
+G)rho_g(p^k)=sum_(g in G)rho_g(p) <= D,
+with D=sum_(g in G)deg g. Once X exceeds all primes in B the family's
+large-prime exceptional set lies in the union of the sets counted by the
+T_(g,k)(X) and so has size o_(F,k)(X). For fixed Y beyond B the Chinese
+remainder theorem leaves exactly
 Q_Yprod_(p <= Y) (1-( # Omega_p)/(p^k) ) classes modulo Q_Y=prod_(p <= Y)p^k,
-the intermediate-prime estimate holds with D in place of d, and taking the two limits gives the density on positive inputs. The product is positive since its local factors are and sum_p # Omega_p/p^k<infinity. At primes in B the whole set Omega_p is retained, so valuations from different factors of one F_i are not separated there. Taking r=1 gives the first assertion with # Omega_p=rho_F(p^k); empty products cover nonzero constants and the finitely many integer zeros of nonconstant polynomials do not affect the asymptotic.
-
-The geometric arguments place the counted points on varieties whose equations vary with the box, so a counting theorem uniform for moving varieties is needed. Its input is a lower bound for independent monomials on each subvariety; its proof successively cuts residue classes by polynomial equations, with a deletion argument controlling the primes at which the newly built equations have singular reduction. The local prime-adic determinant principle is Heath-Brown's, the ordered local Hilbert and divisibility estimates are Salberger's, and simultaneous prime conditions appear in Salberger's later work; the patch construction and deletion estimate handle the dependence on earlier prime choices.
+the intermediate-prime estimate holds with D in place of d, and taking the two
+limits gives the density on positive inputs. The product is positive since its
+local factors are and sum_p # Omega_p/p^k<infinity. At primes in B the whole set
+Omega_p is retained, so valuations from different factors of one F_i are not
+separated there. Taking r=1 gives the first assertion with # Omega_p=rho_F(p^k);
+empty products cover nonzero constants and the finitely many integer zeros of
+nonconstant polynomials do not affect the asymptotic.
+
+The geometric arguments place the counted points on varieties whose equations
+vary with the box, so a counting theorem uniform for moving varieties is needed.
+Its input is a lower bound for independent monomials on each subvariety; its
+proof successively cuts residue classes by polynomial equations, with a deletion
+argument controlling the primes at which the newly built equations have singular
+reduction. The local prime-adic determinant principle is Heath-Brown's, the
+ordered local Hilbert and divisibility estimates are Salberger's, and
+simultaneous prime conditions appear in Salberger's later work; the patch
+construction and deletion estimate handle the dependence on earlier prime
+choices.
 ./sfrefs/heathbrown-2002-density.pdf
 ./sfrefs/salberger-2007.pdf
 
-Throughout, degree means the ordinary degree of the projective closure, summed over irreducible components for a reducible set; irreducibility is over C; Bezout bounds are used for intersections and linear projections in fixed ambient dimension. Fix positive weights omega_1, ... ,omega_N and let the weight of a monomial z^alpha be omega * alpha. For an affine algebraic set A subseteq C^N put
+Throughout, degree means the ordinary degree of the projective closure, summed
+over irreducible components for a reducible set; irreducibility is over C;
+Bezout bounds are used for intersections and linear projections in fixed ambient
+dimension. Fix positive weights omega_1, ... ,omega_N and let the weight of a
+monomial z^alpha be omega * alpha. For an affine algebraic set A subseteq C^N
+put
 H_A(T)=dim_(C)span { z^alpha|_A: omega * alpha <= T } ,
-the supply of independent polynomial functions whose weighted size is at most a constant times X^T.
-
-Theorem. Fix integers 1 <= r <= N, a degree bound e_0, a constant C, positive weights omega_l, and positive reals delta_1, ... ,delta_r. For X >= 2 let S subseteq Z^N satisfy |z_l| <= CX^(omega_l) and lie on an algebraic set Z of degree at most e_0 and dimension at most r. Suppose that for every fixed degree bound e, every irreducible Q-defined subvariety A subseteq Z of degree at most e and dimension h>0 meeting S satisfies either
+the supply of independent polynomial functions whose weighted size is at most a
+constant times X^T.
+
+Theorem. Fix integers 1 <= r <= N, a degree bound e_0, a constant C, positive
+weights omega_l, and positive reals delta_1, ... ,delta_r. For X >= 2 let S
+subseteq Z^N satisfy |z_l| <= CX^(omega_l) and lie on an algebraic set Z of
+degree at most e_0 and dimension at most r. Suppose that for every fixed degree
+bound e, every irreducible Q-defined subvariety A subseteq Z of degree at most e
+and dimension h>0 meeting S satisfies either
 |S intersect A| << _(e,alpha)X^alpha for every fixed alpha>0,
 or
 H_A(T) >= (T^h)/(h!delta_h^h)-C_eT^(h-1) (T >= 1),
-with constants uniform in X,Z,S,A. Put E_h=max_(h <= s <= r)delta_s. Then for every epsilon>0,
+with constants uniform in X,Z,S,A. Put E_h=max_(h <= s <= r)delta_s. Then for
+every epsilon>0,
 |S| << _epsilon X^(E_1+ ... +E_r+epsilon),
-the constant depending only on the fixed data and the uniform constants in the hypotheses, with no bound required on the coefficients initially defining Z.
-
-The weights are fixed in the statement; uniformity over a family follows when the positive lower and upper bounds and the Hilbert constants are uniform. Empty sets are trivial and zero-dimensional sets have at most as many points as the degree bound, so 1 <= r <= N and S != (empty set) may be assumed.
-
-A patch is a triple (A,G,Delta) where A is an irreducible Q-defined variety of dimension h, the list G consists of N-h integer polynomials vanishing on A, and Delta is a square Jacobian minor in N-h chosen coordinate columns; it covers the points of A at which Delta != 0. For h=N the list is empty and Delta=1. A patch need not give A globally as a complete intersection; its equations are local coordinates where the minor is nonzero. For every algebraic set Z' subseteq C^N of degree at most e there is a list of boundedly many patches (A,G,Delta) with A subseteq Z' covering S intersect Z', with bounded degrees, all coefficients of G and Delta bounded by C'X^(C'), and, at a covered point z, Delta(z) a nonzero integer of absolute value at most C''X^(C''), the bounds depending only on e,N,C and the weights. The construction can be fixed as a function of Z' and S alone.
-
-The patch lemma follows by splitting Z' into components and descending to rational equations. If a component A is not defined over Q, some automorphism sigma of C over Q has sigma(A) != A, and every rational point of A lies in A intersect sigma(A), a proper bounded-degree intersection, so one replaces A by the components there and recurses in smaller dimension.
-
-For the descent: if every such sigma fixed A, each finite-dimensional space of equations of degree at most e' would be preserved; the reduced row-echelon basis in ordered monomials is unique, so the coefficients are fixed by all sigma and hence rational; the fixed field is Q, since a nonrational algebraic number has a conjugate and a transcendental number can be moved by translation in a transcendence basis. For A defined over Q of dimension h and degree e', the equations of ordinary degree at most e' in its ideal have generic Jacobian rank N-h: choose h coordinate functions algebraically independent in C(A), project onto these and in turn each remaining coordinate, each image closure being an irreducible hypersurface of degree at most e' whose equation has nonzero derivative in the extra coordinate by separability in characteristic zero, and lift these equations to a diagonal generically nonzero minor.
-
-Evaluating all monomials of degree at most e' on S intersect A gives an integer matrix of bounded column count and entries bounded by a fixed power of X; its nullspace W has an integer spanning set of polynomial height by choosing independent rows and pivot columns, solving by cofactors, and clearing the pivot determinant. Comparing its complexification with the degree-e' part of the ideal: if the containment is strict, one bounded-height spanning polynomial does not vanish on A but vanishes on S intersect A, so one intersects and recurses; if equality holds, the spanning equations give the generic Jacobian rank, and choosing N-h of these polynomials with a nonzero minor gives a patch, recursing on Delta=0 for the rest. A rational zero-dimensional component through z in S is the point z, with equations z_l'-z_l and minor 1. Every recursive intersection is proper with Bezout-bounded degree, dimension decreases, and the list and heights are controlled; fixing the choices once as functions of Z', its degree allowance and S makes equal inputs give identical data.
-
-For h >= 1 let s_h(L) be the sum of the first L total degrees of monomials in h variables, ordered by degree and counted with multiplicity; counting lattice points in a simplex gives s_h(L)=(h)/(h+1)(h!)^(1/h)L^(1+1/h)+O_h(L). Fix nu>0 and a degree bound for a patch with h=dim A>0 satisfying the Hilbert alternative. Let z in S intersect A be covered by the patch and Q a set of distinct primes with q !| Delta(z) and prod_(q in Q)q >= X^(delta_h+nu). For large X the points of S intersect A congruent to z modulo these primes lie on a bounded-degree polynomial not vanishing identically on A, uniformly in the patch and primes with dependence on nu and the data; extra congruence conditions may be imposed.
-
-The proof fixes q !| Delta(z), translates to z with the h free columns as coordinates, and solves G=0 as power series in the free differences over Z_q by the invertible Jacobian, Hensel giving every nearby solution uniquely; hence each coordinate monomial has an integral expansion. An L-by-L determinant of monomial values there has q-adic valuation at least s_h(L): expanding in free-difference monomials, a repeated expansion monomial gives zero and the differences lie in qZ_q, the least total degree of L distinct expansion monomials being s_h(L).
-
-On the other hand the Hilbert bound permits independent monomials with the j-th of weight at most delta_h(h!j)^(1/h)+O(1) (substitute T=delta_h(h!j)^(1/h)+C_1), whose first L have total weight at most delta_h s_h(L)+O(L) by s_h, so the evaluation determinant has absolute value at most C_LX^(delta_h s_h(L)+C_2L) and is an integer divisible by (prod_(q in Q)q)^(s_h(L)). Choosing L with nu s_h(L)>C_2L and then X large forces every such determinant to vanish, giving deficient rank on the class, and a nonzero rational linear combination vanishing on the class but not on A has bounded degree.
-
-The patch itself may depend on earlier primes, so the entire finite sequence of evaluation ranks is recorded. Fix small gamma>0 and set h_i=r+1-i. Choose degree limits D_i so that step i is enough for the residue-cut lemma in parent dimension h_i with nu=gamma/2, inductively; intersecting with the common zero set of a degree-D_i polynomial space and applying the patch lemma gives degree bounds determined by the parent and D_i even when dimension does not drop, covering every path of length r. Let B_1, ... ,B_r be disjoint finite prime blocks and Q_i=prod_(j <= i)prod_(q in B_j)q. For z in S define a path: take the first patch (A_0,G_0,Delta_0) of Z covering z; given the parent patch at step i, let
-K_i= { F in Q[z_1, ... ,z_N]_( <= D_i): F(z')=0 for all z' in S intersect A_(i-1), z' = z mod {Q_i} } ,
-record its codimension rho_i, and take the first patch (A_i,G_i,Delta_i) covering z in A_(i-1) intersect V(K_i); all Delta_i(z) are nonzero integers of uniformly polynomial size. Adding a prime to one block makes (rho_1, ... ,rho_r) lexicographically nonincreasing, and until the first change the parent patches agree because the new residue class is a subset and equal codimensions make the nested kernels equal, the first change only decreasing; equality of the full vectors forces equality of all kernels and patches. Encoding R=sum_(i=1)^rrho_iprod_(j>i)(M_j+1) with M_i=binom(N+D_i,N) and 0 <= R<B_0=prod_i(M_i+1) gives a nonincreasing integer, unchanged only when the evaluated minors agree along the whole path.
-
-Deletion estimate. Fix z in S, all blocks but the i-th, and a prime pool P_i disjoint from those blocks with primes in [X^zeta,C_rX^zeta], zeta>0 fixed and |P_i| -> infinity. Choose t uniformly among T_0 consecutive integers ell, ... ,ell+T_0-1 fixed independently of X, then B_i uniformly among the t-subsets of the pool. The expected fraction of primes in B_i dividing at least one of Delta_0(z), ... ,Delta_r(z) is at most B_0/T_0+o(1), uniformly in z and the other blocks. Deleting a uniformly chosen prime q and writing F(t) for the expected record of a uniform t-subset, the expected increase F(t-1)-F(t) is a nonnegative integer at least one whenever the record changes, so averaging over consecutive sizes gives
+the constant depending only on the fixed data and the uniform constants in the
+hypotheses, with no bound required on the coefficients initially defining Z.
+
+The weights are fixed in the statement; uniformity over a family follows when
+the positive lower and upper bounds and the Hilbert constants are uniform. Empty
+sets are trivial and zero-dimensional sets have at most as many points as the
+degree bound, so 1 <= r <= N and S != (empty set) may be assumed.
+
+A patch is a triple (A,G,Delta) where A is an irreducible Q-defined variety of
+dimension h, the list G consists of N-h integer polynomials vanishing on A, and
+Delta is a square Jacobian minor in N-h chosen coordinate columns; it covers the
+points of A at which Delta != 0. For h=N the list is empty and Delta=1. A patch
+need not give A globally as a complete intersection; its equations are local
+coordinates where the minor is nonzero. For every algebraic set Z' subseteq C^N
+of degree at most e there is a list of boundedly many patches (A,G,Delta) with A
+subseteq Z' covering S intersect Z', with bounded degrees, all coefficients of G
+and Delta bounded by C'X^(C'), and, at a covered point z, Delta(z) a nonzero
+integer of absolute value at most C''X^(C''), the bounds depending only on e,N,C
+and the weights. The construction can be fixed as a function of Z' and S alone.
+
+The patch lemma follows by splitting Z' into components and descending to
+rational equations. If a component A is not defined over Q, some automorphism
+sigma of C over Q has sigma(A) != A, and every rational point of A lies in A
+intersect sigma(A), a proper bounded-degree intersection, so one replaces A by
+the components there and recurses in smaller dimension.
+
+For the descent: if every such sigma fixed A, each finite-dimensional space of
+equations of degree at most e' would be preserved; the reduced row-echelon basis
+in ordered monomials is unique, so the coefficients are fixed by all sigma and
+hence rational; the fixed field is Q, since a nonrational algebraic number has a
+conjugate and a transcendental number can be moved by translation in a
+transcendence basis. For A defined over Q of dimension h and degree e', the
+equations of ordinary degree at most e' in its ideal have generic Jacobian rank
+N-h: choose h coordinate functions algebraically independent in C(A), project
+onto these and in turn each remaining coordinate, each image closure being an
+irreducible hypersurface of degree at most e' whose equation has nonzero
+derivative in the extra coordinate by separability in characteristic zero, and
+lift these equations to a diagonal generically nonzero minor.
+
+Evaluating all monomials of degree at most e' on S intersect A gives an integer
+matrix of bounded column count and entries bounded by a fixed power of X; its
+nullspace W has an integer spanning set of polynomial height by choosing
+independent rows and pivot columns, solving by cofactors, and clearing the pivot
+determinant. Comparing its complexification with the degree-e' part of the
+ideal: if the containment is strict, one bounded-height spanning polynomial does
+not vanish on A but vanishes on S intersect A, so one intersects and recurses;
+if equality holds, the spanning equations give the generic Jacobian rank, and
+choosing N-h of these polynomials with a nonzero minor gives a patch, recursing
+on Delta=0 for the rest. A rational zero-dimensional component through z in S is
+the point z, with equations z_l'-z_l and minor 1. Every recursive intersection
+is proper with Bezout-bounded degree, dimension decreases, and the list and
+heights are controlled; fixing the choices once as functions of Z', its degree
+allowance and S makes equal inputs give identical data.
+
+For h >= 1 let s_h(L) be the sum of the first L total degrees of monomials in h
+variables, ordered by degree and counted with multiplicity; counting lattice
+points in a simplex gives s_h(L)=(h)/(h+1)(h!)^(1/h)L^(1+1/h)+O_h(L). Fix nu>0
+and a degree bound for a patch with h=dim A>0 satisfying the Hilbert
+alternative. Let z in S intersect A be covered by the patch and Q a set of
+distinct primes with q !| Delta(z) and prod_(q in Q)q >= X^(delta_h+nu). For
+large X the points of S intersect A congruent to z modulo these primes lie on a
+bounded-degree polynomial not vanishing identically on A, uniformly in the patch
+and primes with dependence on nu and the data; extra congruence conditions may
+be imposed.
+
+The proof fixes q !| Delta(z), translates to z with the h free columns as
+coordinates, and solves G=0 as power series in the free differences over Z_q by
+the invertible Jacobian, Hensel giving every nearby solution uniquely; hence
+each coordinate monomial has an integral expansion. An L-by-L determinant of
+monomial values there has q-adic valuation at least s_h(L): expanding in
+free-difference monomials, a repeated expansion monomial gives zero and the
+differences lie in qZ_q, the least total degree of L distinct expansion
+monomials being s_h(L).
+
+On the other hand the Hilbert bound permits independent monomials with the j-th
+of weight at most delta_h(h!j)^(1/h)+O(1) (substitute T=delta_h(h!j)^(1/h)+C_1),
+whose first L have total weight at most delta_h s_h(L)+O(L) by s_h, so the
+evaluation determinant has absolute value at most C_LX^(delta_h s_h(L)+C_2L) and
+is an integer divisible by (prod_(q in Q)q)^(s_h(L)). Choosing L with nu
+s_h(L)>C_2L and then X large forces every such determinant to vanish, giving
+deficient rank on the class, and a nonzero rational linear combination vanishing
+on the class but not on A has bounded degree.
+
+The patch itself may depend on earlier primes, so the entire finite sequence of
+evaluation ranks is recorded. Fix small gamma>0 and set h_i=r+1-i. Choose degree
+limits D_i so that step i is enough for the residue-cut lemma in parent
+dimension h_i with nu=gamma/2, inductively; intersecting with the common zero
+set of a degree-D_i polynomial space and applying the patch lemma gives degree
+bounds determined by the parent and D_i even when dimension does not drop,
+covering every path of length r. Let B_1, ... ,B_r be disjoint finite prime
+blocks and Q_i=prod_(j <= i)prod_(q in B_j)q. For z in S define a path: take the
+first patch (A_0,G_0,Delta_0) of Z covering z; given the parent patch at step i,
+let
+K_i= { F in Q[z_1, ... ,z_N]_( <= D_i): F(z')=0 for all z' in S intersect
+A_(i-1), z' = z mod {Q_i} } ,
+record its codimension rho_i, and take the first patch (A_i,G_i,Delta_i)
+covering z in A_(i-1) intersect V(K_i); all Delta_i(z) are nonzero integers of
+uniformly polynomial size. Adding a prime to one block makes (rho_1, ... ,rho_r)
+lexicographically nonincreasing, and until the first change the parent patches
+agree because the new residue class is a subset and equal codimensions make the
+nested kernels equal, the first change only decreasing; equality of the full
+vectors forces equality of all kernels and patches. Encoding
+R=sum_(i=1)^rrho_iprod_(j>i)(M_j+1) with M_i=binom(N+D_i,N) and 0 <=
+R<B_0=prod_i(M_i+1) gives a nonincreasing integer, unchanged only when the
+evaluated minors agree along the whole path.
+
+Deletion estimate. Fix z in S, all blocks but the i-th, and a prime pool P_i
+disjoint from those blocks with primes in [X^zeta,C_rX^zeta], zeta>0 fixed and
+|P_i| -> infinity. Choose t uniformly among T_0 consecutive integers ell, ...
+,ell+T_0-1 fixed independently of X, then B_i uniformly among the t-subsets of
+the pool. The expected fraction of primes in B_i dividing at least one of
+Delta_0(z), ... ,Delta_r(z) is at most B_0/T_0+o(1), uniformly in z and the
+other blocks. Deleting a uniformly chosen prime q and writing F(t) for the
+expected record of a uniform t-subset, the expected increase F(t-1)-F(t) is a
+nonnegative integer at least one whenever the record changes, so averaging over
+consecutive sizes gives
 P(record changes) <= (F(ell-1)-F(ell+T_0-1))/(T_0) <= (B_0)/(T_0).
-Conditioning on the deleted subset and other blocks, the deleted-path minors are fixed nonzero integers of polynomial size whose product has only O(1/zeta) prime divisors at least X^zeta, and the removed prime is uniform in the complement of the deleted subset, so its conditional probability of dividing that product is o(1). If the record is unchanged the full and deleted paths have identical minors, so
-{ q divides a full-path minor } subseteq { record changes } union { q divides a deleted-path minor } ,
-whose probability is at most the stated bound plus o(1), and sampling q from the full block gives the assertion.
-
-To choose blocks for which at least half of S has enough good primes at every stage, allocate the nondecreasing cumulative exponents E_r, ... ,E_1 (with E_h=max_(h <= s <= r)delta_s and E_(r+1)=0) and put a_i=E_(h_i)-E_(h_i+1) >= 0. Choose small xi>0 with xi(E_1+rgamma)<gamma/2, take T_0 large in terms of r,B_0,xi, then zeta>0 with zeta(T_0+1) <= gamma, and use disjoint prime pools of cardinality tending to infinity all in [X^zeta,C_rX^zeta] (possible by Chebyshev after partitioning into r comparable pools). Choose the blocks independently with block i sampled as in the deletion estimate, starting its size interval at ell_i= ceil((a_i+gamma)/zeta), so every allowed size satisfies a_i+gamma <= zeta t_i <= a_i+2gamma.
-
-Call z regular if in each block at most a fraction xi of its primes divide any full-path minor at z. Markov and a union bound give P(z not regular) <= (r)/(x)i(B_0/T_0+o(1))<1/2 for large T_0 and then X, so some fixed choice makes at least |S|/2 points regular, and for a regular point all but a fraction xi of primes in the first i blocks avoid the current parent minor, the product of the remaining primes being at least
-X^((1-xi)zetasum_{j <= i}t_j) >= X^((1-xi)(E_{h_i}+igamma)) >= X^(delta_{h_i}+gamma/2).
-
-Arrange the full paths of regular points in a tree using the same kernels and fixed patches, stopping at a parent satisfying the small-count alternative or at a zero-dimensional parent. Inductively a parent at step i has dimension at most h_i. At an auxiliary prime q the reductions of a parent patch with Delta != 0 number O(q^h): fixing the h free coordinates, the other N-h equations have invertible Jacobian there so the solutions are isolated zeros of a square system, Bezout-bounded even if other fiber components have positive dimension, summed over free coordinates; no good-reduction assumption is needed. For a regular point the primes of the new block at which the parent minor vanishes number at most xi t_i, and allowing all such subsets ( <= 2^(t_i), a constant) gives, since q <= C_rX^zeta,
+Conditioning on the deleted subset and other blocks, the deleted-path minors are
+fixed nonzero integers of polynomial size whose product has only O(1/zeta) prime
+divisors at least X^zeta, and the removed prime is uniform in the complement of
+the deleted subset, so its conditional probability of dividing that product is
+o(1). If the record is unchanged the full and deleted paths have identical
+minors, so
+{ q divides a full-path minor } subseteq { record changes } union { q divides a
+deleted-path minor } ,
+whose probability is at most the stated bound plus o(1), and sampling q from the
+full block gives the assertion.
+
+To choose blocks for which at least half of S has enough good primes at every
+stage, allocate the nondecreasing cumulative exponents E_r, ... ,E_1 (with
+E_h=max_(h <= s <= r)delta_s and E_(r+1)=0) and put a_i=E_(h_i)-E_(h_i+1) >= 0.
+Choose small xi>0 with xi(E_1+rgamma)<gamma/2, take T_0 large in terms of
+r,B_0,xi, then zeta>0 with zeta(T_0+1) <= gamma, and use disjoint prime pools of
+cardinality tending to infinity all in [X^zeta,C_rX^zeta] (possible by Chebyshev
+after partitioning into r comparable pools). Choose the blocks independently
+with block i sampled as in the deletion estimate, starting its size interval at
+ell_i= ceil((a_i+gamma)/zeta), so every allowed size satisfies a_i+gamma <= zeta
+t_i <= a_i+2gamma.
+
+Call z regular if in each block at most a fraction xi of its primes divide any
+full-path minor at z. Markov and a union bound give P(z not regular) <=
+(r)/(x)i(B_0/T_0+o(1))<1/2 for large T_0 and then X, so some fixed choice makes
+at least |S|/2 points regular, and for a regular point all but a fraction xi of
+primes in the first i blocks avoid the current parent minor, the product of the
+remaining primes being at least
+X^((1-xi)zetasum_{j <= i}t_j) >= X^((1-xi)(E_{h_i}+igamma)) >=
+X^(delta_{h_i}+gamma/2).
+
+Arrange the full paths of regular points in a tree using the same kernels and
+fixed patches, stopping at a parent satisfying the small-count alternative or at
+a zero-dimensional parent. Inductively a parent at step i has dimension at most
+h_i. At an auxiliary prime q the reductions of a parent patch with Delta != 0
+number O(q^h): fixing the h free coordinates, the other N-h equations have
+invertible Jacobian there so the solutions are isolated zeros of a square
+system, Bezout-bounded even if other fiber components have positive dimension,
+summed over free coordinates; no good-reduction assumption is needed. For a
+regular point the primes of the new block at which the parent minor vanishes
+number at most xi t_i, and allowing all such subsets ( <= 2^(t_i), a constant)
+gives, since q <= C_rX^zeta,
 O (X^(zeta t_i(h_i+Nxi)) ) <= O (X^((a_i+2gamma)(h_i+Nxi)) )
-new simultaneous classes, imposing earlier congruences only decreasing the count. If the parent has dimension exactly h_i, the cumulative product and the residue-cut lemma give a polynomial in K_i not vanishing on the parent but vanishing on the entire class in S intersect A (every class member shares the good residues and satisfies G=0), so A intersect V(K_i) has dimension at most h_i-1 with boundedly many patches; smaller-dimension parents are covered automatically. After r stages every nonexceptional leaf is zero-dimensional with boundedly many points, and the total branching exponent is at most
+new simultaneous classes, imposing earlier congruences only decreasing the
+count. If the parent has dimension exactly h_i, the cumulative product and the
+residue-cut lemma give a polynomial in K_i not vanishing on the parent but
+vanishing on the entire class in S intersect A (every class member shares the
+good residues and satisfies G=0), so A intersect V(K_i) has dimension at most
+h_i-1 with boundedly many patches; smaller-dimension parents are covered
+automatically. After r stages every nonexceptional leaf is zero-dimensional with
+boundedly many points, and the total branching exponent is at most
 sum_(i=1)^r h_i a_i+2gammasum_(i=1)^r h_i+Nxi(E_1+2rgamma),
-the first term telescoping to sum_(h=1)^r E_h. To finish, take gamma so small that the second term is below epsilon/4, choose the degree limits and B_0, take xi small enough for xi(E_1+rgamma)<gamma/2 and the last term below epsilon/4, take alpha<epsilon/4, then choose T_0,zeta and finally X so that every degree, height and probability constant is fixed before X -> infinity. This bounds at least half of S by the right side, and doubling proves the counting theorem.
-
-The large prime-power divisor is next converted into an integral equation in a fixed number field, using ideal factorization and the unit theorem as in Milne's notes; balancing the factors at every embedding puts the projective coordinates in compact sets, and the resulting equations pair small boxes with boundedly many partners. The factorization-and-balancing follows Reuss, with Heath-Brown's Gaussian treatment of n^2+1 as an earlier model; standard ideal factorization, class-group finiteness and the full logarithmic unit lattice are used.
+the first term telescoping to sum_(h=1)^r E_h. To finish, take gamma so small
+that the second term is below epsilon/4, choose the degree limits and B_0, take
+xi small enough for xi(E_1+rgamma)<gamma/2 and the last term below epsilon/4,
+take alpha<epsilon/4, then choose T_0,zeta and finally X so that every degree,
+height and probability constant is fixed before X -> infinity. This bounds at
+least half of S by the right side, and doubling proves the counting theorem.
+
+The large prime-power divisor is next converted into an integral equation in a
+fixed number field, using ideal factorization and the unit theorem as in Milne's
+notes; balancing the factors at every embedding puts the projective coordinates
+in compact sets, and the resulting equations pair small boxes with boundedly
+many partners. The factorization-and-balancing follows Reuss, with Heath-Brown's
+Gaussian treatment of n^2+1 as an earlier model; standard ideal factorization,
+class-group finiteness and the full logarithmic unit lattice are used.
 ./sfrefs/reuss-2015.pdf
 ./sfrefs/heathbrown-2012.pdf
 ./sfrefs/milne-ant.pdf
 
-Throughout, f in Z[T] is primitive and irreducible of degree d with positive leading coefficient c and k=d-2 >= 2. Fix a root theta, put K=Q(theta), and let L be a splitting field with embeddings sigma_i:K -> L and theta_i=sigma_i(theta). Consider X<n <= 2X, P <= p <= 2P, p>X, p^k | f(n), with P=X^eta and b=d-keta; all constants may depend on f but not on n,p or X.
+Throughout, f in Z[T] is primitive and irreducible of degree d with positive
+leading coefficient c and k=d-2 >= 2. Fix a root theta, put K=Q(theta), and let
+L be a splitting field with embeddings sigma_i:K -> L and
+theta_i=sigma_i(theta). Consider X<n <= 2X, P <= p <= 2P, p>X, p^k | f(n), with
+P=X^eta and b=d-keta; all constants may depend on f but not on n,p or X.
 
-Lemma (balanced factorization). There are a positive integer mu and a fixed finite list of integral ideals c of K such that every such pair (n,p) admits integral alpha,beta in O_K and one ideal c from the list with
+Lemma (balanced factorization). There are a positive integer mu and a fixed
+finite list of integral ideals c of K such that every such pair (n,p) admits
+integral alpha,beta in O_K and one ideal c from the list with
 alpha^kbeta=mu(n-theta), |N_(K/Q)(alpha)|=pN( c),
-and, for every embedding, |sigma_i(alpha)| ~_f P^(1/d) and |sigma_i(beta)/mu| ~_f X/P^(k/d). One representation may be selected per n, and for a fixed ideal case and fixed alpha there are at most d selected values of n.
-
-In the proof, ctheta is integral with monic minimal polynomial F(T)=c^(d-1)f(T/c), and N_(K/Q)(cn-ctheta)=F(cn)=c^(d-1)f(n). Excluding the primes dividing c, the discriminant of F, or the index [O_K:Z[ctheta]], for each remaining prime p | f(n) exactly one prime ideal p above p contains cn-ctheta, since its residue factor is the simple linear factor T-cn of F modulo p; then N( p)=p and the valuation of p in (cn-ctheta) equals v_p(f(n)), so p^k | (cn-ctheta), and every excluded prime is below X for large X. Choosing fixed integral representatives of the ideal classes, one such representative c makes p c=(alpha) principal and integral of absolute norm pN( c).
-
-Multiplying by a unit to balance: use one logarithmic coordinate per real embedding and per complex pair with weights 1 and 2, subtract d^(-1)log(pN( c)) so the vector lies in the weighted sum-zero hyperplane, and move it into a bounded fundamental parallelepiped of the unit lattice by Dirichlet's theorem; exponentiating gives the conjugate-size bound for alpha. Choose a positive integer q with q c^(-k) subseteq O_K for every ideal in the list (a common multiple of N( c)^k suffices) and put mu=cq; the ideal (cn-ctheta) p^(-k) is integral, so beta=mu(n-theta)/alpha^k is integral, and |n-theta_i| ~_f X gives its size. For each n one admissible prime, ideal case and balanced generator are chosen; for fixed ideal case alpha determines p=|N_(K/Q)(alpha)|/N( c), and outside the excluded primes f has at most d roots modulo p^k, each residue class meeting (X,2X] in at most one integer since p^k>X.
-
-Fix an integral basis omega_0, ... ,omega_(d-1) of K and write alpha=sum_j x_jomega_j, beta=sum_j y_jomega_j with x,y in Z^d, and define the conjugate linear forms a_i(x)=sum_jsigma_i(omega_j)x_j and b_i(y)=mu^(-1)sum_jsigma_i(omega_j)y_j. Then
+and, for every embedding, |sigma_i(alpha)| ~_f P^(1/d) and |sigma_i(beta)/mu|
+~_f X/P^(k/d). One representation may be selected per n, and for a fixed ideal
+case and fixed alpha there are at most d selected values of n.
+
+In the proof, ctheta is integral with monic minimal polynomial
+F(T)=c^(d-1)f(T/c), and N_(K/Q)(cn-ctheta)=F(cn)=c^(d-1)f(n). Excluding the
+primes dividing c, the discriminant of F, or the index [O_K:Z[ctheta]], for each
+remaining prime p | f(n) exactly one prime ideal p above p contains cn-ctheta,
+since its residue factor is the simple linear factor T-cn of F modulo p; then N(
+p)=p and the valuation of p in (cn-ctheta) equals v_p(f(n)), so p^k |
+(cn-ctheta), and every excluded prime is below X for large X. Choosing fixed
+integral representatives of the ideal classes, one such representative c makes p
+c=(alpha) principal and integral of absolute norm pN( c).
+
+Multiplying by a unit to balance: use one logarithmic coordinate per real
+embedding and per complex pair with weights 1 and 2, subtract d^(-1)log(pN( c))
+so the vector lies in the weighted sum-zero hyperplane, and move it into a
+bounded fundamental parallelepiped of the unit lattice by Dirichlet's theorem;
+exponentiating gives the conjugate-size bound for alpha. Choose a positive
+integer q with q c^(-k) subseteq O_K for every ideal in the list (a common
+multiple of N( c)^k suffices) and put mu=cq; the ideal (cn-ctheta) p^(-k) is
+integral, so beta=mu(n-theta)/alpha^k is integral, and |n-theta_i| ~_f X gives
+its size. For each n one admissible prime, ideal case and balanced generator are
+chosen; for fixed ideal case alpha determines p=|N_(K/Q)(alpha)|/N( c), and
+outside the excluded primes f has at most d roots modulo p^k, each residue class
+meeting (X,2X] in at most one integer since p^k>X.
+
+Fix an integral basis omega_0, ... ,omega_(d-1) of K and write alpha=sum_j
+x_jomega_j, beta=sum_j y_jomega_j with x,y in Z^d, and define the conjugate
+linear forms a_i(x)=sum_jsigma_i(omega_j)x_j and
+b_i(y)=mu^(-1)sum_jsigma_i(omega_j)y_j. Then
 a_i(x)^kb_i(y)=n-theta_i, |a_i(x)| ~_f X^(eta/d), |b_i(y)| ~_f X^(b/d),
-both embedding matrices invertible; there is at most one selected point per n and O_f(1) selected points per fixed x, and these properties survive invertible integral changes in x and y. Split into finitely many choices of a largest absolute coordinate of x and of y, reindexing it as x_0,y_0, so |x_0| ~_f P^(1/d) and |y_0| ~_f X/P^(k/d); put s_j=x_j/x_0, t_j=y_j/y_0 for 1 <= j<d, and z=1/n, so s,t in [-1,1]^(d-1) and the normalized forms a_i(1,s),b_i(1,t) are bounded above and below.
-
-Lemma (paired boxes). Fix 0<w<1 and an integer M ~ X^w and partition each cube into grid boxes of side M^(-1). For the selected points in any fixed chart: (i) t is locally analytic in (s,z) and s is locally given by boundedly many analytic branches in (t,z); (ii) the branches needed at a counted point extend to a fixed neighborhood containing the grid base with z=0, with every fixed-order derivative uniformly bounded; (iii) every box of either type has O_f(1) partner boxes of the other type, so there are O_f(M^(d-1)) relevant pairs, and with m=(d-1)w this is O_f(X^m). No primality of M is needed.
-
-In the proof, with A,B the invertible complex linear maps to the a- and b-embedding vectors and kappa=x_0^ky_0/n (so |kappa| ~_f1),
+both embedding matrices invertible; there is at most one selected point per n
+and O_f(1) selected points per fixed x, and these properties survive invertible
+integral changes in x and y. Split into finitely many choices of a largest
+absolute coordinate of x and of y, reindexing it as x_0,y_0, so |x_0| ~_f
+P^(1/d) and |y_0| ~_f X/P^(k/d); put s_j=x_j/x_0, t_j=y_j/y_0 for 1 <= j<d, and
+z=1/n, so s,t in [-1,1]^(d-1) and the normalized forms a_i(1,s),b_i(1,t) are
+bounded above and below.
+
+Lemma (paired boxes). Fix 0<w<1 and an integer M ~ X^w and partition each cube
+into grid boxes of side M^(-1). For the selected points in any fixed chart: (i)
+t is locally analytic in (s,z) and s is locally given by boundedly many analytic
+branches in (t,z); (ii) the branches needed at a counted point extend to a fixed
+neighborhood containing the grid base with z=0, with every fixed-order
+derivative uniformly bounded; (iii) every box of either type has O_f(1) partner
+boxes of the other type, so there are O_f(M^(d-1)) relevant pairs, and with
+m=(d-1)w this is O_f(X^m). No primality of M is needed.
+
+In the proof, with A,B the invertible complex linear maps to the a- and
+b-embedding vectors and kappa=x_0^ky_0/n (so |kappa| ~_f1),
 ((1-theta_i z)/(a_i(1,s)^k) )_(i=1)^d=kappa B(1,t),
-and applying B^(-1) and dividing by its first coordinate (equal to kappa at the point, hence bounded below) gives the forward formula for t. In reverse, take local k-th roots of (1-theta_i z)/b_i(1,t), inputs in a fixed bounded annulus; compatible roots have the form gamma a_i(1,s) with gamma^k=kappa, and applying A^(-1) and dividing by its first coordinate (of modulus ~_f1) gives s, with at most k^d branch choices. The normalized forms, root inputs and denominators have fixed bounds, so on a small polydisc the formulas, or Cauchy's estimates, bound every fixed-order derivative; the constructions are local and need no single root over a whole annulus. The distance from a point to its grid base with z=0 is O(M^(-1)+X^(-1)) and the z-interval has length O(X^(-1))=O(M^(-1)) since w<1, so one s-box maps into O_f(1) t-boxes, and by branch continuation at the base the reverse also holds; there are O(M^(d-1)) boxes each side.
-
-The dimension of the sets in each paired box is reduced next. A first determinant gives a hypersurface section; when a component of that section uses only one coordinate block a second determinant reduces the dimension again, and the estimates for this step must be uniform in the moving component. The Taylor-determinant construction belongs to the real determinant method of Bombieri and Pila in Heath-Brown's approximating form; the number-field application follows Reuss.
+and applying B^(-1) and dividing by its first coordinate (equal to kappa at the
+point, hence bounded below) gives the forward formula for t. In reverse, take
+local k-th roots of (1-theta_i z)/b_i(1,t), inputs in a fixed bounded annulus;
+compatible roots have the form gamma a_i(1,s) with gamma^k=kappa, and applying
+A^(-1) and dividing by its first coordinate (of modulus ~_f1) gives s, with at
+most k^d branch choices. The normalized forms, root inputs and denominators have
+fixed bounds, so on a small polydisc the formulas, or Cauchy's estimates, bound
+every fixed-order derivative; the constructions are local and need no single
+root over a whole annulus. The distance from a point to its grid base with z=0
+is O(M^(-1)+X^(-1)) and the z-interval has length O(X^(-1))=O(M^(-1)) since w<1,
+so one s-box maps into O_f(1) t-boxes, and by branch continuation at the base
+the reverse also holds; there are O(M^(d-1)) boxes each side.
+
+The dimension of the sets in each paired box is reduced next. A first
+determinant gives a hypersurface section; when a component of that section uses
+only one coordinate block a second determinant reduces the dimension again, and
+the estimates for this step must be uniform in the moving component. The
+Taylor-determinant construction belongs to the real determinant method of
+Bombieri and Pila in Heath-Brown's approximating form; the number-field
+application follows Reuss.
 ./sfrefs/bombieri-pila-1989.pdf
 ./sfrefs/heathbrown-2009-sums.pdf
 ./sfrefs/reuss-2015.pdf
 
-Fix distinct roots theta_1, ... ,theta_d and k=d-2. In C^(2d) with blocks a=(a_i), b=(b_i), let B be the scheme where (a_i^kb_i)_i lies in span_(C) { (1)_i,(theta_i)_i } , equivalently d-2 independent linear relations of bidegree (k,1) on the products; write the products as a_i^kb_i=N_0-theta_iL_0, so on B the functions N_0,L_0 are fixed linear combinations, and let V be the corresponding subvariety of P^(d-1) x P^(d-1). The defining ideal of B is prime and is a complete intersection of d-2 equations of bidegree (k,1); dimV=d; and for A,B -> infinity with fixed positive ratio B/A the bihomogeneous coordinate space in degree (A,B) has dimension R(A,B)+O(A^(d-1)) where
+Fix distinct roots theta_1, ... ,theta_d and k=d-2. In C^(2d) with blocks
+a=(a_i), b=(b_i), let B be the scheme where (a_i^kb_i)_i lies in span_(C) {
+(1)_i,(theta_i)_i } , equivalently d-2 independent linear relations of bidegree
+(k,1) on the products; write the products as a_i^kb_i=N_0-theta_iL_0, so on B
+the functions N_0,L_0 are fixed linear combinations, and let V be the
+corresponding subvariety of P^(d-1) x P^(d-1). The defining ideal of B is prime
+and is a complete intersection of d-2 equations of bidegree (k,1); dimV=d; and
+for A,B -> infinity with fixed positive ratio B/A the bihomogeneous coordinate
+space in degree (A,B) has dimension R(A,B)+O(A^(d-1)) where
 R(A,B)=(1)/(d!)sum_(j=1)^(d-1)binom(d,j)binom(d-2,j-1)k^(j-1)A^(d-j)B^j.
 
-For the proof: where all a_i != 0 the coordinates a_i,N_0,L_0 are free and determine b_i, an integral smooth open of dimension d+2; if some a_i=0 with nonzero product then N_0=theta_iL_0, L_0 != 0 and every other a_j != 0 since the roots are distinct, a stratum of dimension d+1; if the product vector is zero the equations are a_i^kb_i=0, a union of coordinate d-planes. These counts give codimension d-2 and a unique top component meeting the first open. A complete-intersection criterion from the Stacks project is used: homogeneous equations of the expected codimension form a regular sequence; the quotient is equidimensional and Cohen-Macaulay with no embedded components, and if there is one top component reduced at its generic point the quotient is reduced and a domain; localizing at the homogeneous maximal ideal, the expected codimension gives a regular sequence in the regular local ring, the positive grading detects regularity globally, and the quotient is Cohen-Macaulay and equidimensional by the dimension formula, with no embedded primes, so generic reducedness on the unique minimal component gives reducedness. The smooth open gives generic reducedness, proving primeness; passing to the projective factors subtracts two dimensions. The Hilbert series of the regular sequence is (1-z_1^kz_2)^(d-2)/((1-z_1)^d(1-z_2)^d), so the bidegree-(A,B) dimension is the (d-2)-fold finite difference with step (k,1) of binom(A+d-1,d-1)binom(B+d-1,d-1), whose leading term is (kd_A+d_B)^(d-2)A^(d-1)B^(d-1)/((d-1)!)^2, expanding to the displayed R(A,B) with remaining terms of total degree at most d-1.
+For the proof: where all a_i != 0 the coordinates a_i,N_0,L_0 are free and
+determine b_i, an integral smooth open of dimension d+2; if some a_i=0 with
+nonzero product then N_0=theta_iL_0, L_0 != 0 and every other a_j != 0 since the
+roots are distinct, a stratum of dimension d+1; if the product vector is zero
+the equations are a_i^kb_i=0, a union of coordinate d-planes. These counts give
+codimension d-2 and a unique top component meeting the first open. A
+complete-intersection criterion from the Stacks project is used: homogeneous
+equations of the expected codimension form a regular sequence; the quotient is
+equidimensional and Cohen-Macaulay with no embedded components, and if there is
+one top component reduced at its generic point the quotient is reduced and a
+domain; localizing at the homogeneous maximal ideal, the expected codimension
+gives a regular sequence in the regular local ring, the positive grading detects
+regularity globally, and the quotient is Cohen-Macaulay and equidimensional by
+the dimension formula, with no embedded primes, so generic reducedness on the
+unique minimal component gives reducedness. The smooth open gives generic
+reducedness, proving primeness; passing to the projective factors subtracts two
+dimensions. The Hilbert series of the regular sequence is
+(1-z_1^kz_2)^(d-2)/((1-z_1)^d(1-z_2)^d), so the bidegree-(A,B) dimension is the
+(d-2)-fold finite difference with step (k,1) of
+binom(A+d-1,d-1)binom(B+d-1,d-1), whose leading term is
+(kd_A+d_B)^(d-2)A^(d-1)B^(d-1)/((d-1)!)^2, expanding to the displayed R(A,B)
+with remaining terms of total degree at most d-1.
 ./sfrefs/stacks-project.pdf
 
-Define H(t)=d!R(1,t), H_a(t)=(d-1)!(d_AR)(1,t) and H_b(t)=(d-1)!(d_BR)(1,t), measuring determinant columns on V and on a pure hypersurface section.
-
-Proposition (archimedean cuts). Fix positive upper exponents eta_+,b_+. Consider a paired box with integer coordinates |x_i| << X^(eta_+/d), |y_i| << X^(b_+/d), normalized chart variables of width O(X^(-w)), z=1/n=O(X^(-1)), and the uniform derivative bounds. Let t_*,w>0 be fixed rationals with
-w^(d-1)H(t_*)> (((d+1)(eta_++b_+t_*))/(d^2) )^d, w^(d-2)min { H_a(t_*),H_b(t_*) } > ((eta_++b_+t_*)/(d-1) )^(d-1).
-Then for large X the points of the box lie on a bounded number of bounded-degree algebraic sets of one of two types: (i) a mixed hypersurface section of V, whose bicone is a prime complete intersection with one extra equation of bidegree (lambda,s_0), lambda,s_0 >= 1; (ii) a set of biprojective dimension at most d-2. On the affine equations a_i^kb_i=n-theta_i the dimensions are d and at most d-1, and all bounds are uniform over boxes and X.
-
-The analytic estimate used in both cuts is first described. Let ell column functions have uniformly bounded derivatives on the chart neighborhoods, with small variables u_1, ... ,u_(d-1),z of weights w, ... ,w,1. For a fixed finite evaluation set suppose the rank of the monomial columns of weight at most T is at most aT^r+O(T^(r-1)+1), a>0. If ell such monomial columns are independent with increasing weights lambda_j, then j <= alambda_j^r+O(lambda_j^(r-1)+1), and inverting and summing gives
+Define H(t)=d!R(1,t), H_a(t)=(d-1)!(d_AR)(1,t) and H_b(t)=(d-1)!(d_BR)(1,t),
+measuring determinant columns on V and on a pure hypersurface section.
+
+Proposition (archimedean cuts). Fix positive upper exponents eta_+,b_+. Consider
+a paired box with integer coordinates |x_i| << X^(eta_+/d), |y_i| << X^(b_+/d),
+normalized chart variables of width O(X^(-w)), z=1/n=O(X^(-1)), and the uniform
+derivative bounds. Let t_*,w>0 be fixed rationals with
+w^(d-1)H(t_*)> (((d+1)(eta_++b_+t_*))/(d^2) )^d, w^(d-2)min { H_a(t_*),H_b(t_*)
+} > ((eta_++b_+t_*)/(d-1) )^(d-1).
+Then for large X the points of the box lie on a bounded number of bounded-degree
+algebraic sets of one of two types: (i) a mixed hypersurface section of V, whose
+bicone is a prime complete intersection with one extra equation of bidegree
+(lambda,s_0), lambda,s_0 >= 1; (ii) a set of biprojective dimension at most d-2.
+On the affine equations a_i^kb_i=n-theta_i the dimensions are d and at most d-1,
+and all bounds are uniform over boxes and X.
+
+The analytic estimate used in both cuts is first described. Let ell column
+functions have uniformly bounded derivatives on the chart neighborhoods, with
+small variables u_1, ... ,u_(d-1),z of weights w, ... ,w,1. For a fixed finite
+evaluation set suppose the rank of the monomial columns of weight at most T is
+at most aT^r+O(T^(r-1)+1), a>0. If ell such monomial columns are independent
+with increasing weights lambda_j, then j <= alambda_j^r+O(lambda_j^(r-1)+1), and
+inverting and summing gives
 sum_(j=1)^_j >= (r)/(r+1)a^(-1/r)ell^(1+1/r)-O(ell),
-with uniform constants. Expand each analytic column at the box base in the original monomials in u,z to a fixed order K: a polynomial summand in the determinant expansion vanishes if its monomial columns are dependent, and otherwise the weights bound its size by a constant times X to the negative weight, with a remainder O(X^(-min(w,1)(K+1))), so choosing K large depending on the fixed column degrees and ell leaves only boundedly many terms and
+with uniform constants. Expand each analytic column at the box base in the
+original monomials in u,z to a fixed order K: a polynomial summand in the
+determinant expansion vanishes if its monomial columns are dependent, and
+otherwise the weights bound its size by a constant times X to the negative
+weight, with a remainder O(X^(-min(w,1)(K+1))), so choosing K large depending on
+the fixed column degrees and ell leaves only boundedly many terms and
 << X^(-S), S=(r)/(r+1)a^(-1/r)ell^(1+1/r)-O(ell).
 This uses only exact dependence of evaluation columns.
 
-For the first cut choose large integer bidegrees with B/A=t_* and a basis of the degree-(A,B) coordinate space of V from raw monomials in x,y, of size ell=(H(t_*))/(d!)A^d+O(A^(d-1)). For any ell counted points the raw evaluation determinant is an integer, and dividing each row by x_0^Ay_0^B gives, if nonzero,
+For the first cut choose large integer bidegrees with B/A=t_* and a basis of the
+degree-(A,B) coordinate space of V from raw monomials in x,y, of size
+ell=(H(t_*))/(d!)A^d+O(A^(d-1)). For any ell counted points the raw evaluation
+determinant is an integer, and dividing each row by x_0^Ay_0^B gives, if
+nonzero,
 >= c_(A,B)X^(-ell A(eta_++b_+t_*)/d), c_(A,B)>0.
-Normalized monomials are analytic in the chart variables and z, with T^d/(d!w^(d-1))+O(T^(d-1)+1) monomials when no extra relation holds, so the analytic estimate gives S/ell=(d)/(d+1)(w^(d-1)H(t_*))^(1/d)A+O(1), larger than the integer-determinant exponent by the first cut inequality; all such determinants vanish, the evaluation has rank less than ell, and its kernel gives a bihomogeneous equation vanishing on all counted points but not on V.
-
-The components of this cut are described. On the open where all a_i != 0, substitute b_i=(N_0-theta_iL_0)/a_i^k, clear denominators and factor; each relevant irreducible factor F(a,N_0,L_0)=sum_Ia^If_I(N_0,L_0) is bihomogeneous of degrees (l,s_0), and factors a_i or L_0 miss the open and are omitted. Returning to (a,b) replaces N_0-theta_iL_0 by a_i^kb_i, so the terms may acquire common powers of a_i; with nu_(i,I)=ord_(N_0-theta_iL_0)f_I and e_i=min_I(I_i+knu_(i,I)), writing f_I=prod_i(N_0-theta_iL_0)^(nu_{i,I})g_I, the expression
+Normalized monomials are analytic in the chart variables and z, with
+T^d/(d!w^(d-1))+O(T^(d-1)+1) monomials when no extra relation holds, so the
+analytic estimate gives S/ell=(d)/(d+1)(w^(d-1)H(t_*))^(1/d)A+O(1), larger than
+the integer-determinant exponent by the first cut inequality; all such
+determinants vanish, the evaluation has rank less than ell, and its kernel gives
+a bihomogeneous equation vanishing on all counted points but not on V.
+
+The components of this cut are described. On the open where all a_i != 0,
+substitute b_i=(N_0-theta_iL_0)/a_i^k, clear denominators and factor; each
+relevant irreducible factor F(a,N_0,L_0)=sum_Ia^If_I(N_0,L_0) is bihomogeneous
+of degrees (l,s_0), and factors a_i or L_0 miss the open and are omitted.
+Returning to (a,b) replaces N_0-theta_iL_0 by a_i^kb_i, so the terms may acquire
+common powers of a_i; with nu_(i,I)=ord_(N_0-theta_iL_0)f_I and
+e_i=min_I(I_i+knu_(i,I)), writing f_I=prod_i(N_0-theta_iL_0)^(nu_{i,I})g_I, the
+expression
 C(a,b)=sum_Ia^(I+knu_I-e)b^(nu_I)g_I(N_0,L_0)
-is a polynomial representing F/prod_ia_i^(e_i) on the bicone, with bidegree (lambda,s_0), lambda=l+ks_0-sum_ie_i. It has no unwanted boundary component: on a_i=0 with nonzero product and L_0=1, the surviving terms are precisely those with I_i+knu_(i,I)=e_i, giving distinct nonzero scalar multiples of a_(-i)^(I_{-i}-e_{-i})b_i^(nu_{i,I}) whose exponents determine I, so C restricts nonzero and reduces the boundary stratum to dimension at most d, the zero-product boundary already having dimension d. The open defined by F is integral and generically reduced of dimension d+1, so adding the nonzero C to the prime bicone ring preserves the complete intersection, and the boundary computation with the same criterion makes the new ideal prime. The Hilbert series gains the factor 1-z_1^lambda z_2^(s_0), with leading term in bidegree (A,B)
+is a polynomial representing F/prod_ia_i^(e_i) on the bicone, with bidegree
+(lambda,s_0), lambda=l+ks_0-sum_ie_i. It has no unwanted boundary component: on
+a_i=0 with nonzero product and L_0=1, the surviving terms are precisely those
+with I_i+knu_(i,I)=e_i, giving distinct nonzero scalar multiples of
+a_(-i)^(I_{-i}-e_{-i})b_i^(nu_{i,I}) whose exponents determine I, so C restricts
+nonzero and reduces the boundary stratum to dimension at most d, the
+zero-product boundary already having dimension d. The open defined by F is
+integral and generically reduced of dimension d+1, so adding the nonzero C to
+the prime bicone ring preserves the complete intersection, and the boundary
+computation with the same criterion makes the new ideal prime. The Hilbert
+series gains the factor 1-z_1^lambda z_2^(s_0), with leading term in bidegree
+(A,B)
 (lambdad_A+s_0d_B)R(A,B),
-error O(A^(d-2)) at fixed B/A. If lambda,s_0 are both positive the mixed component is retained; all degrees stay bounded.
-
-For a pure component using only one block of degree c_0>0, use the s-chart for a pure a equation and the t-chart for a pure b equation (splitting the counted points by the boundedly many reverse branches at the common t-base), so all rows of each determinant use one analytic chart map, only a bounded factor more sets. Dehomogenization and translation to the base give an exact relation Q_0(u_1, ... ,u_(d-1))=0 with 1 <= deg Q_0 <= c_0 and no bound on its coefficients; a nonzero constant relation gives no points. With r=d-1 and e=deg Q_0, multiplication by Q_0 injects degree- <= q-e into degree- <= q polynomials, whose image evaluates to zero, so the evaluation rank of the latter is at most D_e(q)=binom(q+r,r)-binom(q-e+r,r); applying this with q= floor((T-j)/w) at each power z^j and using D_e(q)=eq^(r-1)/(r-1)!+O((q+1)^(r-2)) gives N(T) <= (c_0)/(r!w^(r-1))T^r+O(T^(r-1)+1), free of the coefficients. The Taylor argument then gives
+error O(A^(d-2)) at fixed B/A. If lambda,s_0 are both positive the mixed
+component is retained; all degrees stay bounded.
+
+For a pure component using only one block of degree c_0>0, use the s-chart for a
+pure a equation and the t-chart for a pure b equation (splitting the counted
+points by the boundedly many reverse branches at the common t-base), so all rows
+of each determinant use one analytic chart map, only a bounded factor more sets.
+Dehomogenization and translation to the base give an exact relation Q_0(u_1, ...
+,u_(d-1))=0 with 1 <= deg Q_0 <= c_0 and no bound on its coefficients; a nonzero
+constant relation gives no points. With r=d-1 and e=deg Q_0, multiplication by
+Q_0 injects degree- <= q-e into degree- <= q polynomials, whose image evaluates
+to zero, so the evaluation rank of the latter is at most
+D_e(q)=binom(q+r,r)-binom(q-e+r,r); applying this with q= floor((T-j)/w) at each
+power z^j and using D_e(q)=eq^(r-1)/(r-1)!+O((q+1)^(r-2)) gives N(T) <=
+(c_0)/(r!w^(r-1))T^r+O(T^(r-1)+1), free of the coefficients. The Taylor argument
+then gives
 S >= (r)/(r+1) ((r!w^(r-1))/(c_0) )^(1/r)ell^(1+1/r)-O(ell),
-and the moving equation is never solved for a variable. Keep the first-cut degrees fixed, so c_0 ranges over a bounded set of positive integers, and choose new large bidegrees A,B with B/A=t_*; a raw-monomial basis on a pure a component has size ell=(c_0H_a(t_*))/(r!)A^r+O(A^(r-1)), giving S/ell >= (r)/(d)(w^(r-1)H_a(t_*))^(1/r)A-O(1), the factor c_0 cancelling, with H_b for a pure b component; the second cut inequality contradicts the integer lower bound, and the new equation is nonzero on the component, cutting its biprojective dimension from d-1 to at most d-2.
-
-Finally, on the counted affine locus L_0=1 the map to V has one-dimensional scaling fibers (a |-> ca needs b |-> c^(-k)b), so mixed components have affine dimension d and second-cut components at most d-1; in the mixed case the equation on the nonzero-a open is F(a,n,1)=0, irreducible because a factorization would rehomogenize, of degree exactly s_0 in n since L_0 !| F, and since s_0 >= 1 its coefficient polynomials in a have no common nonconstant factor, so the common zero set has codimension at least two in a-space.
-
-Membership in an approximation box bounds linear forms such as Mx_i-c_ix_0 with grid coordinate c_i/M. These bounds are encoded by lattices, and an adapted integral basis is chosen in each coordinate block; a box needing a larger coordinate bound has a shorter lattice vector, and such boxes are correspondingly fewer, letting the affine counting theorem be summed over all boxes. The short-vector count of direction boxes follows Reuss; the common excess for the two paired lattices is tailored to the weighted Hilbert bounds.
+and the moving equation is never solved for a variable. Keep the first-cut
+degrees fixed, so c_0 ranges over a bounded set of positive integers, and choose
+new large bidegrees A,B with B/A=t_*; a raw-monomial basis on a pure a component
+has size ell=(c_0H_a(t_*))/(r!)A^r+O(A^(r-1)), giving S/ell >=
+(r)/(d)(w^(r-1)H_a(t_*))^(1/r)A-O(1), the factor c_0 cancelling, with H_b for a
+pure b component; the second cut inequality contradicts the integer lower bound,
+and the new equation is nonzero on the component, cutting its biprojective
+dimension from d-1 to at most d-2.
+
+Finally, on the counted affine locus L_0=1 the map to V has one-dimensional
+scaling fibers (a |-> ca needs b |-> c^(-k)b), so mixed components have affine
+dimension d and second-cut components at most d-1; in the mixed case the
+equation on the nonzero-a open is F(a,n,1)=0, irreducible because a
+factorization would rehomogenize, of degree exactly s_0 in n since L_0 !| F, and
+since s_0 >= 1 its coefficient polynomials in a have no common nonconstant
+factor, so the common zero set has codimension at least two in a-space.
+
+Membership in an approximation box bounds linear forms such as Mx_i-c_ix_0 with
+grid coordinate c_i/M. These bounds are encoded by lattices, and an adapted
+integral basis is chosen in each coordinate block; a box needing a larger
+coordinate bound has a shorter lattice vector, and such boxes are
+correspondingly fewer, letting the affine counting theorem be summed over all
+boxes. The short-vector count of direction boxes follows Reuss; the common
+excess for the two paired lattices is tailored to the weighted Hilbert bounds.
 ./sfrefs/reuss-2015.pdf
 
-Lemma (lattice basis). Let Lambda subset R^d be a full lattice of covolume Delta with shortest nonzero Euclidean length lambda_1. There is a basis b_1, ... ,b_d with prod_i || b_i || <= C_dDelta, and in this basis every v in Lambda with || v || <= C has integral coordinates of absolute value at most CC_d/lambda_1. The product bound is proved by induction: choose a shortest vector b_1, primitive, project orthogonally to b_1^perp to a lattice Lambda' of covolume Delta/ || b_1 || ; every nonzero vector of Lambda' has length at least sqrt(3) || b_1 || /2, since lifting it and subtracting the right multiple of b_1 to make the parallel component at most || b_1 || /2 leaves a nonzero lattice vector of length at least || b_1 || . Lifting the inductive basis of Lambda' with these reduced parallel components, each lift is at most 2/sqrt(3) times its projection, and, together with b_1, the lifts form a basis of Lambda. Cramer's rule then gives, for the coordinate z_i of v, |z_i| <= Cprod_(h != i) || b_h || /Delta <= CC_d/ || b_i || <= CC_d/lambda_1.
-
-Fix a maximal-coordinate chart and reindex as x=(x_0, ... ,x_(d-1)), y=(y_0, ... ,y_(d-1)), with s_i=x_i/x_0, t_i=y_i/y_0 for 1 <= i<d, and |x_i| << X^(eta_+/d), |y_i| << X^(b_+/d). Choose fixed w,tau>0 with m=(d-1)w<min(eta_+,b_+) and u=(eta_+-m)/d, v=(b_+-m)/d, and use a prime M ~ X^w for the grid (existence by Bertrand). All constants are uniform in the boxes and X.
-
-Proposition (lattice boxes). Under these bounds the paired boxes group into finitely many ranges indexed by j=, ell in Z_( >= 0), j <= m/d, with O(X^(m-dj)) boxes in range j. For each paired box there are integral unimodular changes x <-> x', y <-> y' such that all selected points satisfy |x'_i| << X^U, |y'_i| << X^V with U=u+j+tau, V=v+j+tau, and the change matrices and the inverse matrices have entries bounded by a fixed power of X.
-
-In the proof, with the s-box base (c_1/M, ... ,c_(d-1)/M), |c_i| << M, consider the lattice
-Lambda_c=X^(-eta_+/d) { (q_0,Mq_1-c_1q_0, ... ,Mq_(d-1)-c_(d-1)q_0): q in Z^d } ;
-the image of each counted x has bounded norm since Mx_i-c_ix_0=Mx_0(s_i-c_i/M) with |s_i-c_i/M| <= M^(-1). With U_* the inverse shortest nonzero length, the basis lemma gives integral coordinates |x'_i| << U_*, and preimages of a lattice basis form a basis of Z^d, so the change is unimodular; the same construction with X^(-b_+/d) gives V_* and |y'_i| << V_*. Put J=max { 1,U_*/X^u,V_*/X^v } ; before scaling every nonzero lattice vector is a nonzero integer vector of norm at least one, so U_* <= X^(eta_+/d), V_* <= X^(b_+/d), 1 <= J <= X^(m/d), and assigning a pair to range j when X^j <= J<X^(j+tau) gives 0 <= j <= m/d and the coordinate bounds. For j>0 at least one of U_* >= X^(u+j), V_* >= X^(v+j) holds; in the first case a shortest vector gives a nonzero integer q=(q_0,Mq'_1-c_1q_0, ... ) of norm at most T=X^(m/d-j), and since T/M << X^(-w/d), for large X, T<M; if q_0=0 every other coordinate would be divisible by M, so 0<|q_0|<M and primality of M gives c_i = -q_iq_0^(-1) mod M, each q fixing the base up to boundedly many choices, with O(T^d)=O(X^(m-dj)) vectors and hence boxes, and identically for t-boxes; the paired-box lemma supplies bounded partners, and for j=0 the total O(X^m) is used. The covolume of Lambda_c is X^(-eta_+)M^(d-1) ~ X^(m-eta_+) and its shortest length at least X^(-eta_+/d), so the basis product gives max_i || b_i || << X^(m-eta_+/d), and the inverse triangular map (bounded since |c_i| << M) pulls the basis back to integral vectors of size O(X^m), with cofactors bounding the inverse by a fixed power of X; the y case is identical.
-
-Linear changes preserve dimensions, degrees, and the weighted polynomial spaces within each block (every a_i is a linear combination of the x'_i of weight U, every b_i of the y'_i of weight V), irrespective of coefficients; the numerical size bounds used for counting are those on x',y'.
-
-For d=4 a later Hilbert estimate needs n algebraic over the functions a_1, ... ,a_4, which is arranged by removing a small set of x'. Let Z be an initial bounded-degree set from the cut proposition restricted to a_1a_2a_3a_4 != 0 in coordinates (a,n), b_i=(n-theta_i)/a_i^2, and suppose either dim Z <= 3 or Z has irreducible equation F(a,n)=0 of positive degree in n. Then the a for which the n-fiber has dimension one have closure of dimension at most two and bounded degree; deleting the selected points above it costs O_f(X^(2U)) in a box, and on every irreducible subvariety of Z meeting the remaining points, n is algebraic over Q(a_1, ... ,a_4). Substituting b_i=(n-theta_i)/a_i^2 into bounded-degree equations and clearing denominators, a fiber has dimension one exactly when each resulting polynomial in n vanishes identically, so its base is the common zero set of the coefficient polynomials on the a-torus, of bounded degree, excluding components in a_1a_2a_3a_4=0. If dim Z <= 3 the fiber-dimension inequality gives dimension at most two; otherwise the coefficients of F in n have no common nonconstant factor, so the common zero set has codimension at least two in four-dimensional a-space. The invertible linear change to x' preserves this, and a bounded-degree set of dimension at most two has O(B^2) integer points in a box of radius B (slice by a nonconstant coordinate and apply Bezout inductively), giving O(X^(2U)) exceptional x', with O_f(1) selected points per x' by the factorization lemma's fixed-x bound. If Y subseteq Z is irreducible with n transcendental over the a_i-field, every polynomial relation in n has zero coefficients on Y, so Y's a-image lies in the removed base and meets no remaining point.
-
-The determinant cuts and lattice coordinates leave the selected points on an arithmetic variety and on bounded-degree sets inside each box. A weighted Hilbert function now supplies the last input of the counting theorem: a lower bound on independent polynomial functions on each subvariety, uniform in coefficients and in the integral changes.
-
-Give every a_i weight U>0 and every b_i weight V>0, fixed rationals. In the transformed coordinates these are the weights of the whole x' and y' blocks; invertible linear changes preserve the weighted filtration even with varying coefficients. Let Y be an irreducible subvariety of the affine equations a_i^kb_i=n-theta_i, 1 <= i <= d, of dimension 2 <= h <= d, with a nonempty open where all a_i != 0; assume n nonconstant. On this open its function field is generated by the a_i and n. Choose h-1 of the a_i algebraically independent over C(n) and one more distinct index; the image in these h coordinates and n has dimension h, so its ideal is generated by one irreducible F_1(a_1, ... ,a_h,n)=sum_Ia^If_I(n). Let Y_(pair) be the closure of the projection onto the selected pairs (a_i,b_i)_(i=1)^h; it has the same function field as the image.
+Lemma (lattice basis). Let Lambda subset R^d be a full lattice of covolume Delta
+with shortest nonzero Euclidean length lambda_1. There is a basis b_1, ... ,b_d
+with prod_i || b_i || <= C_dDelta, and in this basis every v in Lambda with || v
+|| <= C has integral coordinates of absolute value at most CC_d/lambda_1. The
+product bound is proved by induction: choose a shortest vector b_1, primitive,
+project orthogonally to b_1^perp to a lattice Lambda' of covolume Delta/ || b_1
+|| ; every nonzero vector of Lambda' has length at least sqrt(3) || b_1 || /2,
+since lifting it and subtracting the right multiple of b_1 to make the parallel
+component at most || b_1 || /2 leaves a nonzero lattice vector of length at
+least || b_1 || . Lifting the inductive basis of Lambda' with these reduced
+parallel components, each lift is at most 2/sqrt(3) times its projection, and,
+together with b_1, the lifts form a basis of Lambda. Cramer's rule then gives,
+for the coordinate z_i of v, |z_i| <= Cprod_(h != i) || b_h || /Delta <= CC_d/
+|| b_i || <= CC_d/lambda_1.
+
+Fix a maximal-coordinate chart and reindex as x=(x_0, ... ,x_(d-1)), y=(y_0, ...
+,y_(d-1)), with s_i=x_i/x_0, t_i=y_i/y_0 for 1 <= i<d, and |x_i| << X^(eta_+/d),
+|y_i| << X^(b_+/d). Choose fixed w,tau>0 with m=(d-1)w<min(eta_+,b_+) and
+u=(eta_+-m)/d, v=(b_+-m)/d, and use a prime M ~ X^w for the grid (existence by
+Bertrand). All constants are uniform in the boxes and X.
+
+Proposition (lattice boxes). Under these bounds the paired boxes group into
+finitely many ranges indexed by j=, ell in Z_( >= 0), j <= m/d, with O(X^(m-dj))
+boxes in range j. For each paired box there are integral unimodular changes x
+<-> x', y <-> y' such that all selected points satisfy |x'_i| << X^U, |y'_i| <<
+X^V with U=u+j+tau, V=v+j+tau, and the change matrices and the inverse matrices
+have entries bounded by a fixed power of X.
+
+In the proof, with the s-box base (c_1/M, ... ,c_(d-1)/M), |c_i| << M, consider
+the lattice
+Lambda_c=X^(-eta_+/d) { (q_0,Mq_1-c_1q_0, ... ,Mq_(d-1)-c_(d-1)q_0): q in Z^d }
+;
+the image of each counted x has bounded norm since Mx_i-c_ix_0=Mx_0(s_i-c_i/M)
+with |s_i-c_i/M| <= M^(-1). With U_* the inverse shortest nonzero length, the
+basis lemma gives integral coordinates |x'_i| << U_*, and preimages of a lattice
+basis form a basis of Z^d, so the change is unimodular; the same construction
+with X^(-b_+/d) gives V_* and |y'_i| << V_*. Put J=max { 1,U_*/X^u,V_*/X^v } ;
+before scaling every nonzero lattice vector is a nonzero integer vector of norm
+at least one, so U_* <= X^(eta_+/d), V_* <= X^(b_+/d), 1 <= J <= X^(m/d), and
+assigning a pair to range j when X^j <= J<X^(j+tau) gives 0 <= j <= m/d and the
+coordinate bounds. For j>0 at least one of U_* >= X^(u+j), V_* >= X^(v+j) holds;
+in the first case a shortest vector gives a nonzero integer q=(q_0,Mq'_1-c_1q_0,
+... ) of norm at most T=X^(m/d-j), and since T/M << X^(-w/d), for large X, T<M;
+if q_0=0 every other coordinate would be divisible by M, so 0<|q_0|<M and
+primality of M gives c_i = -q_iq_0^(-1) mod M, each q fixing the base up to
+boundedly many choices, with O(T^d)=O(X^(m-dj)) vectors and hence boxes, and
+identically for t-boxes; the paired-box lemma supplies bounded partners, and for
+j=0 the total O(X^m) is used. The covolume of Lambda_c is X^(-eta_+)M^(d-1) ~
+X^(m-eta_+) and its shortest length at least X^(-eta_+/d), so the basis product
+gives max_i || b_i || << X^(m-eta_+/d), and the inverse triangular map (bounded
+since |c_i| << M) pulls the basis back to integral vectors of size O(X^m), with
+cofactors bounding the inverse by a fixed power of X; the y case is identical.
+
+Linear changes preserve dimensions, degrees, and the weighted polynomial spaces
+within each block (every a_i is a linear combination of the x'_i of weight U,
+every b_i of the y'_i of weight V), irrespective of coefficients; the numerical
+size bounds used for counting are those on x',y'.
+
+For d=4 a later Hilbert estimate needs n algebraic over the functions a_1, ...
+,a_4, which is arranged by removing a small set of x'. Let Z be an initial
+bounded-degree set from the cut proposition restricted to a_1a_2a_3a_4 != 0 in
+coordinates (a,n), b_i=(n-theta_i)/a_i^2, and suppose either dim Z <= 3 or Z has
+irreducible equation F(a,n)=0 of positive degree in n. Then the a for which the
+n-fiber has dimension one have closure of dimension at most two and bounded
+degree; deleting the selected points above it costs O_f(X^(2U)) in a box, and on
+every irreducible subvariety of Z meeting the remaining points, n is algebraic
+over Q(a_1, ... ,a_4). Substituting b_i=(n-theta_i)/a_i^2 into bounded-degree
+equations and clearing denominators, a fiber has dimension one exactly when each
+resulting polynomial in n vanishes identically, so its base is the common zero
+set of the coefficient polynomials on the a-torus, of bounded degree, excluding
+components in a_1a_2a_3a_4=0. If dim Z <= 3 the fiber-dimension inequality gives
+dimension at most two; otherwise the coefficients of F in n have no common
+nonconstant factor, so the common zero set has codimension at least two in
+four-dimensional a-space. The invertible linear change to x' preserves this, and
+a bounded-degree set of dimension at most two has O(B^2) integer points in a box
+of radius B (slice by a nonconstant coordinate and apply Bezout inductively),
+giving O(X^(2U)) exceptional x', with O_f(1) selected points per x' by the
+factorization lemma's fixed-x bound. If Y subseteq Z is irreducible with n
+transcendental over the a_i-field, every polynomial relation in n has zero
+coefficients on Y, so Y's a-image lies in the removed base and meets no
+remaining point.
+
+The determinant cuts and lattice coordinates leave the selected points on an
+arithmetic variety and on bounded-degree sets inside each box. A weighted
+Hilbert function now supplies the last input of the counting theorem: a lower
+bound on independent polynomial functions on each subvariety, uniform in
+coefficients and in the integral changes.
+
+Give every a_i weight U>0 and every b_i weight V>0, fixed rationals. In the
+transformed coordinates these are the weights of the whole x' and y' blocks;
+invertible linear changes preserve the weighted filtration even with varying
+coefficients. Let Y be an irreducible subvariety of the affine equations
+a_i^kb_i=n-theta_i, 1 <= i <= d, of dimension 2 <= h <= d, with a nonempty open
+where all a_i != 0; assume n nonconstant. On this open its function field is
+generated by the a_i and n. Choose h-1 of the a_i algebraically independent over
+C(n) and one more distinct index; the image in these h coordinates and n has
+dimension h, so its ideal is generated by one irreducible F_1(a_1, ...
+,a_h,n)=sum_Ia^If_I(n). Let Y_(pair) be the closure of the projection onto the
+selected pairs (a_i,b_i)_(i=1)^h; it has the same function field as the image.
 
 Proposition (weighted Hilbert). For each nonzero f_I define
 nu_(i,I)=ord_(n-theta_i)f_I, e_i=min_I(I_i+knu_(i,I)),
 D=max_I { U|I|+(kU+V)deg f_I } -Usum_ie_i.
 Then D>0 and
 H_(Y_{pair})(T)=((kU+V)^(h-1)D)/(U^hV^h)(T^h)/(h!)+O(T^(h-1)+1),
-a lower bound for H_Y(T); if the function-field degree of Y over Y_(pair) is at least two the leading coefficient doubles. For fixed weights and bounded degree of Y the error constants are uniform, independently of the coefficients of its equations. The basic version for an h-dimensional irreducible Y gives H_Y(T) >= ((kU+V)^(h-1)min(U,V))/(U^hV^h)(T^h)/(h!)-O(T^(h-1)+1).
+a lower bound for H_Y(T); if the function-field degree of Y over Y_(pair) is at
+least two the leading coefficient doubles. For fixed weights and bounded degree
+of Y the error constants are uniform, independently of the coefficients of its
+equations. The basic version for an h-dimensional irreducible Y gives H_Y(T) >=
+((kU+V)^(h-1)min(U,V))/(U^hV^h)(T^h)/(h!)-O(T^(h-1)+1).
 
 In the proof, factor f_I=prod_i(n-theta_i)^(nu_{i,I})g_I and define
 C_1(a,b)=sum_Ia^(I+knu_I-e)b^(nu_I)g_I(a_1^kb_1+theta_1),
-all exponents of a nonnegative. Impose also the h-1 equations a_i^kb_i+theta_i=a_1^kb_1+theta_1 for 2 <= i <= h. On the open where all a_i != 0 these equations and C_1=0 have coordinate ring C[a_1^( +-1), ... ,a_h^( +-1),n]/(F_1), integral of dimension h. The boundary has smaller dimension: if a_i=0 then n=theta_i, every other a_j != 0, and b_j=(theta_i-theta_j)/a_j^k; before imposing C_1 the free coordinates are b_i and the h-1 nonzero a_j, of dimension h. The terms of C_1 surviving there have I_i+knu_(i,I)=e_i and are nonzero scalar multiples of a_(-i)^(I_{-i}-e_{-i})b_i^(nu_{i,I}), whose exponents determine I; these Laurent monomials are distinct, C_1 restricts nonzero, and the dimension drops to at most h-1. This checks every affine boundary stratum, since two different a_i cannot vanish when the theta_i are distinct.
-
-Choose a positive integer L_(wt) with A=L_(wt)U, B=L_(wt)V integers, and put Q=kA+B, E=L_(wt)D. Homogenize the relations and C_1 with a variable t of weight one, giving h homogeneous equations in 2h+1 variables. On t != 0 scaling to t=1 gives the affine one times C^*, whose nonzero-a open is integral and generically reduced of dimension h+1, the remaining affine strata having dimension at most h. At t=0 the products a_i^kb_i must coincide: if all a_i != 0 then a_1, ... ,a_h,q are free before the last equation and the nonzero weighted top is nonzero, giving dimension at most h; if some a_i=0 the common product is zero, a union of coordinate h-planes of dimension h. So the homogeneous system has dimension h+1 with no top component in either boundary, the complete-intersection criterion makes its ideal prime (hence saturated in t), and dehomogenization gives precisely the prime ideal of Y_(pair).
-
-The degree-N part of the graded quotient is the space of affine functions represented by monomials of weight at most N in the scaled weights; homogenizing each such monomial with a power of t gives surjectivity, and injectivity holds because a homogeneous element vanishing after dehomogenization and localization at t is zero by saturation. The Hilbert series is
+all exponents of a nonnegative. Impose also the h-1 equations
+a_i^kb_i+theta_i=a_1^kb_1+theta_1 for 2 <= i <= h. On the open where all a_i !=
+0 these equations and C_1=0 have coordinate ring C[a_1^( +-1), ... ,a_h^(
++-1),n]/(F_1), integral of dimension h. The boundary has smaller dimension: if
+a_i=0 then n=theta_i, every other a_j != 0, and b_j=(theta_i-theta_j)/a_j^k;
+before imposing C_1 the free coordinates are b_i and the h-1 nonzero a_j, of
+dimension h. The terms of C_1 surviving there have I_i+knu_(i,I)=e_i and are
+nonzero scalar multiples of a_(-i)^(I_{-i}-e_{-i})b_i^(nu_{i,I}), whose
+exponents determine I; these Laurent monomials are distinct, C_1 restricts
+nonzero, and the dimension drops to at most h-1. This checks every affine
+boundary stratum, since two different a_i cannot vanish when the theta_i are
+distinct.
+
+Choose a positive integer L_(wt) with A=L_(wt)U, B=L_(wt)V integers, and put
+Q=kA+B, E=L_(wt)D. Homogenize the relations and C_1 with a variable t of weight
+one, giving h homogeneous equations in 2h+1 variables. On t != 0 scaling to t=1
+gives the affine one times C^*, whose nonzero-a open is integral and generically
+reduced of dimension h+1, the remaining affine strata having dimension at most
+h. At t=0 the products a_i^kb_i must coincide: if all a_i != 0 then a_1, ...
+,a_h,q are free before the last equation and the nonzero weighted top is
+nonzero, giving dimension at most h; if some a_i=0 the common product is zero, a
+union of coordinate h-planes of dimension h. So the homogeneous system has
+dimension h+1 with no top component in either boundary, the
+complete-intersection criterion makes its ideal prime (hence saturated in t),
+and dehomogenization gives precisely the prime ideal of Y_(pair).
+
+The degree-N part of the graded quotient is the space of affine functions
+represented by monomials of weight at most N in the scaled weights; homogenizing
+each such monomial with a power of t gives surjectivity, and injectivity holds
+because a homogeneous element vanishing after dehomogenization and localization
+at t is zero by saturation. The Hilbert series is
 ((1-z^Q)^(h-1)(1-z^E))/((1-z)(1-z^A)^h(1-z^B)^h).
-At z=1 the pole order is h+1 with leading factor Q^(h-1)E/(A^hB^h); at a nontrivial root of unity, if only one of 1-z^A,1-z^B vanishes the denominator order is h, and if both vanish the order divides gcd(A,B) hence Q and E (a monomial weight of the nonzero C_1), all h numerator factors vanish and the order is at most h. Partial fractions give (Q^(h-1)E)/(A^hB^h)(N^h)/(h!)+O(N^(h-1)+1), and taking N= floor( L_(wt)T) and rescaling proves the pair estimate; lower-dimensional coordinate planes at infinity change neither the leading coefficient nor introduce a period of order T^h.
-
-Pullback from the pair image is injective and preserves weights, so its Hilbert function is a lower bound for that of Y. If [C(Y):K_(pair)] >= 2, one original a- or b-coordinate xi lies outside K_(pair); the spaces of pair-image functions of weight at most T and of xi times those of weight at most T-omega are linearly independent (a relation A+xi B=0 with A,B in K_(pair) forces A=B=0), so H_Y(T) >= H_(Y_{pair})(T)+H_(Y_{pair})(T-omega) for T >= omega, the bounded shift leaving the leading coefficient and only changing the uniform error, and the coefficient doubles. For the basic estimate, write the local parametrization at a general point with h independent a-coordinates and replace each remaining a_j by a_1^kb_1+theta_1-theta_j; clearing denominators and extracting powers of the b-coordinates, as in the saturated determinant cut, gives a curve parameterized by monomials b^beta of weight |B|V, and H_Y(T) is at least the number of such monomials of total weight at most T, giving the stated coefficient.
-
-The degree of F_1 is bounded in terms of d,k and deg Y: n=a_1^kb_1+theta_1 is polynomial of fixed degree, and forming the graph of the map to the selected a_i and n then projecting linearly gives the bound without coefficient heights; for fixed U,V and a degree bound, only finitely many numerator degrees E occur, so the errors are uniform even for moving equations and blockwise linear changes.
-
-For an irreducible subvariety of an initial cut set: if dim Y=d it is a mixed affine component, with equation F(a,n,1) of bidegree (l,s_0) and saturated bidegree (lambda,s_0), lambda,s_0 >= 1; homogeneity in a and degree exactly s_0 in n give D=lU+(kU+V)s_0-Usum_ie_i=lambda U+s_0V >= U+V, so the pair estimate gives leading coefficient (kU+V)^(d-1)(U+V)/(U^dV^d), and every 2 <= h <= d-1 has coefficient (kU+V)^(h-1)min(U,V)/(U^hV^h). If instead h algebraically independent a-coordinates can be selected, C_1 must involve a b-coordinate (otherwise a nonzero relation among the independent a's), so D >= V and the coefficient is (kU+V)^(h-1)V/(U^hV^h); after the quartic infinite-fiber removal n is algebraic over the a-field on every remaining subvariety, so the independent selection exists, and this supplies the quartic h=3 bound. The quartic surface case needs a sharper bound than the general one.
-
-In degree four, d=4 and k=2. The number field K=Q(theta), its splitting field L, and the distinct roots theta_1, ... ,theta_4 are retained. The surface bound is improved after the infinite-fiber removal, and one fixed exceptional set of integers removes the equality case in the curve argument.
-
-Put D_0=2U+V and let Y be an irreducible surface component of an initial cut set after the infinite-fiber removal, with n,b_i,b_j algebraic over C(a_i,a_j) for every algebraically independent pair a_i,a_j. Then one of
+At z=1 the pole order is h+1 with leading factor Q^(h-1)E/(A^hB^h); at a
+nontrivial root of unity, if only one of 1-z^A,1-z^B vanishes the denominator
+order is h, and if both vanish the order divides gcd(A,B) hence Q and E (a
+monomial weight of the nonzero C_1), all h numerator factors vanish and the
+order is at most h. Partial fractions give
+(Q^(h-1)E)/(A^hB^h)(N^h)/(h!)+O(N^(h-1)+1), and taking N= floor( L_(wt)T) and
+rescaling proves the pair estimate; lower-dimensional coordinate planes at
+infinity change neither the leading coefficient nor introduce a period of order
+T^h.
+
+Pullback from the pair image is injective and preserves weights, so its Hilbert
+function is a lower bound for that of Y. If [C(Y):K_(pair)] >= 2, one original
+a- or b-coordinate xi lies outside K_(pair); the spaces of pair-image functions
+of weight at most T and of xi times those of weight at most T-omega are linearly
+independent (a relation A+xi B=0 with A,B in K_(pair) forces A=B=0), so H_Y(T)
+>= H_(Y_{pair})(T)+H_(Y_{pair})(T-omega) for T >= omega, the bounded shift
+leaving the leading coefficient and only changing the uniform error, and the
+coefficient doubles. For the basic estimate, write the local parametrization at
+a general point with h independent a-coordinates and replace each remaining a_j
+by a_1^kb_1+theta_1-theta_j; clearing denominators and extracting powers of the
+b-coordinates, as in the saturated determinant cut, gives a curve parameterized
+by monomials b^beta of weight |B|V, and H_Y(T) is at least the number of such
+monomials of total weight at most T, giving the stated coefficient.
+
+The degree of F_1 is bounded in terms of d,k and deg Y: n=a_1^kb_1+theta_1 is
+polynomial of fixed degree, and forming the graph of the map to the selected a_i
+and n then projecting linearly gives the bound without coefficient heights; for
+fixed U,V and a degree bound, only finitely many numerator degrees E occur, so
+the errors are uniform even for moving equations and blockwise linear changes.
+
+For an irreducible subvariety of an initial cut set: if dim Y=d it is a mixed
+affine component, with equation F(a,n,1) of bidegree (l,s_0) and saturated
+bidegree (lambda,s_0), lambda,s_0 >= 1; homogeneity in a and degree exactly s_0
+in n give D=lU+(kU+V)s_0-Usum_ie_i=lambda U+s_0V >= U+V, so the pair estimate
+gives leading coefficient (kU+V)^(d-1)(U+V)/(U^dV^d), and every 2 <= h <= d-1
+has coefficient (kU+V)^(h-1)min(U,V)/(U^hV^h). If instead h algebraically
+independent a-coordinates can be selected, C_1 must involve a b-coordinate
+(otherwise a nonzero relation among the independent a's), so D >= V and the
+coefficient is (kU+V)^(h-1)V/(U^hV^h); after the quartic infinite-fiber removal
+n is algebraic over the a-field on every remaining subvariety, so the
+independent selection exists, and this supplies the quartic h=3 bound. The
+quartic surface case needs a sharper bound than the general one.
+
+In degree four, d=4 and k=2. The number field K=Q(theta), its splitting field L,
+and the distinct roots theta_1, ... ,theta_4 are retained. The surface bound is
+improved after the infinite-fiber removal, and one fixed exceptional set of
+integers removes the equality case in the curve argument.
+
+Put D_0=2U+V and let Y be an irreducible surface component of an initial cut set
+after the infinite-fiber removal, with n,b_i,b_j algebraic over C(a_i,a_j) for
+every algebraically independent pair a_i,a_j. Then one of
 H_Y(T) >= ((2U+V)^2(3U+V))/(U^4V^4)(T^3)/(3!)-O(T^2),
 or
 H_Y(T) >= ((2U+V)^2V)/(U^4V^4)(T^3)/(3!)-O(T^2),
 or
 H_Y(T) >= (3T^3)/(2U^3)-O(T^2),
-holds uniformly, where in the first two the explicit leading coefficient is the pair estimate for the corresponding extracted degree. The third bound comes from three algebraically independent functions supplied by a degree-two projection to a plane.
-
-In the proof, where a_i,a_j are independent on Y, either D >= D_0 and the weighted Hilbert proposition gives the first two bounds, or D<D_0. In the latter case a monomial in C_1 has weight below 2U+V, so it contains at most one b factor, an a factor and a b factor, or three a factors; the relation among b_i,b_j has the form
+holds uniformly, where in the first two the explicit leading coefficient is the
+pair estimate for the corresponding extracted degree. The third bound comes from
+three algebraically independent functions supplied by a degree-two projection to
+a plane.
+
+In the proof, where a_i,a_j are independent on Y, either D >= D_0 and the
+weighted Hilbert proposition gives the first two bounds, or D<D_0. In the latter
+case a monomial in C_1 has weight below 2U+V, so it contains at most one b
+factor, an a factor and a b factor, or three a factors; the relation among
+b_i,b_j has the form
 c_ib_i+c_jb_j=S_(ij)(a_i,a_j), deg S_(ij) <= 2, (c_i,c_j) != (0,0),
 so D >= V, and substitution gives
-B_(ij)n=c_itheta_ia_j^2+c_jtheta_ja_i^2+a_i^2a_j^2S_(ij)(a_i,a_j), B_(ij)=c_ia_j^2+c_ja_i^2,
-with B_(ij) != 0 by independence, so n,b_i,b_j in C(a_i,a_j) for the small-degree pair.
-
-For an a-image of degree at least three, a general linear projection to an affine plane with coordinates s,t linear in the a_i has function-field degree e=deg S; choosing the centre at infinity disjoint from the projective closure, a general fibre is a complementary linear section of degree e with distinct general points in characteristic zero, and a further general linear form r separates the finite extension, so 1,r,r^2 are independent over C(s,t) and
-H_Y(T) >= sum_(j=0)^2 # { (p,q) in Z_( >= 0)^2:U(p+q+j) <= T } =(3T^2)/(2U^2)-O(T),
+B_(ij)n=c_itheta_ia_j^2+c_jtheta_ja_i^2+a_i^2a_j^2S_(ij)(a_i,a_j),
+B_(ij)=c_ia_j^2+c_ja_i^2,
+with B_(ij) != 0 by independence, so n,b_i,b_j in C(a_i,a_j) for the
+small-degree pair.
+
+For an a-image of degree at least three, a general linear projection to an
+affine plane with coordinates s,t linear in the a_i has function-field degree
+e=deg S; choosing the centre at infinity disjoint from the projective closure, a
+general fibre is a complementary linear section of degree e with distinct
+general points in characteristic zero, and a further general linear form r
+separates the finite extension, so 1,r,r^2 are independent over C(s,t) and
+H_Y(T) >= sum_(j=0)^2 # { (p,q) in Z_( >= 0)^2:U(p+q+j) <= T }
+=(3T^2)/(2U^2)-O(T),
 with a further power of a nonconstant function giving T^3.
 
-For a quadric a-image, deg S=2; the degree of an irreducible projective variety is at least its codimension in its linear span plus one, a bound recorded by Eisenbud, Green, Hulek and Popescu, so S spans an affine three-space and is a quadratic hypersurface there (a surface spanning only a plane would equal it and have degree one). The fibres of the projection to the (a_i,a_j)-plane are lines parallel to the ruled direction v, the equation of S has nonzero quadratic leading coefficient Q_2(v) on each fibre, so S has degree two over that plane and a_i,a_j are independent. If D >= D_0 the weighted Hilbert proposition gives the bound; if D<D_0 the projected-pair field is C(a_i,a_j) and the full field has degree at least two over it, so the doubling clause applies; since D >= V and 2D >= 2V >= D_0 the doubled coefficient suffices.
+For a quadric a-image, deg S=2; the degree of an irreducible projective variety
+is at least its codimension in its linear span plus one, a bound recorded by
+Eisenbud, Green, Hulek and Popescu, so S spans an affine three-space and is a
+quadratic hypersurface there (a surface spanning only a plane would equal it and
+have degree one). The fibres of the projection to the (a_i,a_j)-plane are lines
+parallel to the ruled direction v, the equation of S has nonzero quadratic
+leading coefficient Q_2(v) on each fibre, so S has degree two over that plane
+and a_i,a_j are independent. If D >= D_0 the weighted Hilbert proposition gives
+the bound; if D<D_0 the projected-pair field is C(a_i,a_j) and the full field
+has degree at least two over it, so the doubling clause applies; since D >= V
+and 2D >= 2V >= D_0 the doubled coefficient suffices.
 ./eisenbud-green-hulek-popescu-ajm-2006.pdf
 
-For a plane a-image, deg S=1, so S=A is an affine plane rational in the first block; every a_i is nonconstant on A, since a nonzero rational direction is a nonzero element of K with all embeddings nonzero, and the linear parts span the dual of the two-dimensional direction space. Join i,j when the linear parts are independent: the graph is complete multipartite on the parallelism classes (at least two, connected, no isolated vertex), and an edge is exactly an independent pair. Suppose every such pair has D<D_0; then the small relation holds on every edge and makes n a rational function on A.
-
-If n is polynomial, B_(ij) has degree exactly two for an independent pair while the right side has degree at most six, so deg n <= 4. Every index has nonzero coefficient in at least one relation: starting from one nonzero coefficient and applying Galois automorphisms (which preserve Y, permute conjugate coordinates and roots transitively, and preserve independence and the degree bound) gives the full orbit. Fix a relation with c_i != 0; at the generic point of a_i=0 the independent coordinate a_j is a unit, so polynomiality of n makes b_j=(n-theta_j)/a_j^2 regular there and the relation makes b_i regular, whence a_i^2 | n-theta_i in C[A] for each i. The four zero lines are distinct since the theta_i are; restricting to a general affine line gives a polynomial of degree at most four with four distinct critical points and four distinct critical values, whose derivative would have four roots despite degree at most three (or be zero with equal values), impossible.
-
-If n is nonpolynomial, both coefficients in every relation are nonzero (else n would be polynomial); writing n=P/Q in reduced form, an irreducible factor of the nonconstant denominator Q divides every B_(ij) by the displayed identity. Over C, B_(ij) is a product of two distinct affine linear forms a_j +- zeta a_i with zeta != 0; the fixed factor defines a line ell through the common zero of a_i,a_j transverse to both zero lines, and for each edge the two intersections with ell coincide. Connectivity forces all four zero lines through one point O. Centering at O makes each a_i homogeneous linear; scaling by t and taking the rational-function limit at t=0 gives, for every independent pair, the same function of the projective direction,
+For a plane a-image, deg S=1, so S=A is an affine plane rational in the first
+block; every a_i is nonconstant on A, since a nonzero rational direction is a
+nonzero element of K with all embeddings nonzero, and the linear parts span the
+dual of the two-dimensional direction space. Join i,j when the linear parts are
+independent: the graph is complete multipartite on the parallelism classes (at
+least two, connected, no isolated vertex), and an edge is exactly an independent
+pair. Suppose every such pair has D<D_0; then the small relation holds on every
+edge and makes n a rational function on A.
+
+If n is polynomial, B_(ij) has degree exactly two for an independent pair while
+the right side has degree at most six, so deg n <= 4. Every index has nonzero
+coefficient in at least one relation: starting from one nonzero coefficient and
+applying Galois automorphisms (which preserve Y, permute conjugate coordinates
+and roots transitively, and preserve independence and the degree bound) gives
+the full orbit. Fix a relation with c_i != 0; at the generic point of a_i=0 the
+independent coordinate a_j is a unit, so polynomiality of n makes
+b_j=(n-theta_j)/a_j^2 regular there and the relation makes b_i regular, whence
+a_i^2 | n-theta_i in C[A] for each i. The four zero lines are distinct since the
+theta_i are; restricting to a general affine line gives a polynomial of degree
+at most four with four distinct critical points and four distinct critical
+values, whose derivative would have four roots despite degree at most three (or
+be zero with equal values), impossible.
+
+If n is nonpolynomial, both coefficients in every relation are nonzero (else n
+would be polynomial); writing n=P/Q in reduced form, an irreducible factor of
+the nonconstant denominator Q divides every B_(ij) by the displayed identity.
+Over C, B_(ij) is a product of two distinct affine linear forms a_j +- zeta a_i
+with zeta != 0; the fixed factor defines a line ell through the common zero of
+a_i,a_j transverse to both zero lines, and for each edge the two intersections
+with ell coincide. Connectivity forces all four zero lines through one point O.
+Centering at O makes each a_i homogeneous linear; scaling by t and taking the
+rational-function limit at t=0 gives, for every independent pair, the same
+function of the projective direction,
 R=(c_itheta_ia_j^2+c_jtheta_ja_i^2)/(c_ia_j^2+c_ja_i^2),
-the S_(ij) term acquiring an extra t^2. This is a fractional linear transform of (a_i/a_j)^2 with nonzero determinant c_ic_j(theta_j-theta_i), of degree two, ramified exactly at the two directions a_i=0,a_j=0 with values theta_i,theta_j. Since every index occurs in an edge the same function would be ramified in four directions with four distinct values, contradicting either coincident directions (distinct values) or the displayed degree-two form (four distinct directions). Hence some independent pair has D >= D_0, proving the bound; the extra independent functions have bounded weighted degree, so shifts by such functions preserve the uniform error.
-
-For the quintic equality case, the polynomial line curves can have first coordinates linear in a rational parameter and second coordinates polynomial; then (t-tau_i)^2 | n(t)-theta_i, the least degree of n(t) is five, and all such quintics lie in one fixed finite family.
-
-Proposition (quintic discard). There are finitely many Phi in L[t] of degree five with distinct critical points z_1=0,z_2=1,z_3,z_4 and Phi(z_i)=theta_i. Let F_f be this family and E_f= { n in Z: n=Phi(z) for some Phi in F_f, z in L } ; then # (E_f intersect [-2X,2X]) << _fX^(1/5). If N(s) in L[s] has degree five with distinct critical points tau_1, ... ,tau_4 in L and N(tau_i)=theta_i, every integer value N(s) at s in L lies in E_f.
-
-In the proof, over C introduce the six coefficients of Phi and z_3,z_4, impose Phi(z_i)=theta_i, Phi'(z_i)=0, and require nonzero leading coefficient and distinct z_i, a finite-type locus whose four critical points are simple (distinct and exhausting Phi' of degree four). If a reduced irreducible component had positive dimension, its function field admits a nonzero derivation d over C; with Q=, differentiating the value equations gives Q(z_i)=0, so Q=APhi' with deg A <= 1, and differentiating the critical-point equations gives 0=Q'(z_i)+Phi''(z_i)d z_i=Phi''(z_i)(A(z_i)+d z_i), so A(z_i)=-d z_i. The normalizations give A(0)=A(1)=0, hence A=0 and d kills all coefficients and all z_i, generating the function field, a contradiction; the locus is zero-dimensional and has finitely many points, and its L-points are finite.
-
-For finiteness over L, fix one Phi and an integer c>0 with cPhi(t)=A_5t^5+ ... +A_0, A_i in O_L, A_5 != 0. If Phi(z)=n in Z and w=A_5z, then w satisfies a monic equation over O_L, so w in O_L and z in A_5^(-1)O_L. For each embedding sigma, sigma(Phi)(sigma(z))=n, the leading term dominating outside a fixed radius, so max_sigma|sigma(z)| << X^(1/5) for |n| <= 2X; in a fixed Z-basis e_1, ... ,e_(r_L) of the fractional lattice, z=sum u_je_j with |u_j| << X^(1/5).
-
-The locus of rational Phi(z) is cut out over Q by expanding Phi(sum u_je_j) in a rational basis beginning with 1 and setting other coordinates to zero; after base change to C it is the inverse image of the diagonal under (w_sigma) |-> (sigma(Phi)(w_sigma)), with coordinate ring C[v,(w_sigma)]/(sigma(Phi)(w_sigma)-v), finite free of rank 5^(r_L) over C[v] (basis the products w_sigma^(e_sigma), 0 <= e_sigma<5), hence dimension one and bounded degree. Counting lattice points in a convex body of dimension one and radius X^(1/5) with height at least one gives O_f(X^(1/5)).
-The two-dimensional alternatives are paired with a one-dimensional statement: a rational function of bounded degree takes integer values at few integral inputs of bounded size, uniformly even when the function varies with the curve and with the integral coordinate changes.
-
-Lemma (integral values of a rational function). Fix a positive integer D and positive constants A,B,C_0. For every epsilon>0 and X >= 2, let R in Q(s) be a nonpolynomial rational function whose reduced numerator and denominator have degrees at most D. Then
-# { s in Z: |s| <= C_0X^A, R(s) in Z, |R(s)| <= C_0X^B } << _(D,A,B,C_0,epsilon)X^epsilon,
-the constant independent of the coefficients of R; inputs at which R has a pole are excluded.
-
-In the proof, clear denominators and write R=p/q with p,q in Z[s] primitive, deg p,deg q <= D and gcd(p,q)=1. The resultant identity ap+bq=M with a,b in Z[s] and M a nonzero integer shows that for every integer s with R(s)=m in Z one has q(s) | p(s) and hence q(s) | M; also |q(s)| << X^(AD) on the range. The integer-valued s are multiplicatively separated. For two such integers s<s',
+the S_(ij) term acquiring an extra t^2. This is a fractional linear transform of
+(a_i/a_j)^2 with nonzero determinant c_ic_j(theta_j-theta_i), of degree two,
+ramified exactly at the two directions a_i=0,a_j=0 with values theta_i,theta_j.
+Since every index occurs in an edge the same function would be ramified in four
+directions with four distinct values, contradicting either coincident directions
+(distinct values) or the displayed degree-two form (four distinct directions).
+Hence some independent pair has D >= D_0, proving the bound; the extra
+independent functions have bounded weighted degree, so shifts by such functions
+preserve the uniform error.
+
+For the quintic equality case, the polynomial line curves can have first
+coordinates linear in a rational parameter and second coordinates polynomial;
+then (t-tau_i)^2 | n(t)-theta_i, the least degree of n(t) is five, and all such
+quintics lie in one fixed finite family.
+
+Proposition (quintic discard). There are finitely many Phi in L[t] of degree
+five with distinct critical points z_1=0,z_2=1,z_3,z_4 and Phi(z_i)=theta_i. Let
+F_f be this family and E_f= { n in Z: n=Phi(z) for some Phi in F_f, z in L } ;
+then # (E_f intersect [-2X,2X]) << _fX^(1/5). If N(s) in L[s] has degree five
+with distinct critical points tau_1, ... ,tau_4 in L and N(tau_i)=theta_i, every
+integer value N(s) at s in L lies in E_f.
+
+In the proof, over C introduce the six coefficients of Phi and z_3,z_4, impose
+Phi(z_i)=theta_i, Phi'(z_i)=0, and require nonzero leading coefficient and
+distinct z_i, a finite-type locus whose four critical points are simple
+(distinct and exhausting Phi' of degree four). If a reduced irreducible
+component had positive dimension, its function field admits a nonzero derivation
+d over C; with Q=, differentiating the value equations gives Q(z_i)=0, so
+Q=APhi' with deg A <= 1, and differentiating the critical-point equations gives
+0=Q'(z_i)+Phi''(z_i)d z_i=Phi''(z_i)(A(z_i)+d z_i), so A(z_i)=-d z_i. The
+normalizations give A(0)=A(1)=0, hence A=0 and d kills all coefficients and all
+z_i, generating the function field, a contradiction; the locus is
+zero-dimensional and has finitely many points, and its L-points are finite.
+
+For finiteness over L, fix one Phi and an integer c>0 with cPhi(t)=A_5t^5+ ...
++A_0, A_i in O_L, A_5 != 0. If Phi(z)=n in Z and w=A_5z, then w satisfies a
+monic equation over O_L, so w in O_L and z in A_5^(-1)O_L. For each embedding
+sigma, sigma(Phi)(sigma(z))=n, the leading term dominating outside a fixed
+radius, so max_sigma|sigma(z)| << X^(1/5) for |n| <= 2X; in a fixed Z-basis e_1,
+... ,e_(r_L) of the fractional lattice, z=sum u_je_j with |u_j| << X^(1/5).
+
+The locus of rational Phi(z) is cut out over Q by expanding Phi(sum u_je_j) in a
+rational basis beginning with 1 and setting other coordinates to zero; after
+base change to C it is the inverse image of the diagonal under (w_sigma) |->
+(sigma(Phi)(w_sigma)), with coordinate ring
+C[v,(w_sigma)]/(sigma(Phi)(w_sigma)-v), finite free of rank 5^(r_L) over C[v]
+(basis the products w_sigma^(e_sigma), 0 <= e_sigma<5), hence dimension one and
+bounded degree. Counting lattice points in a convex body of dimension one and
+radius X^(1/5) with height at least one gives O_f(X^(1/5)).
+The two-dimensional alternatives are paired with a one-dimensional statement: a
+rational function of bounded degree takes integer values at few integral inputs
+of bounded size, uniformly even when the function varies with the curve and with
+the integral coordinate changes.
+
+Lemma (integral values of a rational function). Fix a positive integer D and
+positive constants A,B,C_0. For every epsilon>0 and X >= 2, let R in Q(s) be a
+nonpolynomial rational function whose reduced numerator and denominator have
+degrees at most D. Then
+# { s in Z: |s| <= C_0X^A, R(s) in Z, |R(s)| <= C_0X^B } <<
+_(D,A,B,C_0,epsilon)X^epsilon,
+the constant independent of the coefficients of R; inputs at which R has a pole
+are excluded.
+
+In the proof, clear denominators and write R=p/q with p,q in Z[s] primitive, deg
+p,deg q <= D and gcd(p,q)=1. The resultant identity ap+bq=M with a,b in Z[s] and
+M a nonzero integer shows that for every integer s with R(s)=m in Z one has q(s)
+| p(s) and hence q(s) | M; also |q(s)| << X^(AD) on the range. The
+integer-valued s are multiplicatively separated. For two such integers s<s',
 (s-s')W(s,s')=q(s)q(s')(R(s)-R(s')),
-where W in Z[s,s'] is the divided-difference numerator, bounded by X^(2D-1); since R(s)-R(s') is a nonzero integer and q(s)q(s') | M^2, the left side is divisible by q(s)q(s') and the gap s'-s is at least c |q(s)q(s')|/X^(2D-1) with c>0 absolute. Partitioning the divisor-bounded integers into O(X^epsilon) dyadic classes for |q(s)| and using the gap inside each class, the count is O_(D,A,B,C_0)(X^epsilon); the dependence on M cancels because q(s) is bounded by M but also by X^(AD), and only the divisor count of the fixed integer M up to that size enters.
-
-Proposition (curve alternatives). Put g=(d-1)(k-1)+1_(d=4) and delta_1(U,V)=max { U/2,min(U,V/g) } . Fix a degree bound E, and let C be a geometrically irreducible curve of degree at most E, defined over Q, in the arithmetic variety a_i^kb_i=n-theta_i in the coordinates above. For every epsilon>0 either |S intersect C| << _(f,E,epsilon)X^epsilon, or its filtered Hilbert dimension with weight U on x' and V on y' satisfies
+where W in Z[s,s'] is the divided-difference numerator, bounded by X^(2D-1);
+since R(s)-R(s') is a nonzero integer and q(s)q(s') | M^2, the left side is
+divisible by q(s)q(s') and the gap s'-s is at least c |q(s)q(s')|/X^(2D-1) with
+c>0 absolute. Partitioning the divisor-bounded integers into O(X^epsilon) dyadic
+classes for |q(s)| and using the gap inside each class, the count is
+O_(D,A,B,C_0)(X^epsilon); the dependence on M cancels because q(s) is bounded by
+M but also by X^(AD), and only the divisor count of the fixed integer M up to
+that size enters.
+
+Proposition (curve alternatives). Put g=(d-1)(k-1)+1_(d=4) and delta_1(U,V)=max
+{ U/2,min(U,V/g) } . Fix a degree bound E, and let C be a geometrically
+irreducible curve of degree at most E, defined over Q, in the arithmetic variety
+a_i^kb_i=n-theta_i in the coordinates above. For every epsilon>0 either |S
+intersect C| << _(f,E,epsilon)X^epsilon, or its filtered Hilbert dimension with
+weight U on x' and V on y' satisfies
 H_C(T) >= (T)/(delta_1(U,V))-O_(f,E)(1).
-The implied constants may depend on a fixed compact set containing U,V; otherwise the implied constants are uniform in the weights and the integral coordinate changes, in particular for the weights arising from the lattice-box proposition.
-
-If n is constant on C the fixed-n bound applies, and if the a-image is constant then invertibility makes x' constant and the fixed-x' bound applies; assume both nonconstant. If the a-image is nonlinear, a generic linear projection to an affine line has degree equal to its degree, at least two, by intersecting the projective closure with general hyperplanes of a pencil whose centre avoids the points at infinity; the same conclusion holds for a line image with a nonconstant x'-coordinate t. In either case some x'- or y'-coordinate q lies outside C(t), and the families 1,t,t^2, ... and q,qt,qt^2, ... are linearly independent, the weight of q at most max(U,V), so H_C(T) >= 2T/U-O(1); since delta_1 >= U/2 this gives the bound in these cases.
-
-If the a-image is a line and the function-field degree over its linear coordinate t is one, write a_i=r_it+q_i with rational r_i,q_i and let x' be a coordinate linear in the a_i that is nonconstant on C. If some y'_i is a nonpolynomial rational function, the rational-function lemma applied to the integral inputs s and integral outputs y'_i (with bounds coming from the transformed box) leaves O_f(1) selected points per input, giving the exceptional alternative without any height bound on the moving line or coordinate change. Otherwise every y'_i is polynomial in s, hence b_i and n are as well; with tau_i=-q_i/r_i the identities give (s-tau_i)^k | n(s)-theta_i, the tau_i distinct because a common value would force two distinct conjugates theta_i to equal n there, and differentiation then gives
+The implied constants may depend on a fixed compact set containing U,V;
+otherwise the implied constants are uniform in the weights and the integral
+coordinate changes, in particular for the weights arising from the lattice-box
+proposition.
+
+If n is constant on C the fixed-n bound applies, and if the a-image is constant
+then invertibility makes x' constant and the fixed-x' bound applies; assume both
+nonconstant. If the a-image is nonlinear, a generic linear projection to an
+affine line has degree equal to its degree, at least two, by intersecting the
+projective closure with general hyperplanes of a pencil whose centre avoids the
+points at infinity; the same conclusion holds for a line image with a
+nonconstant x'-coordinate t. In either case some x'- or y'-coordinate q lies
+outside C(t), and the families 1,t,t^2, ... and q,qt,qt^2, ... are linearly
+independent, the weight of q at most max(U,V), so H_C(T) >= 2T/U-O(1); since
+delta_1 >= U/2 this gives the bound in these cases.
+
+If the a-image is a line and the function-field degree over its linear
+coordinate t is one, write a_i=r_it+q_i with rational r_i,q_i and let x' be a
+coordinate linear in the a_i that is nonconstant on C. If some y'_i is a
+nonpolynomial rational function, the rational-function lemma applied to the
+integral inputs s and integral outputs y'_i (with bounds coming from the
+transformed box) leaves O_f(1) selected points per input, giving the exceptional
+alternative without any height bound on the moving line or coordinate change.
+Otherwise every y'_i is polynomial in s, hence b_i and n are as well; with
+tau_i=-q_i/r_i the identities give (s-tau_i)^k | n(s)-theta_i, the tau_i
+distinct because a common value would force two distinct conjugates theta_i to
+equal n there, and differentiation then gives
 deg n >= 1+d(k-1), deg b_i=deg n-k >= (d-1)(k-1)=g.
-For d=4 equality would give deg n=5, whose derivative would have the four simple zeros tau_i with the prescribed critical values; with Phi(z)=n(tau_1+(tau_2-tau_1)z) and z=(s-tau_1)/(tau_2-tau_1) the integer value n=Phi(z) lies in the global exceptional set of the quintic-discard proposition, so such a curve has no surviving selected points. Choosing one b_i of degree ell >= g in s, the functions s^jb_i^a with 0 <= j<g, a >= 0, jU+aV <= T are linearly independent (the degrees j+ell a are distinct), giving H_C(T) >= gT/V-O_g(1+U/V), while powers of s alone give H_C(T) >= T/U-O(1); boundedness of U/V and these two estimates give H_C(T) >= T/min(U,V/g)-O(1), which with the case above is T/delta_1(U,V)-O(1).
-
-The proof applies to every bounded-degree curve defined over Q occurring after a later cut: the exceptional alternative uses only the bounded integral input and output sizes, and the Hilbert alternative only degrees and weights, so moving equations and moving integral bases introduce no new coefficient-height requirement in dimension one.
+For d=4 equality would give deg n=5, whose derivative would have the four simple
+zeros tau_i with the prescribed critical values; with
+Phi(z)=n(tau_1+(tau_2-tau_1)z) and z=(s-tau_1)/(tau_2-tau_1) the integer value
+n=Phi(z) lies in the global exceptional set of the quintic-discard proposition,
+so such a curve has no surviving selected points. Choosing one b_i of degree ell
+>= g in s, the functions s^jb_i^a with 0 <= j<g, a >= 0, jU+aV <= T are linearly
+independent (the degrees j+ell a are distinct), giving H_C(T) >=
+gT/V-O_g(1+U/V), while powers of s alone give H_C(T) >= T/U-O(1); boundedness of
+U/V and these two estimates give H_C(T) >= T/min(U,V/g)-O(1), which with the
+case above is T/delta_1(U,V)-O(1).
+
+The proof applies to every bounded-degree curve defined over Q occurring after a
+later cut: the exceptional alternative uses only the bounded integral input and
+output sizes, and the Hilbert alternative only degrees and weights, so moving
+equations and moving integral bases introduce no new coefficient-height
+requirement in dimension one.
 
 The numerical choices that remain are finite and are fixed once. Set
 K_0 = 3000, G_0 = 100000 and tau = 1/50000. For an integer
@@ -340,14 +1151,16 @@ Claim (parameter choice). For d in { 4, 5, 6, 7, 8 } and every
 integer z with K_0 <= z < z_d the following hold:
 (a) 0 < m < 1 and min(eta_-, b_-) > m;
 (b) the strict cut inequalities
-w^(d-1)H(t_*) > (((d+1)(eta_+ + b_+ t_*))/(d^2) )^d, w^(d-2)min { H_a(t_*), H_b(t_*) } > ((eta_+ + b_+ t_*)/(d-1) )^(d-1);
+w^(d-1)H(t_*) > (((d+1)(eta_+ + b_+ t_*))/(d^2) )^d, w^(d-2)min { H_a(t_*),
+H_b(t_*) } > ((eta_+ + b_+ t_*)/(d-1) )^(d-1);
 (c) 3/20 <= v/u <= 5 and
 m + sum_(h=1)^d E_h(u,v) < 999/1000, where
 E_h(U,V) = max_(h <= s <= d) delta_s(U,V) and
 delta_d(U,V) = (UV)/( ((kU+V)^(d-1)(U+V) )^(1/d)),
 delta_h(U,V) = (UV)/( ((kU+V)^(h-1)min(U,V) )^(1/h)) (2 <= h <= d-1, outside Q),
 delta_3(U,V) = (UV)/( ((kU+V)^2 V )^(1/3)) (mode Q),
-delta_2(U,V) = max { (UV)/( ((kU+V)min(3U,2V,U+V) )^(1/2)), (U)/(sqrt(3)) } (mode Q),
+delta_2(U,V) = max { (UV)/( ((kU+V)min(3U,2V,U+V) )^(1/2)), (U)/(sqrt(3)) }
+(mode Q),
 delta_1(U,V) = max { U/2, min(U, V/g) } , g = (d-1)(k-1) + 1_(d=4).
 In mode Q the additional margin m + 2u < 999/1000 holds. The
 stopping indices are
@@ -374,7 +1187,8 @@ epsilon_0 = 10^(-6), eta_ +- = 1-epsilon_0 and 3001/3000,
 b_ +- = 2 + 2epsilon_0 and 2999/1500, t_* = 1/2,
 w = 24809/100000; it produces m = 74427/100000,
 u = 76819/1200000, v = 313933/1000000 and the downward bounds
-(_4, _3, _2, _1) = (4729/100000, 5097/100000, 6899/100000, 76819/1200000), with margins
+(_4, _3, _2, _1) = (4729/100000, 5097/100000, 6899/100000, 76819/1200000), with
+margins
 1 - m - sum_h E_h - 4tau = 1941/100000 and
 1 - m - 2u - 2tau = 15319/120000.
 
@@ -390,7 +1204,8 @@ such functions, so it is again concave, increasing, homogeneous of
 degree one. Its differential in the direction (1,1) has absolute
 value less than one on the ratio interval because the one-variable
 inequality
-t (1 + (1)/(t) - (h-1)/(h)(k+1)/(k+t) - (1)/(h)(a+b)/(a+bt) ) <= ((k+t)^(h-1)(a+bt) )^(1/h)
+t (1 + (1)/(t) - (h-1)/(h)(k+1)/(k+t) - (1)/(h)(a+b)/(a+bt) ) <=
+((k+t)^(h-1)(a+bt) )^(1/h)
 holds for t = 3/20 and t = 5 (an integer check for
 2 <= k <= 6, 2 <= h <= k+2, and (a,b) in { (1,0),(0,1),(1,1) } ).
 Concavity gives the same for every intermediate t. Integrating
@@ -407,12 +1222,21 @@ range off exactly where the direct surface estimate becomes weaker
 than the number-field argument. In the quartic case the last mode Q
 interval ends at 4/3 and meets the first ordinary interval.
 
-The determinant method of Bombieri and Pila in Salberger's global form is the affine counting input to the number-field and elementary-surface ranges.
+The determinant method of Bombieri and Pila in Salberger's global form is the
+affine counting input to the number-field and elementary-surface ranges.
 ./bombieri-pila-duke-1989-ovals.pdf
 ./salberger-crelle-2007-density.pdf
 ./heath-brown-annals-2002-curves-surfaces.pdf
 
-Two applications occur. The elementary-surface step uses ambient space C^3 with coordinates (x, y, z) of weights (1, b', eta') and the surface f(x) = y z^k; its Hilbert function is (D)/(b' eta') T^2/2 + O(T) with D = max { d, b'+keta' } , so the surface threshold is delta_2 = sqrt(b'eta'/D) < 0.4999, and its curves have threshold delta_1 = 1/2, giving the bound O(X^(delta_2 + 1/2 + epsilon)). The number-field step uses ambient space C^(2d) with the mixed weight U on x and V on y and the pair-image thresholds E_h(U, V), giving the bound O(X^(sum_h E_h(U,V) + epsilon)) per box; after the box summation and range aggregation the exponent becomes O(X^(1 - delta)) uniformly.
+Two applications occur. The elementary-surface step uses ambient space C^3 with
+coordinates (x, y, z) of weights (1, b', eta') and the surface f(x) = y z^k; its
+Hilbert function is (D)/(b' eta') T^2/2 + O(T) with D = max { d, b'+keta' } , so
+the surface threshold is delta_2 = sqrt(b'eta'/D) < 0.4999, and its curves have
+threshold delta_1 = 1/2, giving the bound O(X^(delta_2 + 1/2 + epsilon)). The
+number-field step uses ambient space C^(2d) with the mixed weight U on x and V
+on y and the pair-image thresholds E_h(U, V), giving the bound O(X^(sum_h
+E_h(U,V) + epsilon)) per box; after the box summation and range aggregation the
+exponent becomes O(X^(1 - delta)) uniformly.
 
 The range
 phi_d(eta) <= 2495/10000