Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2.4, p. 5, (2.1) — the discriminant Δ(p₁, …, p_m) of several polynomials vanishes iff the homogenized system is singular

Open
LasserreFC.Generic.discriminant_2_1

by tianyipeng · Nov 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

discriminantgenericitylasserre-hierarchypolynomial-optimization

Let m≤nm\le nm≤n and let D1,…,DmD_1,\dots,D_mD1​,…,Dm​ be nonnegative integers (nominal degrees). For p∈R[x]p\in\mathbb R[x]p∈R[x], x=(x1,…,xn)x=(x_1,\dots,x_n)x=(x1​,…,xn​), with deg⁡p≤D\deg p\le Ddegp≤D, write p~(x~)=x0D p(x/x0)\tilde p(\tilde x)=x_0^{D}\,p(x/x_0)p~​(x~)=x0D​p(x/x0​) for its homogenization at degree DDD, a form in x~=(x0,x1,…,xn)\tilde x=(x_0,x_1,\dots,x_n)x~=(x0​,x1​,…,xn​), and ∇p~\nabla\tilde p∇p~​ for its gradient in all n+1n+1n+1 variables x~\tilde xx~.

There is a real polynomial Δ\DeltaΔ in the coefficients of (p1,…,pm)∈R[x]D1×⋯×R[x]Dm(p_1,\dots,p_m)\in\mathbb R[x]_{D_1}\times\cdots\times\mathbb R[x]_{D_m}(p1​,…,pm​)∈R[x]D1​​×⋯×R[x]Dm​​ (the discriminant of several polynomials) such that for every such tuple

Δ(p1,…,pm)=0  ⟺  ∃ 0≠x~∈Cn+1:p~1(x~)=⋯=p~m(x~)=0,rank⁡[∇p~1(x~) ⋯ ∇p~m(x~)]<m.\Delta(p_1,\dots,p_m)=0\iff \exists\,0\ne\tilde x\in\mathbb C^{n+1}:\quad \tilde p_1(\tilde x)=\cdots=\tilde p_m(\tilde x)=0,\quad \operatorname{rank}\big[\nabla\tilde p_1(\tilde x)\ \cdots\ \nabla\tilde p_m(\tilde x)\big]<m .Δ(p1​,…,pm​)=0⟺∃0=x~∈Cn+1:p~​1​(x~)=⋯=p~​m​(x~)=0,rank[∇p~​1​(x~) ⋯ ∇p~​m​(x~)]<m.

This is property (2.1) of §2.4, applied to the homogenized polynomials, as it is used in Condition 4.3(b): when Δ(h1,…,hm1,gj1,…,gjr)≠0\Delta(h_1,\dots,h_{m_1},g_{j_1},\dots,g_{j_r})\ne0Δ(h1​,…,hm1​​,gj1​​,…,gjr​​)=0, 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 Δ\DeltaΔ is a polynomial in the coefficient variables (i,α)(i,\alpha)(i,α) (the coefficient of xαx^\alphaxα in pip_ipi​); only its values on tuples respecting the degree bounds matter. The paper states (2.1) for forms with some di>1d_i>1di​>1 (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.

Preamble
import Mathlib
import Definitions.Def_LasserreFC_Generic_Homog
Formal statement
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
Source
J. Nie, Optimality conditions and finite convergence of Lasserre's hierarchy, arXiv:1206.0319v2, §2.4, p. 5, property (2.1) (discriminants of several polynomials, after J. Nie, Discriminants and nonnegative polynomials, J. Symbolic Comput. 47 (2012) 167–191); used in Condition 4.3(b), p. 14

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me