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.
The computed floating-point dot product obeys componentwise and normwise error bounds
Statement
Let and let , with the dot product computed from left to right in an arithmetic model with unit roundoff satisfying (The standard relative floating-point model and unit roundoff), where every product , every rounded product , and every intermediate sum lies in the normal range. Let and, for , let . Then:
- Componentwise form. There are reals with such that
- Normwise form. where is the published -norm (The -norms for rational , and , Each is a norm on , and the induced metrics are exactly , and of the published metric-spaces page) and the absolute value (Absolute value in an ordered field).
Facts & Assumptions
Given: A natural number , vectors , a unit roundoff with , the rounded products for , and the left-to-right computed sum above.
Each product and each sum obeys the relative model: with for every real in the normal range (The standard relative floating-point model and unit roundoff).
A product of factors with and for every equals with , where (If |delta_i| <= u and n u < 1, then prod (1+delta_i) = 1 + theta_n with |theta_n| <= gamma_n).
Proof
By [L1], for each there is with and ; and for each with there is with and .
Unrolling the recursion of step 1.1 gives where every empty product is ; each coefficient is the product of the error factor from the rounded multiplication and the error factors from the later additions through which that term passes.
The coefficient of in step 2.1 is a product of exactly factors of the form with , and for each with the coefficient of is a product of such factors. By [L2], each coefficient therefore equals with , so step 2.1 becomes , which is claim 1.
Subtracting from claim 1 gives , so by the triangle inequality and [L3] .
Since by [L3], step 4.1 gives the normwise form of claim 2.
Claim 1 is step 3.1 and claim 2 is steps 4.1 and 5.1.
Depends on
- The standard relative floating-point model and unit roundoff
- If |delta_i| <= u and n u < 1, then prod (1+delta_i) = 1 + theta_n with |theta_n| <= gamma_n
- The $p$-norms $\lVert x\rVert_p$ for rational $p \ge 1$, and $\lVert x\rVert_\infty$
- Each $\lVert\cdot\rVert_p$ is a norm on $\mathbb{R}^n$, and the induced metrics are exactly $d_1$, $d_2$ and $d_\infty$ of the published metric-spaces page
- Absolute value in an ordered field
Used by
Dependency tree · two levels
31 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 (standard reference, not scraped)
- James Demmel, Math 221 Lecture 2: Floating Point Arithmetic (standard reference, not scraped)