How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Certified 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
with and ; and an integer truncation index
. Input interval endpoints and supplied constant enclosures use this
format. All constants, including every Machin enclosure of , use the
same fixed and format throughout a call. Real nodes support input and
constant nodes and the operations . Complex nodes support input and constant
nodes and . 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.
-
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 , use 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
overflowwith 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, returninconclusivewith 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 require and for require ; otherwise returndomain-errorrather than silently discarding points. -
For a real exponential node, set using the format in Dyadic floating-point format and directed rounding. Since , exact comparison gives . For its input interval , form the exact dyadic interval without storage rounding. Evaluate the degree- exponential polynomial and add the symmetric tail from Range-reduced exponential, logarithm and arctangent series have certified tails, using , by exact rational interval arithmetic. Round only the resulting interval endpoints outward, then square that interval times. If its lower endpoint is not positive or an endpoint overflows, return
inconclusiveoroverflowwith the node and input interval.
For a real logarithm node, first require . List all integers for which is nonempty; exact endpoint comparisons find this finite list because has positive finite endpoints. On each piece form and by exact rational endpoint formulas without storage rounding, so . Evaluate the logarithm polynomial and its tail determined by by exact rational interval arithmetic, round the result outward, and form by outward arithmetic. Compute the fixed enclosure for once by the same series and tail at , hence , 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.
-
Partition a real arctangent input at the fixed breakpoints into nonempty closed pieces, allowing shared endpoints. On pieces in , evaluate its alternating power series. For positive pieces in , use ; in , use ; for , use . 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 . Combine the converted enclosure with the fixed enclosure by outward arithmetic. Enclose using Machin's identity and the alternating series at and , 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.
-
For each sine or cosine node, first compute one outward Machin interval for using the same and format, combining the rational series endpoints exactly before final outward conversion. If is non-finite or its lower endpoint is not positive, return
inconclusive. For finite input , put , , and , with the ceiling computed by exact rational comparisons. If the width of is at least , outward-round the exact endpoints and ; if either conversion overflows, returnoverflowwith the node and input interval, and otherwise return the resulting interval. Otherwise examine the finite candidate list for the canonical cells . For each candidate form the exact rational interval enclosure of its canonical cell. For , the exact left endpoint of cell is at least ; for , its exact right endpoint is at most . Thus no omitted exact cell can intersect . Include each candidate whose intersects ; exclude only candidates whose intersection is empty by exact comparison. Let be the exact interval hull of , without rounding these endpoints, and form the residual enclosure . Certify , evaluate the sine polynomial through degree or the cosine polynomial through degree , and add the corresponding explicit geometric tail from Trigonometric identities, Machin's formula and reduced Taylor tails by exact rational interval arithmetic. For the quarter-period map for a sine node is respectively , and for a cosine node it is respectively , where is the least nonnegative residue of modulo . For a negative sign, negate the interval and reverse its endpoints. Intersect each mapped enclosure with . 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, returninconclusiveoroverflowwith 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
, form its reduced input interval as above and evaluate sine and
cosine on that cell. Divide their enclosures only when the cosine enclosure
excludes zero. Otherwise, for odd , form the exact dyadic pole enclosure
. If is contained in the cell's input intersection, then
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.
- For complex exponential on , evaluate real , ,
and and combine their enclosures by rectangle operations. For
principal , first require a rectangle excluding zero and
every point of the negative real branch cut; otherwise return
domain-error. Compute an outward Machin interval for using this call's and format; if it is non-finite or its lower endpoint is not positive, returninconclusive. Split each coordinate interval into its nonempty strictly negative and strictly positive portions, plus the singleton 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 Write this call's fixed interval as and form the exact dyadic sector intervals 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 in the displayed quadrant formula by exact rational endpoint arithmetic, using this same for each occurrence of . Before final outward conversion or hull formation, replace by , where is that piece's quadrant. Compute the intersection by exact endpoint maxima and minima. If it is empty, returninconclusivewith the piece and statusempty-argument-intersection; do not omit the piece. If the denominator interval has a zero endpoint, use instead of a ratio formula.
For an interval produced by either branch, apply the same final
conversion in the selected
format. Perform this conversion after intersection for a ratio branch and
after selecting for a coarse branch. Finite subnormal endpoints are
accepted; an overflow returns overflow with the piece. On the positive
imaginary axis use , on the negative imaginary axis use
, and on the positive real axis use . The initial domain
check excludes the origin and negative real axis, so these are all remaining
axis cases.
On each piece enclose 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.
Depends on
- Real elementary functions and their domains
- Dyadic floating-point format and directed rounding
- Outward-rounded interval, rectangle and ball operations
- Outward-rounded operations are inclusion-isotone and enclose DAG evaluations
- Range-reduced exponential, logarithm and arctangent series have certified tails
- Trigonometric identities, Machin's formula and reduced Taylor tails
Used by
- Certified dyadic enclosures for unit-circle phases Algorithm
- Certified Gaussian gridding for type 1 and type 2 Algorithm
- Finite certified Airy power-series evaluation Algorithm
- Finite certified evaluation of Gamma and a continued log-Gamma branch Algorithm
- Finite certified evaluation of integer-order Bessel functions Algorithm
- Finite certified evaluation of the scaled complementary error function Algorithm
- Finite certified power-series evaluation for Fresnel, erf, and Gauss functions Algorithm
- Finite primitive and contracted Gaussian integral evaluation with certified screening Algorithm
- Finite-alphabet Blahut–Arimoto rate-distortion algorithm Algorithm
- Finite-budget certified evaluation of Boys function tables Algorithm
- Finite-budget validated range evaluation Algorithm
- Certified sine range near a multiple of pi Example
- Certified Gaussian gridding terminates with a defined status Lemma
- The certified particle-mesh Ewald evaluator terminates with finite outputs or an explicit status Lemma
- Blahut–Arimoto certified gap and termination Theorem
- Certified complex exponential and principal logarithm enclose their ranges Theorem
- Certified real elementary-function evaluations enclose their ranges Theorem
- Soundness of every successful finite-budget Boys enclosure Theorem
- Soundness of finite Airy enclosures Theorem
- Soundness of finite erfcx enclosures Theorem
- Soundness of finite Gamma and log-Gamma enclosures Theorem
- Soundness of finite integer-order Bessel enclosures Theorem
- Soundness of the finite Fresnel, erf, and Gauss-series enclosures Theorem
Dependency tree · two levels
20 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Rump, Rigorous and Portable Standard Functions, §§5–7 and 10 (standard reference, not scraped)
- Kearfott, Interval Computations: Introduction, Uses, and Resources, §§1–2 (standard reference, not scraped)