Classical mechanics · PhysLib theorem
Periodicity of the Classical Harmonic Oscillator
Every explicit PhysLib harmonic-oscillator trajectory generated from its initial-condition structure is periodic with PhysLib's defined period 2 pi divided by omega.
What it says
What the theorem says
PhysLib expands the time shift by its defined period and uses nonzero omega to show the phase increases by exactly 2π. Substitution into the explicit sine-cosine trajectory lets the standard periodicity identities return both position and velocity contributions unchanged.
Context
Why it matters
Exact return after 2π/ω is the defining temporal signature of the undamped harmonic oscillator and makes the frequency parameter physically interpretable.
Inside the proof
Proof architecture
PhysLib expands the time shift by its defined period and uses nonzero omega to show the phase increases by exactly 2π. Substitution into the explicit sine-cosine trajectory lets the standard periodicity identities return both position and velocity contributions unchanged.
Step 1
Shift by the defined period
Multiplying the shift t+2π/omega by omega gives the original phase plus one full 2π turn.
ω(t+2π/ω)=ωt+2π
Show the Lean ingredients
period_eqS.ω_ne_zeroStep 2
Open the explicit trajectory
PhysLib's explicit trajectory separates into a cosine term from initial position and a sine term from initial velocity.
x=x0 cos+v0/ω sin
Show the Lean ingredients
InitialConditions.trajectoryadd_valStep 3
Use sine and cosine periodicity
Both trigonometric components are unchanged after the 2π phase shift, so the complete vector trajectory repeats.
x(t+T)=x(t)
Show the Lean ingredients
cos_add_two_pisin_add_two_piAuthoritative formal type
Exact PhysLib statement
ClassicalMechanics.HarmonicOscillator.trajectory_periodic (S : ClassicalMechanics.HarmonicOscillator) (IC : ClassicalMechanics.HarmonicOscillator.InitialConditions) : Function.Periodic (ClassicalMechanics.HarmonicOscillator.InitialConditions.trajectory S IC) { val := S.period }This is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.
Recorded connections
How this result fits
A one-step view of the published results directly connected to this page.
1 direct connection
- Related resultThe Explicit Harmonic-Oscillator Trajectoryis related toPeriodicity of the Classical Harmonic Oscillator
Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.
Open this result in the full theorem map1 direct connectionProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
ClassicalMechanics.HarmonicOscillator.trajectory_periodicPhyslib.ClassicalMechanics.HarmonicOscillator.Solution6bd0b4b99d3dsorryAx reportedThe declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.



