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.

Provided by PhysLibLean checkedMeaning reviewed

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_zero

Step 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_val

Step 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_pi

Authoritative 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.

Current resultPeriodicity of the Classical Harmonic Oscillator
1 direct connection

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 connection

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationClassicalMechanics.HarmonicOscillator.trajectory_periodic
Source modulePhyslib.ClassicalMechanics.HarmonicOscillator.Solution
Source footprint7 nonempty lines in this declaration · 703 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomsClassical.choice, Quot.sound, propext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The 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.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab