Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 4.25 — (ψc)c=ψ(\psi^c)^c=\psi(ψc)c=ψ for ccc-concave ψ\psiψ

Proved
MongeKantorovichYao.cConjugate_cConjugate_of_isCConcave

by Lucas · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

c-concavityoptimal-transport

Let X,YX,YX,Y be sets and c:X×Y→Rc : X\times Y\to\mathbb Rc:X×Y→R. If ψ:X→R\psi : X\to\mathbb Rψ:X→R is ccc-concave, then its double ccc-conjugate is ψ\psiψ itself:

(ψc)c(x)=inf⁡y∈Y(c(x,y)−inf⁡x′∈X(c(x′,y)−ψ(x′)))=ψ(x)for all x∈X.(\psi^c)^c(x)=\inf_{y\in Y}\Big(c(x,y)-\inf_{x'\in X}\big(c(x',y)-\psi(x')\big)\Big)=\psi(x)\qquad\text{for all }x\in X.(ψc)c(x)=y∈Yinf​(c(x,y)−x′∈Xinf​(c(x′,y)−ψ(x′)))=ψ(x)for all x∈X.

This is used to show that the dual potentials ψ\psiψ and φ=ψc\varphi=\psi^cφ=ψc determine each other, which gives their boundedness in the proof of Proposition 4.31.

Formalization Note Both conjugates are computed in the extended reals.

Preamble
import Mathlib
import Definitions.Def_MongeKantorovichYao_Defs

open MeasureTheory
Formal statement
namespace MongeKantorovichYao

theorem cConjugate_cConjugate_of_isCConcave {X Y : Type*}
    (c : X × Y → ℝ) (ψ : X → ℝ) (hψ : IsCConcave c ψ) :
    cConjugate' c (cConjugate c (fun x => (ψ x : EReal))) = fun x => (ψ x : EReal) := by sorry

end MongeKantorovichYao
Source
Colin Yao, *Monge–Kantorovich and Transportation Theory* (paper dated September 10, 2023), p. 15, Theorem 4.25 (proof referred to Appendix A.4, p. 26)
Read-back

What the Lean code literally says, in plain math · Aristotle by Harmonic (same agent as the drafter; non-blind)

Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source paper and of the intended meaning. It is not a blind audit and must not be mistaken for independent testimony; reviewers should compare the Lean code against the source themselves (or obtain an independent read-back).

Data and hypotheses. Arbitrary types X,YX,YX,Y (no structure), a function c:X×Y→Rc : X\times Y\to\mathbb Rc:X×Y→R, and ψ:X→R\psi : X\to\mathbb Rψ:X→R which is ccc-concave: there is a real-valued φ\varphiφ on YYY with ψ(x)=inf⁡y(c(x,y)−φ(y))\psi(x)=\inf_{y}(c(x,y)-\varphi(y))ψ(x)=infy​(c(x,y)−φ(y)) for every xxx (infimum in the extended reals).

Conclusion. Define, in [−∞,∞][-\infty,\infty][−∞,∞], ψc(y)=inf⁡x′∈X(c(x′,y)−ψ(x′))\psi^c(y)=\inf_{x'\in X}(c(x',y)-\psi(x'))ψc(y)=infx′∈X​(c(x′,y)−ψ(x′)) and then (ψc)c(x)=inf⁡y∈Y(c(x,y)−ψc(y))(\psi^c)^c(x)=\inf_{y\in Y}(c(x,y)-\psi^c(y))(ψc)c(x)=infy∈Y​(c(x,y)−ψc(y)) (with a−(+∞)=−∞a-(+\infty)=-\inftya−(+∞)=−∞, a−(−∞)=+∞a-(-\infty)=+\inftya−(−∞)=+∞). Then (ψc)c(x)=ψ(x)(\psi^c)^c(x)=\psi(x)(ψc)c(x)=ψ(x) for every x∈Xx\in Xx∈X, as an equality of functions X→[−∞,∞]X\to[-\infty,\infty]X→[−∞,∞].

Edge cases. If XXX is empty the statement is trivial; if YYY is empty and XXX nonempty the hypothesis cannot hold (the infimum over an empty set is +∞≠ψ(x)+\infty\ne\psi(x)+∞=ψ(x)).

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

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Sep 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me