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.
Validated compressed sparse row matrix-vector product
Definition
Fix a field . The validated CSR matrix-vector product takes integer dimension candidates , integer arrays , a value array of elements of , and a vector candidate of elements of . All input arrays are finite; write .
- If , ,
,
, or
, return the status
invalid-dimension. - For , check that ; return
invalid-indexif a check fails. Check and , and for each check ; returninvalid-indexif any check fails. For each , check and returninvalid-indexif a check fails. - Initialize for . For each row , and then each stored index , update
- Return the status
oktogether with .
For valid CSR data, each update uses exact field arithmetic. This procedure makes no floating-point rounding, backward-stability, convergence, runtime, or memory-bandwidth claim.
Depends on
Used by
- A two-pixel TV denoising PDHG step in CSR form Example
- An exact CSR product and its stored-entry count Example
- Duplicate columns and explicit zeros count as stored entries Example
- Unrestarted GMRES has a sparse matvec plus orthogonalization work bound Proposition
- CSR matrix-vector multiplication returns the represented product Theorem
- CSR storage and exact matrix-vector operation counts Theorem
- Validated CSR matrix-vector multiplication terminates with a status Theorem
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
- Yousef Saad, Iterative Methods for Sparse Linear Systems, 2nd ed., Chapter 3 §3.5, printed pp. 95–96 (CSR matrix-vector product) (standard reference, not scraped)
- Richard Barrett et al., Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods, 2nd ed., Chapter 4 §4.3.1–4.3.2, printed pp. 57–63 (standard reference, not scraped)