Eq. 3:
ProvedPendulum.quarterPeriod_eq_ellipticKThis is the analytic heart of the article's arbitrary-amplitude period computation, its Eq. 3.
Let . Then
Inverting Eq. 2 and integrating over a quarter cycle expresses the quarter period of the pendulum as the integral on the left, multiplied by ; the identity above converts it into the complete elliptic integral of the first kind, which is how the closed form arises.
The integral on the left is improper: the integrand blows up like at the upper endpoint. The singularity is integrable precisely because ; as the article notes, at it ceases to be integrable, which is the analytic form of the statement that a pendulum with exactly enough energy to reach the vertical takes infinitely long to get there.
Formalization Note The left-hand side is an interval integral of a function that is defined, but unbounded, on the open interval; part of the content of the statement is that this integral converges to the stated value.
import Mathlib import Definitions.Def_PendulumDefs
namespace Pendulum
theorem quarterPeriod_eq_ellipticK (theta0 : ℝ) (hpos : 0 < theta0) (hlt : theta0 < Real.pi) :
(∫ x in (0 : ℝ)..theta0, (Real.sqrt (Real.cos x - Real.cos theta0))⁻¹)
= Real.sqrt 2 * ellipticK (Real.sin (theta0 / 2)) := 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.
One real number is given, subject to the two hypotheses and . The claim is the equality of two real numbers.
The left-hand side is the interval integral, with respect to Lebesgue measure on the oriented interval from to , of the function
where the square root is the real square root and the inverse is the real inverse with the convention . At the endpoint the radicand is and the integrand takes the value by that convention; on the open interval the radicand is positive and the integrand is unbounded near the right endpoint.
The right-hand side is times the quantity , where is the declaration defined as the interval integral
with the same conventions, evaluated at the modulus , which lies strictly between and under the hypotheses.
Because an interval integral of a non-integrable function evaluates to by convention, the equality asserts in particular that these two integrals have the same value; it does not by itself name either of them as convergent, though the asserted common value is nonzero. The endpoints and are excluded by hypothesis, as are negative amplitudes.