Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proposition 7.b — the primitive φ of prox_g lies in Γ₀(H) and its dual is g + ½‖·‖²

Proved
MoreauProx.Characterization.primitive_gammaZero_conj

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

conjugate-dualityconvex-analysisp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1proximal-map

Let HHH be a real Hilbert space, f∈Γ0(H)f \in \Gamma_0(H)f∈Γ0​(H) and ggg its dual function. Let φ\varphiφ be the primitive of prox⁡g\operatorname{prox}_gproxg​,

φ(z)=12∥prox⁡gz∥2+f(prox⁡fz).\varphi(z) = \tfrac12 \|\operatorname{prox}_g z\|^2 + f(\operatorname{prox}_f z).φ(z)=21​∥proxg​z∥2+f(proxf​z).

Then φ∈Γ0(H)\varphi \in \Gamma_0(H)φ∈Γ0​(H), and the dual function of φ\varphiφ is

θ(y)=g(y)+12∥y∥2.\theta(y) = g(y) + \tfrac12 \|y\|^2 .θ(y)=g(y)+21​∥y∥2.

Since φ(z)=inf⁡u[12∥u−z∥2+f(u)]\varphi(z) = \inf_u \big[\tfrac12\|u - z\|^2 + f(u)\big]φ(z)=infu​[21​∥u−z∥2+f(u)] (Remark 7.c), this identifies φ\varphiφ as the inf-convolution of fff with 12∥⋅∥2\tfrac12\|\cdot\|^221​∥⋅∥2 and computes its dual; it is used for Propositions 9.b and 10.b.

Formalization Note φ\varphiφ is real-valued and is viewed as an EReal-valued function to apply the definitions of Γ0(H)\Gamma_0(H)Γ0​(H) and of the dual function; the identity of duals is an equality of EReal-valued functions on HHH (where ggg may take the value +∞+\infty+∞).

Preamble
import Mathlib
import Definitions.Def_MoreauProx_Characterization_Prox
open scoped InnerProductSpace
Formal statement
namespace MoreauProx.Characterization

theorem primitive_gammaZero_conj {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H]
    (f g : H → EReal) (hf : GammaZero f) (hg : g = conj f) :
    GammaZero (fun z => ((primitive f g z : ℝ) : EReal)) ∧
      conj (fun z => ((primitive f g z : ℝ) : EReal)) =
        fun y => g y + ((‖y‖ ^ 2 / 2 : ℝ) : EReal) := by sorry

end MoreauProx.Characterization
Source
Moreau, Proximité et dualité dans un espace hilbertien, Bull. Soc. Math. France 93 (1965), p. 284, Proposition 7.b
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let HHH be a real Hilbert space. Let f∈Γ0(H)f\in\Gamma_0(H)f∈Γ0​(H): fff never takes the value −∞-\infty−∞, is finite somewhere, has a convex real epigraph, and is lower semicontinuous. Let g=f∗g=f^*g=f∗, where g(y)=sup⁡x(⟨x,y⟩−f(x))g(y)=\sup_x(\langle x,y\rangle-f(x))g(y)=supx​(⟨x,y⟩−f(x)) in [−∞,+∞][-\infty,+\infty][−∞,+∞].

Define the real-valued function

Φ(z)=12∥prox⁡g(z)∥2+re⁡(f(prox⁡f(z))).\Phi(z)=\tfrac12\|\operatorname{prox}_g(z)\|^2+\operatorname{re}\big(f(\operatorname{prox}_f(z))\big).Φ(z)=21​∥proxg​(z)∥2+re(f(proxf​(z))).

Here:

  • prox⁡h(z)\operatorname{prox}_h(z)proxh​(z) is a chosen minimizer of u↦12∥u−z∥2+h(u)u\mapsto\frac12\|u-z\|^2+h(u)u↦21​∥u−z∥2+h(u), or 000 if none exists;
  • re⁡\operatorname{re}re maps ±∞\pm\infty±∞ to 000.

Viewing Φ\PhiΦ as a function into [−∞,+∞][-\infty,+\infty][−∞,+∞], the statement asserts two things:

  1. Φ∈Γ0(H)\Phi\in\Gamma_0(H)Φ∈Γ0​(H).
  2. Its conjugate is
Φ∗(y)=g(y)+12∥y∥2for every y∈H,\Phi^*(y)=g(y)+\tfrac12\|y\|^2\quad\text{for every }y\in H,Φ∗(y)=g(y)+21​∥y∥2for every y∈H,

with the sum in [−∞,+∞][-\infty,+\infty][−∞,+∞], so Φ∗(y)=+∞\Phi^*(y)=+\inftyΦ∗(y)=+∞ wherever g(y)=+∞g(y)=+\inftyg(y)=+∞.

Degenerate case. If H={0}H=\{0\}H={0}, then Φ(0)=f(0)\Phi(0)=f(0)Φ(0)=f(0) and g(0)=−f(0)g(0)=-f(0)g(0)=−f(0), and the claims reduce to identities about the real number f(0)f(0)f(0).

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

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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