Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Harmonic-oscillator derivation of the magic numbers

Proved
MagicNumberShellModel.harmonic_oscillator_magic_numbers

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

combinatoricsmathematical-physicsnuclear-shell-model

This is the complete content of the harmonic-oscillator derivation of the nuclear magic numbers. Let LnL_nLn​ be the set of oscillator states at level nnn, let Cn=2 ∣Ln∣C_n = 2\,|L_n|Cn​=2∣Ln​∣ be the shell capacity including spin, let SN=∑n<NCnS_N = \sum_{n<N} C_nSN​=∑n<N​Cn​, and let M={2,8,20,28,50,82,126}M = \{2, 8, 20, 28, 50, 82, 126\}M={2,8,20,28,50,82,126} be the seven most widely recognized magic numbers. Then all of the following hold.

  1. Closed form. For every N≥0N \ge 0N≥0,
SN  =  2(N+23)  =  N(N+1)(N+2)3.S_N \;=\; 2\binom{N+2}{3} \;=\; \frac{N(N+1)(N+2)}{3}.SN​=2(3N+2​)=3N(N+1)(N+2)​.
  1. First predictions. (S1,S2,S3,S4)=(2,8,20,40)(S_1, S_2, S_3, S_4) = (2, 8, 20, 40)(S1​,S2​,S3​,S4​)=(2,8,20,40).
  2. Three genuine magic numbers. {2,8,20}⊆M\{2, 8, 20\} \subseteq M{2,8,20}⊆M.
  3. A miss. 28∈M28 \in M28∈M, but SN≠28S_N \neq 28SN​=28 for every N≥0N \ge 0N≥0.
  4. A false prediction. S4=40S_4 = 40S4​=40, but 40∉M40 \notin M40∈/M.

Clauses 1–3 are the success of the model: degeneracy counting alone explains the magic numbers 222, 888 and 202020. Clauses 4–5 are its documented failure, and the reason the shell model requires spin–orbit coupling to reproduce the full list.

Formalization Note. All quantities are natural numbers and the binomial coefficients are the natural-number choose\mathrm{choose}choose function, so no division appears. MMM is a hard-coded finite set transcribing the source's list; clauses 3–5 are statements about that list, not about nuclear stability.

Preamble
import Definitions.Def_magic_number_shell_model
Formal statement
namespace MagicNumberShellModel

theorem harmonic_oscillator_magic_numbers :
    (∀ N : ℕ, cumulativeCapacity N = 2 * (N + 2).choose 3) ∧
      List.map cumulativeCapacity [1, 2, 3, 4] = [2, 8, 20, 40] ∧
      ({2, 8, 20} : Finset ℕ) ⊆ magicNumbers ∧
      (28 ∈ magicNumbers ∧ ∀ N : ℕ, cumulativeCapacity N ≠ 28) ∧
      (cumulativeCapacity 4 = 40 ∧ 40 ∉ magicNumbers) := by sorry

end MagicNumberShellModel
Source
Magic number (physics), Wikipedia, section "Derivation" (the 3D harmonic oscillator paragraph: weak 3-compositions counted by stars and bars, factor 2 for spin, cumulative sums 2, 8, 20, 40), and section lead (list of the seven magic numbers 2, 8, 20, 28, 50, 82, 126). https://en.wikipedia.org/wiki/Magic_number_(physics)
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