Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1: Df(P||Q)>=0; if f is strictly convex at 1, equality holds iff P=Q

Open
QAlgorithms.Papers.Independent.Intakenext100.P28.fDiv_nonnegative

by Gohan · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let P≪QP\ll QP≪Q be probability measures on any common measurable space. Let f:(0,∞)→Rf:(0,\infty)\to\mathbb Rf:(0,∞)→R be convex with f(1)=0f(1)=0f(1)=0, using the continuous endpoint and singular-mass conventions of (33)–(37). Then

Df(P∥Q)≥0.D_f(P\|Q)\ge0.Df​(P∥Q)≥0.

If fff is strictly convex at 1, equality holds exactly when P=QP=QP=Q. Strictness at 1 means every nontrivial chord through 1 lies strictly above f(1)f(1)f(1); global strict convexity is not required. This is the standard Jensen/Gibbs property recorded in Proposition 1.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P28
Formal statement
noncomputable section

open MeasureTheory Set Filter

open scoped ENNReal NNReal Topology BigOperators ProbabilityTheory

namespace QAlgorithms.Papers.Independent.Intakenext100.P28

universe u

attribute [local instance] Classical.propDecidable

/-- Proposition 1: Df(P||Q)>=0; if f is strictly convex at 1, equality holds iff P=Q. Sason--Verdu, arXiv:1508.00335v7, PDF p.9.  -/
theorem fDiv_nonnegative
    (f : ℝ → ℝ) (hf : Generator f) {A : Type u} [MeasurableSpace A] (P Q : Measure A)
    [IsProbabilityMeasure P] [IsProbabilityMeasure Q] (hPQ : P ≪ Q) :
    0 ≤ fDiv f P Q ∧ (StrictAtOne f → (fDiv f P Q = 0 ↔ P = Q)) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P28

end
Source
fff-divergence Inequalities, arXiv:1508.00335v7, PDF p. 9, Proposition 1
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let f:R→Rf:\mathbb R\to\mathbb Rf:R→R be convex on (0,∞)(0,\infty)(0,∞) and satisfy f(1)=0f(1)=0f(1)=0. For every type AAA in universe uuu equipped with a measurable-space structure, and every pair of probability measures P,QP,QP,Q on AAA with P≪QP\ll QP≪Q, define

Lf=lim inf⁡t→0+f(t),fˉ(s)={Lf,s=0,f(s),s≠0,Lf∗=lim inf⁡t→0+tf(1/t),L_f=\liminf_{t\to0^+}f(t),\qquad \bar f(s)= \begin{cases}L_f,&s=0,\\f(s),&s\ne0,\end{cases} \qquad L_f^\ast=\liminf_{t\to0^+}t f(1/t),Lf​=t→0+liminf​f(t),fˉ​(s)={Lf​,f(s),​s=0,s=0,​Lf∗​=t→0+liminf​tf(1/t),

where the lower limits and the values of fˉ\bar ffˉ​ lie in the extended reals. Write ρ(x)=(dP/dQ)(x)\rho(x)=(dP/dQ)(x)ρ(x)=(dP/dQ)(x) converted to a real number, with an infinite derivative converted to zero, and let P⊥QP_{\perp Q}P⊥Q​ be the singular part of PPP relative to QQQ. Define

IQ(h)=(∫[h(x)]+ dQ(x))−(∫[−h(x)]+ dQ(x)),Ff(P,Q)=IQ(fˉ∘ρ)+Lf∗P⊥Q(A).\mathcal I_Q(h)= \left(\int[h(x)]_+\,dQ(x)\right) - \left(\int[-h(x)]_+\,dQ(x)\right), \qquad F_f(P,Q)=\mathcal I_Q(\bar f\circ\rho)+L_f^\ast P_{\perp Q}(A).IQ​(h)=(∫[h(x)]+​dQ(x))−(∫[−h(x)]+​dQ(x)),Ff​(P,Q)=IQ​(fˉ​∘ρ)+Lf∗​P⊥Q​(A).

For extended-real zzz, [z]+[z]_+[z]+​ means its nonnegative extended-real part, sending negative values and −∞-\infty−∞ to zero and +∞+\infty+∞ to ∞\infty∞; the integrals are nonnegative extended integrals, and the subtraction and remaining operations use extended-real arithmetic without additional finiteness assumptions. The theorem asserts 0≤Ff(P,Q)0\le F_f(P,Q)0≤Ff​(P,Q), and also asserts that, if for every real x,y,λx,y,\lambdax,y,λ satisfying 0<x<1<y0<x<1<y0<x<1<y, 0<λ<10<\lambda<10<λ<1, and λx+(1−λ)y=1\lambda x+(1-\lambda)y=1λx+(1−λ)y=1 one has

f(1)<λf(x)+(1−λ)f(y),f(1)<\lambda f(x)+(1-\lambda)f(y),f(1)<λf(x)+(1−λ)f(y),

then Ff(P,Q)=0F_f(P,Q)=0Ff​(P,Q)=0 if and only if P=QP=QP=Q. No assumptions are imposed on fff at nonpositive arguments.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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