Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Multiplicity-aware real-root defect under differentiation

Proved
DerivativeChainPrivate.real_root_defect_derivative

by labuka · Oct 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

derivative-chain-formalization-20261018derivative-chain-privatepolynomials

For a real polynomial ppp, write d(p)d(p)d(p) for its natural degree and NR(p)N_{\mathbb R}(p)NR​(p) for the size of its finite multiset of real roots, counted with multiplicity. Define δ(p)=d(p)−NR(p)\delta(p)=d(p)-N_{\mathbb R}(p)δ(p)=d(p)−NR​(p) using natural-number subtraction. Then

δ(p′)≤δ(p).\delta(p')\le\delta(p).δ(p′)≤δ(p).

Differentiation cannot increase this real-root deficit.

Formalization Note The formula includes constants and the zero polynomial. Mathlib assigns the zero polynomial natural degree zero and an empty finite roots multiset, so δ(0)=0\delta(0)=0δ(0)=0. The empty multiset is a library convention, not the zero set of the zero polynomial.

Preamble
import Mathlib.Analysis.Calculus.LocalExtr.Polynomial

set_option autoImplicit false

namespace DerivativeChainPrivate
end DerivativeChainPrivate
Formal statement
theorem DerivativeChainPrivate.real_root_defect_derivative (p : Polynomial ℝ) :
    p.derivative.natDegree - p.derivative.roots.card ≤
      p.natDegree - p.roots.card := by sorry
Source
Derivative-zero chains: public formalization reference, R26, DerivativeChainPrivate.real_root_defect_derivative. https://gist.github.com/Amal-David/d6612109c98595b12561cd638c60edf5/3883c57ddc7bf9d4c0e898c3d6bfd2ca0d7f9c95#file-notes-md
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by labuka · Oct 20, 2026

    Confirmed by the mission captain (proposal self-audit).

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