Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generated
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.

Certified complex-polynomial root isolation in exact algebraic arithmetic

Definition

The coefficient model is the exact algebraic model: coefficients and algebraic roots are represented by defining polynomials and rational isolators, with exact addition, multiplication, inversion of nonzero values, conjugation, equality, order, and real-sign decisions. Every such operation is charged as one exact algebraic operation. The algorithm makes no bit-complexity claim. A root descriptor consists of its defining square-free polynomial, an isolating rectangle containing exactly that root, and its multiplicity; exact algebraic operations refine these descriptors when needed.

ROOTS(p,b) takes a nonzero p(z)=∑j=0najzj∈C[z] with rational or exact-algebraic coefficients and an integer b≥1. The zero polynomial returns INVALID; a nonzero constant returns the empty root list.

  1. Compute g=gcd⁡(p,p′) by monic Euclidean remainders and set q=p/g. The polynomial q has each distinct root of p exactly once.

  2. If n>0, put M=max⁡j<n∣aj/an∣ and enumerate rational B>1+M until the strict inequality is certified. Search rational X,Y>B in increasing dyadic denominator and then lexicographic numerator order until the open rectangle (−X,X)+i(−Y,Y) has no root on its boundary, each vertex value of q has nonzero imaginary part, and the restriction of Im⁡q to each directed edge is not the zero polynomial. The strict Cauchy bound puts every root inside every such rectangle.

  3. To count a rectangle, first certify that its boundary is root-free: on each directed edge restrict q to F(t)=R(t)+iI(t), 0≤t≤1, and use the exact polynomial gcd and Sturm count to decide whether R and I have a common zero there. Require also that every vertex has nonzero imaginary value and that no edge restriction I is identically zero. If any condition fails for a proposed subdivision, enumerate rational vertical and horizontal cuts in the middle third of the corresponding side ranges, by increasing dyadic denominator and then lexicographic numerator, and use the first pair for which all four child rectangles satisfy these conditions.

  4. On each directed edge of an admissible rectangle, isolate every distinct zero of I in (0,1) using the square-free Sturm sequence of I. There are no endpoint zeros because the vertices have nonzero imaginary value. At each isolated zero, the boundary-root certificate gives R≠0; exact sign refinement decides whether R>0 or R<0. For R>0, add +1 if I changes from negative to positive, add −1 if it changes from positive to negative, and add 0 if it does not change sign. For R<0, add 0. The sum over the four counterclockwise edges is the rectangle's distinct-root count.

  5. Discard rectangles with count zero. If the count is one and wx2+wy2≤2−2b, where wx,wy are its rational side lengths, retain its open interior. Otherwise subdivide by Step 3 and recount the four children. The open interiors are pairwise disjoint and their root-free boundaries ensure no root is omitted or duplicated.

  6. For each retained rectangle R, find its original multiplicity as the least m∈{1,…,n} for which h=gcd⁡(q,p(m)) has no root in R. If h is a nonzero constant, its count is zero. Otherwise h is square-free and its boundary is root-free because h divides q. For t=0,1,…,8 in that order, form Ht=(1+it)h and test that its imaginary value is nonzero at all four vertices and its imaginary restriction to each of the four directed edges is not the zero polynomial. Use the first passing t, and apply the boundary and crossing routines of Steps 3–4 with q replaced by Ht on the same rectangle, without subdividing. The resulting count is zero or one and decides common-root membership. The finite scalar search and its admissibility are proved in Correctness and termination of certified complex-polynomial root isolation ↗. This derivative test ends by m=n, since p(n) is a nonzero constant.

The ROOTS return record is the input polynomial, its square-free part q, and a list of records (q,R,m): R is an open rational rectangle of diameter at most 2−b containing exactly one root of q, and m is that root's multiplicity in the input. The defining polynomial is over the declared exact coefficient field; it need not be a flattened rational minimal polynomial.

The same carrier supplies REALROOTS(h,w), with positive rational width threshold w (default w=1), used for exact interval-sign checks. For a real nonzero polynomial h∈K[x] with exact real-algebraic coefficients, replace it by its square-free part. Test and record roots at −1 and 1 directly, and divide out each corresponding linear factor once when present; the residual square-free polynomial has root-free endpoints. Isolate its roots in (−1,1) as follows: start with that open interval, use the Sturm variation drop to count roots, discard count-zero intervals, retain count-one intervals once their rational width is at most the requested threshold, and otherwise bisect at the first rational in the middle third that is not a root. Every interval endpoint is kept root-free. Return the original polynomial and an increasing list of exact-root descriptors: endpoint roots have singleton rational isolators, and interior roots have open rational isolators of width at most w, the residual square-free defining polynomial, and their original multiplicities computed by the derivative/gcd test of Step 6 (using Sturm membership for an interior interval, and direct derivative evaluation for an endpoint singleton). A nonzero constant returns the empty list. A zero polynomial is handled separately by the caller.

SIGNCERT(h) decides whether h≥0 throughout [−1,1]. If h=0, accept. Otherwise check h(−1),h(1)≥0, call REALROOTS(h,1). Refine each interior isolator by the same middle-third Sturm subdivision, retaining its unique root, until its closure lies in (−1,1) and the closures of all distinct-root isolators are strictly separated, including the endpoint singleton isolators. Choose one rational sample in each nonempty open gap between these separated isolators and the endpoints (or 0 if there are no roots). Accept exactly when every sample value is nonnegative. Exact algebraic comparisons determine all branches. SIGNCERT and REALROOTS use the same exact operation model and have no hidden numerical zero test.

This is a finite exact-algebraic procedure, not a polynomial-time bit algorithm. The root-separation, boundary-search, sign-certificate, Sturm, and winding-count proofs are supplied by Correctness and termination of certified complex-polynomial root isolation ↗. No arithmetic operation count implies a bit bound.

Depends on

Used by

Dependency tree · two levels

41 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