Alphabeta Math
Pipeline-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.

✓ 3 results · all verified · 0 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 3 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Outward rounded interval and ball arithmetic

1 · Prerequisites

None. This page is self-contained.

2 · Summary

This page develops finite dyadic endpoint formats and directed rounding before defining real intervals, complex rectangles, and midpoint-radius balls. Real interval and complex-rectangle arithmetic applies its displayed endpoint formulas and rounds the endpoints outward. Ball operations use conservative modulus bounds and round their output radii outward. Division across zero, branch-cut ambiguity, overflow, and exhausted budgets return explicit non-finite statuses.

Elementary exponential, logarithm, arctangent, trigonometric, square-root, and complex exponential/logarithm evaluations use local range reductions and explicit series or bisection remainders. A topological induction proves sound range propagation through finite expression DAGs. The page also proves a centered Taylor-model enclosure from a derivative interval and distinguishes a certified width result from an inconclusive finite-budget output.

Natural interval evaluation preserves inclusion while it can overestimate when a shared input appears more than once. The B page gives the subtraction dependency, division-at-zero, and near-periodic sine cases.

The earlier finite-precision direct-factorization page is retained as reading context. This page's item proofs use their displayed local directed-rounding, root, interval and series suppliers; they consume no NA-02 factorization, solve bound or round-to-nearest success model. Its retained page requirement does not turn that unrelated model into a mathematical premise here.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Dedekind-complete ordered real field

Definition

A Dedekind-complete ordered field is a commutative field R with identity 1>0, a total order compatible with addition and multiplication, and the least-upper-bound axiom: every nonempty subset of R that is bounded above has a least upper bound in R. Throughout this batch, all real variables, intervals, limits, derivatives and integrals are taken in such a field. The integers and rationals are interpreted in their usual embedded copies. For x∈R, define ∣x∣=x when x≥0 and ∣x∣=−x when x<0.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Continuity and derivative on a real interval

Definition

For f:[a,b]→R, continuity at x∈[a,b] means that for every ε>0 there is δ>0 such that ∣f(t)−f(x)∣<ε whenever t∈[a,b] and ∣t−x∣<δ. Differentiability at an interior point c means that the two-sided limit

f′(c)=lim⁡h→0f(c+h)−f(c)h

exists in the real field; differentiability on (a,b) means this holds at every interior point. For higher derivatives, define recursively f(j+1)=(f(j))′ on the points where the derivative exists. The class Cn+1 on an open interval means that these derivatives through order n+1 exist and are continuous there.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Dyadic floating-point format and directed rounding

Definition

An exact dyadic rational is a number m2q with integers m,q. Fix integers p≥2 and emin⁡≤emax⁡. Put η=2emin⁡−p+1 and Nmax⁡=(2p−1)2emax⁡−p+1. The finite representable set F consists of zero, both signs of every normal number k2e−p+1 with integers e,k satisfying emin⁡≤e≤emax⁡ and 2p−1≤k<2p, and both signs of every subnormal number kη with integer k satisfying 1≤k<2p−1. The smallest positive subnormal is η, the smallest positive normal is 2emin⁡, and the largest finite magnitude is Nmax⁡. The extended endpoint set also contains −∞ and +∞ as enclosure sentinels; they are not finite machine numbers.

For a real x with ∣x∣≤Nmax⁡, define rd⁡(x) as the greatest member of F not exceeding x, and ru⁡(x) as the least member of F not less than x. Define ρ(x)=ru⁡(x)−rd⁡(x). Set ϵabs(0)=0. For nonzero x in the subnormal range, define the absolute-error bound ϵabs(x)=η; for 2e≤∣x∣<2e+1 in the normal range, define ϵabs(x)=2e−p+2. For x>Nmax⁡, set (rd⁡(x),ru⁡(x))=(Nmax⁡,+∞); for x<−Nmax⁡, set (rd⁡(x),ru⁡(x))=(−∞,−Nmax⁡). In either overflow case set ϵabs(x)=+∞ and report overflow, even when the selected directed endpoint is finite. The rounding procedure reports finite, subnormal, or overflow, so no relative-error assumption is implicit.

An exact rational intermediate may be converted by comparing integer numerators and denominators after clearing powers of two. A directed interval endpoint is the resulting greatest lower or least upper member of the extended endpoint set F∪{−∞,+∞}.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Dedekind completeness implies the Archimedean property

Statement

In a Dedekind-complete ordered field, the natural numbers are unbounded above.

Facts & Assumptions

Given: A field satisfying Dedekind-complete ordered real field.

[A1]

Dedekind-complete ordered real field: every nonempty subset bounded above has a least upper bound, and the field order is compatible with addition.

Proof

1.1givenA1choose

Suppose the natural numbers were bounded above and let s be their least upper bound from [A1]. Since s−1<s, the number s−1 is not an upper bound; there is a natural number n>s−1.

2.1A1step 1.1algebra∎

Then the natural number n+1 exceeds s, contradicting that s is an upper bound. Therefore the natural numbers are unbounded above.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Closed real intervals are compact by completeness

Statement

If a<b in a Dedekind-complete ordered field, every relative open cover of [a,b] has a finite subcover. Relative openness means openness in the subspace topology inherited from the real line.

Facts & Assumptions

Given: A complete ordered field and a<b.

[A1]

Dedekind-complete ordered real field: every nonempty bounded-above subset has a least upper bound.

Proof

1.1givenA1construct

Fix a relative open cover U of [a,b]. Let S be the set of x∈[a,b] for which [a,x] has a finite subcover. A member containing a contains a relative neighborhood [a,a+δ) for some δ>0; choosing η=min⁡(δ/2,(b−a)/2) shows a+η∈S. Thus S is nonempty and bounded above by b. By [A1], c=sup⁡S exists.

2.1step 1.1A1chooseconstruct

If c<b, a cover member containing c contains (c−δ,c+δ)∩[a,b] for some δ>0. Let η=min⁡(δ/2,(b−c)/2)>0. Since c is the supremum, choose x∈S with x>c−η. A finite cover of [a,x] together with the member covering c covers [a,c+η]. This places c+η in S, contradicting that c is an upper bound. Hence c=b.

3.1step 2.1chooseconstruct∎

If b∈S, the required finite subcover already exists. Otherwise a cover member containing b contains (b−δ,b] for some δ>0. Because b=sup⁡S, choose x∈S with x>b−δ. A finite cover of [a,x] and that member cover all of [a,b].

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Nonnegative real square roots exist uniquely

Statement

In a Dedekind-complete ordered field, every x≥0 has a unique y≥0 with y2=x.

Facts & Assumptions

Given: A field satisfying Dedekind-complete ordered real field and x≥0.

[A1]

Dedekind-complete ordered real field: every nonempty bounded-above subset has a least upper bound; field operations preserve order.

Proof

1.1givenA1construct

If x=0, y=0 is a root. If x>0, let S={q≥0:q2≤x}. It contains 0. If q>x+1, then q2>(x+1)2>x, so x+1 bounds S above. By [A1], y=sup⁡S exists and y≥0.

2.1step 1.1A1algebra

Suppose y2<x. Put ϵ=min⁡(1,(x−y2)/(2y+1))>0. Then 2yϵ+ϵ2≤(2y+1)ϵ≤x−y2, so (y+ϵ)2≤x. Thus y+ϵ∈S, contradicting that y is an upper bound. If y2>x, put ϵ=(y2−x)/(4y). Since 0<y2−x≤y2, 0<ϵ≤y/4, and (y−ϵ)2=y2−2yϵ+ϵ2>x. Every q∈S therefore satisfies q<y−ϵ, contradicting that y is the least upper bound. Hence y2=x.

3.1step 2.1algebra∎

If 0≤u<v, then v2−u2=(v−u)(v+u)>0 unless u=v=0, which is excluded by u<v. Thus two nonnegative roots of x cannot differ; y is unique.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableprecheck pendingOpen item page →

Exact dyadic bisection for square-root endpoints

Definition

Input: a nonnegative exact dyadic rational x and integer request n≥1. Output: an exact dyadic lower and upper bound for x; no finite storage format is needed by this procedure.

  1. If x=0, return [0,0].
  2. Otherwise determine the unique integer j with 2j≤x<2j+1 from the exact dyadic representation, put m=⌊j/2⌋ and δ=2m−n.
  3. Set integer indices L=0 and U=2n+1. While U−L>1, put Q=⌊(L+U)/2⌋. If (Qδ)2≤x, replace L by Q; otherwise replace U by Q.
  4. Return the exact dyadic pair [Lδ,Uδ]. A caller that stores these endpoints in a selected finite format must separately round the lower endpoint down and the upper endpoint up, propagating the resulting subnormal or overflow status.

All comparisons and multiplications in the loop are exact integer/dyadic operations.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Real intervals, complex rectangles and ball enclosures

Definition

A real interval is a closed set [a,b]⊂R with finite dyadic endpoints a≤b. Its width is b−a, midpoint is (a+b)/2, and its midpoint-radius form is m+[−r,r] with m=(a+b)/2 and r=(b−a)/2. The empty set is the status empty; the whole real line is entire. overflow, domain-error, split-domain, and inconclusive are computation statuses, not finite intervals.

A complex rectangle is X+iY={x+iy:x∈X, y∈Y} for real intervals X,Y. Complex addition and multiplication use (x+iy)+(u+iv)=(x+u)+i(y+v) and (x+iy)(u+iv)=(xu−yv)+i(xv+yu). For z=x+iy, its complex modulus is ∣z∣=x2+y2, and for z≠0 its reciprocal is 1/z=(x−iy)/(x2+y2). A complex ball B(c,r) is {z∈C:∣z−c∣≤r} with dyadic complex center c and dyadic r≥0. For any two represented sets S,T, the inclusion order is S⊑T iff S⊆T.

The width of a complex rectangle with coordinate widths wX,wY is its Euclidean diameter wX2+wY2; the width of a ball B(c,r) is its diameter 2r. Width comparisons against a dyadic tolerance can be decided by exact rational comparisons after squaring the nonnegative quantities.

The range of a real or complex function f on a set S is f(S)={f(x):x∈S∩dom⁡(f)}. A finite expression DAG is a finite directed acyclic graph with input nodes, constant nodes, and operation nodes; constants are exact dyadics or are supplied with certified enclosing intervals. Sharing a node means the exact same intermediate value is reused.

LemmaStatement: Literature-sourcedProof: AI-generatedOpen item page →

Directed dyadic rounding encloses with explicit underflow and overflow bounds

Statement

For finite x with ∣x∣≤Nmax⁡, the directed roundings defined in Dyadic floating-point format and directed rounding satisfy rd⁡(x)≤x≤ru⁡(x) and each endpoint error is at most the stated ϵabs(x) (with zero error when x is representable). For x>Nmax⁡ the pair (Nmax⁡,+∞) encloses x; for x<−Nmax⁡ the pair (−∞,−Nmax⁡) encloses x. Overflow has error bound +∞ and cannot be reported as a finite-error result.

Facts & Assumptions

Given: The finite dyadic set F, subnormal quantum η, exponent limits, and endpoint roundings from Dyadic floating-point format and directed rounding.

[L1]

Dyadic floating-point format and directed rounding: adjacent subnormals are spaced by η; in the normal bin [2e,2e+1) the representable spacing is 2e−p+1; directed rounding selects the adjacent representables bracketing the exact real number.

Proof

1.1givenL1choose

If x=0, then 0∈F, so rd⁡(0)=ru⁡(0)=0 and each endpoint error equals ϵabs(0)=0. If x≠0 is representable, both directed roundings equal x. Otherwise there are consecutive representables a<b with a<x<b: finiteness of F and the definitions of greatest lower and least upper values give these neighbors. Hence rd⁡(x)=a≤x≤b=ru⁡(x).

1.2givenL1algebra

If 0≤x<2emin⁡, both neighboring nonnegative representables are in the subnormal lattice with step η, so x−a<η and b−x<η. If 2e≤x<2e+1 is normal, consecutive representables within the bin are spaced by 2e−p+1. A bracket reaching the upper bin endpoint has no larger gap; in all cases each endpoint error is at most the stated, more conservative 2e−p+2. Symmetry of F gives the same bounds for negative x.

2.1givenalgebra∎

For x>Nmax⁡, Nmax⁡<x<+infty, and for x<−Nmax⁡, −∞<x<−Nmax⁡; the prescribed extended endpoints therefore bracket x. The status and infinite absolute-error bound explicitly record that no finite error estimate is available outside the finite range.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Outward-rounded interval, rectangle and ball operations

Definition

For real intervals X=[a,b] and Y=[c,d], compute the displayed exact endpoint formulas and round the lower endpoint down and the upper endpoint up in the format of Dyadic floating-point format and directed rounding. If either exact endpoint overflows, return overflow with the outward extended endpoints; never substitute a finite endpoint for an overflow sentinel. Addition is [a+c,b+d], subtraction is [a−d,b−c], and multiplication is [min⁡(ac,ad,bc,bd),max⁡(ac,ad,bc,bd)]. Division is defined only when 0∉Y and is X[1/d,1/c], with reciprocal endpoints computed as exact rationals before outward rounding. Squaring is [0,max⁡(a2,b2)] when 0∈X and [min⁡(a2,b2),max⁡(a2,b2)] otherwise. Square root is defined only for X⊆[0,∞) and is enclosed by applying Exact dyadic bisection for square-root endpoints to the exact dyadic endpoints with request n=p, where p is the selected format precision, and rounding outward for storage.

If 0∈Y for division, return split-domain with the two subdomains Y∩(−∞,0) and Y∩(0,∞), or entire when the caller does not request subdivision. No finite quotient interval is returned in this case. An invalid square-root domain returns domain-error or an explicitly restricted nonnegative subdomain.

Complex-rectangle addition, subtraction and multiplication use (x+iy)(u+iv)=(xu−yv)+i(xv+yu), applying the real interval operations to each component. For a rectangle X+iY excluding 0, define its reciprocal by (X−iY)/(X2+Y2), computing the square hulls, their sum, and the component quotient endpoint formulas as exact rationals before rounding the final reciprocal components outward. The exact denominator interval is strictly positive because at least one coordinate interval excludes zero; do not round it before division, since underflow could introduce zero. Propagate any final endpoint overflow. Division multiplies by this reciprocal.

For a ball B(c,r), let XB=[ℜc−r,ℜc+r] and YB=[ℑc−r,ℑc+r] be its coordinate projection intervals. For a real interval J, let M(J)=max⁡(∣inf⁡J∣,∣sup⁡J∣) and let d(J)=0 if 0∈J, otherwise d(J)=min⁡(∣inf⁡J∣,∣sup⁡J∣). Put MB=M(XB)+M(YB) and mB=max⁡(d(XB),d(YB)). Then ∣z∣≤MB for every z∈B(c,r) and ∣z∣≥mB for every such z. Define ball addition and subtraction as B(0,ru⁡(MB1+MB2)), multiplication as B(0,ru⁡(MB1MB2)), and division as B(0,ru⁡(MB1/mB2)) only when mB2>0. These origin-centered output balls are conservative but inclusion-isotone. If mB2=0, return split-domain, entire, or inconclusive; if a radius overlows, return overflow.

Well-definedness

Dyadic endpoints are rational, so every real arithmetic endpoint and every complex-division component before square root is rational. Reciprocals are formed only for nonzero rational endpoints. In a complex rectangle excluding zero, at least one coordinate interval omits zero; its exact squared interval has a strictly positive lower endpoint, so the unrounded X2+Y2 does also. The prescribed exact rational component quotients therefore have nonzero denominators even when storage rounding would underflow that lower bound. For ball division, mB2>0 gives ∣y∣≥mB2>0 for every y∈B2. Every endpoint overflow is reported explicitly and cannot produce a finite-result claim.

LemmaStatement: Literature-sourcedProof: AI-generatedOpen item page →

Real and complex modulus product and triangle inequalities

Statement

For real x,y, ∣xy∣=∣x∣∣y∣ and ∣x+y∣≤∣x∣+∣y∣. For complex z,w, ∣zw∣=∣z∣∣w∣, ∣z+w∣≤∣z∣+∣w∣, and if w≠0 then ∣z/w∣=∣z∣/∣w∣.

Facts & Assumptions

[L1]

Dedekind-complete ordered real field: real absolute value is ∣x∣=x for x≥0 and ∣x∣=−x for x<0.

[L2]

Real intervals, complex rectangles and ball enclosures: for z=x+iy, ∣z∣=x2+y2; for z≠0, 1/z=(x−iy)/(x2+y2).

[L3]

Nonnegative real square roots exist uniquely: the square root is the unique nonnegative root of each nonnegative input.

Proof

1.1givenL1algebra

By [L1], −∣x∣≤x≤∣x∣ and −∣y∣≤y≤∣y∣. Adding gives −(∣x∣+∣y∣)≤x+y≤∣x∣+∣y∣, hence ∣x+y∣≤∣x∣+∣y∣. The product identity follows by considering the four sign choices for x and y in the piecewise definition [L1].

1.2givenL2L3algebra

For z=x+iy and w=u+iv, expansion gives ∣zw∣2=(xu−yv)2+(xv+yu)2=(x2+y2)(u2+v2)=∣z∣2∣w∣2. Both moduli are nonnegative by [L2], so uniqueness of nonnegative square roots [L3] gives ∣zw∣=∣z∣∣w∣. Also, if 0≤a≤b and r=a, s=b, then r,s≥0. If r>s, then a−b=r2−s2=(r−s)(r+s)>0, a contradiction. Thus the square-root map is increasing on nonnegative inputs.

2.1step 1.2L2L3algebra∎

The identity (x2+y2)(u2+v2)−(xu+yv)2=(xv−yu)2≥0. Thus (xu+yv)2≤∣z∣2∣w∣2. The increasing property proved in step 1.2 gives ∣xu+yv∣≤∣z∣∣w∣, hence xu+yv≤∣z∣∣w∣. Thus ∣z+w∣2=∣z∣2+∣w∣2+2(xu+yv)≤(∣z∣+∣w∣)2; applying the same increasing property gives ∣z+w∣≤∣z∣+∣w∣. By the reciprocal formula in [L2], w(1/w)=(u+iv)(u−iv)/(u2+v2)=1. Step 1.2 gives ∣w∣∣1/w∣=∣1∣=1. Here ∣w∣>0: otherwise u2+v2=0 forces u=v=0 because each square is nonnegative, contrary to w≠0. Hence ∣1/w∣=1/∣w∣, and another application of step 1.2 yields ∣z/w∣=∣z∣/∣w∣.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

Dyadic square-root bisection gives outward endpoints

Statement

For every nonnegative exact dyadic input x and n≥1, the exact dyadic pair returned by Exact dyadic bisection for square-root endpoints contains x and has width 2⌊j/2⌋−n when x>0, where j is the exponent selected by that algorithm. The bisection loop terminates in at most n+1 iterations. Storing the endpoints after outward rounding preserves enclosure, although storage rounding may increase the width. For fixed n, both exact endpoint functions are nondecreasing in x≥0; directed storage rounding preserves that monotonicity.

Facts & Assumptions

[L1]

Exact dyadic bisection for square-root endpoints: for x>0, 2j≤x<2j+1, m=⌊j/2⌋, δ=2m−n, and the initial index range is [0,2n+1].

[L2]

Directed dyadic rounding encloses with explicit underflow and overflow bounds: downward and upward endpoint conversions bracket each exact endpoint.

[L3]

Nonnegative real square roots exist uniquely: x≥0 has a unique nonnegative square root, and t↦t2 is strictly increasing on [0,∞).

Proof

1.1givenL1algebra

For x>0, the initial lower candidate is 0 and its square is at most x. The initial upper candidate is 2n+1δ=2m+1; if j=2m its square is 2j+2>x, and if j=2m+1 its square is 2j+1>x. Thus initially (Lδ)2≤x<(Uδ)2.

2.1step 1.1algebrainductionL3

At each iteration, Q lies strictly between the integer endpoints. The exact comparison sets L=Q only when (Qδ)2≤x, preserving the left inequality; otherwise it sets U=Q, preserving the strict right inequality. The square function is strictly increasing on nonnegative reals by [L3], so the invariant implies Lδ≤x<Uδ. If the current integer gap is g>1, the next gap is at most ⌈g/2⌉. Starting from g=2n+1, after at most n+1 iterations the positive integer gap is at most one, so it equals one and the loop stops. The returned width is then δ.

3.1step 2.1L2L3given

For x=0 the returned point interval is exact. For x>0, the algorithm returns the exact dyadic pair from step 2.1. If a caller stores these endpoints in a finite format, outward rounding preserves both inequalities by [L2], so the stored result still contains x.

4.1step 2.1L1L2algebra∎

On a fixed exponent bin, step 2.1 gives endpoints δ⌊x/δ⌋ and δ(⌊x/δ⌋+1), both nondecreasing in x. At the transition from exponent 2m to 2m+1, δ is unchanged. At the transition from exponent 2m+1 to 2m+2, the square-root threshold is 2m+1 and the grid spacing doubles from δ to 2δ. Just below the threshold the lower and upper endpoints are at most 2m+1; at or above it they are at least 2m+1. Thus both exact endpoint functions are nondecreasing across each transition. At x=0 both are zero. The directed rounding maps are nondecreasing by their greatest-lower/least-upper definitions, so storage preserves this order.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Centered Taylor model with derivative-interval remainder

Definition

Let f be a real function that is n+1 times continuously differentiable on an open interval containing the finite real interval X=[a,b]. Here n≥0 is an integer, and continuous differentiability means that the derivatives through order n+1 exist there and are continuous. Let c∈X be a dyadic point. Put

Pn(t)=∑j=0nf(j)(c)j!(t−c)j.

Supply dyadic intervals Cj containing f(j)(c)/j! for 0≤j≤n and a dyadic interval D containing f(n+1)(X). Put M=max⁡(∣inf⁡D∣,∣sup⁡D∣) and R=max⁡(∣a−c∣,∣b−c∣). The centered Taylor-model enclosure is Tn(f,X,c,(Cj)j=0n,D)=∑j=0nCj(X−c)j+[−MRn+1(n+1)!,MRn+1(n+1)!], where products, powers, sums, and the final sum are evaluated by outward-rounded interval operations. The first term carries input variation through the polynomial; the symmetric second interval is the explicit derivative-based remainder. If a required coefficient or derivative enclosure is unavailable, or any operation or endpoint conversion returns a non-finite status, no finite Taylor-model certificate is returned.

LemmaStatement: Literature-sourcedProof: AI-generatedOpen item page →

Cauchy products of absolutely convergent series multiply their sums

Statement

Let ∑n≥0an=A and ∑n≥0bn=B be absolutely convergent real series. Define

cn=∑j=0najbn−j.

Then ∑n≥0cn converges absolutely and has sum AB. Thus the product of the two series can be grouped by total degree without changing its sum.

Facts & Assumptions

Given: A Dedekind-complete ordered field and two absolutely convergent series.

[F1]

Dedekind-complete ordered real field: every nonempty bounded-above set has a least upper bound.

[L1]

Real and complex modulus product and triangle inequalities: ∣xy∣=∣x∣∣y∣ and the triangle inequality holds.

Proof

1.1givenF1L1algebra

Put Aabs=∑n≥0∣an∣ and Babs=∑n≥0∣bn∣. For every N, the finite triangle inequality and [L1] give ∑n=0N∣cn∣≤∑j+ℓ≤N∣aj∣∣bℓ∣≤(∑j=0N∣aj∣)(∑ℓ=0N∣bℓ∣)≤AabsBabs. These partial sums are increasing and bounded, so [F1] gives their supremum S. For any ε>0, some partial sum exceeds S−ε, since otherwise S−ε would be an upper bound; monotonicity then puts every later partial sum between S−ε and S. Hence ∑cn converges absolutely.

2.1givenL1step 1.1algebra∎

Let AN=∑j=0Naj, BN=∑ℓ=0Nbℓ, and CN=∑n=0Ncn=∑j+ℓ≤Najbℓ. The difference ANBN−CN is the sum over pairs 0≤j,ℓ≤N with j+ℓ>N. For each such pair, j>N/2 or ℓ>N/2, so by [L1] ∣ANBN−CN∣≤Babs∑j>N/2∣aj∣+Aabs∑ℓ>N/2∣bℓ∣⟶0. Absolute convergence makes both tails tend to zero. The convergent sequence AN is bounded: beyond some index ∣AN−A∣<1, and the finitely many earlier values have a finite maximum absolute value. Therefore ∣ANBN−AB∣≤∣AN∣∣BN−B∣+∣B∣∣AN−A∣⟶0. Together with ∣ANBN−CN∣→0, this gives CN→AB. Thus the sum of the Cauchy product is AB, proving the claim.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Sum, product, quotient, and chain rules from difference quotients

Statement

Every function differentiable at c is continuous at c. If f,g are real functions differentiable at c, then f+g and fg are differentiable there and

(f+g)′(c)=f′(c)+g′(c),(fg)′(c)=f′(c)g(c)+f(c)g′(c).

If g(c)≠0, then f/g is differentiable at c and

(f/g)′(c)=f′(c)g(c)−f(c)g′(c)g(c)2.

If f is differentiable at c, g is differentiable at f(c), and the composition is defined near c, then g∘f is differentiable at c and (g∘f)′(c)=g′(f(c))f′(c). For every integer m≥1, (xm)′=mxm−1.

Facts & Assumptions

Given: Differentiability by the difference-quotient definition in Continuity and derivative on a real interval and the real modulus rules Real and complex modulus product and triangle inequalities.

[F1]

Continuity and derivative on a real interval: f′(c) is the finite limit of (f(c+h)−f(c))/h as h→0, h≠0.

[L1]

Real and complex modulus product and triangle inequalities: ∣xy∣=∣x∣∣y∣ for real x,y.

Proof

1.1F1L1algebra

If f is differentiable at c, write f(c+h)−f(c)=hq(h), where q(h)→f′(c). Then q is bounded for sufficiently small h, so ∣f(c+h)−f(c)∣≤∣h∣∣q(h)∣→0. Thus f is continuous at c.

2.1F1step 1.1algebra

The sum difference quotient is the sum of the two difference quotients, so it tends to f′(c)+g′(c). For the product, use f(c+h)g(c+h)−f(c)g(c)h=f(c+h)g(c+h)−g(c)h+g(c)f(c+h)−f(c)h. By step 1.1, f(c+h)→f(c); taking limits gives the product rule.

2.2F1step 1.1algebra

By step 1.1, g is continuous at c. Since g(c)≠0, g(c+h)≠0 for sufficiently small h. Algebra gives f(c+h)/g(c+h)−f(c)/g(c)h=g(c)(f(c+h)−f(c))/h−f(c)(g(c+h)−g(c))/hg(c+h)g(c). The denominator tends to g(c)2≠0 and the numerator tends to g(c)f′(c)−f(c)g′(c), proving the quotient rule.

2.3F1step 1.1L1algebra

Put y=f(c) and Δ(h)=f(c+h)−y. Step 1.1 gives Δ(h)→0, and [F1] gives Δ(h)/h→f′(c). Differentiability of g at y means g(y+u)−g(y)=g′(y)u+uϵ(u) for u≠0, where ϵ(u)→0; set ϵ(0)=0. Then g(f(c+h))−g(f(c))h=g′(y)Δ(h)h+ϵ(Δ(h))Δ(h)h. The first term tends to g′(y)f′(c); the second tends to zero because ϵ(Δ(h))→0 and Δ(h)/h is bounded. This proves the chain rule, including increments with Δ(h)=0.

3.1step 2.1algebrainduction∎

The case m=1 is the derivative of the identity function, whose quotient is exactly 1. Suppose (xm)′=mxm−1. Since xm+1=x⋅xm, the product rule in step 2.1 gives (xm+1)′=xm+x(mxm−1)=(m+1)xm. Induction proves the power rule for all m≥1.

LemmaStatement: Literature-sourcedProof: AI-generatedOpen item page →

Elementary factorial and geometric series converge uniformly

Statement

For every real R≥0, the factorial series ∑n=0∞Rn/n! converges. If N≥0 and q=R/(N+2)<1, its tail after index N satisfies ∑n=N+1∞Rnn!≤RN+1(N+1)!(1−q). Consequently the series defining exp⁡x, sin⁡x, cos⁡x and each of their formal derivative series converge absolutely and uniformly on every bounded interval ∣x∣≤R. For 0≤r<1, the geometric series and the odd power series ∑k≥0x2k+1/(2k+1), with their formal derivative series, converge absolutely and uniformly on ∣x∣≤r.

Facts & Assumptions

Given: A Dedekind-complete ordered field, a real R≥0, and the Archimedean property derived from completeness.

[F1]

Dedekind-complete ordered real field: every nonempty bounded-above set has a least upper bound.

[L1]

Dedekind completeness implies the Archimedean property: the natural numbers are unbounded above.

[L2]

Real and complex modulus product and triangle inequalities: ∣xy∣=∣x∣∣y∣ and the real absolute value is nonnegative.

Proof

1.1givenL1algebrainduction

Let 0≤q<1. For every integer m≥0, (1−q)∑k=0mqk=1−qm+1. If q=0, its powers after the zeroth are zero. If 0<q<1, then 1/q=1+d for d>0, and induction gives (1+d)m≥1+md. By [L1], 1+md is unbounded, so 0≤qm≤1/(1+md)→0. Thus the geometric partial sums converge to 1/(1−q), with tail qm+1/(1−q).

2.1givenF1L1step 1.1algebra

For R=0 the factorial series is 1. For R>0, choose N with q=R/(N+2)<1 by [L1]. If un=Rn/n!, then for n≥N+1, un+1/un=R/(n+1)≤q. Every finite tail after N is therefore at most uN+1∑j≥0qj=uN+1/(1−q) by step 1.1. The positive partial sums are increasing and bounded, so [F1] gives their supremum S. For every ε>0, some partial sum exceeds S−ε, since otherwise S−ε would be an upper bound; monotonicity then puts all later partial sums between S−ε and S. The finite-tail geometric bound passes to this limit and proves the stated estimate.

3.1L2step 2.1algebra

For ∣x∣≤R, [L2] gives ∣xn/n!∣≤Rn/n!. Thus the exponential series is uniformly Cauchy by the tail bound in step 2.1. The sine and cosine series are subseries of this same nonnegative majorant, so their absolute tails are uniform as well. For the formal derivative series, the exponential terms are bounded by Rn−1/(n−1)!; sine derivatives are bounded by R2k/(2k)!, and nonconstant cosine derivatives by R2k−1/(2k−1)!. Each is a subseries of a factorial series from step 2.1. The same tail comparison proves absolute and uniform convergence of all stated series.

4.1L1L2step 1.1algebrachoose∎

For 0≤r<1, the geometric series is uniformly absolutely convergent on ∣x∣≤r by step 1.1. Its formal derivative terms are bounded by vn=nrn−1 for n≥1. If r=0, only the first derivative term is nonzero. If 0<r<1, choose q with r<q<1 and an integer n0 large enough that r(1+1/n)≤q for n≥n0, using [L1]. Then vn+1/vn=r(1+1/n)≤q, so the derivative majorant has tails bounded by a constant times geometric tails from step 1.1. This proves absolute and uniform convergence of the geometric derivative series. The absolute terms of ∑k≥0x2k+1/(2k+1) are bounded by r2k+1 and the derivative terms by r2k. Their tails converge uniformly by step 1.1 applied to q=r2; multiplication by the fixed factor r or 2 does not affect convergence. This proves the assertions for the odd power series and its formal derivative series.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Continuous functions on a closed interval attain their extrema

Statement

If f:[a,b]→R is continuous and a≤b, then f is bounded and attains both a maximum and a minimum on [a,b].

Facts & Assumptions

Given: A Dedekind-complete ordered field, a≤b, and continuity as in Continuity and derivative on a real interval.

[L1]

Closed real intervals are compact by completeness: every relative open cover of a nondegenerate closed interval has a finite subcover.

[L2]

Dedekind completeness implies the Archimedean property: the natural numbers are unbounded above.

[L3]

Continuity and derivative on a real interval: continuity is the relative epsilon-delta condition on [a,b].

[A1]

Dedekind-complete ordered real field: every nonempty bounded-above subset of the field has a least upper bound.

[L4]

Real and complex modulus product and triangle inequalities: real absolute value satisfies ∣x+y∣≤∣x∣+∣y∣.

Proof

1.1givenL1L2L3L4A1construct

If a=b, the singleton range consists only of f(a), so the conclusion holds. Suppose a<b. For each natural n≥1, put Un={x∈[a,b]:∣f(x)∣<n}. These sets cover [a,b] by [L2]. Each is relatively open: at any x∈Un, the margin n−∣f(x)∣>0 and [L3] gives a neighborhood where ∣f(t)−f(x)∣ is smaller than that margin; [L4] then gives ∣f(t)∣<n. By [L1] a finite subcollection covers; taking its largest index shows ∣f∣ is bounded. Consequently M=sup⁡f([a,b]) exists by [A1].

2.1step 1.1L2L3A1choose

If M is not attained, for every n≥1 define Vn={x∈[a,b]:f(x)<M−1/n}. For each x, M−f(x)>0; by [L2] choose n with 1/n<M−f(x), so the Vn cover. Each Vn is relatively open by [L3] and the positive margin M−1/n−f(x). A finite subcover and its largest index N imply f(x)<M−1/N for all x, making M−1/N an upper bound for f([a,b]). This contradicts that M is the least upper bound. Thus the maximum is attained.

3.1step 2.1algebra∎

The function −f is continuous because ∣(−f(t))−(−f(x))∣=∣f(t)−f(x)∣. Applying steps 1.1 and 2.1 to −f, its attained maximum is the attained minimum of f.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Power series may be differentiated term by term inside their radius

Statement

Let R0>0 and let (an)n≥0 be real coefficients such that for every 0<R<R0 both ∑n≥0∣an∣Rn and ∑n≥1n∣an∣Rn−1 converge. Then F(x)=∑n≥0anxn is differentiable for ∣x∣<R0, with F′(x)=∑n≥1nanxn−1.

Facts & Assumptions

Given: A field satisfying Dedekind-complete ordered real field, the continuity/differentiability definition Continuity and derivative on a real interval, and the real modulus rules Real and complex modulus product and triangle inequalities.

[F1]

Continuity and derivative on a real interval: derivative means the finite two-sided difference-quotient limit.

[L1]

Real and complex modulus product and triangle inequalities: ∣xy∣=∣x∣∣y∣ and ∣x+y∣≤∣x∣+∣y∣ for real x,y.

Proof

1.1givenL1algebra

Fix c with ∣c∣<R0 and choose R with ∣c∣<R<R0. For 0<∣h∣<R−∣c∣, the identity (c+h)n−cn=h∑j=0n−1(c+h)n−1−jcj for n≥1 and [L1] yield ∣((c+h)n−cn)/h∣≤nRn−1. Thus the tail of the difference-quotient series beyond degree N is at most ∑n>Nn∣an∣Rn−1, uniformly for these h. The tail of the proposed derivative series at c has the same bound.

2.1F1step 1.1algebra∎

For fixed N, the difference quotient of the polynomial ∑n=0Nanxn tends to ∑n=1Nnancn−1 as h→0 by the binomial identity. Given ε>0, choose N so both tails bounded above are below ε/3, then choose h small enough that the finite polynomial quotient differs from its derivative by less than ε/3. The full difference quotient therefore differs from ∑n≥1nancn−1 by less than ε, proving the derivative formula.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

Outward-rounded operations are inclusion-isotone and enclose DAG evaluations

Statement

For real intervals, complex rectangles or complex balls on which an operation is defined, enlarging either input enclosure cannot shrink the computed enclosure: for binary ∘∈{+,−,×,÷}, if X⊆X′ and Y⊆Y′, then the computed set enclosure of X∘Y is contained in that of X′∘Y′ whenever both are finite results and their domain restrictions are preserved. The square-root enclosure is inclusion-isotone on nonnegative intervals. Each finite ball operation in Outward-rounded interval, rectangle and ball operations contains the exact ball image. A split-domain, entire, domain-error, overflow, or inconclusive status makes no finite claim. For a finite expression DAG whose operation nodes all return finite enclosures, every exact node value from every admissible input assignment belongs to its computed node enclosure; in particular, the root enclosure contains the exact range. If any node returns a non-finite status, no finite DAG enclosure is asserted.

Facts & Assumptions

Given: The interval, rectangle, ball and operation definitions in Outward-rounded interval, rectangle and ball operations and the directed rounding lemma Directed dyadic rounding encloses with explicit underflow and overflow bounds.

[L1]

Outward-rounded interval, rectangle and ball operations: each finite real interval or rectangle operation uses its displayed endpoint formula and each ball operation uses its displayed origin-centered radius, followed by directed rounding; invalid domains return a non-finite status.

[L2]

Directed dyadic rounding encloses with explicit underflow and overflow bounds: every finite exact endpoint lies between its downward and upward dyadic roundings.

[L3]

Dyadic square-root bisection gives outward endpoints: every defined nonnegative square-root endpoint is bracketed by exact dyadic bisection, and its outward lower and upper endpoint maps are nondecreasing in the radicand.

[L4]

Real and complex modulus product and triangle inequalities: complex modulus is submultiplicative with equality on products and satisfies the triangle inequality; real absolute value satisfies the triangle inequality.

[L5]

Real intervals, complex rectangles and ball enclosures: for z=x+iy, ∣z∣=x2+y2; an expression DAG is a finite directed acyclic graph with input nodes, constant nodes, and operation nodes whose constants carry certified enclosing intervals when needed.

[L6]

Nonnegative real square roots exist uniquely: each nonnegative radicand has a unique nonnegative square root.

[L7]

Dedekind-complete ordered real field: ∣x∣=x for x≥0 and ∣x∣=−x for x<0, hence ∣x∣2=x2.

Proof

1.1givenL1L2L3algebra

For real addition and subtraction, every exact pair value lies between the endpoint formulas. For multiplication, fixing one variable makes the product affine in the other, so a minimum or maximum over a rectangle is attained at a corner. Reciprocal is monotone on either interval avoiding zero, and square root is monotone on [0,∞). Thus the exact ranges lie in the displayed pre-rounding intervals. Each computed lower endpoint is no greater than the exact lower endpoint and each upper endpoint is no smaller than the exact upper endpoint by [L2]; square-root endpoint bounds follow from [L3]. For complex rectangles, component addition and multiplication preserve the exact component formulas. If a rectangle excludes zero, at least one coordinate interval omits zero, so its exact squared interval has positive lower endpoint. The reciprocal rule retains the exact rational denominator and component quotient endpoints until final outward conversion, so underflow cannot introduce a zero divisor. Those converted components and subsequent multiplication enclose the reciprocal and quotient.

1.2givenL1L4L5L6L7algebra

For a ball B(c,r), the coordinate projection intervals in [L1] contain each real and imaginary component. By [L5]–[L6], ∣iℑz∣=∣ℑz∣; the complex triangle inequality [L4] therefore gives ∣z∣=∣ℜz+iℑz∣≤∣ℜz∣+∣ℑz∣≤MB. Also ∣z∣2=(ℜz)2+(ℑz)2≥(ℜz)2=∣ℜz∣2 by [L7]. If ∣z∣<∣ℜz∣, nonnegativity would imply ∣z∣2<∣ℜz∣2, a contradiction. Hence ∣z∣≥∣ℜz∣; the same argument gives ∣z∣≥∣ℑz∣. Every point of XB and YB has absolute value at least its corresponding d value, so ∣z∣≥mB. For z∈B1,w∈B2, [L4] gives ∣z±w∣≤MB1+MB2 and ∣zw∣≤MB1MB2. If mB2>0, then ∣w∣≥mB2 and ∣z/w∣≤MB1/mB2. Upward radius rounding in [L1] preserves these bounds, proving soundness of all finite ball results.

2.1step 1.1step 1.2L1L2L3algebra

Inclusion of balls implies inclusion of each coordinate projection interval. Therefore MB cannot decrease and mB cannot increase as an input ball enlarges. The ball addition, subtraction and multiplication radii in [L1] are consequently nondecreasing. If both divisor results are finite, the larger divisor ball has positive mB and the smaller one has at least as large an mB; the quotient radius therefore cannot decrease when either ball is enlarged. For intervals and rectangles, the exact endpoint hulls and their downward/upward roundings preserve inclusion, so their finite extensions are isotone as well; for square root, [L3] gives monotonicity of the computed endpoint maps. If a domain restriction is lost, the operation returns its stated non-finite status.

3.1L1L5step 1.1step 1.2step 2.1inductionconstruct∎

In any nonempty finite acyclic graph, some node has no predecessor: otherwise, repeatedly following predecessors would revisit a node by finiteness and create a directed cycle. Remove such a node and repeat to construct a finite topological order. By [L1], input nodes contain their assigned values and constants have certified enclosures. Induct along this order: if each predecessor of an operation node contains its exact value, steps 1.1, 1.2, and 2.1 show that the operation enclosure contains the node's exact value. The induction covers every node, including the root, for every admissible assignment.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Continuous functions have an oriented Riemann integral

Statement

Let g:[a,b]→R be continuous, with a<b, in a Dedekind-complete ordered field. For a partition P=(a=x0<⋯<xm=b) put U(g,P)=∑i=1m(max⁡t∈[xi−1,xi]g(t))(xi−xi−1),L(g,P)=∑i=1m(min⁡t∈[xi−1,xi]g(t))(xi−xi−1). The supremum of the lower sums equals the infimum of the upper sums. Define ∫abg to be this common value, set ∫aag=0, and set ∫bag=−∫abg. This oriented Riemann integral is additive over intervals. Refining a partition increases its lower sum and decreases its upper sum, and any two partitions have a common refinement. It satisfies ∣∫abg(t) dt∣≤∣b−a∣max⁡t between a and b∣g(t)∣. If a<b and constants m,M satisfy m≤g(t)≤M on [a,b], then m(b−a)≤∫abg≤M(b−a); reversing the endpoints reverses these inequalities. The integral is monotone in its integrand: if continuous g≤h on [a,b], then ∫abg≤∫abh. If g is continuous on an open interval J and x0∈J, then G(x)=∫x0xg(t) dt is defined for x∈J and G′(x)=g(x).

Facts & Assumptions

Given: A Dedekind-complete ordered field, a<b, and a function continuous on [a,b] using Continuity and derivative on a real interval.

[F1]

Dedekind-complete ordered real field: every nonempty subset bounded above has a least upper bound.

[F2]

Continuity and derivative on a real interval: continuity on a closed interval is the relative epsilon-delta condition.

[L1]

Closed real intervals are compact by completeness: every relative open cover of a nondegenerate closed interval has a finite subcover.

[L2]

Continuous functions on a closed interval attain their extrema: a continuous function on each closed subinterval attains its maximum and minimum.

[L3]

Dedekind completeness implies the Archimedean property: natural numbers are unbounded above, so equal partitions can have arbitrarily small mesh.

[L4]

Real and complex modulus product and triangle inequalities: real absolute value satisfies the triangle inequality.

Proof

1.1givenL2algebra

For a partition P, the maxima and minima in its sums exist by [L2]. If Q refines P, each old subinterval is divided into finitely many pieces; the minimum on each piece is at least the old minimum and the maximum is at most the old maximum. Since the piece lengths sum to the old length, L(g,P)≤L(g,Q)≤U(g,Q)≤U(g,P).

1.2givenF2L1L4choose

Fix ε>0. For each x∈[a,b], continuity [F2] gives δx>0 such that ∣g(t)−g(x)∣<ε/2 when t∈[a,b] and ∣t−x∣<δx. The relative neighborhoods (x−δx/2,x+δx/2)∩[a,b] cover [a,b]. Choose a finite subcover with centers x1,…,xr by [L1], and put δ=min⁡iδxi/2>0. If u,v∈[a,b], ∣u−v∣<δ, and u belongs to the neighborhood centered at xi, then both u and v are within δxi of xi. By [L4], ∣g(u)−g(v)∣≤∣g(u)−g(xi)∣+∣g(v)−g(xi)∣<ε. Thus g is uniformly continuous.

2.1givenF1L2step 1.1construct

The range of g has a minimum m and maximum M by [L2]. Thus all lower and upper sums lie between m(b−a) and M(b−a), and the partition set is nonempty. Define I−:=sup⁡PL(g,P) and I+:=inf⁡PU(g,P); both exist by [F1], applying it to negatives for the infimum. For any partitions P,Q, their union is a common refinement, so step 1.1 gives L(g,P)≤L(g,P∪Q)≤U(g,P∪Q)≤U(g,Q). Taking the supremum and infimum yields I−≤I+.

2.2givenL2L3step 1.2algebra

Apply step 1.2 with tolerance ε/(2(b−a)) and choose an equal partition with mesh smaller than its uniform-continuity radius, using [L3]. On each piece the oscillation max⁡g−min⁡g is less than that tolerance, because both extrema are attained by [L2]. Hence U(g,P)−L(g,P)<ε/2. Since I−≥L(g,P) and I+≤U(g,P), we have 0≤I+−I−<ε. This holds for every ε>0, so I−=I+. Their common value defines the integral in the statement.

3.1step 1.1step 2.2algebraconstruct

Fix c with a<c<b. Refining any partition by inserting c cannot increase its upper sum by step 1.1, so the infimum of upper sums over all partitions equals the infimum over partitions containing c. Each such upper sum is the sum of an upper sum on [a,c] and one on [c,b]. Every pair of partitions of these two intervals combines to a partition containing c; therefore the infimum of the combined sums is the sum of the two separate infima (choose each sum within ε/2 of its infimum for the reverse inequality). The common upper/lower values from step 2.2 give ∫abg=∫acg+∫cbg. Endpoint cases follow from ∫aag=0. Reversal is the definition, so the integral is oriented and additive.

3.2givenL2step 2.2algebra

The constant function with value d has every upper and lower sum equal to d(b−a), so its integral is d(b−a). More generally, if constants m,M satisfy m≤g(t)≤M on [a,b], every lower sum is at least m(b−a) and every upper sum is at most M(b−a); hence m(b−a)≤∫abg≤M(b−a). If m0 and M0 are the attained minimum and maximum of g, then C:=max⁡(∣m0∣,∣M0∣)=max⁡t∈[a,b]∣g(t)∣, since every value lies between m0 and M0. Applying the comparison with m=−C,M=C gives ∣∫abg∣≤C(b−a); reversal gives the bound with ∣b−a∣ for either orientation.

3.3givenL2step 2.2algebra

If continuous g≤h on [a,b], then on each partition interval the minimum of g is at most the minimum of h. Thus L(g,P)≤L(h,P) for every partition P; taking suprema of the lower sums gives ∫abg≤∫abh.

4.1F2L2step 3.1step 3.2algebra∎

Let g be continuous on an open interval J, fix x0∈J, and put G(x)=∫x0xg(t) dt. The compact-segment results above define each integral. By additivity from step 3.1 and the constant-integral calculation in step 3.2, for h≠0 sufficiently small, G(x+h)−G(x)h=1h∫xx+hg(t) dt. For any η>0, continuity at x gives δ>0 such that g(x)−η<g(t)<g(x)+η whenever ∣t−x∣<δ. If 0<h<δ, step 3.1 and the comparison in step 3.2 place this quotient between g(x)−η and g(x)+η. If −δ<h<0, reverse the integral by step 3.1, apply the same comparison on [x+h,x], and divide by the negative h; the inequalities again place the quotient between those same constants. The extrema of g on each such segment exist by [L2], and the largest deviation from g(x) is attained at one of them. Hence its limit is g(x), so G′(x)=g(x).

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Rolle's theorem from attained extrema

Statement

Let a<b, and let g:[a,b]→R be continuous on [a,b] and differentiable on (a,b). If g(a)=g(b), then there is c∈(a,b) with g′(c)=0.

Facts & Assumptions

Given: Continuity and differentiability as defined in Continuity and derivative on a real interval, and the extreme-value result Continuous functions on a closed interval attain their extrema.

[L1]

Continuity and derivative on a real interval: g′(c) is the finite two-sided difference-quotient limit at an interior point.

[L2]

Continuous functions on a closed interval attain their extrema: a continuous function on [a,b] attains both extrema.

Proof

1.1givenL2choose

Write k=g(a)=g(b). If g is constant, choose c=(a+b)/2∈(a,b); then g′(c)=0. Otherwise some value differs from k. If it is greater than k, [L2] gives an attained maximum greater than the endpoint values; if it is less, [L2] gives an attained minimum less than them. In either case an extremum occurs at an interior point c.

2.1step 1.1L1algebra∎

At an interior local maximum, positive difference quotients are nonpositive and negative difference quotients are nonnegative. Since the common two-sided limit exists by [L1], it must be both nonpositive and nonnegative, hence zero. The inequalities reverse at a local minimum and again force g′(c)=0. This proves the claim.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Real elementary functions and their domains

Definition

Every integral below is the oriented Riemann integral constructed from upper and lower Darboux sums in Continuous functions have an oriented Riemann integral. It exists for each displayed continuous integrand on the finite interval between its endpoints, is additive in intervals, reverses sign when the endpoints are reversed, is monotone in the integrand, and satisfies ∣∫abg(t) dt∣≤∣b−a∣max⁡t between a and b∣g(t)∣. These properties also give constant comparison bounds and the average-value difference quotient used to differentiate the integral-defined functions.

The exponential is exp⁡(x)=∑k=0∞xk/k! for x∈R. The sine and cosine are the everywhere-convergent power series sin⁡x=∑k=0∞(−1)kx2k+1/(2k+1)! and cos⁡x=∑k=0∞(−1)kx2k/(2k)!. Define arctan⁡x=∫0xdt/(1+t2) and set π=4arctan⁡1. The natural logarithm ln⁡ is defined on (0,∞) by ln⁡x=∫1xdt/t.

The square root is the unique nonnegative real y with y2=x for x≥0; existence and uniqueness follow from Nonnegative real square roots exist uniquely. The tangent is tan⁡x=sin⁡x/cos⁡x on the set where cos⁡x≠0.

For complex z=x+iy, the modulus ∣z∣=x2+y2 is defined in Real intervals, complex rectangles and ball enclosures. The complex exponential is exp⁡(x+iy)=exp⁡(x)(cos⁡y+isin⁡y). The principal complex logarithm is Log⁡(z)=ln⁡∣z∣+iArg⁡(z) on C∖(−∞,0]. For z=x+iy in this domain, define Arg⁡(x+iy)={arctan⁡(y/x),x>0,π/2,x=0, y>0,−π/2,x=0, y<0,π−arctan⁡(y/(−x)),x<0, y>0,−π+arctan⁡((−y)/(−x)),x<0, y<0. The excluded negative real axis is the remaining case x<0,y=0; zero is also excluded.

These are point functions. An interval extension must separately enclose their exact ranges, test the stated domains, and return a non-finite status when its finite budget cannot certify a reduction or endpoint.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Mean value theorem on a closed real interval

Statement

Let f:[a,b]→R be continuous on [a,b] and differentiable on (a,b), with a<b. Then there is c∈(a,b) such that

f(b)−f(a)=f′(c)(b−a).

Facts & Assumptions

Given: A field satisfying Dedekind-complete ordered real field, real endpoints a<b, and f:[a,b]→R continuous on [a,b] and differentiable on (a,b) as defined in Continuity and derivative on a real interval.

[F1]

Continuity and derivative on a real interval: continuity is the relative epsilon-delta condition; differentiability is existence of the finite two-sided difference-quotient limit.

[L1]

Rolle's theorem from attained extrema: a continuous function on [a,b] differentiable on (a,b) with equal endpoint values has an interior point with derivative zero.

Proof

1.1givenF1L1construct

Let m=(f(b)−f(a))/(b−a) and define g(t)=f(t)−f(a)−m(t−a). The function g is continuous on [a,b] and differentiable on (a,b) by [F1], and g(a)=g(b)=0. Applying [L1] gives c∈(a,b) with g′(c)=0.

2.1step 1.1algebra∎

Differentiating the displayed affine expression gives g′(c)=f′(c)−m=0. Thus f′(c)=(f(b)−f(a))/(b−a); multiplying by b−a>0 proves the identity.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

The oriented Riemann integral is linear in continuous integrands

Statement

Let f,g be continuous on [a,b], a<b, and let α,β∈R. Then αf+βg is continuous and ∫ab(αf(t)+βg(t)) dt=α∫abf(t) dt+β∫abg(t) dt. The same identity holds for the oriented integral when b<a, and for the zero-length interval both sides are zero.

Facts & Assumptions

Given: Continuous real functions on finite intervals and the Darboux construction in Continuous functions have an oriented Riemann integral.

[L1]

Continuous functions have an oriented Riemann integral: the integral is the common supremum of lower sums and infimum of upper sums; a common refinement increases lower sums and decreases upper sums.

Proof

1.1givenL1chooseconstructalgebra

On each partition interval, the maximum of f+g is at most the sum of the separate maxima, while its minimum is at least the sum of the separate minima. Thus U(f+g,P)≤U(f,P)+U(g,P) and L(f+g,P)≥L(f,P)+L(g,P). Given ε>0, choose partitions whose upper sums for f,g are within ε/2 above their infima, and refine both to a common partition P. By [L1], refinement cannot increase those upper sums, so ∫ab(f+g)≤U(f+g,P)<∫abf+∫abg+ε. Similarly choose lower sums within ε/2 below their suprema and refine to a common partition; [L1] gives ∫ab(f+g)≥L(f+g,P)>∫abf+∫abg−ε. Since this holds for every ε>0, the integral is additive in the integrand.

2.1givenL1step 1.1algebra∎

If α>0, maxima and minima of αf on every partition piece are α times those of f, so both Darboux sums scale by α and their infimum/supremum do as well. If α=0, every sum is zero. If α<0, multiplication reverses order, giving U(αf,P)=αL(f,P) and L(αf,P)=αU(f,P); taking the infimum and supremum, which reverse under multiplication by negative α, again gives ∫abαf=α∫abf. Combine this homogeneity with step 1.1 to obtain the displayed formula. For reversed endpoints use ∫ba=−∫ab; for a=b use the zero-length definition.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

The fundamental theorem of calculus and integration by parts

Statement

Let a,b lie in an open interval J, and let f be continuously differentiable on J. Then

∫abf′(t) dt=f(b)−f(a).

If f,g are continuously differentiable on J, then ∫abf(t)g′(t) dt=f(b)g(b)−f(a)g(a)−∫abf′(t)g(t) dt. Both identities hold for oriented endpoints.

Facts & Assumptions

Given: The difference-quotient definition of derivative, the local oriented integral of continuous functions, linearity of that integral, the product rule, and the closed-interval mean value theorem.

[F1]

Continuity and derivative on a real interval: continuous differentiability on an open interval includes existence and continuity of the derivative.

[L1]

Continuous functions have an oriented Riemann integral: for continuous h, H(x)=∫axh(t) dt is defined and H′(x)=h(x); the integral is additive and oriented.

[L2]

The oriented Riemann integral is linear in continuous integrands: the integral of a sum is the sum of the integrals.

[L3]

Sum, product, quotient, and chain rules from difference quotients: differentiability implies continuity and (fg)′=f′g+fg′.

[L4]

Mean value theorem on a closed real interval: a continuous function on [a,b] differentiable on (a,b) satisfies the mean value theorem.

Proof

1.1givenF1L1L3L4constructalgebra

Assume first a<b and let H(x)=∫axf′(t) dt. By [L1], H′(x)=f′(x) on an open interval containing [a,b], and H(a)=0. By [L3], H is continuous there. Thus q=f−H is continuous on [a,b], differentiable on (a,b), and q′=0. Applying [L4] gives q(b)−q(a)=0, so f(b)−H(b)=f(a). Rearranging proves the first identity.

1.2L1algebra

For a=b the first identity is 0=0; reversing endpoints proves it for a>b.

2.1step 1.1step 1.2L1L2L3algebra∎

Assume a<b. By [L3], (fg)′=f′g+fg′. These terms are continuous: for continuous u,v, ∣u(t)v(t)−u(t0)v(t0)∣≤∣u(t)∣ ∣v(t)−v(t0)∣+∣v(t0)∣ ∣u(t)−u(t0)∣, and continuity of u bounds ∣u(t)∣ near t0. Thus fg is continuously differentiable. Apply step 1.1 to fg and then [L2]: f(b)g(b)−f(a)g(a)=∫ab(f′g+fg′)=∫abf′g+∫abfg′. Rearranging gives the second identity. For a=b both sides are zero, and for a>b reverse endpoints using [L1].

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Range-reduced exponential, logarithm and arctangent series have certified tails

Statement

For ∣u∣≤1/2 and integer N≥1, set EN(u)=∑k=0Nuk/k! and RE=∣u∣N+1/((N+1)!(1−∣u∣/(N+2))). Then exp⁡(u)∈[EN(u)−RE,EN(u)+RE], and the lower endpoint is positive. For y∈[1,2], put v=(y−1)/(y+1) and LN(v)=2∑k=0Nv2k+1/(2k+1). Then ∣ln⁡y−LN(v)∣≤2∣v∣2N+3(2N+3)(1−v2). For every integer j and y>0, the natural logarithm also satisfies ln⁡(2jy)=jln⁡2+ln⁡y. For ∣t∣≤1/2, set AN(t)=∑k=0N(−1)kt2k+1/(2k+1). Then ∣arctan⁡t−AN(t)∣≤∣t∣2N+3(2N+3)(1−t2).

Facts & Assumptions

[L1]

Real elementary functions and their domains: exp⁡ is its absolutely convergent power series; ln⁡y=∫1ydt/t for y>0; and arctan⁡t=∫0tdu/(1+u2). Its integral-defined functions have the average-value difference quotient from the local Darboux construction.

[L2]

Mean value theorem on a closed real interval: if H is continuous on [u,v], differentiable on (u,v), and u<v, some w∈(u,v) satisfies H(v)−H(u)=H′(w)(v−u).

[L3]

Sum, product, quotient, and chain rules from difference quotients: differentiability implies continuity, and the sum, product, quotient, and composition rules hold for derivatives defined by difference quotients.

[L4]

Power series may be differentiated term by term inside their radius: inside the radius of convergence, a power series with an absolutely convergent derivative series has that termwise derivative.

[L5]

Real and complex modulus product and triangle inequalities: real absolute value is multiplicative and satisfies the triangle inequality.

[L6]

Elementary factorial and geometric series converge uniformly: factorial series and their formal derivatives converge on bounded intervals; geometric and odd power series and their derivatives converge inside radius one.

Proof

1.1givenL1L5L6algebra

For k≥N+1, consecutive absolute exponential terms have ratio ∣u∣/(k+1)≤q:=∣u∣/(N+2)<1. Their tail is bounded by the first omitted term times 1+q+q2+⋯=1/(1−q), giving RE. The defining power series lies between its partial sum plus or minus this absolute tail. For N≥1, the partial sum is at least 1−∣u∣≥1/2 by alternating-series grouping when u<0 and by positivity when u≥0; also RE≤(1/2)2/(2(1−1/6))=3/20<1/2. Thus the lower bound is positive.

1.2givenL1L2L3L4L6algebra

For y∈[1,2], v=(y−1)/(y+1)∈[0,1/3]. Set G(v)=2∑k=0∞v2k+1/(2k+1). Its derivative series is absolutely convergent for ∣v∣<1 by [L6], so [L4] gives G′(v)=2/(1−v2). By [L3], H(y)=G(v(y)) has derivative 4/((y+1)2(1−v2))=1/y. The integral definition [L1] has derivative 1/y, since its difference quotient is the average of the continuous integrand 1/t near y; also H(1)=ln⁡1=0. For y>1, apply [L2] to H−ln⁡ on [1,y]; its derivative is zero, so H(y)−ln⁡y=H(1)−ln⁡1=0. Equality at y=1 holds by the integral definition. Hence H(y)=ln⁡y on [1,2].

1.3givenL1L2L3algebra

Fix y>0 and let h(x)=ln⁡(xy)−ln⁡x for x>0. From [L1], the integral difference quotient gives (ln⁡x)′=1/x. The chain rule [L3] therefore gives h′(x)=y/(xy)−1/x=0. Applying [L2] on the positive segment between 1 and any x>0 shows h(x)=h(1)=ln⁡y, so ln⁡(xy)=ln⁡x+ln⁡y. Repeated use gives the identity for positive integer powers of 2; applying it to 2⋅(1/2)=1 gives ln⁡(1/2)=−ln⁡2, hence the same identity for negative integer powers and j=0. Thus ln⁡(2jy)=jln⁡2+ln⁡y for every integer j.

1.4givenL1L2L4L5L6algebra

For ∣t∣≤1/2, the power series P(t)=∑k=0∞(−1)kt2k+1/(2k+1) has radius 1 by [L6], and [L4] gives P′(t)=∑k≥0(−1)kt2k=1/(1+t2) by the geometric series. The integral definition [L1] has the same derivative by the average-value difference quotient and the same value 0 at t=0. If t>0, [L2] applied to P−arctan⁡ on [0,t] gives equality; if t<0, apply [L2] on [t,0]; at t=0 both are zero. Thus P(t)=arctan⁡t on the stated interval.

2.1step 1.2L5L6algebra

For each k≥N+1, the absolute logarithm-series term is at most 2∣v∣2N+3∣v∣2(k−N−1)/(2N+3). Summing this geometric majorant gives 2∣v∣2N+3/((2N+3)(1−v2)). Removing the first N+1 terms of H leaves exactly this bounded tail.

3.1step 1.4L5L6algebra∎

For every omitted term index k≥N+1, its magnitude is at most ∣t∣2N+3∣t∣2(k−N−1)/(2N+3). Summing gives the displayed geometric tail, so AN(t) plus or minus that tail encloses arctan⁡t.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Taylor's Lagrange remainder follows from repeated Rolle steps

Statement

Let n≥0, let f have continuous derivatives through order n+1 on an open interval containing the closed interval between c and x, and define Pn(t)=∑j=0nf(j)(c)(t−c)j/j!. If x≠c, there is a point ξ strictly between c and x such that

f(x)−Pn(x)=f(n+1)(ξ)(n+1)!(x−c)n+1.

For x=c, the remainder is zero.

Facts & Assumptions

Given: n≥0, points c,x in an open interval on which f is Cn+1 as defined in Continuity and derivative on a real interval, the power rule in Sum, product, quotient, and chain rules from difference quotients, and the closed-interval mean value theorem Mean value theorem on a closed real interval.

[L1]

Mean value theorem on a closed real interval: a continuous function on [u,v] differentiable on (u,v) has a point w∈(u,v) with g(v)−g(u)=g′(w)(v−u).

[L2]

Sum, product, quotient, and chain rules from difference quotients: the chain rule holds and tm has derivative mtm−1 for each integer m≥1, hence (t−c)m has derivative m(t−c)m−1.

Proof

1.1givenL2constructalgebra

Fix x≠c and set A=(f(x)−Pn(x))/(x−c)n+1 and g(t)=f(t)−Pn(t)−A(t−c)n+1 on the interval between c and x. Then g(c)=g(x)=0 and g(j)(c)=0 for each 1≤j≤n, because the Taylor polynomial matches those derivatives at c by [L2] and the last term has a zero of order n+1.

2.1step 1.1L1induction

By [L1] applied to g on the interval with endpoints c,x, there is a point z1 strictly between them with g′(z1)=0. If n≥1, also g′(c)=0, so [L1] applied to g′ between c and z1 gives z2 between them with g′′(z2)=0. Inductively, for each j≤n the zeros g(j)(c)=0 and g(j)(zj)=0 give a point zj+1 between them with g(j+1)(zj+1)=0. The last point is the required ξ; when n=0, take ξ=z1.

3.1step 1.1step 2.1L2algebra∎

Since Pn(n+1)=0 and the (n+1)st derivative of A(t−c)n+1 is A(n+1)!, the equation g(n+1)(ξ)=0 gives A=f(n+1)(ξ)/(n+1)! by [L2]. Substituting the definition of A proves the formula. At x=c, Pn(c)=f(c) directly.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Taylor's theorem with an integral remainder

Statement

Let n≥0, let f have continuous derivatives through order n+1 on an open interval containing the segment between c and x, and put

Pn(x)=∑j=0nf(j)(c)j!(x−c)j.

Then

f(x)−Pn(x)=1n!∫cxf(n+1)(t)(x−t)n dt.

If M≥0 and ∣f(n+1)(t)∣≤M between c and x, then

∣f(x)−Pn(x)∣≤M∣x−c∣n+1(n+1)!.

The formula and bound include x=c and oriented endpoints.

Facts & Assumptions

Given: Derivatives defined by difference quotients, the oriented Riemann integral of continuous functions, and the stated derivative bound.

[F1]

Continuity and derivative on a real interval: higher derivatives are defined recursively; Cn+1 means they exist and are continuous.

[L1]

The fundamental theorem of calculus and integration by parts: for C1 functions, ∫f′=f(b)−f(a) and ∫uv′=u(b)v(b)−u(a)v(a)−∫u′v.

[L2]

The oriented Riemann integral is linear in continuous integrands: integrals are homogeneous and additive in the integrand.

[L3]

Real and complex modulus product and triangle inequalities: ∣uv∣=∣u∣∣v∣ and the triangle inequality holds for real values.

[L4]

Continuous functions have an oriented Riemann integral: the integral is monotone in the integrand on a forward interval.

Proof

1.1givenF1L1algebrainduction

For fixed f,c,x, define Im=1m!∫cxf(m+1)(t)(x−t)m dt for 0≤m≤n. For m=0, [L1] gives I0=f(x)−f(c). For m≥1, apply integration by parts [L1] to u(t)=f(m)(t) and v(t)=(x−t)m/m!. Since v(x)=0, v(c)=(x−c)m/m!, and v′(t)=−(x−t)m−1/(m−1)!, it gives Im=Im−1−f(m)(c)(x−c)mm!. Induction from I0 yields In=f(x)−∑j=0nf(j)(c)(x−c)j/j!=f(x)−Pn(x). The oriented integration-by-parts identity makes the same recurrence valid when x<c; if x=c, both sides are zero.

2.1givenL1L2L3L4step 1.1algebra∎

Let d=∣x−c∣ and ψ(t)=f(n+1)(t)(x−t)n/n!. This is continuous. The triangle inequality in [L3], applied in both directions, gives ∣∣ψ(s)∣−∣ψ(t)∣∣≤∣ψ(s)−ψ(t)∣, so ∣ψ∣ is continuous too and both functions are integrable. By [L2] and [L4], the integral is monotone in the integrand, so ∣∫cxψ(t) dt∣≤∫min⁡(c,x)max⁡(c,x)∣ψ(t)∣ dt≤Mn!∫min⁡(c,x)max⁡(c,x)∣x−t∣n dt. The first inequality follows by integrating −∣ψ∣≤ψ≤∣ψ∣ on the forward interval and using ∫(−∣ψ∣)=−∫∣ψ∣; orientation does not change the absolute value. The last power integral is dn+1/(n+1) by [L1], using its polynomial antiderivative on the segment to either side of x. Thus the bound is Mdn+1/(n+1)!. Combining this with step 1.1 proves the result.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Trigonometric identities, Machin's formula and reduced Taylor tails

Statement

The power-series sine and cosine satisfy the addition identities and sin⁡2x+cos⁡2x=1. For A(t)=arctan⁡t from Real elementary functions and their domains,

sin⁡(A(t))=tcos⁡(A(t)),cos⁡(A(t))>0,

so A(t) is the inverse tangent with values in (−π/2,π/2) when π=4A(1). It is odd; for u,v≥0 with uv<1, A(u)+A(v)=A((u+v)/(1−uv)); and for t>0, A(t)=π/2−A(1/t). In particular sin⁡(π/2)=1 and cos⁡(π/2)=0. Also,

π=16arctan⁡(1/5)−4arctan⁡(1/239).

For every real x there is an integer k and r=x−kπ/2 with ∣r∣≤π/4; the sine and cosine of x are obtained from those of r by the quarter-period identities. For every real r with ∣r∣≤1 and every N≥0, truncating sine through degree 2N+1 and cosine through degree 2N gives absolute tail bounds

Ts=∣r∣2N+3(2N+3)!(1−∣r∣2/((2N+4)(2N+5)))

and

Tc=∣r∣2N+2(2N+2)!(1−∣r∣2/((2N+3)(2N+4))).

Facts & Assumptions

[L1]

Real elementary functions and their domains: sine and cosine are the factorial-denominator power series; A(t)=∫0tdu/(1+u2); and π=4A(1). The integral has the local Darboux constant-comparison and average-value derivative properties.

[L2]

Range-reduced exponential, logarithm and arctangent series have certified tails: the arctangent series on [−1/2,1/2] has a remainder tending to zero with its truncation order.

[L3]

Mean value theorem on a closed real interval: for u<v a continuous h differentiable on (u,v) has w∈(u,v) with h(v)−h(u)=h′(w)(v−u).

[L4]

Sum, product, quotient, and chain rules from difference quotients: differentiability implies continuity, and sum, product, quotient and composition derivatives follow from the difference-quotient definition.

[L5]

Power series may be differentiated term by term inside their radius: inside its radius of convergence, a power series with absolutely convergent derivative series has the termwise derivative.

[L6]

Dedekind completeness implies the Archimedean property: the natural numbers are unbounded above.

[L7]

Real and complex modulus product and triangle inequalities: real absolute value is multiplicative, satisfies the triangle inequality, and is nonnegative.

[L8]

Elementary factorial and geometric series converge uniformly: the factorial series and their derivative series converge absolutely and uniformly on bounded intervals, and geometric tails have finite bounds.

[L9]

Cauchy products of absolutely convergent series multiply their sums: the product of two absolutely convergent series equals their Cauchy product, grouped by total degree.

Proof

1.1givenL1L7L8L9algebra

On each bounded square, the factorial series and their tails converge uniformly by [L8]. Their Cauchy products are absolutely convergent and can be grouped by total degree by [L9]. For sine, the coefficient of xrys in sin⁡(x+y) vanishes when r+s is even and otherwise equals (−1)(r+s−1)/2/(r!s!), by the binomial theorem; the same coefficient appears in sin⁡xcos⁡y+cos⁡xsin⁡y. For cosine, the coefficient in cos⁡(x+y) vanishes when r+s is odd and otherwise equals (−1)(r+s)/2/(r!s!), matching cos⁡xcos⁡y−sin⁡xsin⁡y. Thus both addition identities hold.

1.2givenL1L3L4L5L7L8algebra

On every bounded interval, [L8] gives absolute convergence of the factorial coefficient series and their derivative series. Applying [L5] to the two power series gives sin⁡′=cos⁡ and cos⁡′=−sin⁡. By the product rule in [L4], the derivative of sin⁡2x+cos⁡2x is zero; [L3] and its value 1 at zero give sin⁡2x+cos⁡2x=1.

2.1givenL1L3L4L7step 1.2algebra

Write A(t)=arctan⁡t, S(t)=sin⁡A(t) and C(t)=cos⁡A(t). From [L1], the difference quotient for A is the average of the continuous integrand 1/(1+u2) over the interval from t to t+h, so A′(t)=1/(1+t2). By the preceding sine and cosine identity and the chain and product rules [L4], g(t)=S(t)−tC(t) satisfies g′(t)=tg(t)/(1+t2) and g(0)=0. The quotient rule [L4] gives (g(t)2/(1+t2))′=0. By [L3], this quotient is constant on every interval between 0 and t, hence zero; therefore g(t)=0. Now C(t)2=1/(1+t2) by the preceding sine and cosine identity, and C′(t)=−tC(t)/(1+t2). Put q(t)=1+t2. Since q(t)≥0 and q(t)2≥1, it follows that q(t)≥1: otherwise (1−q(t))(1+q(t))>0 would imply q(t)2<1. The same holds at t+h. For h near zero, rationalization gives ∣q(t+h)−q(t)∣=∣h∣ ∣2t+h∣q(t+h)+q(t)≤∣h∣(2∣t∣+∣h∣)2⟶0. Thus q is continuous, and the rationalized difference quotient (q(t+h)−q(t))/h=(2t+h)/(q(t+h)+q(t)) tends to t/q(t); hence q′(t)=t/q(t). The product rule [L4] gives (q(t)C(t))′=0, so [L3] implies q(t)C(t) is constant on every segment between 0 and t. Its value at zero is 1, hence C(t)=1/q(t)>0. For t>0 and 0≤u≤t, the integrand satisfies 1/(1+u2)≥1/(1+t2). Constant comparison for the integral [L1] gives A(t)≥t/(1+t2)>0. Also A′(t)=1/(1+t2), so H(t)=A(t)+A(1/t) has derivative H′(t)=11+t2−1t211+1/t2=0. By [L3], H is constant on the positive segment between 1 and t; H(1)=2A(1). Therefore A(t)=2A(1)−A(1/t) for every t>0, and the positivity just proved shows 0<A(t)<2A(1). Similarly, the derivative of A(−t)+A(t) is zero and its value at zero is zero, so [L3] gives A(−t)=−A(t) for every real t. Since π/2=2A(1), these bounds yield A(t)∈(−π/2,π/2) for all real t and tan⁡A(t)=t. At t=1, S(1)=C(1)>0 and step 1.2 gives both equal 1/2; the addition identities yield sin⁡(π/2)=1 and cos⁡(π/2)=0.

3.1step 2.1L3L4L7algebra

For u,v≥0 with uv<1, define H(v)=A(u)+A(v)−A((u+v)/(1−uv)). Differentiating with the inverse-tangent derivative formula and the chain rule [L4], the derivative of the last term is (1+u2)/(1−uv)21+((u+v)/(1−uv))2=11+v2, which is also A′(v). Thus H′(v)=0 and H(0)=0; [L3] gives A(u)+A(v)=A((u+v)/(1−uv)). Set α=A(1/5) and β=A(1/239). This identity gives 2α=A(5/12), then 4α=A(120/119), and also β+A(1)=A(120/119). Hence 4α=β+A(1) and 16α−4β=4A(1)=π.

3.2L1L6L7step 1.1step 2.1choosealgebra

Put q=2x/π. By [L6], choose an integer n>∣q∣+1. Among the finite ordered list −n,−n+1,…,n, take its greatest member k0≤q; then k0≤q<k0+1. At least one of k0,k0+1 is within 1/2 of q; call it k. Since 0<1/(1+u2)≤1 on [0,1], integral comparison [L1] and step 2.1 give 0<A(1)≤1, hence π/4=A(1)≤1. Therefore the residual r=x−kπ/2 satisfies ∣r∣≤π/4≤1. Repeated application of the addition identities in step 1.1 and the values proved in step 2.1 gives the quarter-period sign and swap formulas.

4.1step 3.1L2construct

Since 1/5 and 1/239 lie in [0,1/2], [L2] gives rational intervals for α and β with the displayed tail widths. Multiplying those intervals by 16 and 4 and using the exact identity in step 3.1 gives a certified rational interval for π; increasing the truncation count decreases both tail bounds.

5.1givenL7L8algebra∎

Fix any ∣r∣≤1 and N≥0. The sine terms after degree 2N+1 have first omitted magnitude ∣r∣2N+3/(2N+3)! and each later ratio is at most ∣r∣2/((2N+4)(2N+5))<1. Summing this geometric majorant gives Ts. The cosine terms after degree 2N have first omitted magnitude ∣r∣2N+2/(2N+2)! and ratio at most ∣r∣2/((2N+3)(2N+4))<1, giving Tc.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableprecheck pendingOpen item page →

Certified range evaluation for elementary real and complex functions

Definition

Input: a finite, well-formed, typed expression DAG with one or more designated output nodes; finite real interval or complex rectangle assignments for its input nodes; exact dyadic constants or constants supplied with certified enclosing intervals/rectangles; a finite dyadic format (p,emin⁡,emax⁡) with p≥2 and emin⁡≤emax⁡; and an integer truncation index N≥1. Input interval endpoints and supplied constant enclosures use this format. All constants, including every Machin enclosure of π, use the same fixed N and format throughout a call. Real nodes support input and constant nodes and the operations +,−,×,÷,x,exp⁡,ln⁡,arctan⁡,sin⁡,cos⁡,tan⁡. Complex nodes support input and constant nodes and +,−,×,÷,exp⁡,Log⁡. Each operation has homogeneous real or complex inputs of its stated type; no implicit conversion between real and complex nodes is performed. Unsupported node types, arities, or type combinations return inconclusive with the offending node.

Output: a finite interval/rectangle enclosure for every designated output node, or one of empty, entire, domain-error, split-domain, overflow, or inconclusive with the node and unresolved domain piece. If any supplied input is empty, return empty. No value from a system libm routine is treated as a certified endpoint. Each DAG node is evaluated once; shared nodes reuse their interval/rectangle enclosure and do not preserve correlations between distinct paths.

  1. Check that node identifiers are unique, all references resolve, every designated output is a node, and the supported node types and arities above hold. Use each supplied input enclosure as its node value. For an exact real dyadic constant c, use [rd⁡(c),ru⁡(c)] in the selected format. For an exact complex dyadic constant, do this to each coordinate. A finite subnormal endpoint remains a valid endpoint; if a coordinate conversion overflows, return overflow with that constant node. Use a supplied certified constant enclosure as given. Construct a topological order by repeatedly removing a node whose predecessors have already been removed, breaking ties by lexicographically smallest node identifier. If no such node exists before all nodes are ordered, return inconclusive with a node in the cycle. Evaluate nodes in this order and store each finite enclosure for its successors. Arithmetic nodes use Outward-rounded interval, rectangle and ball operations; if an operation returns a non-finite status, propagate it immediately with its node and unresolved piece. For X require X⊆[0,∞) and for ln⁡X require X⊆(0,∞); otherwise return domain-error rather than silently discarding points.

  2. For a real exponential node, set s=max⁡(0,emax⁡+2) using the format in Dyadic floating-point format and directed rounding. Since Nmax⁡<2emax⁡+1, exact comparison gives Nmax⁡/2s<1/2. For its input interval X, form the exact dyadic interval U=2−sX without storage rounding. Evaluate the degree-N exponential polynomial and add the symmetric tail from Range-reduced exponential, logarithm and arctangent series have certified tails, using max⁡u∈U∣u∣<1/2, by exact rational interval arithmetic. Round only the resulting interval endpoints outward, then square that interval s times. If its lower endpoint is not positive or an endpoint overflows, return inconclusive or overflow with the node and input interval.

For a real logarithm node, first require X⊆(0,∞). List all integers j for which Xj=X∩[2j,2j+1] is nonempty; exact endpoint comparisons find this finite list because X has positive finite endpoints. On each piece form Y=2−jXj⊆[1,2] and V=(Y−1)/(Y+1) by exact rational endpoint formulas without storage rounding, so V⊆[0,1/3]. Evaluate the logarithm polynomial and its tail determined by max⁡∣V∣ by exact rational interval arithmetic, round the result outward, and form jln⁡2+ln⁡Y by outward arithmetic. Compute the fixed enclosure for ln⁡2 once by the same series and tail at y=2, hence v=1/3, and reuse it in every bin. If any piece cannot be evaluated finitely, propagate its status and that piece. Otherwise take the interval hull of all piece enclosures as the node enclosure.

  1. Partition a real arctangent input at the fixed breakpoints −3,−1,−1/2,1/2,1,3 into nonempty closed pieces, allowing shared endpoints. On pieces in [−1/2,1/2], evaluate its alternating power series. For positive pieces in [1/2,1], use arctan⁡t=π/4−arctan⁡((1−t)/(1+t)); in [1,3], use arctan⁡t=π/4+arctan⁡((t−1)/(t+1)); for t≥3, use arctan⁡t=π/2−arctan⁡(1/t). Evaluate negative pieces by odd symmetry. Form each reduced interval by exact rational endpoint formulas and evaluate its polynomial and symmetric tail by exact rational interval arithmetic before outward conversion; every reduced argument lies in [−1/2,1/2]. Combine the converted enclosure with the fixed π enclosure by outward arithmetic. Enclose π using Machin's identity and the alternating series at 1/5 and 1/239, forming rational partial sums and tail endpoints exactly before final outward conversion. If every piece is finite, take the interval hull of all piece enclosures. If any branch test or piece is unresolved, return its non-finite status with that piece and do not use a partial hull.

  2. For each sine or cosine node, first compute one outward Machin interval PN for π using the same N and format, combining the rational series endpoints exactly before final outward conversion. If PN is non-finite or its lower endpoint is not positive, return inconclusive. For finite input X=[a,b], put MX=max⁡(∣a∣,∣b∣), p−:=inf⁡(PN)>0, and K=⌈2MX/p−⌉+1, with the ceiling computed by exact rational comparisons. If the width of X is at least 2sup⁡(PN), outward-round the exact endpoints −1 and 1; if either conversion overflows, return overflow with the node and input interval, and otherwise return the resulting interval. Otherwise examine the finite candidate list k=−K,…,K for the canonical cells [kπ/2−π/4,kπ/2+π/4]. For each candidate form the exact rational interval enclosure Ck=kPN/2+[−1/4,1/4]PN of its canonical cell. For k>K, the exact left endpoint (2k−1)π/4 of cell k is at least (2k−1)p−/4>MX; for k<−K, its exact right endpoint −(2∣k∣−1)π/4 is at most −(2∣k∣−1)p−/4<−MX. Thus no omitted exact cell can intersect X. Include each candidate whose Ck intersects X; exclude only candidates whose intersection is empty by exact comparison. Let Xk be the exact interval hull of X∩Ck, without rounding these endpoints, and form the residual enclosure Rk=Xk−kPN/2. Certify Rk⊆[−1,1], evaluate the sine polynomial through degree 2N+1 or the cosine polynomial through degree 2N, and add the corresponding explicit geometric tail from Trigonometric identities, Machin's formula and reduced Taylor tails by exact rational interval arithmetic. For j∈{0,1,2,3} the quarter-period map for a sine node is respectively sin⁡r,cos⁡r,−sin⁡r,−cos⁡r, and for a cosine node it is respectively cos⁡r,−sin⁡r,−cos⁡r,sin⁡r, where j is the least nonnegative residue of k modulo 4. For a negative sign, negate the interval and reverse its endpoints. Intersect each mapped enclosure with [−1,1]. Round the final endpoints outward and take the hull over every included cell. If no candidate is included, a cell cannot be certified in the reduced interval, or any candidate endpoint overflows, return inconclusive or overflow with the cell; never omit that piece from a finite hull.

For tangent, form the same finite canonical-cell list even when the input width meets the wide-input shortcut; do not use that shortcut. For each included cell k, form its reduced input interval Rk as above and evaluate sine and cosine on that cell. Divide their enclosures only when the cosine enclosure excludes zero. Otherwise, for odd k, form the exact dyadic pole enclosure Kk=kPN/2. If Kk is contained in the cell's input intersection, then kπ/2 lies in that cell and is a cosine zero, so return split-domain with the cell. If the cosine enclosure contains zero but this pole test does not certify a zero, return inconclusive with the cell. Take the interval hull of tangent enclosures only when every piece is finite.

  1. For complex exponential on X+iY, evaluate real exp⁡(X), cos⁡(Y), and sin⁡(Y) and combine their enclosures by rectangle operations. For principal Log⁡, first require a rectangle excluding zero and every point of the negative real branch cut; otherwise return domain-error. Compute an outward Machin interval PN for π using this call's N and format; if it is non-finite or its lower endpoint is not positive, return inconclusive. Split each coordinate interval into its nonempty strictly negative and strictly positive portions, plus the singleton {0} when it contains zero. Use the closures of the strictly signed portions as interval enclosures; form their Cartesian products for the quadrant pieces, and handle products with an axis singleton separately. Omit empty pieces. These finitely many pieces cover the rectangle, with quadrant closures allowed to overlap their axis pieces. On a quadrant where the denominator interval excludes zero, use Arg⁡(x+iy)={arctan⁡(y/x),x>0, y>0,−arctan⁡((−y)/x),x>0, y<0,π−arctan⁡(y/(−x)),x<0, y>0,−π+arctan⁡((−y)/(−x)),x<0, y<0. Write this call's fixed interval as PN=[p−,p+] and form the exact dyadic sector intervals SI=[0,p+/2],SII=[p−/2,p+],SIII=[−p+,−p−/2],SIV=[−p+/2,0]. For every ratio-based quadrant piece, obtain its finite real arctangent enclosure by the real rules above; propagate any non-finite result. Form the full argument interval A in the displayed quadrant formula by exact rational endpoint arithmetic, using this same PN for each occurrence of π. Before final outward conversion or hull formation, replace A by J=A∩Sq, where q is that piece's quadrant. Compute the intersection by exact endpoint maxima and minima. If it is empty, return inconclusive with the piece and status empty-argument-intersection; do not omit the piece. If the denominator interval has a zero endpoint, use J=Sq instead of a ratio formula.

For an interval J=[a,b] produced by either branch, apply the same final conversion H(J)=[rd⁡(a),ru⁡(b)] in the selected format. Perform this conversion after intersection for a ratio branch and after selecting Sq for a coarse branch. Finite subnormal endpoints are accepted; an overflow returns overflow with the piece. On the positive imaginary axis use H(PN/2), on the negative imaginary axis use H(−PN/2), and on the positive real axis use H([0,0]). The initial domain check excludes the origin and negative real axis, so these are all remaining axis cases.

On each piece enclose ln⁡X2+Y2 using the real operations and evaluator, and combine it with the converted argument interval into a rectangle. If every piece is finite, take the coordinatewise hull of all piece rectangles. If any piece, conversion or branch is unresolved, return its status and piece without forming a partial hull.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

Centered Taylor models with derivative intervals enclose the function range

Statement

Under the hypotheses in Centered Taylor model with derivative-interval remainder, every x∈X satisfies ∣f(x)−Pn(x)∣≤MRn+1/(n+1)!. Whenever all operations and endpoint conversions in the displayed outward-rounded Taylor-model evaluation return finite intervals, f(X)⊆Tn(f,X,c,(Cj)j=0n,D). For n=0, the exact set sum always satisfies f(X)⊆C0+[−MR,MR], and its finite outward evaluation encloses this sum. A non-finite evaluation status asserts no finite Taylor-model certificate.

Facts & Assumptions

[L1]

Centered Taylor model with derivative-interval remainder: each Cj contains f(j)(c)/j!, D contains f(n+1)(X), M bounds the absolute values of D, and R bounds ∣x−c∣ for every x∈X.

[L2]

Taylor's theorem with an integral remainder: each Taylor remainder is an integral and has absolute value at most M∣x−c∣n+1/(n+1)! when ∣f(n+1)∣≤M on the segment.

[L3]

Outward-rounded operations are inclusion-isotone and enclose DAG evaluations: the computed polynomial range and interval sum enclose their exact counterparts provided every operation node returns a finite enclosure; a non-finite status asserts no finite DAG enclosure.

Proof

1.1givenL1L2

Fix x∈X. If x=c, the polynomial already equals f(c) and the remainder is zero. Otherwise the segment from c to x lies in X, so [L1] places f(n+1) there in D and gives ∣f(n+1)∣≤M; also ∣x−c∣≤R. The Taylor integral remainder bound [L2] is therefore at most MRn+1/(n+1)!.

2.1step 1.1L1L3algebra∎

Step 1.1 proves the stated analytic bound independently of storage. Suppose now that every operation and endpoint conversion in the Taylor-model evaluation returns a finite interval. For every x∈X, [L1] puts each exact coefficient of Pn(x) inside the corresponding Cj, so the polynomial interval evaluation contains Pn(x) by [L3]. The remainder from step 1.1 lies in the exact symmetric interval, whose outward endpoint conversion contains it. Thus f(x) lies in the exact sum, and outward evaluation preserves that inclusion by [L3]. Since x was arbitrary, the whole range f(X) is enclosed. For n=0, P0(x)=f(c)∈C0, so the exact set-sum inclusion follows from step 1.1 even if its machine evaluation fails. On a non-finite status [L3] supplies no finite enclosure.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableprecheck pendingOpen item page →

Finite-budget validated range evaluation

Definition

Input: a finite, well-formed, typed expression DAG with exactly one designated output node, an interval/rectangle assignment box X for its input nodes, a dyadic requested width ε>0, finite-format parameters (p,emin⁡,emax⁡) with p≥2 and emin⁡≤emax⁡, series truncation index N≥1, and integer total box-split budget B≥0. The supported node types, input assignments, exact dyadic constants and supplied certified constant enclosures satisfy the admissibility conditions of Certified range evaluation for elementary real and complex functions. In particular, every input endpoint and every endpoint of a supplied constant enclosure belongs to the selected finite representable set F. Truth of a supplied constant's certified inclusion is a mathematical input promise, not something inferred from its endpoints. Exact dyadic constants need not themselves be representable; their conversion and any overflow remain the evaluator's task.

Use the following exact membership procedure for each supplied finite endpoint and for every proposed split midpoint. Put η=2emin⁡−p+1. Compare the value with zero, then enumerate both signs of kη for k=1,…,2p−1−1, and both signs of k2e−p+1 for e=emin⁡,…,emax⁡ and k=2p−1,…,2p−1, stopping at a match. If the finite enumeration ends without a match, report not-in-format. Every comparison is an exact dyadic equality test. This is the representable set of Dyadic floating-point format and directed rounding, including zero and subnormals. Before initializing the queue, check the integer/format conditions and the finite input and supplied-constant endpoint memberships; malformed data or a failed membership returns inconclusive with the identifying input status, without an evaluator call. An empty input returns empty as in the elementary evaluator.

Keep the DAG, designated output, constant enclosures, format and N fixed. Set a shared counter R:=B and a queue containing X. Process the queue in first-in, first-out order. For each box Q, evaluate the DAG by Certified range evaluation for elementary real and complex functions with the same format and N, requesting only the designated output node's enclosure. The hull of no completed leaves is recorded as empty.

  • If evaluation returns a non-finite status, return that status and the exact unresolved box Q; it is not a tolerance certificate.
  • If it returns a finite enclosure I with width at most ε, save I as a completed leaf enclosure.
  • If it returns a finite enclosure wider than ε and R=0, return inconclusive with the completed-leaf hull, Q, and the unmet width test.
  • If it returns a finite enclosure wider than ε and R>0, select a widest nondegenerate input coordinate (breaking ties by the first coordinate in the input order). If there is no such coordinate, return inconclusive with the completed-leaf hull, the unresolved parent Q, the remaining queue, and status no-splittable-coordinate with the unmet width test. Otherwise compute its midpoint m by exact dyadic arithmetic and apply the membership procedure above in the actual selected format. If it reports not-in-format, return inconclusive with the completed-leaf hull, the unresolved parent Q, the remaining queue, and status midpoint-not-in-format, identifying the coordinate and exact midpoint. Do not enqueue either child or call the evaluator on it in this case. If m∈F, split that coordinate into the two closed halves at m, decrement R by one, and append both children to the queue.

When the queue is empty, take the hull J of all completed leaf enclosures. Return certified(J,X) only if width⁡(J)≤ε; otherwise return inconclusive(J,X) and state that the global width test failed.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

Certified real elementary-function evaluations enclose their ranges

Statement

Every finite interval returned for a requested real output node by Certified range evaluation for elementary real and complex functions on an input interval in the domain of exp⁡, ln⁡, x, arctan⁡, sin⁡, cos⁡, or tan⁡ contains the exact range of the corresponding function on that interval. For the same typed DAG and designated real output node, if all input intervals are nested coordinatewise, all constant enclosures are fixed, and both calls use the same finite dyadic format and truncation index N, then, whenever both calls return finite enclosures, the canonical branch-cell and fixed-term construction makes the smaller domain's computed enclosure a subset of the larger one's. An unresolved fixed branch, pole, invalid domain or overflow returns its stated non-finite status and carries no finite success claim.

Facts & Assumptions

[L1]

Certified range evaluation for elementary real and complex functions: every finite elementary branch uses interval evaluation of exact rational series coefficients, a fixed truncation count, a certified remainder and a canonical finite partition; unresolved branches return inconclusive.

[L2]

Outward-rounded operations are inclusion-isotone and enclose DAG evaluations: every finite arithmetic interval node encloses its exact node range and is inclusion-isotone.

[L3]

Range-reduced exponential, logarithm and arctangent series have certified tails: the truncated exp, log and arctan series enclose the point values with the displayed tails.

[L4]

Trigonometric identities, Machin's formula and reduced Taylor tails: quarter-turn reduction is exact, ∣sin⁡∣,∣cos⁡∣≤1, and the reduced sine/cosine Taylor tails are enclosed by Ts,Tc.

[L5]

Trigonometric identities, Machin's formula and reduced Taylor tails: arctangent is odd, A(t)=π/2−A(1/t) for t>0, and A(u)+A(v)=A((u+v)/(1−uv)) for u,v≥0, uv<1.

[L6]

Cauchy products of absolutely convergent series multiply their sums: finite repeated products of absolutely convergent power series may be grouped by total degree, and their coefficients are the corresponding finite convolution sums.

Proof

1.1givenL1L2L3L6algebra

For an exponential input interval, the fixed scale gives the exact interval U=2−sX⊂(−1/2,1/2) before any storage rounding. The point bound [L3] with ∣u∣ replaced by the interval's largest absolute endpoint gives a uniform tail enclosure. Exact rational interval evaluation of the polynomial and tail encloses every point; final outward conversion preserves that enclosure by [L2]. The tail radius increases with the largest absolute input, and each repeated interval square preserves inclusion by [L2]. To justify the scaling identity, put d=2s. Repeated applications of [L6] to the absolutely convergent series for exp⁡u show that the coefficient of uk in (exp⁡u)d is ∑n1+⋯+nd=k1n1!⋯nd!=dkk!, where the equality is the multinomial theorem. Thus (exp⁡u)d=exp⁡(du); set u=x/d. Each interval squaring preserves the resulting enclosure by [L2].

1.2givenL1L2L4algebra

The outward cell interval built from PN contains each exact canonical cell, since π∈PN; thus its intersection hull Xk contains every input point assigned to that cell, and Xk−kPN/2 contains the exact residual r=x−kπ/2. The algorithm certifies this residual inside the Taylor range. By [L4], exact sine and cosine values are the stated signed swaps of sin⁡r and cos⁡r. The polynomial interval evaluation contains each truncated value by [L2], and adding the symmetric tail interval from [L4] contains the omitted remainder. Taking the hull over all intersected cells therefore contains the full range. If the input width is at least 2sup⁡(PN), it is at least 2π, so [L4] gives the safe range [−1,1]. The algorithm rounds the endpoints of this exact interval outward; if the result is finite, [L2] ensures that it contains [−1,1]. For nested inputs, each fixed canonical cell intersection enlarges and its fixed-term interval evaluation is isotone by [L2]; the hull is therefore nested on the reduced branch. Exact rational interval polynomial and tail operations are inclusion-isotone, and the final directed endpoint conversions are nondecreasing. Intersecting with [−1,1] preserves containment and nesting. A narrower cell result has endpoints rd⁡(a),ru⁡(b) with a≥−1 and b≤1; monotonicity gives rd⁡(−1)≤rd⁡(a) and ru⁡(b)≤ru⁡(1), so the outward-rounded wide-input result contains it.

2.1step 1.1givenL1L2L3L5algebra

On each positive logarithm bin, every y maps to v=(y−1)/(y+1)∈[0,1/3]. The interval series and uniform tail from [L3] contain ln⁡y; [L3] also proves the exact logarithm scaling identity used by the algorithm. Each interval transform and sum preserves inclusion by [L2]. The fixed bin partition ensures that enlarging the input only enlarges the intersection with each bin, so its interval-series enclosure and the final hull also enlarge. The arctangent transformations follow from [L5]; on each fixed branch the rational interval maps and fixed series are isotone, and the tail radius is nondecreasing in the largest absolute transformed endpoint.

2.2step 1.2L1L2

Tangent is defined only where cosine is nonzero. On a piece whose cosine enclosure excludes zero, division is sound by [L2] and contains every sin⁡x/cos⁡x. If cosine may vanish, the algorithm returns a split or non-finite status, so no unsound finite value is reported. For a square-root node, the nonnegative-domain guard in [L1] permits the square-root enclosure in [L2], which contains every exact root and preserves inclusion of nonnegative intervals.

3.1step 1.1step 2.1step 1.2step 2.2induction∎

Evaluate the finite expression DAG in topological order. Every primitive node encloses its exact value by steps 1.1, 2.1, 1.2, and 2.2; induction over the finite node order then encloses every exact intermediate and every requested output range. Each primitive's canonical partition and fixed truncation are nested on common finite branches, so the same induction preserves inclusion for nested inputs evaluated with the same format and truncation index.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Certified complex exponential and principal logarithm enclose their ranges

Statement

For any finite complex rectangle on which the principal branch is defined, every finite output for a requested complex node of Certified range evaluation for elementary real and complex functions for exp⁡ or Log⁡ contains the exact image. For the same typed DAG and designated complex output node, nested input rectangles on the same admissible branch, fixed constant enclosures, and the same finite dyadic format and truncation index give nested finite enclosures whenever both calls return finite results. Rectangles meeting zero, the negative real branch cut, or an unresolved quadrant return the declared domain or inconclusive status.

Facts & Assumptions

[L1]

Real elementary functions and their domains: for z=x+iy, exp⁡z=exp⁡x(cos⁡y+isin⁡y) and Log⁡z=ln⁡∣z∣+iArg⁡z off the nonpositive real axis, with Arg⁡ given by the listed quadrant and axis formulas; the defining series make sine odd and cosine even.

[L2]

Certified real elementary-function evaluations enclose their ranges: finite real enclosures of exp⁡,ln⁡,x,sin⁡,cos⁡,arctan⁡ are sound and nested on their canonical finite branches.

[L3]

Outward-rounded operations are inclusion-isotone and enclose DAG evaluations: finite rectangle operations enclose exact complex arithmetic and preserve inclusion.

[L4]

Trigonometric identities, Machin's formula and reduced Taylor tails: for A(t)=arctan⁡t, A(t)∈(−π/2,π/2) and A(t)>0 for t>0, sin⁡(A(t))=tcos⁡(A(t)), cos⁡(A(t))>0, and sin⁡2u+cos⁡2u=1; also sin⁡(π−u)=sin⁡u, cos⁡(π−u)=−cos⁡u, sin⁡(−π+u)=−sin⁡u, and cos⁡(−π+u)=−cos⁡u; moreover sin⁡(π/2)=1, cos⁡(π/2)=0, and sine is odd while cosine is even.

Proof

1.1givenL1L2L3algebra

Let Z=X+iY be a rectangle. By [L1], its exact exponential has real and imaginary parts exp⁡(X)cos⁡(Y) and exp⁡(X)sin⁡(Y). The real enclosures in [L2] contain these three ranges, and rectangle multiplication and addition preserve their exact component images by [L3]. Therefore the resulting rectangle contains exp⁡(Z).

1.2givenL1L2L3L4constructalgebra

For a principal-log branch, subdivide Z into rectangles of fixed signs of the real and imaginary coordinates, with separate pieces on the coordinate axes. In a nonzero quadrant, ∣z∣=x2+y2 is enclosed by [L2]–[L3], hence ln⁡∣z∣ is enclosed by [L2]. The quotient is enclosed by [L3] and arctangent by [L2]. In quadrant I use arctan⁡(y/x); in quadrant IV use −arctan⁡((−y)/x); in quadrant II use π−arctan⁡(y/(−x)); and in quadrant III use −π+arctan⁡((−y)/(−x)). From [L4] and sin⁡2(A(t))+cos⁡2(A(t))=1, positivity of cos⁡(A(t)) gives cos⁡(A(t))=1/1+t2 and sin⁡(A(t))=t/1+t2 for t>0. Substituting t=y/x in quadrant I gives (cos⁡Arg⁡z,sin⁡Arg⁡z)=(x/∣z∣,y/∣z∣). In quadrant IV, evenness/oddness from [L1] gives the same coordinate identity with y<0. The addition identities shift the angle in quadrant II by π−A(t), reversing only the cosine sign, and in quadrant III by −π+A(t), reversing both signs; substitution of the positive coordinate ratios again gives (x/∣z∣,y/∣z∣). The range of A in [L4] places these angles in the respective subintervals of (−π,π), so they are the principal arguments. On the admissible closure of quadrant I the argument lies in [0,π/2]; on quadrants II, III and IV it lies respectively in [π/2,π], [−π,−π/2] and [−π/2,0]. Since p−≤π≤p+ and p−>0, these sets are contained respectively in the algorithm's fixed sectors SI,SII,SIII,SIV. A finite raw ratio-based argument interval contains each exact argument by [L2]–[L3], so intersecting it with its sector retains every exact argument. Each nonempty quadrant piece has an actual point and hence an argument in that intersection; an empty intersection cannot be used for a success claim and is explicitly rejected. When the denominator reaches zero, the sector alone is a sound enclosure. The common final outward conversion H preserves these containments; an overflow gives no finite claim. On the positive real axis the exact argument is zero, and on the positive and negative imaginary axes it is respectively π/2 and −π/2. Thus H([0,0]), H(PN/2) and H(−PN/2) enclose the axis values. The initial domain test excludes the origin and negative real axis. The strict-sign pieces, their closures and these axis pieces therefore cover every admissible point. The radial enclosure established above and the converted argument enclosure jointly contain its principal logarithm; taking the coordinatewise hull over every finite piece contains the full image. Any failed piece prevents a finite hull return.

2.1step 1.1step 1.2L1L2L3L4algebrainduction∎

Fix the DAG, designated output, constant enclosures, format and N in the Statement, so both calls use the same PN, sectors and conversion H. Every nonempty strict-sign piece of a smaller input rectangle, after closure, is contained in the corresponding piece of the larger rectangle. Every axis piece likewise has a corresponding containing axis piece, with the same argument interval. The radial expression ln⁡X2+Y2 preserves inclusion on these nested pieces by [L2]–[L3]. For a quadrant whose denominator excludes zero in both calls, outward quotients and the fixed real arctangent evaluator give nested finite raw argument intervals A⊆A′ by [L2]–[L3]. Exact translations by the same PN and sign changes in the quadrant formulas preserve this inclusion. Intersection with the same sector gives A∩Sq⊆A′∩Sq. The greatest-lower and least-upper rounding definitions make H inclusion-preserving, hence the converted argument intervals are nested as well. If enlargement changes a ratio branch to a zero-denominator coarse branch, the smaller preconversion interval is A∩Sq⊆Sq, and therefore H(A∩Sq)⊆H(Sq). If both branches are coarse they use the same H(Sq). The reverse change under enlargement is impossible: a containing denominator interval cannot exclude zero when the smaller one contains it. These cases exhaust quadrant branch transitions. Axis pieces remain present under enlargement and use the identical converted axis intervals, so their corresponding rectangles are nested too. Taking coordinatewise hulls preserves the inclusions for all corresponding pieces, including any additional pieces in the larger call. Complex exponential preserves inclusion through its fixed real component evaluations and rectangle operations in step 1.1. Together with [L2]–[L3], these primitive results give soundness and inclusion for the same finite typed DAG by induction in its prescribed topological order; fixed input-independent constants start the induction, and every designated output inherits it. A rectangle meeting zero or the negative real branch cut at a Log node returns domain-error; a failed piece, empty argument intersection or failed conversion returns its specified non-finite status. Such a branch gives no finite enclosure or nesting claim.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

Budgeted range evaluation terminates and certifies only sound enclosures

Statement

For every finite input DAG and finite total split budget B, the algorithm Finite-budget validated range evaluation terminates. If it returns certified(I,X), then I contains the exact function range on all of X and has width at most the requested ε. If it returns empty, entire, inconclusive, domain error, split-domain, or overflow, it makes no unconditional tolerance-success claim.

Facts & Assumptions

[L1]

Finite-budget validated range evaluation: one shared counter is decremented once per split; each split replaces a box by two closed halves whose union equals the parent.

[L2]

Certified real elementary-function evaluations enclose their ranges: finite evaluations of the supported real elementary primitives contain their exact ranges on the admitted intervals.

[L3]

Certified complex exponential and principal logarithm enclose their ranges: finite complex exponential and principal-logarithm evaluations contain their exact images on admissible rectangles.

[L4]

Outward-rounded operations are inclusion-isotone and enclose DAG evaluations: finite real and complex arithmetic nodes enclose their exact values; finite square-root nodes enclose nonnegative square roots.

Proof

1.1givenL1algebrainduction

The initial admission checks terminate: the format's subnormal index range, exponent range and significand ranges are finite, and each equality comparison of exact dyadics is decided by clearing powers of two and comparing integers. Their enumeration is exactly the selected representable set, so a passing endpoint test establishes membership, including for zero and subnormals. Invalid initial data stop before an evaluator call. For admitted data, every endpoint of the initial box belongs to that format. Inductively, a split enqueues children only after the exact midpoint passes the same membership test; all other endpoints are inherited from the parent. The DAG, output, constants, format and N are unchanged. Hence every queued box satisfies the elementary evaluator's input conditions. Each such call terminates through its finite DAG, finite series, finite bisection and finite bin/cell/quadrant lists, or returns a specified failure. The membership guard also terminates and can stop immediately with inconclusive. There are at most B admitted splits and therefore at most 2B+1 processed boxes. Thus the entire procedure terminates, including every guard-stop branch.

2.1step 1.1L1L2L3L4induction

Before a box is processed, the completed leaf boxes together with the queued boxes cover X. Removing a current box preserves this cover when that box is counted as the current unresolved parent. Completing it transfers it to the completed leaves; an admitted split replaces it by two closed children whose union is the parent by [L1]. A failed midpoint test retains the parent as unresolved and therefore discards no part of the cover. This proves the coverage invariant by induction. By step 1.1, each completed leaf was evaluated on admissible input. In its finite typed DAG, input and certified constant nodes contain their exact values. Induct in the evaluator's topological order: arithmetic nodes and square roots preserve pointwise enclosure by [L4], real elementary nodes do so by [L2], and complex exponential and principal-logarithm nodes do so by [L3]. Finiteness of the call means that all domain guards passed and all intermediate results are finite. Thus every designated output, including a purely arithmetic output, contains the exact range on that leaf. If the queue empties without an early return, all covering leaves are completed; their enclosure hull therefore contains the exact range on all of X. On an early return, the completed-leaf hull is not asserted to cover the unresolved parent or remaining queue.

3.1givenstep 1.1step 2.1algebra∎

A certified return occurs only after the queue is empty without an admission, evaluator, split-guard or budget stop, and after the completed-leaf hull passes the final global width test. Step 2.1 then proves enclosure of the whole range, and the exact width comparison proves the requested tolerance. A failed midpoint membership instead returns inconclusive with the completed-leaf hull, unresolved parent, remaining queue and actual guard status; that partial hull is not a full-domain certificate. The other non-finite, exhausted-budget, unsplittable-coordinate and failed global-width branches likewise make no tolerance-success claim. Thus the finite guard preserves the stated certified-range, coverage and failure conclusions.

5 · Examples, counterexamples and false statements

None yet.

Sources