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.
Dot-product cancellation under normal-range rounding
Example
In radix-two binary64 arithmetic with precision and round-to-nearest, ties-to-even, compute the left-to-right dot product of and . The unit roundoff is . All three products and all intermediate sums are in the normal range. Define the dot-product condition ratio for this nonzero exact result by This example checks an absolute roundoff bound and illustrates why a bound small relative to the sum of term magnitudes need not mean small relative error in the result when cancellation makes large.
Facts & Assumptions
Given: The vectors, binary64 round-to-nearest ties-to-even arithmetic, unit roundoff , and the left-to-right evaluation order. Check the exact result, computed result, normal-range hypotheses, and gamma bound.
If , , and every exact product , rounded product , and intermediate sum lies in the normal range, the computed left-to-right dot product satisfies , where . (The computed floating-point dot product obeys componentwise and normwise error bounds)
The floating-point model uses relative error at most only on its stated normal-range operation domain; exact zero is handled separately. (The standard relative floating-point model and unit roundoff)
The final numerical error is for the error ledger. (Successive statistical and computational error targets)
The total error along a finite scalar reference chain is the sum of its signed adjacent-stage errors. (Pathwise error decomposition along a reference chain)
In the binade , a radix-two format with precision has spacing . Since , and are adjacent representable values. The lower significand is , an even integer, whereas the upper significand is odd; therefore the exact midpoint rounds to under ties-to-even.
Verification
The exact dot product is , and each product by a component of is exact.
By [A1], the first rounded partial sum is ; the next exact sum is , which is represented exactly. The exact intermediate sums are and , and the rounded partial sums are and . Together with the exact products of magnitudes , all lie between the binary64 smallest and largest normal magnitudes stated in [F2].
Here , , and . The bound is , since its numerator exceeds its denominator; this is consistent with the computed error .
The condition ratio is , while the relative forward error is . In the ledger take , , and ; [F3] gives the sole error , and [F4] identifies it with the total error. No sampling or simulation stage occurs.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
11 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
- David Bindel, CS 6210: Sums, Dots, and Error in Linear Systems, lecture of 2025-09-10, full lecture (standard reference, not scraped)