MathFin
Map / Valuation · The smile / MathFin.Models.ModelFree.SVI.SignatureProgram

Signatures by sign queries

MathFin.Models.ModelFree.SVI.SignatureProgramMSC 91G20JEL G13 source

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).

Main definitions

  • 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.

Main results

  • 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).

Tags

sign program, matrix signature, characteristic polynomial, Hermite matrices, SVI, MSC 91G20, JEL G13

Import neighbourhood

Above: what it imports. Below: what imports it.

Declarations 7

defMathFin.SVI.symbolicCoeffListsource
ℕ → Polynomial ParameterRing → List ParameterRing

The coefficients of Q from degree n down to 0.

defMathFin.SVI.variationProgramsource
ℕ → Polynomial ParameterRing → SignProgram ℕ

The program computing the sign variations of Q read at degree n (variationProgram_eval).

theoremMathFin.SVI.variationProgram_evalsource
∀ (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
defMathFin.SVI.signatureProgramsource
ℕ → Fin 4 → SignProgram ℤ

The program computing the signature test of the i-th universal matrix at size n (signatureProgram_eval).

theoremMathFin.SVI.signatureProgram_evalsource
∀ (p : Params) (n : ℕ) (i : Fin 4), SignProgram.eval p (signatureProgram n i) = signatureTest ((universalMatrices n i).map ⇑(parameterEval p))
defMathFin.SVI.countProgramsource
ℕ → SignProgram ℤ

The program combining the four signature tests as a + b − c − d (countProgram_eval).

theoremMathFin.SVI.countProgram_evalsource
∀ (p : Params), SignProgram.eval p (countProgram (Polynomial.derivative (polynomial p)).natDegree) = matrixCountFour (polynomial p)