All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Gradient hamiltonian position eq

ClassicalMechanics.HarmonicOscillator.gradient_hamiltonian_position_eq

Project documentation

The hamiltonian as a function of time, momentum and position. -/ noncomputable def hamiltonian (t : Time) (p : EuclideanSpace ℝ (Fin 1)) (x : EuclideanSpace ℝ (Fin 1)) : ℝ := ⟪p, (toCanonicalMomentum S t x).symm p⟫_ℝ - S.lagrangian t x ((toCanonicalMomentum S t x).symm p) /-! #### G.2.1. Equality for the Hamiltonian We prove a simple equality for the Hami...

Exact Lean statement

lemma gradient_hamiltonian_position_eq (t : Time) (x : EuclideanSpace ℝ (Fin 1))
    (p : EuclideanSpace ℝ (Fin 1)) :
    gradient (hamiltonian S t p) x = S.k • x

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma gradient_hamiltonian_position_eq (t : Time) (x : EuclideanSpace  (Fin 1))    (p : EuclideanSpace  (Fin 1)) :    gradient (hamiltonian S t p) x = S.k • x := by  have h_eq : (fun y : EuclideanSpace  (Fin 1) => hamiltonian S t p y) =      fun y => ((1 / (2 : )) * S.k) * ⟪y, y⟫_ +        ((1 / (2 : )) * (1 / S.m) * ⟪p, p⟫_) := by    funext y    simp only [hamiltonian_eq]    ring  change gradient (fun y : EuclideanSpace  (Fin 1) => hamiltonian S t p y) x = S.k • x  rw [h_eq, gradient_add_const', gradient_const_mul_inner_self]  module
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/ClassicalMechanics/HarmonicOscillator/Basic.lean:672-683

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