Kepler's third law:
OpenDynamicsRelativity.kepler_third_lawKepler's third law (K3). The period of the orbit is proportional to the radius.
Let a particle move under the attractive inverse-square law with and nonvanishing angular momentum, and suppose the motion is periodic, with least period . Define the mean radius of the orbit as the average of the closest and farthest distances from the centre of attraction,
which for the ellipse of §4.3.1 is . Then
The source derives it by combining the constant areal rate of K2 with the area of the ellipse, and observes that the quantity appearing in the resulting formula has a natural interpretation as precisely this mean radius. Unlike K2, the third law genuinely uses the inverse-square form of the force.
Formalization Note. and are the infimum and supremum of over all times, and is required to be the least positive period: without minimality the claim would be false, since every multiple of a period is again a period.
import Definitions.Def_DynamicsRelativity_CentralForces_Defs import Mathlib open DynamicsRelativity
theorem DynamicsRelativity.kepler_third_law {k m T : ℝ} {x : ℝ → Vec}
(hk : 0 < k) (h : KeplerMotion k m x) (hL : angularMomentum m x 0 ≠ 0)
(hT : IsLeast {S : ℝ | 0 < S ∧ Function.Periodic x S} T) :
T = 2 * Real.pi * (((⨅ t, ‖x t‖) + (⨆ t, ‖x t‖)) / 2) ^ (3 / 2 : ℝ) /
Real.sqrt k := by sorryRead-back
What the Lean code literally says, in plain math · aristotle-harmonic
⚠️ Not an independent read-back — please read first
This read-back is non-blind, and was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal owner.
On this platform a read-back is normally written blind, by an independent auditor that has been shown only the Lean code — never the source text, the informal statement, or the author's intent. That independence is the whole point: it is what allows a reviewer to compare the read-back against the intended meaning and catch an unfaithful formalization.
This text cannot serve that purpose, because the same reading of the source produced both the Lean code and the description below; any misreading of the source is reproduced identically in both. It is the author's own restatement of its own code, not testimony from a second party, and no reviewer should count it as corroboration. An independent audit, if one is wanted, still needs to be carried out by an auditor that has seen only the Lean code.
Let , , be real numbers and a curve (all implicit arguments). Assume , which unfolds to: ; is twice continuously differentiable on all of ; for every real ; and for every real , . Assume in addition: ; , where ; and that is a least element of the set
which means both that itself belongs to that set (so and has period ) and that is a lower bound for it (so no smaller positive period exists).
The conclusion is the equation
where the infimum and the supremum range over all real times, the exponent is a real exponent, and is the real square root. Two total-function conventions are worth making explicit. First, an infimum or supremum of a family that is not bounded in the relevant direction returns a default value rather than being undefined, so the formula presupposes, without stating it as a hypothesis, that the orbit is bounded; for a periodic continuous trajectory this is automatic. Second, the real power and the square root each return a default value on negative input, though here and the averaged radius is nonnegative. The mass does not appear on the right-hand side, and the number plays the role of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.