Prove2Me
Navigate
MissionsFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Adjoint Lagrangian first-order comparison

Open
VectorSpaceOpt.adjoint_lagrangian_comparison

by wenxinzhang · Aug 25, 2026 · Mathlib c5ea003 (Lean v4.30.0)

adjointimplicit-statelagrangianlittle-o

Let an implicit state map xOf solve A (xOf v) v = 0. Assume A and the objective g are Fréchet differentiable in the state with continuously varying derivatives, and assume xOf is Lipschitz at the reference control u. If a continuous functional lambda satisfies the adjoint identity lambda ∘ Aₓ + gₓ = 0 at (xOf u,u), then there is a remainder r that is little-o of ‖v-u‖ and

g(x(u),u)−g(x(v),v)=L(x(u),u,λ)−L(x(u),v,λ)+r(v)g(x(u),u)-g(x(v),v)=L(x(u),u,λ)-L(x(u),v,λ)+r(v)g(x(u),u)−g(x(v),v)=L(x(u),u,λ)−L(x(u),v,λ)+r(v)

for every permitted v. This makes the source's unspecified asymptotic term precise and isolates the multiplier comparison underlying the control variation.

Preamble
import Definitions.Def_VectorSpaceOpt_optimal_control
Formal statement
namespace VectorSpaceOpt

/-- Luenberger, Chapter 9, §9.6, Proposition 1, with little-o made explicit. -/
theorem adjoint_lagrangian_comparison
    {X U : Type*}
    [NormedAddCommGroup X] [NormedSpace ℝ X] [CompleteSpace X]
    [NormedAddCommGroup U] [NormedSpace ℝ U]
    (Omega : Set U) (A : X → U → X) (g : X → U → ℝ)
    (xOf : U → X) (Ax : X → U → (X →L[ℝ] X))
    (gx : X → U → (X →L[ℝ] ℝ)) (u : U)
    (lambda : X →L[ℝ] ℝ)
    (hstate : ∀ v : U, A (xOf v) v = 0)
    (hAx : ∀ (x : X) (v : U), HasFDerivAt (fun y => A y v) (Ax x v) x)
    (hgx : ∀ (x : X) (v : U), HasFDerivAt (fun y => g y v) (gx x v) x)
    (hAxCont : Continuous (fun p : X × U => Ax p.1 p.2))
    (hgxCont : Continuous (fun p : X × U => gx p.1 p.2))
    (hxLip : ∃ K : ℝ, 0 ≤ K ∧ ∀ v : U, ‖xOf u - xOf v‖ ≤ K * ‖u - v‖)
    (hadjoint : lambda.comp (Ax (xOf u) u) + gx (xOf u) u = 0) :
    ∃ r : U → ℝ, IsNormLittleOAt r u ∧
      ∀ v ∈ Omega,
        g (xOf u) u - g (xOf v) v =
          abstractControlLagrangian A g (xOf u) u lambda -
            abstractControlLagrangian A g (xOf u) v lambda + r v := by
  sorry

end VectorSpaceOpt
Source
David G. Luenberger, Optimization by Vector Space Methods (Wiley, 1969), Chapter 9, §9.6, Proposition 1, printed p. 262 (physical PDF p. 280). Scan: https://sites.science.oregonstate.edu/~show/old/142_Luenberger.pdf
Read-back

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

Let XXX be a real Banach space and UUU a real normed space, not assumed complete. Fix Ω⊆UΩ⊆UΩ⊆U, maps A:X→U→XA:X→U→XA:X→U→X and g:X→U→Rg:X→U→ℝg:X→U→R, a state selection xof:U→Xx_{of}:U→Xxof​:U→X, assignments Ax(x,v):X→XA_x(x,v):X→XAx​(x,v):X→X and gx(x,v):X→Rg_x(x,v):X→ℝgx​(x,v):X→R of continuous real-linear maps, a point u∈Uu∈Uu∈U, and a continuous real-linear functional λ:X→Rλ:X→ℝλ:X→R. Assume A(xof(v),v)=0A(x_{of}(v),v)=0A(xof​(v),v)=0 for every v∈Uv∈Uv∈U; for every x,vx,vx,v, Ax(x,v)A_x(x,v)Ax​(x,v) and gx(x,v)g_x(x,v)gx​(x,v) are the Fréchet derivatives at xxx of the first-argument maps y↦A(y,v)y↦A(y,v)y↦A(y,v) and y↦g(y,v)y↦g(y,v)y↦g(y,v); and the operator-valued maps (x,v)↦Ax(x,v)(x,v)↦A_x(x,v)(x,v)↦Ax​(x,v) and (x,v)↦gx(x,v)(x,v)↦g_x(x,v)(x,v)↦gx​(x,v) are continuous on X×UX×UX×U. Assume there is a real K≥0K≥0K≥0 such that ‖xof(u)−xof(v)‖≤K‖u−v‖‖x_{of}(u)-x_{of}(v)‖≤K‖u-v‖‖xof​(u)−xof​(v)‖≤K‖u−v‖ for every v∈Uv∈Uv∈U, and assume the adjoint functional equation λ∘Ax(xof(u),u)+gx(xof(u),u)=0λ∘A_x(x_{of}(u),u)+g_x(x_{of}(u),u)=0λ∘Ax​(xof​(u),u)+gx​(xof​(u),u)=0. Then there exists r:U→Rr:U→ℝr:U→R such that, for every ε>0ε>0ε>0, eventually near uuu one has ∣r(v)∣≤ε‖v−u‖|r(v)|≤ε‖v-u‖∣r(v)∣≤ε‖v−u‖, and for every v∈Ωv∈Ωv∈Ω, g(xof(u),u)−g(xof(v),v)=[λ(A(xof(u),u))+g(xof(u),u)]−[λ(A(xof(u),v))+g(xof(u),v)]+r(v)g(x_{of}(u),u)-g(x_{of}(v),v)=[λ(A(x_{of}(u),u))+g(x_{of}(u),u)]-[λ(A(x_{of}(u),v))+g(x_{of}(u),v)]+r(v)g(xof​(u),u)−g(xof​(v),v)=[λ(A(xof​(u),u))+g(xof​(u),u)]−[λ(A(xof​(u),v))+g(xof​(u),v)]+r(v). The distinguished uuu is not required to lie in ΩΩΩ; if ΩΩΩ is empty, the displayed comparison is vacuous but the little-o remainder must still exist.

Human review
  • Endorsed by Shuze Chen · Aug 26, 2026

  • Endorsed by wenxinzhang · Aug 26, 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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me