Analytical mechanics · PhysLib theorem
The Variational Gradient Is the Euler–Lagrange Operator
For a smooth trajectory in a complete real inner-product space and a jointly smooth Lagrangian, PhysLib's integrand-based variational-gradient construction equals the Euler–Lagrange operator pointwise.
What it says
What the theorem says
For smooth data on a complete real inner-product space, PhysLib proves that its integrand-based variational-gradient construction equals the Euler–Lagrange operator pointwise. It does not construct an integrated action or state a boundary-value or stationary-action equivalence theorem.
Context
Why it matters
The Euler–Lagrange equation is the central bridge from an action principle to equations of motion, and this PhysLib theorem exposes the variational-gradient machinery behind that bridge.
Inside the proof
Proof architecture
PhysLib applies its variational-gradient API to the integrand-valued map built from a trajectory and its derivative, then identifies the result with the position term minus the time derivative of the velocity term. No integral-existence or endpoint theorem is claimed.
Step 1
Package the path and its velocity in the integrand
The formal object is the integrand-valued map F sending a path q′ to the Lagrangian evaluated on q′ and its Fréchet time derivative; an integrated action is motivation only.
F(q′)(t) = L(t, q′(t), Dq′(t)[1])
Show the Lean ingredients
eulerLagrangeOpfderiv ℝ q' t 1HasVarAdjDerivAt.compStep 2
Differentiate the two path channels
Product and derivative rules propagate a path variation through the position component and the time-derivative component of the Lagrangian.
δq ↦ (δq, d(δq)/dt)
Show the Lean ingredients
HasVarAdjDerivAt.prodHasVarAdjDerivAt.idHasVarAdjDerivAt.fderivStep 3
Reassemble the Euler–Lagrange operator
Adjoint Fréchet derivatives become gradients, and the two contributions combine as the position gradient minus the time derivative of the velocity gradient.
varGradient F q = eulerLagrangeOp L q
Show the Lean ingredients
HasVarGradientAt.varGradientgradient_eq_adjFDerivadjFDeriv_uncurryAuthoritative formal type
Exact PhysLib statement
ClassicalMechanics.euler_lagrange_varGradient : ∀ {X : Type} [inst : NormedAddCommGroup X] [inst_1 : InnerProductSpace ℝ X] [inst_2 : CompleteSpace X] (L : Time → X → X → ℝ) (q : Time → X), ContDiff ℝ (↑⊤) q → ContDiff ℝ ↑⊤ ↿L → varGradient (fun q' t => L t (q' t) ((fderiv ℝ q' t) 1)) q = ClassicalMechanics.eulerLagrangeOp L qThis is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.
Recorded connections
How this result fits
A one-step view of the published results directly connected to this page.
1 direct connection
- Related resultThe Variational Gradient Is the Euler–Lagrange Operatoris related toVelocity-Only Total Derivatives Are Linear
Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.
Open this result in the full theorem map1 direct connectionProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
ClassicalMechanics.euler_lagrange_varGradientPhyslib.ClassicalMechanics.EulerLagrange6bd0b4b99d3dsorryAx reportedThe declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.



