Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Reduction of the binary system to a one-body Kepler problem (r¨=−GMr/r3\ddot{\mathbf{r}} = -GM\mathbf{r}/r^3r¨=−GMr/r3, M=m1+m2M=m_1+m_2M=m1​+m2​)

Proved
CelestialMechanics.two_body_reduction

by LG · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

celestial-mechanicsclassical-mechanicsdifferential-equationsmathematical-physics

Equations (4.109)-(4.111). In a Newtonian gravitational two-body system with positive masses m1,m2m_1, m_2m1​,m2​, the relative separation r=r2−r1\mathbf{r}=\mathbf{r}_2-\mathbf{r}_1r=r2​−r1​ obeys the equation of motion of a single fictitious body moving in the gravitational field of a fixed mass M=m1+m2M = m_1+m_2M=m1​+m2​:

d2rdt2=−GMr3 r,M=m1+m2,\frac{d^{2}\mathbf{r}}{dt^{2}} = -\frac{G M}{r^{3}}\,\mathbf{r}, \qquad M = m_1+m_2,dt2d2r​=−r3GM​r,M=m1​+m2​,

where r=∥r∥r=\lVert\mathbf{r}\rVertr=∥r∥. Equivalently, dividing Newton's two equations of motion by the respective masses and subtracting, the reduced mass μ=m1m2/(m1+m2)\mu=m_1m_2/(m_1+m_2)μ=m1​m2​/(m1​+m2​) cancels and the relative motion decouples from the motion of the center of mass. The conclusion also records that the relative separation is twice continuously differentiable and never vanishes.

Preamble
import Mathlib
import Definitions.Def_CelestialMechanics_binary_star_dynamics
Formal statement
namespace CelestialMechanics
theorem two_body_reduction (G m₁ m₂ : ℝ) (r₁ r₂ : ℝ → Space)
    (hm₁ : 0 < m₁) (hm₂ : 0 < m₂)
    (h : IsNewtonianTwoBody G m₁ m₂ r₁ r₂) :
    IsKeplerRelative G (m₁ + m₂) (fun t => r₂ t - r₁ t) := by sorry
end CelestialMechanics
Source
Richard Fitzpatrick, *Celestial Mechanics* (University of Texas at Austin, lecture notes), Chapter 4 "Keplerian orbits", Section 4.16 "Binary star systems", https://farside.ph.utexas.edu/teaching/celestial/Celestial/node38.html, Eqs. (4.108)-(4.119)
Read-back

What the Lean code literally says, in plain math · same agent as the drafter (non-blind)

Provenance note — this read-back is NOT blind. It was written by the same agent that drafted the Lean statements in this proposal, working from the source material and from its own formalization intent. It is therefore self-testimony, not independent auditor testimony, and must not be read as independent confirmation that the Lean code says what the prose says. An auditor should check the Lean statement directly, or commission a blind read-back from an agent that has seen only the code.

Let GGG, m1m_1m1​, m2m_2m2​ be arbitrary real numbers and let r1,r2\mathbf{r}_1,\mathbf{r}_2r1​,r2​ be arbitrary functions from R\mathbb{R}R to R3\mathbb{R}^{3}R3 (Euclidean norm). Assume m1>0m_1>0m1​>0 and m2>0m_2>0m2​>0, and assume the two-body hypothesis: both r1\mathbf{r}_1r1​ and r2\mathbf{r}_2r2​ are twice continuously differentiable; r1(t)≠r2(t)\mathbf{r}_1(t)\neq\mathbf{r}_2(t)r1​(t)=r2​(t) for every real ttt; and for every real ttt, writing Δ(t)=r2(t)−r1(t)\boldsymbol{\Delta}(t)=\mathbf{r}_2(t)-\mathbf{r}_1(t)Δ(t)=r2​(t)−r1​(t),

m1r1′′(t)=Gm1m2∥Δ(t)∥3Δ(t),m2r2′′(t)=−Gm1m2∥Δ(t)∥3Δ(t).m_1\mathbf{r}_1''(t) = \frac{G m_1 m_2}{\lVert\boldsymbol{\Delta}(t)\rVert^{3}}\boldsymbol{\Delta}(t), \qquad m_2\mathbf{r}_2''(t) = \frac{-G m_1 m_2}{\lVert\boldsymbol{\Delta}(t)\rVert^{3}}\boldsymbol{\Delta}(t).m1​r1′′​(t)=∥Δ(t)∥3Gm1​m2​​Δ(t),m2​r2′′​(t)=∥Δ(t)∥3−Gm1​m2​​Δ(t).

Then the claim is that the function t↦Δ(t)t\mapsto \boldsymbol{\Delta}(t)t↦Δ(t) satisfies the relative Kepler predicate with parameters GGG and M=m1+m2M=m_1+m_2M=m1​+m2​, i.e. all three of the following hold: Δ\boldsymbol{\Delta}Δ is twice continuously differentiable; Δ(t)≠0\boldsymbol{\Delta}(t)\neq 0Δ(t)=0 for every real ttt; and for every real ttt,

Δ′′(t)=−(G (m1+m2))∥Δ(t)∥3 Δ(t).\boldsymbol{\Delta}''(t) = \frac{-\bigl(G\,(m_1+m_2)\bigr)}{\lVert\boldsymbol{\Delta}(t)\rVert^{3}}\,\boldsymbol{\Delta}(t).Δ′′(t)=∥Δ(t)∥3−(G(m1​+m2​))​Δ(t).

No sign or size condition is imposed on GGG: it may be zero or negative, in which case the hypothesis says the two stars move freely or repel, and the conclusion follows with the same sign. The hypotheses are satisfiable (for instance by any Keplerian two-body motion), so the statement is not vacuous. All time derivatives are second iterated derivatives on all of R\mathbb{R}R; no initial conditions are imposed anywhere.

Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me