Eq. 2:
ProvedPendulum.sq_angularVelocity_eqThis is Eq. 2 of the article, the first integral of motion.
Let , let be a motion of the pendulum, and suppose the pendulum is released from rest at the angle :
Then at every time ,
The identity expresses the angular velocity in terms of the angle alone, the integration constant being fixed by the initial displacement ; differentiating it returns Eq. 1. In the article it is the starting point of the computation of the period for an arbitrary amplitude: one inverts it to express in terms of and integrates over a quarter cycle.
Formalization Note The statement is the squared form, so it carries no choice of sign for ; the sign is recovered from the direction of travel where it is needed.
import Mathlib import Definitions.Def_PendulumDefs
namespace Pendulum
theorem sq_angularVelocity_eq (g l theta0 : ℝ) (theta omega alpha : ℝ → ℝ)
(h : IsMotion g l theta omega alpha) (hinit : theta 0 = theta0) (hrest : omega 0 = 0)
(t : ℝ) :
omega t ^ 2 = 2 * (g / l) * (Real.cos (theta t) - Real.cos theta0) := 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.
Three arbitrary real numbers are fixed, with no sign conditions, together with functions and a real time . The hypotheses are:
-
is a motion for the parameters : everywhere , , and for every real ;
-
;
-
.
The conclusion is the single equation
for the given ; as is universally quantified, it holds at every real time. Note that the right-hand side is times the difference of cosines, so for negative the claim forces instead of the reverse. The left side is a square, so the statement also implies, for positive , that along the motion, but that consequence is not stated separately. The angle is not restricted to any interval; it is merely a name for . Nothing is asserted about the sign of .