Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Pointwise relative-entropy gap is nonnegative

Proved
ZeroFreeRRG.Hardcore.relative_entropy_pointwise_nonnegative

by wcysai · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

For real numbers p≥0p\ge0p≥0 and q>0q>0q>0, the relative-entropy gap plog⁡p−plog⁡q−p+qp\log p-p\log q-p+qplogp−plogq−p+q is nonnegative, with 0log⁡0=00\log0=00log0=0. This pointwise inequality underlies the nonnegativity of relative entropy used in Lemma 4.27.

Preamble
import Mathlib
Formal statement
namespace ZeroFreeRRG.Hardcore
theorem relative_entropy_pointwise_nonnegative (p q : ℝ) (hp : 0 ≤ p) (hq : 0 < q) :
    0 ≤ p * Real.log p - p * Real.log q - p + q := by sorry
end ZeroFreeRRG.Hardcore
Source
Chen, Wang, and Zhang, Zero-Freeness for Random Regular Graphs up to the Replica Symmetry Breaking Threshold, https://github.com/sigact-stoc/stoc2027/releases/download/papers-2/1461.pdf, proof of Lemma 4.27, printed p. 34.

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