Reduction Modulo Binary Polynomials with Logarithmic Feedback Depth
Abstract
Polynomial modular reduction is central to binary finite-field arithmetic and repeated Frobenius powering. Top-down shift/XOR folding can use few operations when the nonleading support is sparse, but a tap near the leading term creates a long feedback chain. We formulate this recurrence as inversion of a nilpotent shift operator and factor its inverse by characteristic-two Frobenius powers. The resulting Frobenius-factorized reduction (FFR) applies to every monic binary modulus without materializing a reciprocal or dense reduction matrix, and its shifts can be generated online without a persistent modulus-specific schedule. For degree and nonempty nonleading support of size , with nearest-tap distance , FFR uses exactly sequential feedback stages and has scheduled work . A portable-C evaluation on 1,096 supports through degree identifies distinct FFR, López--Dahab, and gf2x-backed Barrett regions. On four certified irreducible moduli, FFR makes complete Rabin irreducibility testing -- times faster than NTL and -- times faster than the matched Barrett implementation.
Create a lesson
Metadata
- Categories
- math.NT, cs.SC
- Comments
- 20 pages. Source code and original experimental data added as ancillary files; availability statement updated. Scientific results unchanged
Related papers
Transcendence of Montgomery Reduction Factor in the Ring of Integers Modulo Infinitely Large Primes
Shared title terminologymath.NTTomoki Mihara
Representations of GL_n over Z/p^m Z and supercongruences for hypergeometric polynomials
Shared title terminologymath.NTAtsushi Ichino, Kartik Prasanna
The golden ratio and the spacings of multiples modulo p
Shared title terminologymath.NTPrashant Chaudhary, Kapil Khandelwal
Simultaneous Fermat pseudoprimes with two prime factors: rank-dependent logarithmic savings and sifted base-3 proportions
Shared title terminologymath.NTSantiago Pineda Montoya, Johan Heriberto Rúa Muñoz, Jaiberth Porras Barrera et al.
Remarks on non-vanishing modulo p of Hecke L-values for imaginary quadratic fields
Shared title terminologymath.NTTakuya Tanaka
Linear forms in logarithms of algebraic numbers and the rank of conjugate tuples
Shared title terminologymath.NTGregory V. Chudnovsky, David V. Chudnovsky