Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (4.118)-(4.119): r1=−m2m1+m2r\mathbf{r}_1 = -\frac{m_2}{m_1+m_2}\mathbf{r}r1​=−m1​+m2​m2​​r, r2=m1m1+m2r\mathbf{r}_2 = \frac{m_1}{m_1+m_2}\mathbf{r}r2​=m1​+m2​m1​​r

Proved
CelestialMechanics.comFrame_positions

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

celestial-mechanicsclassical-mechanicsdifferential-equationsmathematical-physics

Equations (4.118)-(4.119). Work in the inertial frame whose origin is the common center of mass, i.e. assume m1r1(t)+m2r2(t)=0m_1\mathbf{r}_1(t)+m_2\mathbf{r}_2(t)=\mathbf{0}m1​r1​(t)+m2​r2​(t)=0 at all times. Then the individual positions of the two stars are determined by the relative separation r=r2−r1\mathbf{r}=\mathbf{r}_2-\mathbf{r}_1r=r2​−r1​:

r1=−m2m1+m2 r,r2=m1m1+m2 r.\mathbf{r}_1 = -\frac{m_2}{m_1+m_2}\,\mathbf{r}, \qquad \mathbf{r}_2 = \frac{m_1}{m_1+m_2}\,\mathbf{r}.r1​=−m1​+m2​m2​​r,r2​=m1​+m2​m1​​r.

In particular each star traces a scaled copy of the relative orbit, and at every instant the two stars lie diametrically opposite one another with respect to the origin. This is pure kinematics: no dynamical assumption is used.

Preamble
import Mathlib
import Definitions.Def_CelestialMechanics_binary_star_dynamics
Formal statement
namespace CelestialMechanics
theorem comFrame_positions (m₁ m₂ : ℝ) (r₁ r₂ : ℝ → Space)
    (hm₁ : 0 < m₁) (hm₂ : 0 < m₂)
    (hcom : ∀ t, m₁ • r₁ t + m₂ • r₂ t = 0) :
    (∀ t, r₁ t = (-(m₂ / (m₁ + m₂))) • (r₂ t - r₁ t)) ∧
    (∀ t, r₂ t = (m₁ / (m₁ + m₂)) • (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 m1,m2m_1,m_2m1​,m2​ be real numbers with m1>0m_1>0m1​>0 and m2>0m_2>0m2​>0, and let r1,r2:R→R3\mathbf{r}_1,\mathbf{r}_2:\mathbb{R}\to\mathbb{R}^{3}r1​,r2​:R→R3 be arbitrary functions (no continuity or differentiability is assumed) such that for every real ttt

m1 r1(t)+m2 r2(t)=0.m_1\,\mathbf{r}_1(t) + m_2\,\mathbf{r}_2(t) = \mathbf{0}.m1​r1​(t)+m2​r2​(t)=0.

The conclusion is the conjunction of two statements, each quantified over all real ttt:

r1(t)=−m2m1+m2 (r2(t)−r1(t)),r2(t)=m1m1+m2 (r2(t)−r1(t)).\mathbf{r}_1(t) = -\frac{m_2}{m_1+m_2}\,\bigl(\mathbf{r}_2(t)-\mathbf{r}_1(t)\bigr), \qquad \mathbf{r}_2(t) = \frac{m_1}{m_1+m_2}\,\bigl(\mathbf{r}_2(t)-\mathbf{r}_1(t)\bigr).r1​(t)=−m1​+m2​m2​​(r2​(t)−r1​(t)),r2​(t)=m1​+m2​m1​​(r2​(t)−r1​(t)).

No dynamics, no gravitational constant and no orbit shape enter the statement; it is an identity of vectors in R3\mathbb{R}^{3}R3 following from the stated linear constraint. The hypothesis is satisfiable (e.g. by the identically zero trajectories, for which both conclusions read 0=0\mathbf{0}=\mathbf{0}0=0), so the claim is not vacuous, and it is asserted for every pair of trajectories meeting the constraint, degenerate ones included.

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