Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Polynomial arithmetic cost for rounded-input bounded-grid root isolation

Statement

Let P be a nonzero real rational polynomial of degree n. Let H≥1 bound the binary lengths of its integer coefficients after clearing denominators and removing content. The efficient alternate GRID-ROOTS(P,b) terminates and has the same root/multiplicity correctness as ROOTS. It uses poly⁡(n,H,b) exact rational arithmetic and comparison operations. No cost for a rational operation is silently identified with its bit cost.

For bounded real p of degree at most d and parity d mod 2, put τ=min⁡(δ,8) and log⁡+(x)=max⁡(0,log⁡x). ROUND-QSP(p,d,δ) uses poly⁡(d,log⁡+(1/δ)) exact coefficient comparisons and rational arithmetic, and returns a parity-preserving dyadic h with ∥h−p∥∞≤5τ/64<τ/8, ∥h∥∞≤1−3τ/64, and an integer multiple of 1−h2 with degree at most 2d and coefficient height O(dlog⁡(d+1)+log⁡+(1/δ)+1). Consequently its root isolators to b bits cost poly⁡(d,log⁡+(1/δ),b) arithmetic operations independently of the original coefficient heights in this declared coefficient-access model.

This does not assert polynomial arithmetic complexity for refining the resulting algebraic QSP phases, nor bit complexity for the Euclidean-remainder implementation, nor efficient reading of an arbitrarily long input encoding.

Facts & Assumptions

Given: The inputs and exact rational/input-comparison model in the Statement.

[F1]

Bounded-grid rational root isolation and rounded numerical QSP input defines rounding and bounded-grid root isolation.

[F2]

Correctness and termination of certified complex-polynomial root isolation establishes correctness of the original winding/Sturm/root/multiplicity procedure for admissible cuts. Only its finite correctness, not a resource claim, is used.

[F3]

Sturm signed remainders count distinct real polynomial roots identifies the signed-remainder variation drop with the open-interval distinct-root count after endpoint handling.

[F4]

The discriminant of a monic polynomial as the coefficient expression of Δn2 defines the discriminant of a monic polynomial with integer coefficients by an integer coefficient polynomial Dn. The discriminant is ∏i<j(αi−αj)2 and vanishes exactly when a monic polynomial has a repeated root states that this discriminant is ∏i<j(αi−αj)2 and is nonzero exactly when the polynomial has no repeated root.

Proof

1.1givenalgebra

For d≥1 interpolate p at xj=−1+2j/d, j=0,…,d. The Lagrange basis is Lj(x)=∏k≠j(x−xk)/∏k≠j(xj−xk). The numerator's sum of absolute coefficients is at most ∏k≠j(1+∣xk∣)≤2d; the absolute denominator is (2/d)dj!(d−j)!≥(2/d)d. Therefore each coefficient of Lj has absolute value at most dd, and, since ∣p(xj)∣≤1, every coefficient of p has absolute value at most A=(d+1)dd. This interpolation identity follows because subtracting the interpolant leaves a polynomial of degree at most d with d+1 distinct zeros. For d=0 use A=1. Hence log⁡2(max⁡(2,A))=O(dlog⁡(d+1)+1), independently of any encoding of the original coefficients.

1.2givenalgebra

We give explicit coarse separation estimates sufficient for counting subdivisions. For a primitive integer polynomial U of degree m and coefficient magnitude at most 2J, every root has ∣z∣≤C=1+2J by the Cauchy argument: outside that radius the leading monomial strictly dominates the geometric sum of the others. Every primitive integer divisor V of U has leading coefficient dividing that of U and all its roots among those of U. Its coefficients, by expanding its linear factors, thus have magnitude at most 2J2mmax⁡(1,C)m. The assertion that primitive integer divisors may be used here follows from Gauss's lemma: products of primitive polynomials are primitive, since reduction modulo any prime gives a product of two nonzero polynomials over a field; clearing denominators of a rational factorization and comparing contents then gives the integral factorization. Consequently the primitive square-free part, and every gcd with another integer polynomial, has coefficient height O(m(J+1)). This is an output coefficient-growth bound; it does not bound the internal Euclidean fractions.

1.3F1algebra

For the root-isolation input P, if n=deg⁡P=0, the constant branch in [F1] returns the empty list, which is correct and takes constant work; assume n≥1 below. Put q equal to the square-free part of P and F(x,y)=Im⁡q(x+iy). This is a nonzero real bivariate polynomial of total degree at most n: if Im⁡q vanished everywhere, its x derivative and its y derivative would force q′=0 by the coefficient expansion, contrary to nonconstancy. A nonzero bivariate polynomial of total degree ≤n vanishes at at most nN points of a product of two N-point sets. Indeed, if its leading nonzero coefficient as a polynomial in y has x-degree s, at most s x-values annihilate that coefficient; at every remaining x there are at most n−s y-zeros, giving at most sN+(N−s)(n−s)≤nN. Each fixed old edge restriction of F is nonzero by admissibility, so it has at most n forbidden new vertex coordinates. There are at most n root real coordinates and n root imaginary coordinates, and at most n coordinates making F vanish identically along a vertical or horizontal line: such a coordinate must annihilate any chosen nonzero coefficient polynomial. The new center-vertex condition excludes at most nN pairs. Old-edge vertex, root-line, and identically-zero-edge restrictions together exclude fewer than 20(n+1)N pairs. The analogous four outer-corner polynomials F(±X,±Y) are nonzero and obey the same bound. Therefore N=100(n+1) gives an admissible pair both outside and inside, so INTERNAL_ERROR is unreachable. At most N2 candidate pairs are tested at each node. A univariate nonzero polynomial similarly excludes at most n candidates, proving the one-dimensional bounded search.

2.1F1step 1.1algebra

Let τ=min⁡(δ,8) and t=2−L. The least-L rule gives t≤τ/[64(d+1)] and, unless L=0, t>τ/[128(d+1)]. Since 0<τ≤8, the shrink factor 1−τ/16 lies in [1/2,1). For each scaled coefficient, binary search over the integer mesh indices in [−M,M], where M=(A+2)2L, finds the lower mesh point and exact comparison with its midpoint resolves the rounding tie. Since the interpolation bound gives ∣((1−τ/16)p)j∣≤A, this search interval contains the needed cell and takes O(log⁡(A+1)+L) exact comparisons and rational arithmetic operations, including each integer midpoint division by two. Rounding error per coefficient is at most t/2≤τ/[64(d+1)], so ∥h−(1−τ/16)p∥∞≤τ/64. Thus ∥h−p∥∞≤5τ/64<τ/8 and ∥h∥∞≤1−3τ/64. Parity is preserved because forbidden coefficients remain exactly zero. The integers 2Lhj have length O(L+log⁡(A+1)), and the convolution coefficients of 22L(1−h2) have length O(L+log⁡(A+1)+log⁡(d+1)). Minimality of L gives L=O(log⁡(d+1)+log⁡+(1/τ)+1), proving the claimed height and rounding cost, also when δ≥1. Zero leading rounded coefficients only lower the actual degree.

2.2F4step 1.2algebra

Let V(z)=azr+∑j<rvjzj be the primitive square-free integer part of U, of degree r≥2. Define W(t)=ar−1V(t/a). Its leading coefficient is one, and its j-th coefficient for j<r is vjar−1−j, an integer. Its distinct roots are βi=aζi, with ∣βi∣≤∣a∣C. By [F4], Disc⁡(W) is a nonzero integer and ∣Disc⁡(W)∣=∏i<j∣βi−βj∣2≥1. If Δβ is the least separation of its roots, all other pairwise distances are at most 2∣a∣C, so 1≤Δβ2(2∣a∣C)r(r−1)−2. Therefore the separation of the roots of V obeys Δζ=Δβ/∣a∣≥∣a∣−1(2∣a∣C)−(r(r−1)−2)/2. Step 1.2 bounds log⁡2∣a∣ by O(m(J+1)) and log⁡2C by O(J+1), so log⁡2(1/Δζ)=O(m3(J+1)). Constants and degree-one polynomials need no separation estimate. This argument uses only the two actual local discriminant suppliers in [F4], with no resultant multiplicativity premise.

3.1F1F2step 2.2step 1.3algebra

Every child side length lies between one third and two thirds of its parent side length. The initial side lengths have logarithm O(H+1), by the original Cauchy bound. By step 2.2, after D=poly⁡(n,H,b) levels every rectangle has diameter less than both 2−b and the least distinct-root separation, and hence has count at most one. At every level at most n positive-count rectangles exist, because their disjoint interiors each contain a root by [F2]. Each is replaced by at most four children, so there are O(n(D+1)) tested tree nodes, not 4D. A side at level k has length at least its initial length times 3−k. The least dyadic denominator containing N+1 middle-third points therefore has exponent O(H+k+log⁡(n+1)); all coordinates have numerator and denominator length T=O(H+D+log⁡(n+1)). Even if the interval already contains many integers, only its first N grid points are tested. This last restriction is essential: unrestricted lexicographic enumeration of all pairs in a very wide interval has no polynomial bound merely from a finite forbidden-coordinate count.

4.1F1step 2.1step 3.1algebra

For root analysis with n≥1 (the constant case is settled in step 1.3), integer parts and grid generation are charged operations rather than free primitives. For a rational operand of numerator/denominator length at most S, find its bounding signed powers of two by doubling, then find its floor by binary search through the bounded integer interval, using O(S+1) rational comparisons and additions; compare exactly with the resulting integer to obtain the ceiling and strict open-interval endpoints. Before denominator clearing, normalize the input P by its nonzero leading coefficient in O(n+1) rational field operations. If U is its primitive integer representative with height H, each resulting monic coefficient ratio is Uj/Un, whose reduced numerator and denominator lengths are O(H), independently of an arbitrarily large common rational scalar in the original P. The product of these at most n+1 denominators has length O((n+1)H); using that product as common denominator gives integer coefficients of length O((n+1)H). Their content is found by integer Euclidean gcds. Each division quotient is obtained by the bounded binary search just described, with polynomial-length integer operands. Integer remainders decrease in magnitude; after at most two nonterminal divisions the larger nonzero operand has at least halved (if the first remainder exceeds half the previous divisor, the next is smaller than its complement). Thus the number of divisions per gcd is linear in the initial operand length. Content removal and denominator clearing therefore cost poly⁡(n,H) rational arithmetic and comparisons. The resulting primitive integer representative has height at most H and is the input used in step 1.2 and step 2.2 and step 1.3 and step 3.1. In particular the outer B is obtained in poly⁡(H) operations from the original coefficient ratios. To generate a grid, begin with denominator one and double it, recomputing the strict lower/upper admissible integer numerators by this binary search, until their difference gives at least N+1 points. Step 3.1 bounds the number of doublings by O(H+D+log⁡(n+1)); every rational tested has polynomial numerator/denominator height in n,H,b, because it is a parent coordinate or width times such a dyadic denominator. Each integer-part search therefore costs poly⁡(n,H,b) operations. Writing the first N consecutive grid numerators costs O(N) further additions. This bound also applies to any one-dimensional bounded grid once its coordinate-height and denominator-doubling bounds are established. The least L in rounding is likewise found by sequential denominator doubling and exact comparison with τ/[64(d+1)], with O(log⁡(d+1)+log⁡+(1/τ)+1) iterations; mesh-cell integer selection is the bounded binary search already charged in step 2.1. No floor, ceiling, or denominator selection is treated as unit-cost.

4.2step 1.2step 2.2step 3.1algebra

Each rational edge substitution z=u+vt into q has degree at most n. Clearing the rational denominators after binomial expansion gives real and imaginary integer polynomials with coefficient height Jedge=poly⁡(n,H,T): each term uses at most n coordinate factors of length T and one q coefficient of height O(n(H+1)), and there are at most n+1 terms per coefficient. This also applies to all proposed edges, since they use the same bounded-coordinate grids. Products of two such edge polynomials have polynomial degree and height. Their primitive square-free parts and gcds have polynomial output height by step 1.2, and their distinct roots have separation 2−poly⁡(n,H,T) by step 2.2. The same facts apply to the gcds used for multiplicity tests, since the m-th derivative has coefficient height O(H+nlog⁡(n+1)) and its gcd is a divisor of q.

5.1F1F3step 1.3step 4.1step 4.2algebra

Polynomial division of degree-at-most-n rational polynomials takes O(n2) field operations, and Euclidean and negative-remainder chains have at most n nonzero stages. A Sturm evaluation at rational endpoints thus takes poly⁡(n) field operations and comparisons, regardless of the rational operand sizes. Square-free reduction and every boundary gcd test have the same polynomial arithmetic bound. Isolate each edge's I-roots on [0,1] with the bounded one-dimensional search, first handling endpoint factors. The separation estimate for the square-free product RI proves that poly⁡(n,H,T) levels suffice to separate distinct I-roots and distinguish each I-root from all noncommon R-roots. A root α of I on the edge is not a root of R by the certified boundary test. Refinement therefore eventually puts α in an interval containing no R-root; [F3] certifies this last fact by zero R-root count, and a rational sample gives the nonzero sign of R there. The sign change of I is its two endpoint signs. At every level at most n positive I-root intervals are retained (at most 2n when isolating the product). For a depth-K interval in [0,1], its length is at least 3−K and its endpoints have dyadic height O(K+log⁡(n+1)); the grid denominator therefore requires O(K+log⁡(n+1)) doublings. The grid integer parts, ceilings, and written candidate coordinates are consequently charged by step 4.1 within the same polynomial operation bound. Endpoint handling, bounded-grid cuts, all root counts, and all refinements therefore take poly⁡(n,H,T) rational arithmetic operations. A nonzero constant I has no crossings; an identically zero I was already excluded by the grid.

6.1F2step 2.1step 3.1step 4.1step 5.1algebra∎

Combining O(n(D+1)) nodes, N2 candidates per node, polynomial edge costs from step 5.1, and at most n derivative/gcd multiplicity tests per retained root proves poly⁡(n,H,b) rational arithmetic cost. All accepted boundaries satisfy exactly the conditions in [F2], so its winding, partition, and multiplicity arguments prove correctness unchanged. Substituting n≤2d and H=O(dlog⁡(d+1)+log⁡+(1/δ)+1) from step 2.1 gives the claimed rounded-input root cost. The proof counts field operations; it never bounds Euclidean intermediate operand lengths or the precision required by later algebraic phase calculations, so it makes none of those additional assertions.

Integration boundary

The cited source's p.12 paragraph and Corollary 10 state an efficient classical generation claim. They are context for this local construction, not premises replacing steps above. Theorem 4 is unnecessary for this root supplier; Theorems 3 and 5 are used only by completion/peeling consumers.

Completion, peeling and phase approximation are supplied separately by the local completion/peel arithmetic lemma and buffered phase theorem. This root theorem supplies their exact bounded-height root list; it does not assert floating-point peeling stability or a Turing compiler bound.

Depends on

Used by

Cited to discharge well-definedness by Bounded-grid rational root isolation and rounded numerical QSP input.

Dependency tree · two levels

27 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources