Result of direct classical factorization.
- factored
(factors : Array ZPoly)
(stats : ClassicalStats)
: ClassicalOutcome
Direct recombination produced a complete factor array.
- declined
(reason : DeclineReason)
(stats : ClassicalStats)
: ClassicalOutcome
Direct recombination stopped for the recorded resource reason.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Hex.instDecidableEqClassicalOutcome.decEq (Hex.ClassicalOutcome.factored factors stats) (Hex.ClassicalOutcome.declined reason stats_1) = isFalse ⋯
- Hex.instDecidableEqClassicalOutcome.decEq (Hex.ClassicalOutcome.declined reason stats) (Hex.ClassicalOutcome.factored factors stats_1) = isFalse ⋯
Instances For
@[instance_reducible]
Directly checkable output invariants at the executable boundary. The Mathlib theorem proves these facts and irreducibility; this guard also keeps a malformed low-level result from escaping in non-proof consumers.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Hex.factorDirectCoreOfPlan
(core : SquareFreeInput)
(modular : DirectPrimePlan core)
(budget : Nat := defaultSubsetBudget)
:
One lift and one greedy direct recombination search from an existing prime plan. Keeping planning outside this function lets the total selector reuse the plan if the bounded search declines.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Plan once, then run the direct classical engine.
Equations
- One or more equations did not get rendered due to their size.