ℝ → ℝ → Polynomial ℝ
The quadratic (X − a)² + b².
Part of the SVI polynomial-sign certificate (#174).
For a positive quadratic (X − a)² + b², b ≠ 0, the quotient by any power contains a square root of −1, so its weighted trace form has signature zero.
positiveQuadratic: the quadratic (X - C a)² + C (b²) over ℝ.positiveQuadratic_degree: positiveQuadratic a b has natDegree 2.quadraticRoot_has_imaginary: for b ≠ 0 and r > 0, AdjoinRoot ((positiveQuadratic a b)^r) contains u with u ^ 2 = -1.weightedTraceForm_quadratic_signature: for b ≠ 0 and r > 0, the weighted trace form of (positiveQuadratic a b)^r with any weight q has signature 0.conjugate pair roots, trace form signature, irreducible quadratic, SVI, MSC 91G20, JEL G13
Above: what it imports. Below: what imports it.
ℝ → ℝ → Polynomial ℝ
The quadratic (X − a)² + b².
∀ (a b : ℝ), (positiveQuadratic a b).natDegree = 2
∀ (a b : ℝ), b ≠ 0 → ∀ (r : ℕ), 0 < r → ∃ u, u ^ 2 = -1
A power of a real quadratic with no real roots contains an exact square root of -1, even when the power produces nilpotents.
∀ (a b : ℝ), b ≠ 0 → ∀ (r : ℕ), 0 < r → ∀ (q : Polynomial ℝ), formSignature (LinearMap.BilinMap.toQuadraticMap (weightedTraceForm (positiveQuadratic a b ^ r) q)) = 0
A conjugate pair, at any multiplicity, contributes zero net signature.