Sec. 17: H = -F + p(y') is a first integral
ProvedGelfandFomin.hamiltonian_first_integralLet be a curve in a real normed space and with partial derivatives (continuous linear maps ). If satisfies the Euler equations on , then is constant on .
import Mathlib
namespace GelfandFomin
open Set
theorem hamiltonian_first_integral {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
{F : E → E → ℝ} {Fy Fp : E → E → E →L[ℝ] ℝ}
(hF : ∀ u p, HasFDerivAt (fun q : E × E => F q.1 q.2)
((Fy u p).comp (ContinuousLinearMap.fst ℝ E E) + (Fp u p).comp (ContinuousLinearMap.snd ℝ E E))
(u, p))
{y y' y'' : ℝ → E} {a b : ℝ}
(hy : ∀ x ∈ Icc a b, HasDerivAt y (y' x) x) (hy' : ∀ x ∈ Icc a b, HasDerivAt y' (y'' x) x)
(heul : ∀ x ∈ Icc a b, HasDerivAt (fun t => Fp (y t) (y' t)) (Fy (y x) (y' x)) x) :
∀ x ∈ Icc a b, Fp (y x) (y' x) (y' x) - F (y x) (y' x) =
Fp (y a) (y' a) (y' a) - F (y a) (y' a) := by sorry
end GelfandFominRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Statement. Let be a real normed vector space (any dimension; completeness not assumed), with its continuous dual (operator norm) and carrying the product (max) norm. Let and be functions, functions (the primes are only names), and . Assume:
- (differentiability of ) for every , the map is Fréchet differentiable at with derivative
- for every , is differentiable at with derivative ;
- for every , is differentiable at with derivative ;
- (Euler equation on ) for every , the -valued function is differentiable at (in the operator norm of ) with derivative .
Then for every ,
i.e. the quantity (functional applied to the vector , minus ) is constant on .
has no explicit dependence on the independent variable. Derivatives are two-sided on , including at the endpoints. If the statement is vacuous; if all quantities are .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.