All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Trajectory velocity

ClassicalMechanics.HarmonicOscillator.InitialConditions.trajectory_velocity

Project documentation

For zero initial conditions, the trajectory is zero. -/ @[simp] lemma trajectory_zero : trajectory S 0 = fun _ => 0 := by simp [trajectory_eq] /-! ### B.3. Smoothness of the trajectories The trajectories for any initial conditions are smooth functions of time. -/ @[fun_prop] lemma trajectory_contDiff (S : HarmonicOscillator) (IC : InitialConditions) {n :...

Exact Lean statement

lemma trajectory_velocity (IC : InitialConditions) : ∂ₜ (IC.trajectory S) =
    fun t : Time => - S.ω • sin (S.ω * t.val) • IC.x₀ + cos (S.ω * t.val) • IC.v₀

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma trajectory_velocity (IC : InitialConditions) : ∂ₜ (IC.trajectory S) =    fun t : Time => - S.ω • sin (S.ω * t.val) • IC.x+ cos (S.ω * t.val) • IC.v:= by  funext t  rw [trajectory_eq, Time.deriv, fderiv_fun_add (by fun_prop) (by fun_prop)]  rw [fderiv_smul_const (by fun_prop), fderiv_smul_const (by fun_prop)]  have h1 : (fderiv  (fun t => sin (S.ω * t.val) / S.ω) t) =    (1/ S.ω) • (fderiv  (fun t => sin (S.ω * t.val)) t) := by    rw [ fderiv_mul_const]    congr    funext t    field_simp    fun_prop  simp [h1]  rw [fderiv_cos (by fun_prop), fderiv_sin (by fun_prop),    fderiv_fun_mul (by fun_prop) (by fun_prop)]  simp only [fderiv_fun_const, Pi.zero_apply, smul_zero, add_zero, neg_smul,    _root_.neg_apply, FunLike.coe_smul, Pi.smul_apply, fderiv_val,    smul_eq_mul, mul_one]  field_simp [S.ω_ne_zero]  module
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/ClassicalMechanics/HarmonicOscillator/Solution.lean:415-434

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