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.

Finite certified power-series evaluation for Fresnel, erf, and Gauss functions

Definition

Inputs are a target label T∈{C,S,erf⁡,2F1}, an exact dyadic complex argument z, and, for the Gauss-series target, exact dyadic complex parameters a,b,c. Also input positive exact rational absolute tolerance εa, optional positive exact rational relative tolerance εr, a fixed exponent range (emin⁡,emax⁡), and finite positive integer caps Smax⁡,Nmax⁡,pmax⁡,W, with pmax⁡≥2. The stage cap Smax⁡ bounds retries, Nmax⁡ bounds series terms, pmax⁡ bounds dyadic precision, and W bounds this procedure's exact interval operations, term constructions, and elementary-DAG node operations. Every nested elementary-range call shares this counter and is interrupted with inconclusive before its next operation would exceed the remaining budget. At stage q, use precision p=max⁡(2,min⁡(q,pmax⁡)) and truncation index q for every elementary-range subcall.

Reject an invalid target, nonpositive tolerance, invalid cap, invalid exponent range emin⁡>emax⁡, or a Gauss input with ∣z∣2≥1 or c∈{0,−1,−2,…} by returning domain. The Fresnel and error-function branches accept every finite complex z. Outputs are a finite interval or rectangle with status success, or a status inconclusive, domain, or range as in Certified special-function enclosure result.

All rational and interval arithmetic uses Outward-rounded interval, rectangle and ball operations. Embed real coefficient intervals X as X+i[0,0] in complex arithmetic; typed elementary DAG nodes never use an implicit real-to-complex conversion. If a required intermediate operation or output endpoint overflows its selected format, return range. If an elementary-range subcall returns a non-finite status, skip the current candidate; if no later stage succeeds, return inconclusive. The same candidate-skip rule applies to every other non-finite arithmetic status, including split-domain or entire when a rounded divisor contains zero; never use such a status as a finite interval. Charge each exact arithmetic operation, coefficient term, rounding, and elementary-range call against W; before an operation that would exceed W, return inconclusive.

At each stage, form Pq, a certified dyadic interval containing π, only when T∈{C,S,erf⁡}. For r∈{1/5,1/239}, form Aq(r)=∑j=0q−1(−1)jr2j+1/(2j+1) and Eq(r)=r2q+1/((2q+1)(1−r2)) by exact rational arithmetic. The arctangent series and geometric-tail argument in Range-reduced exponential, logarithm and arctangent series have certified tails gives arctan⁡r∈[Aq(r)−Eq(r),Aq(r)+Eq(r)]. Combine these intervals as 16arctan⁡(1/5)−4arctan⁡(1/239), then round the resulting endpoints outward to the selected format at precision p. The Machin identity in Trigonometric identities, Machin's formula and reduced Taylor tails proves π∈Pq. If this conversion is non-finite, skip this stage for the selected Fresnel or erf target. For the Gauss-series target, omit Pq and all square-root calls.

Only when T=erf⁡, call Certified range evaluation for elementary real and complex functions on the one-node real DAG Pq with the same exponent range and precision p, and truncation index q. If it returns a finite interval Rq, continue only if inf⁡Rq>0; otherwise skip this stage. This call encloses π by Certified real elementary-function evaluations enclose their ranges. The C,S branches use Pq directly and do not call square root. For a complex rectangle B=X+iY, write M(B)=max⁡(∣inf⁡X∣,∣sup⁡X∣)+max⁡(∣inf⁡Y∣,∣sup⁡Y∣); this rational quantity bounds the modulus of every point in B.

At each stage q=1,…,min⁡(Smax⁡,Nmax⁡,pmax⁡), form the following candidate for the selected target.

  • For C, sum its defining terms c0,…,cq−1 from Fresnel, error, and Gauss hypergeometric series by interval arithmetic, using Pq/2 for π/2. Let cq be the first omitted term and set rC=(sup⁡Pq)2M(z)44(2q+1)(2q+2). If rC<1, enlarge the partial-sum rectangle in both coordinates by M(cq)/(1−rC); otherwise skip this stage.
  • For S, sum its first q defining terms using Pq/2, let sq be the first omitted term, and set rS=(sup⁡Pq)2M(z)44(2q+2)(2q+3). If rS<1, enlarge the partial-sum rectangle in both coordinates by M(sq)/(1−rS); otherwise skip this stage.
  • For erf, use the interval 2/Rq from the single square-root call above for 2/π, sum the first q defining terms, and let eq be the first omitted term. Set rE=M(z)2/(q+1). If rE<1, enlarge the partial-sum rectangle in both coordinates by M(eq)/(1−rE); otherwise skip this stage.
  • For the Gauss series, compute its terms by h0=1 and hk+1=hk z (a+k)(b+k)(c+k)(k+1) using outward interval operations. The exact c+k is nonzero by the domain check, but its rounded enclosure may contain zero; in that case skip this candidate before division. If a or b is a nonpositive integer, let L be one more than the smaller absolute value of those nonpositive integer parameters. If L≤q, sum exactly through hL−1 and use zero tail. Otherwise put A=∣ℜa∣+∣ℑa∣,B=∣ℜb∣+∣ℑb∣,C0=∣ℜc∣+∣ℑc∣,Z0=∣ℜz∣+∣ℑz∣, If q≤C0, skip this stage before forming a quotient. Otherwise set rH=Z0(1+A/q)(1+B/q)1−C0/q. If rH<1, sum h0,…,hq−1, let hq be the first omitted term, and enlarge the partial-sum rectangle in both coordinates by M(hq)/(1−rH); otherwise skip this stage. The geometric bound in Gauss hypergeometric series geometric tail bound applies because A,B,C0,Z0 dominate the corresponding complex moduli.

Round each candidate's final endpoints outward to precision p. Return success at the first stage where its radius is at most εa. If relative tolerance was requested, set relative_certified to true exactly when zero is excluded and the contract's relative-radius inequality holds; failure of that relative test does not prevent absolute success. If no stage produces a passing candidate, return inconclusive. The finite stage loop and the finite elementary-range calls define the procedure completely.

Depends on

Used by

Dependency tree · two levels

58 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