ℕ → Polynomial ParameterRing → List ParameterRing
The coefficients of Q from degree n down to 0.
Part of the SVI polynomial-sign certificate (#174).
Sign programs computing the sign variations of a parameter polynomial whose specialisation has degree exactly n (variationProgram_eval), the characteristic sign-variation difference signatureTest of each of the four specialised universal matrices (signatureProgram_eval), and their combination, which on the degree branch n = (polynomial p).derivative.natDegree evaluates to matrixCountFour (polynomial p) (countProgram_eval).
symbolicCoeffList: the coefficients of a parameter-ring polynomial from degree n down to 0.variationProgram: the sign program computing the sign variations of Q read at degree n.signatureProgram: the sign program computing the signature test of the i-th universal matrix at size n.countProgram: the sign program combining the four signature tests as a + b - c - d.variationProgram_eval: if the specialisation of Q at p has degree exactly n, the program evaluates to its number of sign variations.signatureProgram_eval: signatureProgram n i evaluates at p to signatureTest of the specialised universal matrix.countProgram_eval: at n = (polynomial p).derivative.natDegree, countProgram n evaluates at p to matrixCountFour (polynomial p).sign program, matrix signature, characteristic polynomial, Hermite matrices, SVI, MSC 91G20, JEL G13
Above: what it imports. Below: what imports it.
ℕ → Polynomial ParameterRing → List ParameterRing
The coefficients of Q from degree n down to 0.
ℕ → Polynomial ParameterRing → SignProgram ℕ
The program computing the sign variations of Q read at degree n (variationProgram_eval).
∀ (p : Params) (n : ℕ) (Q : Polynomial ParameterRing), (Polynomial.map (parameterEval p) Q).degree = ↑n → SignProgram.eval p (variationProgram n Q) = (Polynomial.map (parameterEval p) Q).signVariations
ℕ → Fin 4 → SignProgram ℤ
The program computing the signature test of the i-th universal matrix at size n (signatureProgram_eval).
∀ (p : Params) (n : ℕ) (i : Fin 4), SignProgram.eval p (signatureProgram n i) = signatureTest ((universalMatrices n i).map ⇑(parameterEval p))
ℕ → SignProgram ℤ
The program combining the four signature tests as a + b − c − d (countProgram_eval).
∀ (p : Params), SignProgram.eval p (countProgram (Polynomial.derivative (polynomial p)).natDegree) = matrixCountFour (polynomial p)