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.
TwoSum recovers a rounded away low part
Example
In binary64 nearest-even arithmetic, take and . The call to TwoSum error-free transformation succeeds and returns . It preserves exactly although the leading rounded sum loses the low part.
Facts & Assumptions
Given: binary64 nearest-even arithmetic with , , , and .
TwoSum error-free transformation evaluates the six separately rounded operations displayed in its definition.
TwoSum returns the exact rounding error of a floating point sum proves for every successful call in a binary format of precision at least two.
Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add requires zero or normal exact intermediates and nearest-even rounding.
Verification
The spacing above is , so is the midpoint between and . The even-significand endpoint is ; hence . The next exact operands give , , , and . Each is representable, so each subtraction is exact.
The final exact intermediate is , hence . The first exact sum and every later nonzero exact intermediate ( or ) are normal and within range; the zero intermediates are allowed by [F3]. Thus the call succeeds, its format satisfies [F2], and exactly, also directly verified by these outputs.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
5 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
- Higham, The Accuracy of Floating Point Summation (standard reference, not scraped)
- Ogita, Rump, and Oishi, Accurate Sum and Dot Product (standard reference, not scraped)