Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered scalar comparison bounds (3.4)–(3.5)

Open
QAlgorithms.Papers.Independent.Advance50.P21.thermal_scalar_bounds

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

prove2quantum

Define g(x)=(x+1)log⁡(x+1)−xlog⁡xg(x)=(x+1)\log(x+1)-x\log xg(x)=(x+1)log(x+1)−xlogx on the occupation branch x≥0x\ge0x≥0, with 0log⁡0=00\log0=00log0=0, and let g−1g^{-1}g−1 denote its nonnegative inverse. For every x≥0x\ge0x≥0 and y≥0y\ge0y≥0,

1+log⁡(x+e−1)≤g(x)≤1+log⁡(x+1/2),1+\log(x+e^{-1})\le g(x)\le1+\log(x+1/2),1+log(x+e−1)≤g(x)≤1+log(x+1/2), ey−1−1/2≤g−1(y)≤ey−1−e−1.e^{y-1}-1/2\le g^{-1}(y)\le e^{y-1}-e^{-1}.ey−1−1/2≤g−1(y)≤ey−1−e−1.

These scalar comparisons control the thermal entropy and its inverse and include x=y=0x=y=0x=y=0.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P21
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P21

open scoped BigOperators Matrix ComplexConjugate

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P26 (Mat)

open QAlgorithms.Papers.Independent.Information100.P56 (entropy)

open QAlgorithms.Papers.Independent.Information100.P76 (swapMatrix)

open QAlgorithms.Papers.Independent.Dependency50.P16 (simplex orderedSpectrum majorizedBy)

open QAlgorithms.Papers.Independent.Information100.P08 (Ensemble)

open QAlgorithms.Papers.Independent.Information100.P49 (thermalEntropy)

open QAlgorithms.Papers.Independent.Claimed50.P11 (thermalEntropyInverse)

/-- PDF p.6, (3.4)–(3.5): scalar comparison on nonnegative occupation and entropy branches. -/
theorem thermal_scalar_bounds :
    (∀ x : ℝ, 0 ≤ x →
      1 + Real.log (x + 1 / Real.exp 1) ≤ thermalEntropy x ∧
      thermalEntropy x ≤ 1 + Real.log (x + 1 / 2)) ∧
    (∀ y : ℝ, 0 ≤ y →
      Real.exp (y - 1) - 1 / 2 ≤ thermalEntropyInverse y ∧
      thermalEntropyInverse y ≤ Real.exp (y - 1) - 1 / Real.exp 1) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P21

end
Source
Entropy power inequalities for qudits, arXiv:1503.04213v3, PDF p. 6, Unnumbered scalar comparison bounds (3.4)–(3.5)
Read-back

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

Let h(x)=(x+1)log⁡(x+1)−xlog⁡xh(x)=(x+1)\log(x+1)-x\log xh(x)=(x+1)log(x+1)−xlogx for every real xxx, and let g(y)=0g(y)=0g(y)=0 when y≤0y\le0y≤0, while for y>0y>0y>0 let g(y)=inf⁡{N∈R:0≤N, y≤h(N)}g(y)=\inf\{N\in\mathbb R:0\le N,\ y\le h(N)\}g(y)=inf{N∈R:0≤N, y≤h(N)}, taking the infimum in R\mathbb RR. The declaration asserts both that every real x≥0x\ge0x≥0 satisfies

1+log⁡(x+e−1)≤h(x)≤1+log⁡ ⁣(x+12),1+\log(x+e^{-1})\le h(x)\le1+\log\!\left(x+\frac12\right),1+log(x+e−1)≤h(x)≤1+log(x+21​),

and that every real y≥0y\ge0y≥0 satisfies

ey−1−12≤g(y)≤ey−1−e−1.e^{y-1}-\frac12\le g(y)\le e^{y-1}-e^{-1}.ey−1−21​≤g(y)≤ey−1−e−1.

All logarithms are natural, with log⁡0=0\log0=0log0=0; the endpoints x=0x=0x=0 and y=0y=0y=0, where h(0)=g(0)=0h(0)=g(0)=0h(0)=g(0)=0, are included.

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

    Confirmed by the moderator at approval.

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