§2.4, p. 5, (2.1) — the discriminant Δ(p₁, …, p_m) of several polynomials vanishes iff the homogenized system is singular
OpenLasserreFC.Generic.discriminant_2_1Let and let be nonnegative integers (nominal degrees). For , , with , write for its homogenization at degree , a form in , and for its gradient in all variables .
There is a real polynomial in the coefficients of (the discriminant of several polynomials) such that for every such tuple
This is property (2.1) of §2.4, applied to the homogenized polynomials, as it is used in Condition 4.3(b): when , the projective variety cut out by these polynomials is smooth, so the gradients of the active constraints are linearly independent at every common zero.
Formalization Note The polynomial is a polynomial in the coefficient variables (the coefficient of in ); only its values on tuples respecting the degree bounds matter. The paper states (2.1) for forms with some (citing Nie, Discriminants and nonnegative polynomials); for a real-valued characterization the existence of such a polynomial follows for all nominal degrees from the elimination theorem (Theorem 2.5, p. 6), taking a sum of squares of the eliminating polynomials, so no degree restriction is imposed.
import Mathlib import Definitions.Def_LasserreFC_Generic_Homog
namespace LasserreFC.Generic
open MvPolynomial
/-- §2.4, p. 5, property (2.1): the discriminant of several polynomials. For `m ≤ n` and
nominal degrees `D₁, …, D_m` there is a real polynomial `Δ` in the coefficients of
`(p₁, …, p_m) ∈ ℝ[x]_{D₁} × ⋯ × ℝ[x]_{D_m}` such that, for every such tuple,
`Δ(p₁, …, p_m) = 0` iff there is `0 ≠ x̃ ∈ ℂ^{n+1}` with `p̃₁(x̃) = ⋯ = p̃_m(x̃) = 0` and
`rank [∇p̃₁(x̃) ⋯ ∇p̃_m(x̃)] < m` (gradients in all of `x̃ = (x₀, x₁, …, xₙ)`). -/
theorem discriminant_2_1 {n m : ℕ} (hm : m ≤ n) (D : Fin m → ℕ) :
∃ Δ : MvPolynomial (Fin m × (Fin n →₀ ℕ)) ℝ,
∀ P : Fin m → MvPolynomial (Fin n) ℝ, (∀ i, (P i).totalDegree ≤ D i) →
(MvPolynomial.eval (tupleCoeffs P) Δ = 0 ↔
∃ xt : Fin (n + 1) → ℂ, xt ≠ 0 ∧
(∀ i, eval xt (homog (D i) (P i)) = 0) ∧
(Matrix.of fun (k : Fin (n + 1)) (i : Fin m) => hgrad (D i) (P i) xt k).rank < m) := by sorry
end LasserreFC.Generic