Classical mechanics · PhysLib theorem

Uniqueness of Harmonic-Oscillator Motion

Any smooth PhysLib oscillator path satisfying the same equation of motion and the same initial position and velocity equals the explicit sine-and-cosine trajectory.

Provided by PhysLibLean checkedMeaning reviewed

What it says

What the theorem says

Subtract the explicit trajectory from an arbitrary solution, prove the difference obeys the homogeneous oscillator equation with zero initial data, and use conserved nonnegative energy to force the difference to vanish everywhere.

Context

Why it matters

This is a proof-rich uniqueness result that turns the explicit formula from one candidate solution into the only smooth solution with the prescribed initial data.

Inside the proof

Proof architecture

The proof avoids an abstract black-box uniqueness theorem and instead exploits the oscillator's own linear force law and positive conserved energy.

Step 1

Subtract the two motions

PhysLib converts both paths to Newton form and defines their difference, whose linear restoring force makes it another oscillator solution.

y(t)=x(t)−x_explicit(t)

Show the Lean ingredients
equationOfMotion_iff_newtons_2nd_lawset yhave hNewt_y

Step 2

Give the difference zero energy

Matching initial position and velocity make the difference data zero, and energy conservation propagates the zero energy value to every time.

E_y(0)=0 ⇒ E_y(t)=0

Show the Lean ingredients
have hy0have hyv0energy_conservation_of_equationOfMotion'

Step 3

Positivity forces equality

Nonnegative kinetic and potential terms can sum to zero only when the displacement of the difference path vanishes, so the original paths coincide.

T_y≥0, V_y≥0, T_y+V_y=0 ⇒ y=0

Show the Lean ingredients
have hk_nonneghave hp_nonneginner_self_eq_zerosub_eq_zero.mp

Authoritative formal type

Exact PhysLib statement

ClassicalMechanics.HarmonicOscillator.InitialConditions.trajectories_unique (S : ClassicalMechanics.HarmonicOscillator) (IC : ClassicalMechanics.HarmonicOscillator.InitialConditions) (x : Time → EuclideanSpace ℝ (Fin 1)) (hx : ContDiff ℝ (↑⊤) x) : S.EquationOfMotion x ∧ x 0 = IC.x₀ ∧ Time.deriv x 0 = IC.v₀ → x = ClassicalMechanics.HarmonicOscillator.InitialConditions.trajectory S IC

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 resultUniqueness of Harmonic-Oscillator Motion
2 direct connections

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 map2 direct connections

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationClassicalMechanics.HarmonicOscillator.InitialConditions.trajectories_unique
Source modulePhyslib.ClassicalMechanics.HarmonicOscillator.Solution
Source footprint151 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