Contribute
Find a Task
Find GitHub issues, unfinished work marked in Lean files, and tasks for documentation and API maps. Connect an AI assistant or get the task list as JSON.
If you are new, start with Getting Started and the GitHub Guide, or ask on Zulip ↗.
Browse tasks
Informal results in the Lean files that still need a formal statement or proof, and TODO notes.
1 task
- Physlib.ClassicalMechanics.Pendulum.SimplePendulum.PeriodFormula
Prove that `periodFormula θ₀` is the period of the motion of the simple pendulum released from rest at the amplitude `θ₀`, for `0 < θ₀ < π`. Milestones 1–2 — the uniqueness of the smooth solutions of the equation of motion with given initial data, and the time-reversal symmetry of the equation of motion, so that the motion released from rest is even in time and its period is four times the time of descent to the bottom — are formalized in a companion module, `SimplePendulum/Solution.lean` (`SimplePendulum.equationOfMotion_unique`, `SimplePendulum.releasedFromRest_even`). The pointwise half of milestone 4, the energy first integral `θ̇² = (2g/ℓ)(cos θ - cos θ₀)`, is formalized in a further companion module, `SimplePendulum/ReleasedFromRest.lean` (`SimplePendulum.sq_deriv_eq_of_isSolution_of_deriv_zero'`); remaining: (3) the quarter period as the first hitting time of `θ = 0` by the motion released from rest, which needs the monotonicity of the descent from `θ₀` to `0` — not yet formalized — as an input; (4) turning the pointwise energy first integral above into the quarter period as a definite integral, `√(ℓ/(2g)) ∫ θ in 0..θ₀, (cos θ - cos θ₀)^(-1/2)`, by a change of variables from time to the angle along the (monotonic) descent; (5) the substitution `sin (θ/2) = sin (θ₀/2) sin φ`, which transforms that integral into `√(ℓ/g) completeEllipticK (sin² (θ₀/2))`, including the justification that the resulting improper integral, singular at `θ = θ₀`, converges; (6) the assembly of (1)–(5) into the theorem that the motion released from rest at `θ₀` is periodic with period `periodFormula θ₀`, which needs the motion to be defined for all time — only local existence (`SimplePendulum.exists_local_solution`) is formalized so far.