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

Reading the degree by sign queries

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

Part of the SVI polynomial-sign certificate (#174).

A sign program that finds the degree and leading sign of the numerator polynomial from the signs of its coefficients, as polynomials in the parameters (degreeProgram_eval).

Main definitions

  • degreeProgram: a sign program that scans the coefficients of universalPolynomial from index n down and returns the first nonzero index with its sign.

Main results

  • universalCoefficient_eval: evaluating the r-th coefficient of universalPolynomial at the parameters p gives (polynomial p).coeff r.
  • degreeProgram_eval: if (polynomial p).natDegree ≤ n, then degreeProgram n evaluates at p to the degree and the sign of the leading coefficient of polynomial p.

Tags

sign program, polynomial degree, leading coefficient sign, SVI, MSC 91G20, JEL G13

Import neighbourhood

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

Declarations 3

defMathFin.SVI.degreeProgramsource
ℕ → SignProgram (ℕ × SignType)

A sign program reading off, from the top coefficient down, the first index ≤ n whose coefficient of the universal polynomial is nonzero, with its sign; (0, s) with the sign of the constant coefficient if none is.

theoremMathFin.SVI.universalCoefficient_evalsource
∀ (p : Params) (r : ℕ), (parameterEval p) (universalPolynomial.coeff r) = (polynomial p).coeff r
theoremMathFin.SVI.degreeProgram_evalsource
∀ (p : Params) (n : ℕ), (polynomial p).natDegree ≤ n → SignProgram.eval p (degreeProgram n) = ((polynomial p).natDegree, SignType.sign (polynomial p).leadingCoeff)