All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Trajectory velocity eq zero iff norm eq amplitude

ClassicalMechanics.HarmonicOscillator.InitialConditions.trajectory_velocity_eq_zero_iff_norm_eq_amplitude

Plain-language statement

The velocity vanishes exactly when the trajectory has norm equal to the amplitude.

Exact Lean statement

lemma trajectory_velocity_eq_zero_iff_norm_eq_amplitude (IC : InitialConditions)
    (t : Time) :
    ∂ₜ (IC.trajectory S) t = 0 ↔
      ‖IC.trajectory S t‖ = (AmplitudePhase.fromInitialConditions S IC).A

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma trajectory_velocity_eq_zero_iff_norm_eq_amplitude (IC : InitialConditions)    (t : Time) :    ∂ₜ (IC.trajectory S) t = 0 IC.trajectory S t‖ = (AmplitudePhase.fromInitialConditions S IC).A := by  by_cases hA : (AmplitudePhase.fromInitialConditions S IC).A = 0  · rw [trajectory_velocity_eq_sin, trajectory_eq_cos]    simp [hA]  rw [trajectory_velocity_eq_zero_iff_sin_eq_zero S IC hA t, trajectory_eq_cos]  set A := (AmplitudePhase.fromInitialConditions S IC).A  set θ := S.ω * t.val - (AmplitudePhase.fromInitialConditions S IC).φ  show sin θ = 0 EuclideanSpace.single 0 (A * cos θ)‖ = A  have hA' : A  0 := by simpa [A] using hA  have hA_nonneg : 0  A := norm_nonneg (IC.x0, IC.v0 / S.ω : ℂ)  have hA_pos : 0 < A := lt_of_le_of_ne hA_nonneg (Ne.symm hA')  constructor  · intro hsin    rcases Real.sin_eq_zero_iff_cos_eq.mp hsin with hcos | hcos <;>      simp [hcos, abs_of_pos hA_pos]  · intro hnorm    have hnorm' : |A * cos θ| = A := by      simpa using hnorm    have hcos_abs : |cos θ| = 1 := by      rw [abs_mul, abs_of_pos hA_pos] at hnorm'      exact mul_left_cancel₀ hA' (hnorm'.trans (mul_one A).symm)    obtain n, hn := Real.abs_cos_eq_one_iff.mp hcos_abs    exact Real.sin_eq_zero_iff.mpr n, hn
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/ClassicalMechanics/HarmonicOscillator/Solution.lean:971-996

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