A literal generalized Sturm chain and its multiplication-only replay.
The chain
[f, s₁, …, sₙ].- derivScale : Int
Positive integer
δsatisfyingf' = δ s₁. The three-term identities for consecutive chain triples.
Instances For
Boolean validation of a supplied positive three-term identity.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Validate recurrence steps and the terminal nonzero constant.
Equations
- Hex.RCF.SturmReplay.checkSteps x✝¹ x✝ [] [] = decide (Hex.DensePoly.size x✝ = 1)
- Hex.RCF.SturmReplay.checkSteps x✝¹ x✝ (c :: rest) (step :: steps) = (Hex.RCF.SturmReplay.checkStep x✝¹ x✝ c step && Hex.RCF.SturmReplay.checkSteps x✝ c rest steps)
- Hex.RCF.SturmReplay.checkSteps x✝³ x✝² x✝¹ x✝ = false
Instances For
Every literal polynomial in a chain is nonzero.
Equations
Instances For
Consecutive literal chain degrees strictly decrease.
Equations
- Hex.RCF.SturmReplay.checkDegrees (a :: b :: rest) = (decide (Hex.DensePoly.natDegree b < Hex.DensePoly.natDegree a) && Hex.RCF.SturmReplay.checkDegrees (b :: rest))
- Hex.RCF.SturmReplay.checkDegrees x✝ = true
Instances For
Executable generalized Sturm replay checker.
All polynomial comparisons use DensePoly.beqCoeffs, avoiding structural
array equality during kernel reduction. Nonzero checking before strict degree
descent makes natDegree unambiguous and implies that an accepted head
has positive degree. Degree descent is retained as an explicit certificate
invariant even though the abstract IsSturmChain consequence does not need
it.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Literal Sturm variation drop across the dyadic interval
(I.lower, I.upper].
Equations
- cert.count I = ↑(Hex.sturmVarAt cert.chain I.lower) - ↑(Hex.sturmVarAt cert.chain I.upper)
Instances For
Literal Sturm variation drop from negative to positive infinity.
Equations
- cert.total = ↑(Hex.sturmVarNegInf cert.chain) - ↑(Hex.sturmVarPosInf cert.chain)
Instances For
A successful nonzero walk proves every chain entry nonzero.
A successful degree walk proves proposition-level adjacent descent.
The head of an accepted replay is nonzero.