Scalar Kernel Leaf Correctness #
Soundness and completeness of the row-array scalar RREF kernel used by the
PM-basis leaf: every emitted vector is orthogonal to the input rows, and
every orthogonal vector is an F-linear combination of the emitted basis.
Scalar kernel leaf soundness #
Soundness of the row-array scalar RREF kernel used by the PM-basis leaf:
every vector produced by homogeneousKernelBasisRows rows cols has size
cols and is orthogonal (over the first cols coordinates) to every input
row.
Generic array access lemmas #
Coordinate access helpers #
Scalar dot products and orthogonality #
Elementary-step characterizations #
Swapping rows preserves the row count.
Backward span: row operations are invertible #
Orthogonality to all rows of the final RREF matrix transfers back to all rows of the original matrix: every row operation is invertible.
Forward RREF shape invariants #
Shape contract satisfied by the result of scalarRrefRows: recorded
pivot columns are strictly increasing and below cols, each pivot column is
a unit column with its one in the corresponding pivot row, and every row at
or beyond the pivot count vanishes on all columns below cols.
Instances For
The row-array RREF driver satisfies the RREF shape contract.
Kernel basis vectors #
Main soundness theorems #
Every vector produced by homogeneousKernelBasisRows rows cols has
exactly cols stored coordinates.
Soundness of the scalar kernel leaf. Every vector produced by
homogeneousKernelBasisRows rows cols is orthogonal, over the coordinates
0, …, cols - 1, to every row of the input matrix. No width hypothesis on
the input rows is needed because the dot product only inspects the first
cols coordinates (with zero defaults).
Forward span: row operations preserve orthogonality #
Free-column bookkeeping for the completeness theorem #
Completeness of the scalar kernel leaf. Every vector orthogonal to
all input rows over the coordinates 0, …, cols - 1 is, coordinatewise below
cols, the F-linear combination of the emitted kernel basis vectors whose
coefficients are the values of the vector at the corresponding free
columns.