Conservation of energy: is constant
ProvedPendulum.energy_constantMechanical energy is conserved along every motion of the simple pendulum.
Let and let be a motion of the pendulum, so that , and everywhere. Define the energy per unit of by
Then for every ,
The first term is the kinetic energy of the bob and the second its gravitational potential energy, both divided by ; the statement is the "energy" derivation of Eq. 1 of the article, read in the direction that the later sections use. Its immediate consequence is the first integral of motion (Eq. 2), and through that the quarter-period integral and the closed form of the period.
import Mathlib import Definitions.Def_PendulumDefs
namespace Pendulum
theorem energy_constant (g l : ℝ) (theta omega alpha : ℝ → ℝ)
(h : IsMotion g l theta omega alpha) (t : ℝ) :
energy g l theta omega t = energy g l theta omega 0 := 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 are fixed, with no positivity assumption, together with three functions and a real time . The single hypothesis is that the triple is a motion for these parameters: for every real , is differentiable at with derivative ; is differentiable at with derivative ; and .
The conclusion is the equation
that is, the value at the given time of the quantity named energy equals its value at time
. Since is universally quantified, the assertion is that this quantity is constant in time
along the motion. Degenerate parameters are included: for the ratio is and
the claim reduces to constancy of . No claim is made that the constant is nonzero, and
nothing is asserted about the sign of the energy.