Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Shell theorem: the field equals that of the enclosed mass at the centre

Proved
NewtonGravitation.gravField_eq_enclosed_mass

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

gravitationmathematical-physics

Let μ\muμ be a finite, spherically symmetric mass distribution on E3\mathbb{E}^3E3 and let x∈E3x\in\mathbb{E}^3x∈E3 be a point at which the field integrand y↦−G∥x−y∥3(x−y)y\mapsto -\frac{G}{\|x-y\|^3}(x-y)y↦−∥x−y∥3G​(x−y) is μ\muμ-integrable. Let M<(x)=μ({y:∥y∥<∥x∥})M_{<}(x) = \mu(\{y : \|y\|<\|x\|\})M<​(x)=μ({y:∥y∥<∥x∥}) be the mass enclosed strictly inside the sphere through xxx. Then

gμ(x)=−G M<(x)∥x∥3 x.g_\mu(x) = -\frac{G\,M_{<}(x)}{\|x\|^3}\,x .gμ​(x)=−∥x∥3GM<​(x)​x.

This combines both bullets of Newton's shell theorem as stated in the source: the mass at radii r<r0r<r_0r<r0​ acts as if concentrated at the centre, while the mass at radii r>r0r>r_0r>r0​ exerts no net force.

Formalization Note The integrability hypothesis states that the force at xxx is well defined; without it the Lean integral is 000 by convention. It excludes, for instance, a uniform shell passing through xxx.

Preamble
import Definitions.Def_NewtonGravitation_Defs
import Mathlib

open MeasureTheory NewtonGravitation
Formal statement
namespace NewtonGravitation

theorem gravField_eq_enclosed_mass (μ : Measure Space) [IsFiniteMeasure μ]
    (hμ : IsSphericallySymmetric μ) (x : Space)
    (hint : Integrable (fun y => -(G / ‖x - y‖ ^ 3) • (x - y)) μ) :
    gravField μ x = pointField (μ.real (Metric.ball 0 ‖x‖)) 0 x := by sorry

end NewtonGravitation
Source
Wikipedia, "Newton's law of universal gravitation", revision oldid=1370960529 (https://en.wikipedia.org/w/index.php?title=Newton%27s_law_of_universal_gravitation&oldid=1370960529)
Read-back

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

Non-blind read-back. This read-back was written by the same agent that drafted the Lean statements (Aristotle, by Harmonic), at the proposal owner's explicit instruction. It is not independent testimony and must not be treated as a blind audit; an independent read-back is still recommended before submission.

Let μ\muμ be any finite Borel measure on E3\mathbb{E}^3E3 invariant under every linear isometric bijection of E3\mathbb{E}^3E3. Let x∈E3x\in\mathbb{E}^3x∈E3 be any point (including x=0x=0x=0) such that the map y↦−G∥x−y∥3(x−y)y\mapsto -\frac{G}{\|x-y\|^3}(x-y)y↦−∥x−y∥3G​(x−y) (which takes the value 000 at y=xy=xy=x) is Bochner integrable with respect to μ\muμ. Then

∫−G∥x−y∥3(x−y) dμ(y)=−G m∥x∥3 x,m=μ({y:∥y∥<∥x∥})∈[0,∞),\int -\frac{G}{\|x-y\|^3}(x-y)\,d\mu(y) = -\frac{G\,m}{\|x\|^3}\,x,\qquad m = \mu\big(\{y:\|y\|<\|x\|\}\big)\in[0,\infty),∫−∥x−y∥3G​(x−y)dμ(y)=−∥x∥3Gm​x,m=μ({y:∥y∥<∥x∥})∈[0,∞),

the mass of the open ball of radius ∥x∥\|x\|∥x∥ about the origin (converted to a real number). When x=0x=0x=0 the ball is empty and the right side is 000. Here G=6.67430×10−11G=6.67430\times10^{-11}G=6.67430×10−11.

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