Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generatedprecheck pendingjudge pass (gpt-6-luna)
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 F. The validated CSR matrix-vector product takes integer dimension candidates m,n, integer arrays r,c, a value array v of elements of F, and a vector candidate x of elements of F. All input arrays are finite; write s=length⁡(v).

  1. If m∉N, n∉N, length⁡(r)≠m+1, length⁡(c)≠s, or length⁡(x)≠n, return the status invalid-dimension.
  2. For i=0,…,m, check that ri∈{0,…,s}; return invalid-index if a check fails. Check r0=0 and rm=s, and for each i=0,…,m−1 check ri≤ri+1; return invalid-index if any check fails. For each t=0,…,s−1, check 0≤ct<n and return invalid-index if a check fails.
  3. Initialize yi=0F for 0≤i<m. For each row i=0,…,m−1, and then each stored index t=ri,…,ri+1−1, update yi←yi+vtxct.
  4. Return the status ok together with y∈Fm.

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

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