Documentation

HexBerlekampZassenhausMathlib.ModPFactorization

Semantic validity of data as a mod-p factorization package for the monic lift target f: everything the certification cone consumes about a PrimeChoiceData, with no reference to how it was produced.

Instances For

    The modP/liftToZ roundtrip on an FpPoly product: reducing the integer product of the lifts recovers the FpPoly fold product.

    theorem HexBerlekampZassenhausMathlib.modPFactorization_of_form {f : Hex.ZPoly} {data : Hex.PrimeChoiceData} (hprime : Hex.Nat.Prime data.p) (hgood : Hex.isGoodPrime f data.p = true) (hfmod : data.fModP = Hex.ZPoly.modP data.p f) (hform : Hex.factorsModPBerlekampForm f data) (hprim : f.Primitive) (hlc_pos : 0 < Hex.DensePoly.leadingCoeff f) (hpos : 0 < Hex.DensePoly.natDegree f) :

    Assemble the semantic bundle from a proved Berlekamp-form factorization. The lift target must be primitive with positive leading coefficient and positive degree.

    The selection witness yields the semantic bundle through the choosePrimeData? extraction lemmas.

    An explicit cached prime trial yields the semantic modular factorization bundle consumed by direct lifting.

    A modular factor array of positive-degree monic factors has no more entries than the degree of any monic integer target to which its product is congruent.