Alphabeta Math
Pipeline-generated
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.

✓ 5 results · all verified · 4 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Sparse matrix models and kernel costs — Examples

1 · Prerequisites

2 · Summary

The examples construct a four-row tridiagonal matrix in CSR form, evaluate one matrix-vector product and count its stored entries, and work through an ordered elimination that creates a fill edge. Two additional checks show how duplicate entries and explicit zeros affect s, and how numerical cancellation can leave an edge in the symbolic pattern after the corresponding Schur-complement entry has become zero.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A four-row tridiagonal matrix in CSR form

Example

Let T∈M4×4(Q) have diagonal entries 2, entries −1 immediately above and below the diagonal, and all other entries 0. A CSR record for T is

r=(0,2,5,8,10),c=(0,1,0,1,2,1,2,3,2,3),v=(2,−1,−1,2,−1,−1,2,−1,−1,2).

This record stores s=10 entries and has no empty row, duplicate column, or explicit zero.

Facts & Assumptions

Given: The displayed arrays and the zero-based CSR convention.

[L1]

Compressed sparse row matrices with stored-entry semantics: the row pointers delimit each row's stored-index interval, and each stored value contributes to the matrix entry at its row and column index.

[L2]

The rationals form a field: the rational numbers with their standard operations form a field.

Verification

1.1givenL1algebra

The row-pointer array has length 5, starts at 0, ends at 10, and is nondecreasing. Every listed column index lies in {0,1,2,3}, so the data satisfy the CSR invariants for a 4 by 4 matrix.

2.1givenL1L2step 1.1algebra∎

Row 0 uses columns 0,1 with values 2,−1; row 1 uses columns 0,1,2 with values −1,2,−1; row 2 uses columns 1,2,3 with values −1,2,−1; row 3 uses columns 2,3 with values −1,2. These rational sums are the specified entries of T, so the record represents T.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

An exact CSR product and its stored-entry count

Example

Use the CSR record with r=(0,2,5,8,10), c=(0,1,0,1,2,1,2,3,2,3), and v=(2,−1,−1,2,−1,−1,2,−1,−1,2) for the four-row tridiagonal matrix. For x=(1,2,3,4), the algorithm returns y=(0,0,0,5). It uses 10 field multiplications, 10 field additions, and 4 zero initializations; the input CSR arrays occupy 25 data slots.

Facts & Assumptions

Given: The displayed CSR data, the vector x=(1,2,3,4) over Q, and exact rational arithmetic.

[L1]

Compressed sparse row matrices with stored-entry semantics: the row pointers delimit the stored entries in each row and each entry contributes its value at its stored column.

[L2]

Validated compressed sparse row matrix-vector product: on valid input, the algorithm initializes each output coordinate to zero and adds vtxct for each stored entry t in its row.

[L3]

CSR matrix-vector multiplication returns the represented product: for valid data, the returned vector is the represented matrix times x.

[L4]

CSR storage and exact matrix-vector operation counts: a valid record with s stored entries uses s multiplications, s additions, m initializations, and 2s+m+1 CSR input slots.

[L5]

The rationals form a field: the rational numbers with their standard operations form a field.

Verification

1.1givenL1L2L5algebra

The row formulas give y0=2(1)−1(2)=0, y1=−1(1)+2(2)−1(3)=0, y2=−1(2)+2(3)−1(4)=0, and y3=−1(3)+2(4)=5 in Q.

2.1L3step 1.1

By [L3], these row values are the exact matrix-vector output, so the algorithm returns (0,0,0,5).

3.1givenL4algebra∎

The CSR has s=10 entries and m=4 rows. [L4] gives 10 multiplications, 10 additions, 4 initializations, and 2(10)+4+1=25 input slots.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passOpen item page →

Eliminating the middle vertex creates structural fill

Example

Work over Q, which is a field, and take

A=(2−10−12−10−12)

with vertices {0,1,2} and elimination order (1,0,2). The initial structural graph is the path 0−1−2. Eliminating its middle vertex creates the edge {0,2}, and the first Schur complement has a nonzero entry in that position. The pivots in the full order are nonzero, so the ordered elimination is defined throughout.

Facts & Assumptions

Given: The displayed symmetric matrix over Q, the vertex labels, and the elimination order (1,0,2).

[L1]

Structural graphs and ordered symmetric elimination: a pivot's remaining neighbors are joined pairwise when that pivot is eliminated.

[L2]

The rationals form a field: the rational numbers with their standard operations form a field.

[A1]

Use the Schur-update convention S0=A: at stage k, set pk=Svkvkk and, if pk≠0, define Sijk+1=Sijk−SivkkSvkjk/pk for the remaining vertices i,j. Each update is defined after its current pivot has been checked.

[L4]

The filled graph contains every off-diagonal Schur-complement nonzero: for a symmetric matrix over a field and a fixed ordering, if every pivot in the Schur updates is nonzero, every nonzero off-diagonal entry of each Schur complement is an edge of the corresponding filled graph.

Verification

1.1givenA1L1L2algebra

The off-diagonal nonzero entries of A are exactly A01=A10=−1 and A12=A21=−1, so the initial structural graph is the path with edges {0,1} and {1,2}. The first pivot is p0=A11=2≠0, so [A1] defines S1=(3/2−1/2−1/23/2) on the remaining labels (0,2). Now p1=S001=3/2≠0, so the next update is defined and gives S222=3/2−(−1/2)2/(3/2)=4/3. Hence p2=4/3≠0, and its update leaves the empty matrix. Thus all three pivots are nonzero and every stage is defined.

2.1givenL1L2L4step 1.1algebra

The first eliminated vertex is v0=1, whose later-neighbor set is {0,2}. By [L1] its elimination adds the previously absent edge {0,2}; the computed S021=−1/2 is nonzero. Since A is symmetric over the field Q and step 1.1 verifies all pivots, [L4] applies to these Schur complements. After the first elimination only two vertices remain, so later eliminations cannot join a new pair. Thus this ordering creates exactly one fill edge, realized by a numerical nonzero.

3.1step 1.1step 2.1∎

This ordering creates one structural fill edge. The computation gives a finite example only and supplies no general fill bound.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Numerical cancellation can zero an entry while the filled graph retains its edge

Example

Work over Q, which is a field, and take

A=(311/21211/213)

with vertices {0,1,2} and elimination order (1,0,2). The initial structural graph is a triangle. After eliminating vertex 1, the numerical entry between vertices 0 and 2 cancels to zero, although the symbolic graph retains that edge. Every pivot in this ordering is nonzero.

Facts & Assumptions

Given: The displayed symmetric matrix over Q, the vertex labels, and the elimination order (1,0,2).

[L1]

Structural graphs and ordered symmetric elimination: the graph update retains existing edges between remaining vertices and completes the later-neighbor set to a clique.

[L2]

The rationals form a field: the rational numbers with their standard operations form a field.

[L3]

The filled graph contains every off-diagonal Schur-complement nonzero: assume each pivot pk is nonzero and define Sijk+1=Sijk−SivkkSvkjk/pk.

[L4]

The filled graph contains every off-diagonal Schur-complement nonzero: every nonzero off-diagonal entry of each Schur complement is an edge of the corresponding filled graph.

Verification

1.1givenL1algebra

All three off-diagonal positions of A are nonzero, so the initial graph has edges {0,1}, {0,2}, and {1,2}. Eliminating vertex 1 leaves {0,2} as a later-neighbor pair, and [L1] retains its edge in the filled graph.

2.1givenL2L3step 1.1algebra

The first pivot is 2, and the update in [L3] gives S021=1/2−(1)(1)/2=0. The two remaining diagonal entries are 3−1/2=5/2, so the last two pivots are both 5/2 and are nonzero. Thus all pivots are nonzero while the numerical support loses {0,2}.

3.1L1L4step 1.1step 2.1∎

By [L4], the filled graph contains the numerical support; step 1.1 shows its edge {0,2} remains, while step 2.1 shows the corresponding numerical entry is zero. Thus the inclusion is strict in this example.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Duplicate columns and explicit zeros count as stored entries

Example

Let m=2, n=3, s=3 and use r=(0,2,3), c=(1,1,0), v=(2,−2,0). The repeated column in row 0 cancels, and the last stored entry is an explicit zero, so the represented matrix is the zero 2 by 3 matrix even though s=3 and nnz⁡(A)=0. For x=(4,5,6), the algorithm returns (0,0) with 3 multiplications, 3 additions, and 2 zero initializations.

Facts & Assumptions

Given: The displayed arrays, x=(4,5,6) over Q, and exact rational arithmetic.

[L1]

Compressed sparse row matrices with stored-entry semantics: repeated column entries are summed, explicit zero values remain stored, and s counts stored entries rather than nonzero matrix entries.

[L2]

Validated compressed sparse row matrix-vector product: each stored entry contributes one product-add update to its row accumulator.

[L3]

CSR matrix-vector multiplication returns the represented product: the result equals the represented matrix-vector product in exact field arithmetic.

[L4]

CSR storage and exact matrix-vector operation counts: a valid record with s stored entries uses s multiplications, s additions, m initializations, and 2s+m+1 CSR input slots.

[L5]

The rationals form a field: the rational numbers with their standard operations form a field.

[L6]

Multiplication by zero: 0⋅a=0: in a field, multiplying zero by any element gives zero.

Verification

1.1givenL1L5algebra

The pointers 0,2,3 delimit two entries in row 0 and one in row 1; all column indices lie in {0,1,2}. Row 0 contributes 2+(−2)=0 to column 1, and row 1 contributes 0 to column 0. Thus every matrix entry is zero, while all three values are stored.

2.1L2L3L5L6step 1.1algebra

The products in row 0 are 2(5) and (−2)(5), which sum to 0; the row 1 product is 0(4)=0. By [L3], the algorithm returns (0,0).

3.1givenL1L4algebra∎

There are three stored entries and two rows, so [L4] gives 3 multiplications, 3 additions, 2 initializations, and 2(3)+2+1=9 CSR input slots. This noncanonical record has s=3≠nnz⁡(A)=0.

Sources