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.
TwoProduct with fused multiply-add returns the exact product residual
Statement
Let be real floating-point numbers successfully processed by TwoProduct product and residual computation using fused multiply-add, and assume the exact residual is representable as zero or a normal number. Then the returned pair satisfies exactly.
Facts & Assumptions
Given: the returned product p and fused multiply-add residual.
TwoProduct product and residual computation using fused multiply-add: p=fl(ab) and e=fma(a,b,-p).
Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add: fused multiply-add rounds the single exact expression ab+c to nearest.
Proof
The exact value supplied to the FMA is ab-p. By the representability assumption and correct rounding in [F2], e=ab-p exactly.
Adding p gives p+e=ab. The addition here is in the real-number conclusion, not an extra rounded operation.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
4 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
- Fundamentals of Numerical Computation, floating-point arithmetic (standard reference, not scraped)
- Higham, The Accuracy of Floating Point Summation (standard reference, not scraped)
- Ogita, Rump, and Oishi, Accurate Sum and Dot Product (standard reference, not scraped)