Polynomially many residues in the contraction modulus #
The modulus already used by the contraction machine has degree
2 * 3 ^ ⌊log₂ (4 ⌊log₂ m⌋ + 2)⌋. For every fixed d, its residue field eventually has at least
(m + 1) ^ d elements. The explicit sufficient threshold 2 ^ (2 ^ d) is intentionally coarse:
it is used only to bound a finite fallback branch by a constant depending on d.
This observation lets the same contraction machine interpolate every fixed polynomial truncation order. It does not change the modulus or require a larger extension field.
Main results #
FastContraction.mul_log_add_one_le_length_modulus: eventually the degree exceeds any fixed multiple of⌊log₂ m⌋ + 1.FastContraction.pow_le_card_modulus: eventually every fixed power ofm + 1fits in the residue field.