Analytical mechanics · PhysLib theorem
Velocity-Only Total Derivatives Are Linear
Under its zero-at-zero hypothesis, PhysLib proves that a velocity-only Lagrangian term arising as a total time derivative is an inner product with one fixed vector.
What it says
What the theorem says
Evaluate the generating function's derivative at one base point, remove the time-direction contribution using δL(0)=0, and represent the remaining continuous linear functional by an inner product vector.
Context
Why it matters
Total-derivative equivalence is central to Lagrangian mechanics, and this theorem gives a concrete finite-dimensional characterization instead of only motivational prose.
Inside the proof
Proof architecture
The proof translates the total-time-derivative condition into a continuous linear functional and then uses finite-dimensional Hilbert-space duality.
Step 1
Evaluate one derivative
The witness F is differentiated at the origin, and the zero value of δL removes its pure time-direction component.
dF₍₀,₀₎(0,1)=0
Show the Lean ingredients
let dFhave h_timehδL0Step 2
Restrict to velocities
Composing the derivative with the spatial inclusion produces a continuous linear functional φ whose value equals δL on every velocity.
δL(v)=φ(v)
Show the Lean ingredients
let φhave hφContinuousLinearMap.inlStep 3
Represent the functional by a vector
The real inner-product duality map supplies a fixed vector g such that the functional, and therefore δL, is inner product with g.
δL(v)=⟨g,v⟩
Show the Lean ingredients
InnerProductSpace.toDualInnerProductSpace.toDual_symm_applyrefine ⟨Authoritative formal type
Exact PhysLib statement
ClassicalMechanics.Lagrangian.isTotalTimeDerivativeVelocity {n : ℕ} (δL : EuclideanSpace ℝ (Fin n) → ℝ) (hδL0 : δL 0 = 0) (h : ClassicalMechanics.Lagrangian.IsTotalTimeDerivative fun x v x_1 => δL v) : ∃ g, ∀ (v : EuclideanSpace ℝ (Fin n)), δL v = inner ℝ g vThis 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.Lagrangian.isTotalTimeDerivativeVelocityPhyslib.ClassicalMechanics.Lagrangian.TotalDerivativeEquivalence6bd0b4b99d3dsorryAx 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.



