Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 24: Differentiation of an attained minimum

Open
QAlgorithms.Papers.Independent.Intake100.P47.attained_minimum_differentiation

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

prove2quantum

All Hilbert spaces are finite dimensional and nonzero. States are positive semidefinite operators of trace one, logarithms are natural, and ρ≪σ\rho\ll\sigmaρ≪σ means inclusion of supports. Write DαD_\alphaDα​ and D~α\widetilde D_\alphaDα​ for the Petz and sandwiched divergences, respectively, with generalized inverse powers on support and orders 0,1,∞0,1,\infty0,1,∞ defined by limits. Let XXX be a real Banach space, Y=RmY=\mathbb R^mY=Rm with m∈Nm\in\mathbb Nm∈N, Ω⊂Ω′⊂X\Omega\subset\Omega'\subset XΩ⊂Ω′⊂X with Ω′\Omega'Ω′ open, and Γ⊂Y\Gamma\subset YΓ⊂Y open and convex. Let f:Ω′×Γ→Rf:\Omega'\times\Gamma\to\mathbb Rf:Ω′×Γ→R be twice continuously Fréchet differentiable, with positive definite Hessian in yyy for every x∈Ω,y∈Γx\in\Omega,y\in\Gammax∈Ω,y∈Γ. Suppose a global minimum in Γ\GammaΓ is attained for each x∈Ωx\in\Omegax∈Ω. Define yˉ(x)=arg⁡min⁡y∈Γf(x,y)\bar y(x)=\arg\min_{y\in\Gamma}f(x,y)yˉ​(x)=argminy∈Γ​f(x,y) and g(x)=inf⁡y∈Γf(x,y)g(x)=\inf_{y\in\Gamma}f(x,y)g(x)=infy∈Γ​f(x,y). Near each x0∈Ωx_0\in\Omegax0​∈Ω there is an open neighborhood V⊂Ω′V\subset\Omega'V⊂Ω′ and a C1C^1C1 function G:V→RG:V\to\mathbb RG:V→R such that

G(x)=g(x),DG(x)=DXf(x,yˉ(x))(x∈V∩Ω).G(x)=g(x),\qquad DG(x)=D_Xf(x,\bar y(x))\quad(x\in V\cap\Omega).G(x)=g(x),DG(x)=DX​f(x,yˉ​(x))(x∈V∩Ω).

The minimizer and value are constructed from fff. This local-extension interpretation follows the proof's implicit-function argument and accommodates a nonopen Ω\OmegaΩ without choosing a nonunique within-derivative.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P47
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P47

open scoped BigOperators Matrix ComplexOrder ComplexConjugate Topology

open Filter QAlgorithms

open QAlgorithms.Papers.Independent.Information100.P22 (Op mixed)

open QAlgorithms.Papers.Independent.Information100.P60 (copies)

open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)

open QAlgorithms.Papers.Independent.Dependency50.P28 (SupportLE pinch logNonnegativeExtended)

open QAlgorithms.Papers.Independent.Dependency50.P21 (relativeEntropy IsSupported)

open QAlgorithms.Papers.Independent.Bridge50.P49 (groupedProduct)

open QAlgorithms.Papers.Independent.Claimed50.P12 (DiagonalIn)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {A B C D I J : Type}

variable [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype I] [Fintype J]

variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]

variable [DecidableEq I] [DecidableEq J]

/-- arXiv:1408.6894v5, PDF p.28, Lemma 24.
Omega need not be open: near each point the value has a C1 extension agreeing
on Omega, with the stated partial derivative there. This avoids a canonical
within-derivative on thin sets. The Hessian is positive on every nonzero Y direction. -/
theorem attained_minimum_differentiation
    {X : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] [CompleteSpace X]
    (m : ℕ) (Omega OmegaOpen : Set X) (Gamma : Set (EuclideanSpace ℝ (Fin m)))
    (hOpen : IsOpen OmegaOpen) (hSub : Omega ⊆ OmegaOpen)
    (hGamma : IsOpen Gamma) (hc : Convex ℝ Gamma)
    (f : X × EuclideanSpace ℝ (Fin m) → ℝ)
    (hC2 : ContDiffOn ℝ 2 f (OmegaOpen ×ˢ Gamma))
    (hHess : ∀ x ∈ Omega, ∀ y ∈ Gamma, ∀ v : EuclideanSpace ℝ (Fin m), v ≠ 0 →
      0 < (fderiv ℝ (fun y => fderiv ℝ (fun z => f (x,z)) y) y) v v)
    (hatt : ∀ x ∈ Omega, ∃ y ∈ Gamma, ∀ z ∈ Gamma, f (x,y) ≤ f (x,z)) :
    ∀ x0 ∈ Omega, ∃ V : Set X, IsOpen V ∧ x0 ∈ V ∧ V ⊆ OmegaOpen ∧
      ∃ g : X → ℝ, ContDiffOn ℝ 1 g V ∧
        (∀ x ∈ V ∩ Omega, g x = attainedValueInfimum f Gamma x) ∧
        (∀ x ∈ V ∩ Omega,
          HasFDerivAt g (fderiv ℝ (fun z => f (z,minimizer f Gamma x)) x) x) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P47

end
Source
Correlation Detection and an Operational Interpretation of the Renyi Mutual Information, arXiv:1408.6894v5, PDF p. 28, Lemma 24: Differentiation of an attained minimum
Read-back

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

Let XXX be a complete real normed vector space, let m≥0m\ge0m≥0 be a natural number, let Ω,Ωopen⊆X\Omega,\Omega_{\mathrm{open}}\subseteq XΩ,Ωopen​⊆X satisfy Ωopen\Omega_{\mathrm{open}}Ωopen​ open and Ω⊆Ωopen\Omega\subseteq\Omega_{\mathrm{open}}Ω⊆Ωopen​, and let Γ⊆Rm\Gamma\subseteq\mathbb R^mΓ⊆Rm, equipped with its Euclidean norm, be open and convex. Let f:X×Rm→Rf:X\times\mathbb R^m\to\mathbb Rf:X×Rm→R be twice continuously differentiable on Ωopen×Γ\Omega_{\mathrm{open}}\times\GammaΩopen​×Γ. Assume that for every x∈Ωx\in\Omegax∈Ω, every y∈Γy\in\Gammay∈Γ, and every nonzero v∈Rmv\in\mathbb R^mv∈Rm,

(Dy[Dyf(x,⋅)](y)[v])[v]>0,\bigl(D_y[D_y f(x,\cdot)](y)[v]\bigr)[v]>0,(Dy​[Dy​f(x,⋅)](y)[v])[v]>0,

and that for every x∈Ωx\in\Omegax∈Ω there exists y∈Γy\in\Gammay∈Γ with f(x,y)≤f(x,z)f(x,y)\le f(x,z)f(x,y)≤f(x,z) for every z∈Γz\in\Gammaz∈Γ. Define v(x)=inf⁡y∈Γf(x,y)v(x)=\inf_{y\in\Gamma}f(x,y)v(x)=infy∈Γ​f(x,y) using the total real infimum, and let y∗(x)y_*(x)y∗​(x) select a minimizing point in Γ\GammaΓ when one exists, returning the zero vector otherwise. Then for every x0∈Ωx_0\in\Omegax0​∈Ω there exist an open set V⊆XV\subseteq XV⊆X and a function g:X→Rg:X\to\mathbb Rg:X→R such that x0∈V⊆Ωopenx_0\in V\subseteq\Omega_{\mathrm{open}}x0​∈V⊆Ωopen​, ggg is continuously differentiable on VVV, and, for every x∈V∩Ωx\in V\cap\Omegax∈V∩Ω, g(x)=v(x)g(x)=v(x)g(x)=v(x) and ggg has the full Fréchet derivative

Dg(x)=Dxf(x,y∗(x)).Dg(x)=D_x f(x,y_*(x)).Dg(x)=Dx​f(x,y∗​(x)).

No openness of Ω\OmegaΩ is assumed, and the equality with the infimum and the specified derivative are required only on V∩ΩV\cap\OmegaV∩Ω. The statement includes m=0m=0m=0, when the condition on nonzero directions is vacuous; if Ω\OmegaΩ is empty, the conclusion is vacuous.

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