Thomson problem: configurations on the unit sphere, Coulomb energy, and the candidate optimal configurations
DefinitionThomsonProblem_defsThis file sets up the Thomson problem: place electrons on the unit sphere so that their total Coulomb energy is as small as possible.
- Admissible configuration. An -point configuration is a map . It is admissible if every point lies on the unit sphere, , and the points are pairwise distinct, for .
- Coulomb energy. In units with and Coulomb constant ,
- Energy minimiser. A configuration solves the Thomson problem for electrons if it is admissible and for every admissible -point configuration .
- Candidate configurations (explicit coordinates, all on the unit sphere):
- : the antipodal pair ;
- : the equilateral triangle , on the equator (a great circle);
- : the regular tetrahedron ;
- : the triangular bipyramid: the poles together with the equatorial equilateral triangle above;
- : the regular octahedron ;
- : the pentagonal bipyramid: the poles together with the regular pentagon , ;
- : the regular icosahedron: the twelve points , , , each divided by , where is the golden ratio.
These definitions are shared by every statement of the mission. The energy is invariant under rotations and reflections of the sphere and under relabelling of the points, so fixing one particular orientation of each candidate polyhedron loses no generality.
Formalization Note Points live in EuclideanSpace ℝ (Fin 3), configurations are functions Fin N → EuclideanSpace ℝ (Fin 3), and the pairwise sum runs over via Finset.Ioi i. Lean's convention only affects non-admissible configurations with coincident points, which are excluded by the admissibility hypothesis.
import Mathlib
namespace ThomsonProblem
/-- Euclidean three-space `ℝ³` with its usual (Euclidean) distance. -/
abbrev Space := EuclideanSpace ℝ (Fin 3)
/-- An admissible `N`-electron configuration: `N` pairwise distinct points on the unit
sphere `{v ∈ ℝ³ : ‖v‖ = 1}`. -/
def IsAdmissible {N : ℕ} (x : Fin N → Space) : Prop :=
(∀ i, ‖x i‖ = 1) ∧ Function.Injective x
/-- The Coulomb (Riesz `s = 1`) energy `∑_{i < j} 1 / ‖x i - x j‖` of a configuration,
in units with `e = 1` and `kₑ = 1`. -/
noncomputable def coulombEnergy {N : ℕ} (x : Fin N → Space) : ℝ :=
∑ i : Fin N, ∑ j ∈ Finset.Ioi i, 1 / dist (x i) (x j)
/-- `x` solves the Thomson problem for `N` electrons: it is admissible and its Coulomb
energy is at most that of every admissible `N`-point configuration. -/
def IsEnergyMinimizer {N : ℕ} (x : Fin N → Space) : Prop :=
IsAdmissible x ∧ ∀ y : Fin N → Space, IsAdmissible y → coulombEnergy x ≤ coulombEnergy y
/-- `N = 2`: two antipodal points (the poles). -/
noncomputable def antipodalPair : Fin 2 → Space :=
![!₂[0, 0, 1], !₂[0, 0, -1]]
/-- `N = 3`: vertices of an equilateral triangle inscribed in the equator (a great circle). -/
noncomputable def equilateralTriangle : Fin 3 → Space :=
![!₂[1, 0, 0], !₂[-1 / 2, Real.sqrt 3 / 2, 0], !₂[-1 / 2, -(Real.sqrt 3 / 2), 0]]
/-- `N = 4`: vertices of a regular tetrahedron inscribed in the unit sphere. -/
noncomputable def regularTetrahedron : Fin 4 → Space :=
fun i => (1 / Real.sqrt 3) •
![!₂[1, 1, 1], !₂[1, -1, -1], !₂[-1, 1, -1], !₂[-1, -1, 1]] i
/-- `N = 5`: vertices of a triangular bipyramid (the two poles and an equilateral triangle
on the equator). -/
noncomputable def triangularBipyramid : Fin 5 → Space :=
![!₂[0, 0, 1], !₂[0, 0, -1],
!₂[1, 0, 0], !₂[-1 / 2, Real.sqrt 3 / 2, 0], !₂[-1 / 2, -(Real.sqrt 3 / 2), 0]]
/-- `N = 6`: vertices of a regular octahedron (`±e₁, ±e₂, ±e₃`). -/
noncomputable def regularOctahedron : Fin 6 → Space :=
![!₂[1, 0, 0], !₂[-1, 0, 0], !₂[0, 1, 0], !₂[0, -1, 0], !₂[0, 0, 1], !₂[0, 0, -1]]
/-- The `k`-th vertex `(cos (2πk/5), sin (2πk/5), 0)` of a regular pentagon inscribed in
the equator. -/
noncomputable def pentagonVertex (k : ℕ) : Space :=
!₂[Real.cos (2 * Real.pi * k / 5), Real.sin (2 * Real.pi * k / 5), 0]
/-- `N = 7`: vertices of a pentagonal bipyramid (the two poles and a regular pentagon on
the equator). -/
noncomputable def pentagonalBipyramid : Fin 7 → Space :=
![!₂[0, 0, 1], !₂[0, 0, -1],
pentagonVertex 0, pentagonVertex 1, pentagonVertex 2, pentagonVertex 3, pentagonVertex 4]
/-- `N = 12`: vertices of a regular icosahedron inscribed in the unit sphere: the twelve
points `(0, ±1, ±φ)`, `(±1, ±φ, 0)`, `(±φ, 0, ±1)` (with `φ` the golden ratio), each
scaled by `1 / √(1 + φ²)`. -/
noncomputable def regularIcosahedron : Fin 12 → Space :=
fun i => (1 / Real.sqrt (1 + Real.goldenRatio ^ 2)) •
![!₂[0, 1, Real.goldenRatio], !₂[0, 1, -Real.goldenRatio],
!₂[0, -1, Real.goldenRatio], !₂[0, -1, -Real.goldenRatio],
!₂[1, Real.goldenRatio, 0], !₂[1, -Real.goldenRatio, 0],
!₂[-1, Real.goldenRatio, 0], !₂[-1, -Real.goldenRatio, 0],
!₂[Real.goldenRatio, 0, 1], !₂[Real.goldenRatio, 0, -1],
!₂[-Real.goldenRatio, 0, 1], !₂[-Real.goldenRatio, 0, -1]] i
end ThomsonProblem
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 is NOT independent testimony. It was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, with full knowledge of the source material and of the intended meaning. It is not the blind, independent-auditor read-back recommended by the platform, and reviewers should not treat it as such; please compare the Lean code against the source directly.
The file introduces, inside the namespace ThomsonProblem, the following objects.
Space. with the Euclidean norm and distance .
Admissibility. For and , " is admissible" means: (a) for every , and (b) is injective, i.e. . For the empty configuration is admissible; for any single unit vector is admissible.
Coulomb energy. For any (admissible or not),
where the order is the usual order on indices. If two points coincide, the corresponding term is , which the formal system evaluates to (not ); this can only happen for non-injective, hence non-admissible, . For the sum is empty and .
Energy minimiser. " is an energy minimiser" means: is admissible, and for every that is admissible, . The comparison is only against configurations with the same number of points; it is a non-strict inequality, and nothing is asserted about uniqueness.
Explicit configurations. Writing for the golden ratio :
antipodalPair(): , .equilateralTriangle(): , , .regularTetrahedron(): times , , , .triangularBipyramid(): , , , , .regularOctahedron(): .pentagonVertex(for , cast to a real number): .pentagonalBipyramid(): , , then pentagon vertices .regularIcosahedron(): times, in order, , , , , , , , , , , , .
The file contains only definitions (no theorems or proofs); that these explicit points have norm and are pairwise distinct is not asserted here — it is part of each theorem's conclusion "is an energy minimiser".
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.