Total Time Derivative var Gradient equivalenvce
ClassicalMechanics.Lagrangian.totalTimeDerivative_varGradient_equivalenvce
Project documentation
If two lagrangians, L and L', differ by a total time derivative, and L has a variational derivative grad, then so does L'. -/ lemma totalTimeDerivative_hasVarGradientAt_equivalence [CompleteSpace X] (L δL : Time → X → X → ℝ) (hδL : IsTotalTimeDerivative δL) (q : Time → X) (hq : ContDiff ℝ ∞ q) (grad : Time → X) (hgrad : HasVarGradientAt (fun q' t => L t (...
Exact Lean statement
lemma totalTimeDerivative_varGradient_equivalenvce [CompleteSpace X] (L L' : Time → X → X → ℝ)
(htot : IsTotalTimeDerivative (L' - L))
(q : Time → X) (hq : ContDiff ℝ ∞ q):
(δ (q':=q), ∫ t, L' t (q' t) (fderiv ℝ q' t 1)) =
(δ (q':=q), ∫ t, L t (q' t) (fderiv ℝ q' t 1))Formal artifact
Lean source
lemma totalTimeDerivative_varGradient_equivalenvce [CompleteSpace X] (L L' : Time → X → X → ℝ) (htot : IsTotalTimeDerivative (L' - L)) (q : Time → X) (hq : ContDiff ℝ ∞ q): (δ (q':=q), ∫ t, L' t (q' t) (fderiv ℝ q' t 1)) = (δ (q':=q), ∫ t, L t (q' t) (fderiv ℝ q' t 1)) := by let δL := (fun t q v => L' t q v - L t q v) by_cases hL : ∃ grad, HasVarGradientAt (fun q' t => L t (q' t) (fderiv ℝ q' t 1)) grad q · apply HasVarGradientAt.varGradient have h_triv : L' = L + (L' - L) := by module rw [h_triv] apply totalTimeDerivative_hasVarGradientAt_equivalence · exact htot · exact hq · rcases hL with ⟨grad, hgrad⟩ rw [ HasVarGradientAt.varGradient (fun q' t => L t (q' t) (fderiv ℝ q' t 1)) grad q hgrad] exact hgrad · by_cases hL' : ∃ grad, HasVarGradientAt (fun q' t => L' t (q' t) (fderiv ℝ q' t 1)) grad q · apply Eq.symm apply HasVarGradientAt.varGradient have h_triv : L = L' +(-(L' - L)) := by module rw [h_triv] apply totalTimeDerivative_hasVarGradientAt_equivalence · apply isTotalTimeDerivative_neg exact htot · exact hq · rcases hL' with ⟨grad, hgrad⟩ rw [HasVarGradientAt.varGradient (fun q' t => L' t (q' t) (fderiv ℝ q' t 1)) grad q hgrad] exact hgrad · unfold varGradient simp only [hL, hL', ↓reduceDIte]- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/ClassicalMechanics/Lagrangian/TotalDerivativeEquivalence.lean:297-326
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
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.
Source project: Physlib
Person-level attribution pending.
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.
Source project: Physlib
Person-level attribution pending.
Deriv Within mean Energy Beta eq neg variance
CanonicalEnsemble.derivWithin_meanEnergy_Beta_eq_neg_variance
Plain-language statement
(∂U/∂β) = -Var(E) for finite systems.
Source project: Physlib
Person-level attribution pending.