Proposition 7.d — the primitive φ is Fréchet differentiable with gradient prox_g z
ProvedMoreauProx.Characterization.primitive_hasGradientAtLet be a real Hilbert space, and its dual function, and let be the primitive of . At every point , is Fréchet differentiable and its gradient is
This justifies the name "primitive": is the gradient of the convex function . It is the key input for the necessity half of Corollary 10.c.
Formalization Note The gradient is Mathlib's HasGradientAt, which is Fréchet differentiability with derivative . The gradient is , not .
import Mathlib import Definitions.Def_MoreauProx_Characterization_Prox open scoped InnerProductSpace
namespace MoreauProx.Characterization
theorem primitive_hasGradientAt {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H]
(f g : H → EReal) (hf : GammaZero f) (hg : g = conj f) (z : H) :
HasGradientAt (primitive f g) (prox g z) z := by sorry
end MoreauProx.Characterization
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a real Hilbert space. Let : never takes the value , is finite somewhere, has a convex real epigraph, and is lower semicontinuous. Let , where in .
Define the real-valued function
where is a chosen minimizer of (or if none exists), and .
For every , the statement asserts that is Fréchet differentiable at with gradient :
Degenerate case. If , the claim is trivially true with gradient .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.