Evaluate a closed Hex.ZPoly expression to its runtime value at
elaboration time.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Candidate primes for the single-prime witness search.
Equations
Instances For
Search for a single-prime modular witness for q (already known
non-constant, non-linear). Returns none when no candidate prime works;
either q is reducible, or it is balanced at every candidate prime.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fixed breadth limit for the auxiliary Eisenstein witness search. Raising
it expands coefficient-divisor enumeration and should be benchmarked as a
separate tactic-coverage change; the current boundary witness
checkIrredWitness (X² − 127) (.eisenstein 127 0) is locked by a test.
Equations
Instances For
Prime divisors of n up to eisensteinPrimeCap, by trial division. Any
cofactor above the cap is dropped because the Eisenstein witness search is
deliberately bounded.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Search for an Eisenstein-after-shift witness for f: for each candidate
shift s, the candidate primes are the small prime divisors of the constant
term of translate s f, and each candidate is validated by running the full
checkIrredWitness Boolean check. First hit wins.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Search for an irreducibility witness for q.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reify a ModPWitness as a constructor application over reified pieces.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reify an IrredWitness.
Equations
- HexBerlekampZassenhaus.FactorTactic.reifyWitness Hex.ZPoly.IrredWitness.primeConst = Lean.mkConst `Hex.ZPoly.IrredWitness.primeConst
- HexBerlekampZassenhaus.FactorTactic.reifyWitness Hex.ZPoly.IrredWitness.linear = Lean.mkConst `Hex.ZPoly.IrredWitness.linear
- HexBerlekampZassenhaus.FactorTactic.reifyWitness (Hex.ZPoly.IrredWitness.modP w) = Lean.mkApp (Lean.mkConst `Hex.ZPoly.IrredWitness.modP) (HexBerlekampZassenhaus.FactorTactic.reifyModPWitness w)
- HexBerlekampZassenhaus.FactorTactic.reifyWitness (Hex.ZPoly.IrredWitness.eisenstein q shift) = Lean.mkApp2 (Lean.mkConst `Hex.ZPoly.IrredWitness.eisenstein) (Lean.mkNatLit q) (Lean.toExpr shift)
Instances For
The balanced-factor decline diagnostic.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Checks that the user's term is definitionally transparent down to its evaluated literal.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The factor_poly arm: factorize, certify each distinct factor by an
IrredWitness, and emit a reified Hex.ZPoly.Factored. Declines when some
factor has no free-layer witness.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The irreducibility proof for a runtime ZPoly and its expression:
shared by the term arm and goal mode.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The irreducibility term arm.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Goal mode: close Hex.ZPoly.Irreducible e.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Hex.ZPoly extension, checked by name from
Hex.FactorTactic.extensionNames; the free and integration regression tests
fail if a rename makes the extension undiscoverable.
Equations
- One or more equations did not get rendered due to their size.