Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Ehrenfest–Oppenheimer theorem: composites inherit the spin–statistics relation

Proved
SpinStatistics.ehrenfest_oppenheimer

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

mathematical-physicsquantum-mechanics

Consider two composite particles with identical internal structure, each made of kkk constituents, where the constituent in slot iii has doubled spin si∈Ns_i\in\mathbb Nsi​∈N (spin si/2s_i/2si​/2). Assume the constituents obey the spin–statistics relation: exchanging the two identical constituents in slot iii multiplies the many-body wavefunction by (−1)si(-1)^{s_i}(−1)si​ (antisymmetric for half-integer spin, symmetric for integer spin),

Ψ(c∘τi)=(−1)si Ψ(c).\Psi(c\circ\tau_i)=(-1)^{s_i}\,\Psi(c).Ψ(c∘τi​)=(−1)si​Ψ(c).

Let JJJ be a doubled total spin of a composite obtainable by addition of angular momenta of s1,…,sks_1,\dots,s_ks1​,…,sk​. Then the composites obey the same relation:

Ψ(c∘σ)=(−1)J Ψ(c)for all c.\Psi(c\circ\sigma)=(-1)^{J}\,\Psi(c)\qquad\text{for all } c.Ψ(c∘σ)=(−1)JΨ(c)for all c.

So a composite with an even number of constituent fermions has integer spin and a symmetric wavefunction (a boson), and one with an odd number has half-integer spin and an antisymmetric wavefunction (a fermion).

Preamble
import Mathlib
import Definitions.Def_SpinStatistics_Defs
Formal statement
namespace SpinStatistics

theorem ehrenfest_oppenheimer {X : Type*} {k : ℕ} (s : Fin k → ℕ)
    (Ψ : (Fin 2 × Fin k → X) → ℂ)
    (hexch : ∀ i c, Ψ (c ∘ swapConstituent i) = (-1) ^ s i * Ψ c)
    (J : ℕ) (hJ : CanAddTo (List.ofFn s) J) :
    ∀ c, Ψ (c ∘ swapComposites) = (-1) ^ J * Ψ c := by sorry

end SpinStatistics
Source
Wikipedia, "Spin–statistics theorem" (https://en.wikipedia.org/wiki/Spin%E2%80%93statistics_theorem), PDF snapshot supplied by the proposal owner; section 'Composite particles', p. 4, first paragraph (the result 'called the Ehrenfest-Oppenheimer theorem')
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent that drafted the statements; NON-BLIND

NON-BLIND READ-BACK — NOT INDEPENDENT TESTIMONY. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement below, at the explicit instruction of the proposal owner. The author knew the intended meaning and the source text while writing it, so it must not be mistaken for a blind, independent audit. An independent blind read-back is still recommended before this proposal is submitted.

For every type XXX, every k∈Nk\in\mathbb Nk∈N, every s:{0,…,k−1}→Ns:\{0,\dots,k-1\}\to\mathbb Ns:{0,…,k−1}→N and every Ψ\PsiΨ from functions c:{0,1}×{0,…,k−1}→Xc:\{0,1\}\times\{0,\dots,k-1\}\to Xc:{0,1}×{0,…,k−1}→X to C\mathbb CC: suppose that for every iii and ccc, Ψ(c∘τi)=(−1)siΨ(c)\Psi(c\circ\tau_i)=(-1)^{s_i}\Psi(c)Ψ(c∘τi​)=(−1)si​Ψ(c), where τi\tau_iτi​ swaps (0,i)↔(1,i)(0,i)\leftrightarrow(1,i)(0,i)↔(1,i) and fixes all other indices; and let J∈NJ\in\mathbb NJ∈N satisfy CanAddTo((s0,…,sk−1),J)\mathrm{CanAddTo}((s_0,\dots,s_{k-1}),J)CanAddTo((s0​,…,sk−1​),J) (the list of values of sss in index order; CanAddTo\mathrm{CanAddTo}CanAddTo as in the definitions file: built from ([ ],0)([\,],0)([],0) by prepending aaa to a list with total bbb and taking any JJJ with a≤J+ba\le J+ba≤J+b, b≤J+ab\le J+ab≤J+a, J≤a+bJ\le a+bJ≤a+b, J+a+bJ+a+bJ+a+b even). Then for every ccc, Ψ(c∘σ)=(−1)JΨ(c)\Psi(c\circ\sigma)=(-1)^J\Psi(c)Ψ(c∘σ)=(−1)JΨ(c), where σ(a,j)=(1−a,j)\sigma(a,j)=(1-a,j)σ(a,j)=(1−a,j). For k=0k=0k=0, JJJ must be 000 and the conclusion is trivial.

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