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 evaluation of Gamma and a continued log-Gamma branch

Definition

Inputs are a finite dyadic complex rectangle Z, a target label Γ or ℓ, positive exact rational absolute tolerance εa, optional positive exact rational relative tolerance εr, a fixed dyadic format precision p0≥2 and exponent range (emin⁡,emax⁡), fixed integer elementary truncation index K≥1, finite positive integer work cap W, and integer precision cap P≥p0. The target ℓ is the continued branch in Log-Gamma branch on the slit plane. Reject an invalid target, empty or non-finite rectangle, invalid cap, tolerance, emin⁡>emax⁡, or Z⊄C∖(−∞,0] by returning domain. The exact rectangle test is: either the imaginary interval omits zero, or the real interval has strictly positive lower endpoint. Reject a selected shift m>W with inconclusive. For stages q=1,…,P, use precision p=max⁡(p0,q), harmonic cutoff M=min⁡(q,W), product cutoff N=min⁡(q,W), and the fixed elementary truncation index K for every range call. Output statuses are those of Certified special-function enclosure result.

Use Outward-rounded interval, rectangle and ball operations for interval arithmetic. Count every exact rational or interval operation, series term, elementary-DAG node operation, rounding, and loop update against the shared counter W. If the procedure is called by another evaluator, charge these same primitive operations directly to that caller's shared counter, so the caller can debit the actual child work; the local cap W remains in force. Before any operation would exceed either remaining cap, return inconclusive. Run nested elementary-range calls under that counter and interrupt a subcall before its next operation would exceed the remaining budget. A non-finite range result makes the current candidate unavailable. Any other non-finite arithmetic result also makes its candidate unavailable; no partial result is retained. Final output overflow returns range.

Choose m=max⁡ ⁣(0,⌊−inf⁡ℜZ⌋+1), which is the least integer m≥0 for which inf⁡ℜZ+m>0. Compute this exactly from the rational endpoint; if m>W, return inconclusive before forming the shift. Put WZ=Z+m. Before every elementary-range call, round each rational interval input outward to the stage dyadic format; a conversion overflow makes that candidate unavailable. A rounded Log input must still avoid the cut; otherwise its candidate is unavailable, rather than declaring the valid original input outside the domain. Embed a real interval X explicitly as X+i[0,0] whenever it participates in a complex expression; real and complex DAG nodes retain their declared types. All elementary-range calls below use Certified range evaluation for elementary real and complex functions with the selected format and fixed truncation K; its soundness for finite real and complex results is given by Certified real elementary-function evaluations enclose their ranges and Certified complex exponential and principal logarithm enclose their ranges.

For stage q=1,…,P, form a dyadic Pq containing π: for r∈{1/5,1/239}, compute exactly Aq(r)=∑k=0q−1(−1)kr2k+1/(2k+1) and Eq(r)=r2q+1/((2q+1)(1−r2)), combine arctan⁡r∈[Aq(r)−Eq(r),Aq(r)+Eq(r)] by the Machin identity, and round outward to the selected format at precision p. The arctangent series and its geometric-tail argument are in Range-reduced exponential, logarithm and arctangent series have certified tails, and the Machin identity is in Trigonometric identities, Machin's formula and reduced Taylor tails. If the conversion is non-finite or inf⁡Pq≤0, the Stirling candidate is unavailable for this stage; still attempt the product candidate. Let aW=inf⁡ℜWZ>0 and RW=max⁡(∣inf⁡ℜWZ∣,∣sup⁡ℜWZ∣)+max⁡(∣inf⁡ℑWZ∣,∣sup⁡ℑWZ∣); RW is an exact rational upper bound for ∣w∣ on WZ.

For this stage, call the elementary-range algorithm on the principal-log node for each Z+j, j=0,…,m−1. Translation by these real integers preserves avoidance of the cut for an input rectangle wholly in the slit plane; if the exact branch-domain check fails, return domain. Add the finite log rectangles to form the shift sum LZ. If any shift-log call is non-finite, discard this whole stage, since both candidates require that sum. When m=0, set LZ=0.

Construct the product candidate when N>2RW. Call the elementary-range algorithm for the real node log⁡M to get an enclosure GM=[g−,g+] of log⁡M, and form the outward-rounded Euler-constant interval [HM−g+−1/M, HM−g−], where HM=∑k=1M1/k exactly. Call the complex principal-log node on WZ and on each 1+WZ/k for 1≤k≤N. All these rectangles lie in the principal-log domain since ℜWZ>0. Form QN=−Log⁡(WZ)−γEWZ+∑k=1N(WZk−Log⁡(1+WZ/k)) by interval arithmetic, and enlarge each coordinate by an outward upper bound for TN=RW22N(1−RW/(N+1)). The tail lemma Explicit tail bound for the log-Gamma product series proves that this is an enclosure of ℓ+(WZ), uniformly on the whole rectangle. Subtract LZ to get the shifted product candidate for ℓ(Z). If N≤2RW or a required call is non-finite, this candidate is unavailable at this stage.

Construct the Stirling candidate only when Pq is finite and has positive lower endpoint. Call the complex principal-log node on WZ, and the real logarithm node on 2Pq. Form SZ=(WZ−12)Log⁡(WZ)−WZ+12log⁡(2π)−LZ by interval arithmetic and enlarge each coordinate by an outward upper bound for 1/(4aW). The sectorial remainder lemma Explicit sectorial remainder bound for the right-half-plane log-Gamma branch proves this is an enclosure of ℓ(Z). If a required call is non-finite, this candidate is unavailable at this stage.

If both log candidates are available, intersect them when the intersection is nonempty; if empty, discard the stage. If only one is available, select it. For target ℓ, use this rectangle as the output candidate. For target Γ, call the complex exponential node on the selected rectangle and use its finite output rectangle. Return success at the first stage whose candidate radius is at most εa. Set relative_certified to true exactly when relative tolerance was requested, zero is excluded, and the contract's relative-radius test passes; a failed relative test does not prevent absolute success. If no stage succeeds before its caps, return inconclusive.

Depends on

Used by

Dependency tree · two levels

64 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