A positive-degree CLD divisor leaves a quotient with strictly fewer
coefficient slots than the input. Thus the production coeffWidth = deg(f)
array stores the whole CLD quotient, not a truncation.
The full centred CLD-residue combination attached to the first block of a BHKS vector.
Equations
- HexBerlekampZassenhausMathlib.BHKS.polCoeff L z v j = ∑ i : Fin L.factorCount, v[Fin.castAdd L.coeffWidth i] * Hex.centeredResiduePow L.p L.precision (z i j)
Instances For
Correct reconstruction of one coefficient of the truncated-lattice auxiliary polynomial from the full lattice vector.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Polynomial whose coefficients are the full centred CLD-residue
combination POL(e).
Equations
- HexBerlekampZassenhausMathlib.BHKS.pol L z v = Hex.DensePoly.ofCoeffs (Array.ofFn fun (j : Fin L.coeffWidth) => HexBerlekampZassenhausMathlib.BHKS.polCoeff L z v j)
Instances For
Polynomial reconstructed from all coordinates of a truncated BHKS lattice vector.
Equations
- HexBerlekampZassenhausMathlib.BHKS.fullAux L z v = Hex.DensePoly.ofCoeffs (Array.ofFn fun (j : Fin L.coeffWidth) => HexBerlekampZassenhausMathlib.BHKS.fullAuxCoeff L z v j)
Instances For
Coefficient rule for pol.
Coefficient rule for fullAux.
The corrected coefficient reconstruction identity.
The top-right block contributes the cut coefficients, the bottom-right block
contributes the period coefficient, and the low residues restore the discarded
part of each centred CLD residue. The only term left over is the displayed
multiple of p^precision.
Polynomial form of fullAuxCoeff_vecMul: the full-vector auxiliary is
coefficientwise congruent modulo p^precision to POL(e).
Raw quotient coefficient used by the production all-coefficients CLD lattice.
Equations
- HexBerlekampZassenhausMathlib.BHKS.cldResidue f p a liftedFactors i j = Hex.DensePoly.coeff (Hex.cldQuotientMod f (liftedFactors.getD (↑i) 1) p a) ↑j
Instances For
Production specialization of the corrected full-vector auxiliary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every coefficient of the corrected production auxiliary is bounded by the
M component of Hex.bhksBound, provided all coordinates of the full lattice
vector have magnitude at most E.
The period coordinate contributes one term bounded by E*C; each of the at
most degree f first-block coordinates contributes another such term.
The corrected full auxiliary stores exactly degree f coefficient slots.
Production specialization of the full centred residue combination
POL(e).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The same production CLD combination before coefficient centering.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Coefficients of the uncentred CLD combination.
In-range coefficient formula for the centred production CLD combination.
Modulo the lift modulus, centering the stored CLD coefficients does not change the polynomial combination.
If one first-block exponent is zero, the corresponding lifted local factor divides the uncentred CLD combination modulo the lift modulus. Pairwise coprimality cancels every other lifted factor from its CLD syzygy.
Conversely, if a lifted factor divides the CLD combination and is coprime to its own CLD quotient modulo the lift modulus, then its first-block exponent vanishes modulo that modulus.
The CLD quotient belonging to one lifted factor is coprime to that factor
modulo the lift modulus. The two substantive inputs are exactly the familiar
square-free factorisation properties: the factor is coprime to its complementary
factor h, and it is coprime to its own derivative.
Indeed the CLD congruence and f ≡ q * h give
q * cld = q * (h * q') after mapping modulo p^a. Monicity cancels q;
the right-hand side is coprime to q.
The corrected auxiliary polynomial for the production BHKS basis is
congruent to its full centred CLD-residue combination modulo p^a.
A zero first-block coordinate of an actual BHKS lattice vector makes the corresponding lifted factor divide the corrected full auxiliary modulo the lift modulus.
Divisibility of the corrected full auxiliary by a lifted factor forces the corresponding first-block coordinate to vanish modulo the lift modulus.