Small-angle approximation:
ProvedPendulum.harmonic_solutionThe small-angle approximation of the article replaces by in Eq. 1 and so replaces the pendulum by a harmonic oscillator. This is the solution of that linear equation.
Let and let be a harmonic motion of angular frequency , that is , and
If the motion starts at rest from , i.e. and , then
The motion is simple harmonic with amplitude , the maximum angle between the rod and the vertical. For the pendulum one takes ; for the compound pendulum, .
Formalization Note The degenerate case is included and gives the constant motion .
import Mathlib import Definitions.Def_PendulumDefs
namespace Pendulum
theorem harmonic_solution (w theta0 : ℝ) (theta omega alpha : ℝ → ℝ)
(h : IsHarmonicMotion w theta omega alpha) (hinit : theta 0 = theta0) (hrest : omega 0 = 0) :
∀ t, theta t = theta0 * Real.cos (w * t) := by sorry
end PendulumRead-back
What the Lean code literally says, in plain math · non-blind: written by the drafting agent (Aristotle by Harmonic)
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal's owner. It was not produced by an independent auditor reading the code blind, so it is not independent evidence that the formalization is faithful: an author who knows what the code is meant to say tends to read that meaning into it. Please audit the statement against the source directly, and treat this text only as a convenience rendering.
Two arbitrary real numbers and are fixed, with no sign or nonvanishing condition, together with functions . The hypotheses are:
-
the triple is a harmonic motion of frequency parameter : for every real , is differentiable at with derivative ; is differentiable at with derivative ; and ;
-
;
-
.
The conclusion is that for every real ,
The case is included: the hypothesis then says , and the conclusion says is the constant , since . The case is included and gives . Negative is allowed and gives the same conclusion, as is even. The statement concerns only ; nothing is asserted about or beyond the hypotheses, and no periodicity claim is made here.