Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The centre of mass of an isolated system moves uniformly with velocity P/MP/MP/M

Proved
ConservationLaws.center_of_mass_uniform_motion

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

center-of-massconservation-lawmechanicsmomentum

Under the hypotheses of the momentum conservation milestone (masses mi>0m_i > 0mi​>0, internal forces obeying Fij=−FjiF_{ij} = -F_{ji}Fij​=−Fji​, Newton's second law), and with at least one particle, let M=∑imiM = \sum_i m_iM=∑i​mi​ be the total mass and R(t)=M−1∑imixi(t)R(t) = M^{-1}\sum_i m_i x_i(t)R(t)=M−1∑i​mi​xi​(t) the centre of mass. Then

R(t)=R(0)+t P(0)M,P(0)=∑imivi(0),R(t) = R(0) + t\,\frac{P(0)}{M}, \qquad P(0) = \sum_i m_i v_i(0),R(t)=R(0)+tMP(0)​,P(0)=i∑​mi​vi​(0),

i.e. the centre of mass moves in a straight line at constant velocity vcm=P/Mv_{\mathrm{cm}} = P/Mvcm​=P/M (equivalently P=MvcmP = M v_{\mathrm{cm}}P=Mvcm​).

Preamble
import Mathlib
Formal statement
namespace ConservationLaws

theorem center_of_mass_uniform_motion
    {d N : ℕ} (hN : 0 < N) (m : Fin N → ℝ) (hm : ∀ i, 0 < m i)
    (x v a : Fin N → ℝ → EuclideanSpace ℝ (Fin d))
    (F : Fin N → Fin N → ℝ → EuclideanSpace ℝ (Fin d))
    (hthird : ∀ i j t, F i j t = -F j i t)
    (hx : ∀ i t, HasDerivAt (x i) (v i t) t)
    (hv : ∀ i t, HasDerivAt (v i) (a i t) t)
    (hnewton : ∀ i t, m i • a i t = ∑ j, F i j t) :
    ∀ t, (∑ i, m i)⁻¹ • ∑ i, m i • x i t =
      (∑ i, m i)⁻¹ • ∑ i, m i • x i 0 + t • ((∑ i, m i)⁻¹ • ∑ i, m i • v i 0) := by sorry

end ConservationLaws
Source
Wikipedia, "Momentum" (uploaded PDF), https://en.wikipedia.org/wiki/Momentum, section "Many particles" (centre of mass, p=m vcmp = m\,v_{cm}p=mvcm​, Euler's first law) and section "Conservation"
Read-back

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

Disclosure: NON-BLIND read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source material and of the intended meaning. It is not independent or blind testimony and must not be treated as such by any reviewer. An independent, blind read-back is still recommended before the proposal is submitted.

Fix natural numbers ddd and NNN with N>0N > 0N>0. Let m1,…,mN>0m_1,\dots,m_N > 0m1​,…,mN​>0 be reals. Let xi,vi,ai:R→Rdx_i, v_i, a_i : \mathbb{R} \to \mathbb{R}^dxi​,vi​,ai​:R→Rd (Euclidean space) and Fij:R→RdF_{ij} : \mathbb{R} \to \mathbb{R}^dFij​:R→Rd for all ordered pairs (i,j)(i,j)(i,j), including i=ji=ji=j. Assume:

  1. Fij(t)=−Fji(t)F_{ij}(t) = -F_{ji}(t)Fij​(t)=−Fji​(t) for all i,j,ti,j,ti,j,t;
  2. for all i,ti,ti,t: xix_ixi​ is differentiable at ttt with derivative vi(t)v_i(t)vi​(t);
  3. for all i,ti,ti,t: viv_ivi​ is differentiable at ttt with derivative ai(t)a_i(t)ai​(t);
  4. for all i,ti,ti,t: miai(t)=∑j=1NFij(t)m_i a_i(t) = \sum_{j=1}^N F_{ij}(t)mi​ai​(t)=∑j=1N​Fij​(t).

Write M=∑imiM = \sum_i m_iM=∑i​mi​ (the statement uses M−1M^{-1}M−1, the real reciprocal; M>0M > 0M>0 here, so this is the genuine inverse). Conclusion: for every real ttt,

M−1∑imixi(t)  =  M−1∑imixi(0)  +  t⋅(M−1∑imivi(0)).M^{-1}\sum_i m_i x_i(t) \;=\; M^{-1}\sum_i m_i x_i(0) \;+\; t\cdot\Big(M^{-1}\sum_i m_i v_i(0)\Big).M−1i∑​mi​xi​(t)=M−1i∑​mi​xi​(0)+t⋅(M−1i∑​mi​vi​(0)).

The reference time is 000. Edge case d=0d = 0d=0: everything is the zero vector.

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

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 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