Hex.directDegreeBits means what its name says: index i is true exactly
when some sub-multiset of the recorded degrees sums to i.
The bound i ≤ maxDegree is the array's own range; outside it the fold records
nothing, and no degree of a divisor of a degree-maxDegree polynomial lands
there.
Reduction at a good prime sends an integer divisor of the input to a subproduct of that prime's modular irreducible factors and preserves its degree, so the divisor's degree is one of the subset sums of the recorded modular factor degrees.
This is the whole content of a degree filter that consults a prime other than the one recombination enumerates: a support whose degree is not such a subset sum cannot be the support of a genuine integer factor.
No false rejection. A probe that is its own good-prime trial marks the degree of every genuine integer divisor of the input as reachable, so a traversal that discards a support whose degree is not marked discards no genuine factor.
The complete proof-facing contract of a direct prime probe. Consumers need the semantic factorization, the cached Berlekamp form for the singleton certificate, and the small-prime bound used by the CLD resultant estimate.
- factorization : ModPFactorization core data
The cached modular factorization is mathematically valid.
- berlekampForm : Hex.factorsModPBerlekampForm core data
The cached factors have the required Berlekamp certificate form.
The prime lies within the range used by the resultant estimate.
Instances For
Every retained trial -- not only the selected one -- describes the normalized modular image of the plan's own indexed polynomial.
Every retained trial supplies exactly the modular facts the classical and lattice proof cones consume.
The statement a degree filter over a whole plan consumes: the degree of a genuine integer divisor of the input is marked reachable at every trial the planner retained, so intersecting the retained bitsets rejects no genuine factor.
A selected direct plan describes the normalized modular image of its own indexed polynomial.
A successful direct plan supplies exactly the modular facts used by the classical and lattice proof cones.