Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 9.1, p. 530 — scalar KL conjugate

Proved
CompOT.Barycenter.kl_scalar_conjugate

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

convex-conjugateoptimal-transportp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1relative-entropy

Let k>0k>0k>0 and u∈Ru\in\mathbb Ru∈R. For nonnegative rrr, define KL(r∣k)=rlog⁡(r/k)−r+k\mathrm{KL}(r\mid k)=r\log(r/k)-r+kKL(r∣k)=rlog(r/k)−r+k, with the value kkk at r=0r=0r=0. Then

max⁡r≥0{ur−KL(r∣k)}=k(eu−1),\max_{r\ge0}\{ur-\mathrm{KL}(r\mid k)\}=k(e^u-1),r≥0max​{ur−KL(r∣k)}=k(eu−1),

and the maximum is attained at r=keur=ke^ur=keu.

This scalar identity is the entrywise component of the matrix KL conjugate used in the barycenter dual program.

Formalization Note The printed domain (u,k)∈R+2(u,k)\in\mathbb R_+^2(u,k)∈R+2​ is corrected to u∈Ru\in\mathbb Ru∈R, k>0k>0k>0, since the dual potential uuu has no sign restriction.

Preamble
import Mathlib
import Definitions.Def_CompOT_Barycenter_Defs
Formal statement
namespace CompOT.Barycenter

/-- Scalar part of (9.22), proof of Proposition 9.1, p. 530. -/
theorem kl_scalar_conjugate (u k : ℝ) (hk : 0 < k) :
    (∀ r : ℝ, 0 ≤ r → u * r - klEntry r k ≤ k * (Real.exp u - 1)) ∧
    0 ≤ k * Real.exp u ∧
    u * (k * Real.exp u) - klEntry (k * Real.exp u) k =
      k * (Real.exp u - 1) := by sorry

end CompOT.Barycenter
Source
Peyré & Cuturi, Computational Optimal Transport (FnT ML 2019), proof of Proposition 9.1 and (9.22), p. 530
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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