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.
Compressed sparse row matrices with stored-entry semantics
Definition
Let be a field, and let , where includes . A compressed sparse row (CSR) record for an by matrix over consists of integer arrays and , and a value array , satisfying
For each row , its stored entries are the indices with . The row is empty exactly when . Repeated column indices within one row and stored values are permitted; each such entry remains a separate stored entry.
The represented matrix is defined entrywise by
where is when and otherwise, and an empty sum is . Repeated entries in column are therefore added. The number is the stored-entry count; it is not in general the number of nonzero entries of .
A CSR record is canonical when no row repeats a column and no stored value is zero. In that case every nonzero matrix entry is stored exactly once and , where denotes the number of nonzero entries of . If , the endpoint conditions force and the row-pointer array has its single entry . If , the column-index condition forces as well.
Depends on
Used by
- Fixed-pattern ILU(0) factorization and application Algorithm
- Validated compressed sparse row matrix-vector product Algorithm
- The product of ILU(0) factors can contain a fill position Counterexample
- A four-row tridiagonal matrix in CSR form Example
- 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
- ILU(0) factors of a three-row tridiagonal matrix Example
- Sparse reduced-cost pricing operation count Proposition
- 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
- ILU(0) factor slots, setup work, and application work Theorem
Dependency tree · two levels
13 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.4, printed pp. 92–94 (CSR storage) (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)