Executable GS Modular-Data Bridges #
Semantic characterizations of the executable approximant-basis modular data:
the modulus array gsModuli, the incrementally built binomial relation matrix
gsRelationColumn / gsRelationMatrixWithModuli, and the executable row
predicate rowSatisfiesModularBool. The main result identifies the modular
row predicate over the GS data with divisibility of every sheared coefficient
(hasseDeriv b Q.toPoly).eval R by G^(s-b).
Generic helpers #
Entry access for PolynomialMatrix.ofFn.
Row count of PolynomialMatrix.ofFn.
Width of PolynomialMatrix.ofFn with at least one row.
Modular reduction semantics #
modByMonicWith computes the Mathlib monic remainder under toPoly.
modByMonicWith is congruent to the identity modulo the modulus.
The executable remainder vanishes exactly on multiples of the modulus.
The GS modulus array #
Closed form for the GS modulus array before reversal.
The GS modulus array has one modulus per multiplicity level.
The b-th GS modulus is G^(s-b).
The GS relation column #
Size of the GS relation column.
Entries of the GS relation column below the diagonal vanish.
Entries of the GS relation column are congruent to the binomial powers.
The GS relation matrix and the modular row predicate #
The b-th GS modulus is G^(s-b), with default value 1.
Entry access for the GS relation matrix.
The GS relation matrix has one row per interpolation coefficient.
The GS relation matrix has one column per multiplicity level.
Sheared coefficients of a coefficient row: the outer Hasse derivative of
ofCoeffRow row evaluated at R is the binomial-weighted power sum.
The row-by-matrix product only sees the first M.size row entries.
The modular row predicate only sees the first M.size row entries.
The executable GS modular row predicate over the relation matrix and
modulus array is exactly divisibility of every sheared coefficient
(hasseDeriv b (ofCoeffRow row).toPoly).eval R by G^(s-b).