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.

Provided by PhysLibLean checkedMeaning reviewed

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δL0

Step 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.inl

Step 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 v

This 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.

Current resultVelocity-Only Total Derivatives Are Linear
1 direct connection

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 connection

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationClassicalMechanics.Lagrangian.isTotalTimeDerivativeVelocity
Source modulePhyslib.ClassicalMechanics.Lagrangian.TotalDerivativeEquivalence
Source footprint57 nonempty lines in this declaration · 129 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomsClassical.choice, Quot.sound, propext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The 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.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab