Complete solution of a binary star system (Fitzpatrick, Sec. 4.16)
ProvedCelestialMechanics.binary_star_system_solutionThe binary star system, solved. Let , let the two stellar masses be positive, and prescribe orbital elements: a major radius and an eccentricity . Then there exists an actual motion of the binary system realizing these elements. Precisely, there are trajectories , polar functions and a time such that
- solve Newton's gravitational two-body equations (4.108) for the masses , never colliding;
- the origin is the common center of mass at all times, ;
- the relative separation is the Keplerian conic of Eqs. (4.112)-(4.115),
so that each star describes an ellipse of major radius and eccentricity relative to the other; 4. the individual positions are those of Eqs. (4.118)-(4.119), and , so the stars are diametrically opposite one another about the center of mass at every instant; 5. the motion is periodic with the Keplerian period of Eq. (4.116), : both and are -periodic.
This is the statement that Section 4.16 of Fitzpatrick's Celestial Mechanics establishes: the reduction to a one-body problem, the conic solution, the center-of-mass decomposition and the period law, assembled into a single existence-and-description theorem for the binary orbit.
import Mathlib import Definitions.Def_CelestialMechanics_binary_star_dynamics
namespace CelestialMechanics
theorem binary_star_system_solution (G m₁ m₂ a e : ℝ)
(hG : 0 < G) (hm₁ : 0 < m₁) (hm₂ : 0 < m₂)
(ha : 0 < a) (he0 : 0 ≤ e) (he1 : e < 1) :
∃ (r₁ r₂ : ℝ → Space) (rad th : ℝ → ℝ) (T : ℝ),
IsNewtonianTwoBody G m₁ m₂ r₁ r₂ ∧
(∀ t, m₁ • r₁ t + m₂ • r₂ t = 0) ∧
IsConicOrbit a e (Real.sqrt ((1 - e ^ 2) * G * (m₁ + m₂) * a)) rad th
(fun t => r₂ t - r₁ t) ∧
(∀ t, r₁ t = (-(m₂ / (m₁ + m₂))) • (r₂ t - r₁ t)) ∧
(∀ t, r₂ t = (m₁ / (m₁ + m₂)) • (r₂ t - r₁ t)) ∧
0 < T ∧ T = Real.sqrt (4 * Real.pi ^ 2 * a ^ 3 / (G * (m₁ + m₂))) ∧
(∀ t, r₁ (t + T) = r₁ t) ∧ (∀ t, r₂ (t + T) = r₂ t) := by sorry
end CelestialMechanicsRead-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 be real numbers with , , , , and . The statement asserts the existence of functions (Euclidean norm), functions , and a real number such that all of the following hold simultaneously.
(i) Two-body dynamics. and are twice continuously differentiable, for every , and for every , with ,
(ii) Center of mass at the origin. for every .
(iii) Conic relative orbit. With (principal square root; the argument is positive here), is differentiable on , and for every :
and the Cartesian components of are , and .
(iv) Individual positions. For every , and .
(v) Period. , , and both trajectories are -periodic: and for every real .
Several points are worth making explicit. The claim is existential in the trajectories, the polar functions and : it asserts that some motion with the prescribed and exists, not that every solution has this form, and no initial condition is prescribed. Time ranges over all of , so the solution must be global in both time directions. The eccentricity may be (circular orbit), and excludes parabolic and hyperbolic motion. The value of is not existentially quantified but pinned to the displayed expression in the elements , and likewise is pinned to the displayed Keplerian value, so neither can be chosen to make the conditions easy. Conditions (ii) and (iv) are equivalent given positive masses, and both are asserted.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.