A certified irreducible factorization of P : Polynomial R; Mathlib-side
counterpart of FpPoly.Factored and ZPoly.Factored.
Produced by the factor_poly elaborator via the Mathlib translation extensions.
- scalar : R
The scalar factored out of
P: over a finite field the leading unit of nonzeroP; overℤthe signed content. - factors : List (Polynomial R)
The irreducible factors, with repetition.
The scalar times the factor product reconstructs
P.- factors_irred (q : Polynomial R) : q ∈ self.factors → Irreducible q
Every listed factor is irreducible.
Instances For
The Mathlib-free Hex.Nat.Prime witness yields Mathlib's Nat.Prime.
List products commute with the finite-field polynomial transport.
One-shot assembler for the factor_poly extension on Polynomial (ZMod p):
every certification slot is a Boolean check on reified literal data (filled by
Eq.refl true in emitted terms), and hP is the parser-built translation equality
tying the reified executable polynomial to the user's Mathlib polynomial.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Kernel-decidable irreducibility endpoint for the irreducibility extension
on Polynomial (ZMod p): the executable side is
Berlekamp.irreducible_of_checkMonicCert_scale on reified literals, the
positive degree transports the statement out of the vacuous-constant regime,
and hP is the parser-built translation equality.