Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Central configurations of the planar nnn-body problem

Definition
AlbouyKaloshin_CentralConfigurations

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

celestial-mechanicscentral-configurationsn-body-problem

Definitions for the planar nnn-body central configurations of Albouy–Kaloshin (2012). Bodies are indexed by k∈{0,…,n−1}k\in\{0,\dots,n-1\}k∈{0,…,n−1} (the paper's bodies 1,2,…1,2,\dots1,2,… are indices 0,1,…0,1,\dots0,1,…); write xkl=xl−xkx_{kl}=x_l-x_kxkl​=xl​−xk​, ykl=yl−yky_{kl}=y_l-y_kykl​=yl​−yk​.

  1. Positive normalized central configuration (Definition 1, PosNormalizedCC n m), for real masses mkm_kmk​: a pair (x,y)∈Rn×Rn(x,y)\in\mathbb R^n\times\mathbb R^n(x,y)∈Rn×Rn with all rkl=xkl2+ykl2>0r_{kl}=\sqrt{x_{kl}^2+y_{kl}^2}>0rkl​=xkl2​+ykl2​​>0 (k≠lk\ne lk=l), satisfying for every kkk
xk=∑l≠kml rkl−3(xk−xl),yk=∑l≠kml rkl−3(yk−yl),x_k=\sum_{l\ne k} m_l\,r_{kl}^{-3}(x_k-x_l),\qquad y_k=\sum_{l\ne k} m_l\,r_{kl}^{-3}(y_k-y_l),xk​=l=k∑​ml​rkl−3​(xk​−xl​),yk​=l=k∑​ml​rkl−3​(yk​−yl​),

and the normalisation y12=0y_{12}=0y12​=0 (in Lean y 1 - y 0 = 0). 2. Normalized central configuration (Definition 2, NormalizedCC n m), for complex masses: a complex solution (x,y,δ)(x,y,\delta)(x,y,δ) of system (4), where δ=(δkl)\delta=(\delta_{kl})δ=(δkl​) is symmetric with zero diagonal, δkl2(xkl2+ykl2)=1\delta_{kl}^2(x_{kl}^2+y_{kl}^2)=1δkl2​(xkl2​+ykl2​)=1 for k≠lk\ne lk=l,

xk=∑l≠kml δkl3(xk−xl),yk=∑l≠kml δkl3(yk−yl),y12=0.x_k=\sum_{l\ne k} m_l\,\delta_{kl}^3(x_k-x_l),\qquad y_k=\sum_{l\ne k} m_l\,\delta_{kl}^3(y_k-y_l),\qquad y_{12}=0.xk​=l=k∑​ml​δkl3​(xk​−xl​),yk​=l=k∑​ml​δkl3​(yk​−yl​),y12​=0.
  1. Real normalized central configuration (Definition 2, RealNormalizedCC n m): a normalized central configuration with all xk,ykx_k,y_kxk​,yk​ real.
  2. Potential (6), potential n m: U=∑k<lmkmlδklU=\sum_{k<l} m_km_l\delta_{kl}U=∑k<l​mk​ml​δkl​.
  3. No zero sub-mass (standing hypothesis of Section 2, NoZeroSubMass n m): ∑k∈Imk≠0\sum_{k\in I}m_k\ne0∑k∈I​mk​=0 for every nonempty I⊆{0,…,n−1}I\subseteq\{0,\dots,n-1\}I⊆{0,…,n−1}.
  4. Zero locus in the mass space (massZeroLocus I): for an ideal I⊆R[m1,…,m5]I\subseteq\mathbb R[m_1,\dots,m_5]I⊆R[m1​,…,m5​], the set of m∈R5m\in\mathbb R^5m∈R5 at which every polynomial in III vanishes.

These are the objects in which the goal (Theorem 2) and every milestone of the mission are stated.

Formalization Note The symmetric, zero-diagonal array δ\deltaδ encodes the n(n−1)/2n(n-1)/2n(n−1)/2 unknowns δkl\delta_{kl}δkl​ (k<lk<lk<l) of the paper. The definitions require n≠0n\ne0n=0 so that the indices 000 and 111 exist; for n=1n=1n=1 they coincide and the normalisation is vacuous.

Definition code
import Mathlib

/-!
# Central configurations of the planar `n`-body problem

Definitions from A. Albouy and V. Kaloshin, *Finiteness of central configurations of five
bodies in the plane*, Ann. of Math. 176 (2012), 535–588.

Bodies are indexed by `Fin n`; the paper's bodies `1` and `2` are the indices `0` and `1`.
-/

namespace AlbouyKaloshin

/-- Definition 1 (p. 536): a *positive normalized central configuration* of the planar
`n`-body problem with masses `m`. A configuration is a pair `(x, y)` of coordinate vectors,
body `k` sitting at `(x k, y k) ∈ ℝ²`. It is required that all mutual distances
`r_kl = √((x_l - x_k)² + (y_l - y_k)²)` are positive, that system (1) holds, i.e.
`(x_k, y_k) = ∑_{l ≠ k} m_l r_kl⁻³ (x_k - x_l, y_k - y_l)` for every `k`, and that the
rotation freedom is removed by `y₁₂ = y₂ - y₁ = 0`. -/
def PosNormalizedCC (n : ℕ) [NeZero n] (m : Fin n → ℝ) :
    Set ((Fin n → ℝ) × (Fin n → ℝ)) :=
  {q | (∀ k l : Fin n, k ≠ l →
        0 < Real.sqrt ((q.1 l - q.1 k) ^ 2 + (q.2 l - q.2 k) ^ 2)) ∧
    (∀ k : Fin n, q.1 k = ∑ l ∈ Finset.univ.erase k,
        m l * (Real.sqrt ((q.1 l - q.1 k) ^ 2 + (q.2 l - q.2 k) ^ 2))⁻¹ ^ 3 * (q.1 k - q.1 l)) ∧
    (∀ k : Fin n, q.2 k = ∑ l ∈ Finset.univ.erase k,
        m l * (Real.sqrt ((q.1 l - q.1 k) ^ 2 + (q.2 l - q.2 k) ^ 2))⁻¹ ^ 3 * (q.2 k - q.2 l)) ∧
    q.2 1 - q.2 0 = 0}

/-- Definition 2 (p. 540): a *normalized central configuration* is a complex solution of the
polynomial system (4) with (possibly complex) masses `m`. A point is a triple `(x, y, δ)`:
`x k, y k ∈ ℂ` are the coordinates of body `k`, and `δ k l` (for `k ≠ l`) is an inverse of the
mutual distance, subject to `δ_kl² ((x_l - x_k)² + (y_l - y_k)²) = 1`. The array `δ` is
required to be symmetric with zero diagonal, so that it carries exactly the `n(n-1)/2`
unknowns `δ_kl`, `k < l`, of the paper. The equations are
`x_k = ∑_{l ≠ k} m_l δ_kl³ (x_k - x_l)`, `y_k = ∑_{l ≠ k} m_l δ_kl³ (y_k - y_l)`, and
`y₁₂ = y₂ - y₁ = 0`. -/
def NormalizedCC (n : ℕ) [NeZero n] (m : Fin n → ℂ) :
    Set ((Fin n → ℂ) × (Fin n → ℂ) × (Fin n → Fin n → ℂ)) :=
  {Q | (∀ k : Fin n, Q.2.2 k k = 0) ∧
    (∀ k l : Fin n, Q.2.2 k l = Q.2.2 l k) ∧
    (∀ k l : Fin n, k ≠ l →
        Q.2.2 k l ^ 2 * ((Q.1 l - Q.1 k) ^ 2 + (Q.2.1 l - Q.2.1 k) ^ 2) = 1) ∧
    (∀ k : Fin n, Q.1 k = ∑ l ∈ Finset.univ.erase k, m l * Q.2.2 k l ^ 3 * (Q.1 k - Q.1 l)) ∧
    (∀ k : Fin n, Q.2.1 k =
        ∑ l ∈ Finset.univ.erase k, m l * Q.2.2 k l ^ 3 * (Q.2.1 k - Q.2.1 l)) ∧
    Q.2.1 1 - Q.2.1 0 = 0}

/-- Definition 2 (p. 540): a *real normalized central configuration* is a normalized central
configuration all of whose position coordinates `x k, y k` are real (zero imaginary part);
the inverse distances `δ k l` are not required to be positive. -/
def RealNormalizedCC (n : ℕ) [NeZero n] (m : Fin n → ℂ) :
    Set ((Fin n → ℂ) × (Fin n → ℂ) × (Fin n → Fin n → ℂ)) :=
  {Q | Q ∈ NormalizedCC n m ∧ ∀ k : Fin n, (Q.1 k).im = 0 ∧ (Q.2.1 k).im = 0}

/-- The Newtonian potential (6): `U = ∑_{k < l} m_k m_l δ_kl`, as a function of a point
`(x, y, δ)`. -/
noncomputable def potential (n : ℕ) (m : Fin n → ℂ)
    (Q : (Fin n → ℂ) × (Fin n → ℂ) × (Fin n → Fin n → ℂ)) : ℂ :=
  ∑ k : Fin n, ∑ l : Fin n, if k < l then m k * m l * Q.2.2 k l else 0

/-- The standing hypothesis of Section 2 (p. 539) on the masses: no nonempty subset of the
bodies has total mass zero. -/
def NoZeroSubMass (n : ℕ) (m : Fin n → ℂ) : Prop :=
  ∀ I : Finset (Fin n), I.Nonempty → ∑ k ∈ I, m k ≠ 0

/-- The real zero locus in the mass space `ℝ⁵` of an ideal of real polynomials in the five
masses: the closed algebraic subset it defines. -/
def massZeroLocus (I : Ideal (MvPolynomial (Fin 5) ℝ)) : Set (Fin 5 → ℝ) :=
  {m | ∀ p ∈ I, MvPolynomial.eval m p = 0}

end AlbouyKaloshin

Source
A. Albouy and V. Kaloshin, Finiteness of central configurations of five bodies in the plane, Annals of Mathematics 176 (2012), no. 1, 535–588, https://doi.org/10.4007/annals.2012.176.1.10, p. 536 Definition 1; p. 540 Definition 2; p. 539 (standing mass hypothesis); p. 541 eq. (6)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement (Aristotle by Harmonic), with full knowledge of the source paper and of the intended meaning. It was not produced by a blind, independent auditor, so it may unconsciously read the intended meaning into the code. Reviewers must not treat it as an independent audit; compare it against the Lean code yourself.

The file declares six objects in a namespace AlbouyKaloshin. Throughout, nnn is a natural number with n≠0n\neq0n=0 and bodies are indexed by {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1}; "111" and "000" denote the indices 111 and 000 (if n=1n=1n=1 they are the same index).

1. PosNormalizedCC n m. For real numbers m0,…,mn−1m_0,\dots,m_{n-1}m0​,…,mn−1​ (no sign condition), the set of pairs (x,y)(x,y)(x,y) of real vectors indexed by bodies such that, with ρkl=(xl−xk)2+(yl−yk)2\rho_{kl}=\sqrt{(x_l-x_k)^2+(y_l-y_k)^2}ρkl​=(xl​−xk​)2+(yl​−yk​)2​ (real square root):

  • for all k≠lk\neq lk=l, ρkl>0\rho_{kl}>0ρkl​>0 (i.e. the points (xk,yk)(x_k,y_k)(xk​,yk​) are pairwise distinct);
  • for every kkk: xk=∑l≠kml (ρkl−1)3 (xk−xl)\displaystyle x_k=\sum_{l\neq k} m_l\,(\rho_{kl}^{-1})^3\,(x_k-x_l)xk​=l=k∑​ml​(ρkl−1​)3(xk​−xl​);
  • for every kkk: yk=∑l≠kml (ρkl−1)3 (yk−yl)\displaystyle y_k=\sum_{l\neq k} m_l\,(\rho_{kl}^{-1})^3\,(y_k-y_l)yk​=l=k∑​ml​(ρkl−1​)3(yk​−yl​);
  • y1−y0=0y_1-y_0=0y1​−y0​=0.

2. NormalizedCC n m. For complex numbers m0,…,mn−1m_0,\dots,m_{n-1}m0​,…,mn−1​, the set of triples (x,y,δ)(x,y,\delta)(x,y,δ) with x,y∈Cnx,y\in\mathbb C^nx,y∈Cn and δ\deltaδ an n×nn\times nn×n complex array such that δkk=0\delta_{kk}=0δkk​=0 for all kkk; δkl=δlk\delta_{kl}=\delta_{lk}δkl​=δlk​ for all k,lk,lk,l; for all k≠lk\ne lk=l, δkl2((xl−xk)2+(yl−yk)2)=1\delta_{kl}^2\big((x_l-x_k)^2+(y_l-y_k)^2\big)=1δkl2​((xl​−xk​)2+(yl​−yk​)2)=1; for every kkk, xk=∑l≠kml δkl3 (xk−xl)x_k=\sum_{l\ne k}m_l\,\delta_{kl}^3\,(x_k-x_l)xk​=∑l=k​ml​δkl3​(xk​−xl​) and yk=∑l≠kml δkl3 (yk−yl)y_k=\sum_{l\ne k}m_l\,\delta_{kl}^3\,(y_k-y_l)yk​=∑l=k​ml​δkl3​(yk​−yl​); and y1−y0=0y_1-y_0=0y1​−y0​=0. No reality or positivity is imposed on anything.

3. RealNormalizedCC n m. The subset of NormalizedCC n m of triples with Im⁡xk=Im⁡yk=0\operatorname{Im}x_k=\operatorname{Im}y_k=0Imxk​=Imyk​=0 for every kkk. Nothing is required of δ\deltaδ beyond membership in NormalizedCC (so δkl\delta_{kl}δkl​ may be negative).

4. potential n m Q. For complex masses mmm and a triple Q=(x,y,δ)Q=(x,y,\delta)Q=(x,y,δ) (any triple, not necessarily a solution), the complex number ∑k<lmkml δkl\sum_{k<l} m_k m_l\,\delta_{kl}∑k<l​mk​ml​δkl​, the order k<lk<lk<l being the usual order of indices.

5. NoZeroSubMass n m. For complex masses: for every nonempty set III of indices, ∑k∈Imk≠0\sum_{k\in I}m_k\ne0∑k∈I​mk​=0.

6. massZeroLocus I. For an ideal III of real polynomials in five variables, the set of m∈R5m\in\mathbb R^5m∈R5 such that p(m)=0p(m)=0p(m)=0 for every p∈Ip\in Ip∈I. If III is the whole ring this set is empty; if I=0I=0I=0 it is all of R5\mathbb R^5R5.

Human review
  • Endorsed by Shuze Chen · Sep 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 30, 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