All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Is Total Time Derivative Velocity

ClassicalMechanics.Lagrangian.isTotalTimeDerivativeVelocity

Plain-language statement

A velocity-only function that is a total time derivative must be linear in velocity. If δL depends only on velocity and equals d/dt F(t, q) for some F, then δL(dₜ q) = ⟨g, dₜ q⟩ for some constant vector g. This characterization comes from the requirement that: - d/dt F(t, q) = ∂F/∂t + ⟨∇F, dₜ q⟩ = ∂F/∂t + ⟨∇F, dₜ q⟩ - For the result to be independent of q...

Exact Lean statement

lemma isTotalTimeDerivativeVelocity  [CompleteSpace X]
    (δL : X → ℝ)
    (hδL0 : δL 0 = 0)
    (h : IsTotalTimeDerivative (fun _ _ v => δL v)) :
    ∃ g : X, ∀ v, δL v = ⟪g, v⟫_ℝ

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma isTotalTimeDerivativeVelocity  [CompleteSpace X]    (δL : X  )    (hδL0 : δL 0 = 0)    (h : IsTotalTimeDerivative (fun _ _ v => δL v)) :     g : X,  v, δL v = ⟪g, v⟫_ := by  classical  rcases (isTotalTimeDerivative_explicit.mp h) with F, hFdiff, hEq   -- Derivative of F at (0,0)  let dF : (Time  × X) L[]  :=    fderiv  ↿F ((0 : Time), (0 : X))   -- The "time-direction" derivative must vanish because δL 0 = 0.  have h_time : dF ((1 : Time), (0 : X)) = 0 := by    have h0 :        δL (0 : X) =          fderiv  ↿F ((0 : Time), (0 : X))            ((1 : Time), (0 : X)) := by      simpa using (hEq (0 : Time) (0 : X)        (0 : X))    have : dF ((1 : Time), (0 : X)) =        δL (0 : X) := by      simpa [dF] using h0.symm    simpa [hδL0] using this   -- Induced continuous linear functional on velocity: v ↦ dF (0,v).  let φ : X L[]  :=    dF.comp (ContinuousLinearMap.inr  Time X)   -- Show δL v = φ v for all v.  have hφ :  v : X, δL v = φ v := by    intro v    have hv :        δL v =          fderiv  ↿F ((0 : Time), (0 : X))            ((1 : Time), v) := by      simpa using (hEq (0 : Time) (0 : X) v)    have hv' : δL v = dF ((1 : Time), v) := by      simpa [dF] using hv    calc      δL v = dF ((1 : Time), v) := hv'     _ = dF (((0  : Time), v) + ((1 : Time), (0 : X))) := by simp only [Prod.mk_add_mk, zero_add,        add_zero]      _ = dF ((0 : Time), v) + dF ((1 : Time), (0 : X)) := by        simpa using          (dF.map_add ((0 : Time), v) ((1 : Time), (0 : X)))      _ = dF ((0 : Time), v) := by        simp [h_time]      _ = φ v := by        simp [φ]   -- Frechet–Riesz: represent φ as inner product with some g.  refine (InnerProductSpace.toDual  (X)).symm φ, ?_  intro v  have hinner :      ⟪(InnerProductSpace.toDual  (X)).symm φ, v⟫_ = φ v := by    rw [InnerProductSpace.toDual_symm_apply (𝕜 := )        (E := X) (x := v) (y := φ)]  calc    δL v = φ v := hφ v    _ = ⟪(InnerProductSpace.toDual  (X)).symm φ, v⟫_ := by      rw [hinner.symm]
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/ClassicalMechanics/Lagrangian/TotalDerivativeEquivalence.lean:389-450

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record