Formalization handbook · all 13 guides
Detailed plans and progress for every workstream. Compiled results & assumption ledger → Vacuum demonstrator: checked margins & next device →
Handbook overview & task progress →What is a Stellarator? Physics Concepts, Geometry & Importance
Nuclear fusion requires heating hydrogen isotopes (Deuterium & Tritium) to over 100 million degrees Celsius—far hotter than the core of the Sun. At these extreme temperatures, matter becomes fully ionized plasma. To prevent this ultra-hot plasma from touching solid walls, magnetic fields trap charged particles inside a toroidal "magnetic bottle."
A stellarator uses external three-dimensional coils to create magnetic-field twist without requiring a large inductive plasma current. This supports the goal of steady-state operation. Finite plasma currents and instability mechanisms remain possible, so confinement, stability, and engineering feasibility each need their own analysis.
1. Toroidal Geometry & Helical Field Twist ($\iota$)
Simulates magnetic field lines wrapping around a torus. Toggle between Tokamak (driven current) vs. Stellarator (3D coil twist).
Schematic torus, field lines, and particle motion; no computed equilibrium or orbit solution.
Simple toroidal magnetic fields cause charged particles to drift vertically due to magnetic field gradients ($\nabla B$) and curvature ($\mathbf{v}_d \propto \mathbf{B} \times \nabla B$). Ions drift up, electrons drift down, creating a huge electric field that blows the plasma apart.
By twisting magnetic field lines into a helical trajectory, a field line spends time on both top and bottom of the torus. This short-circuits the charge separation and confines the plasma!
2. Tokamaks vs. Stellarators: Key Trade-offs & Physics Architecture
Why the world is shifting toward stellarators for commercial power generation.
High Current, High Disruption Risk
Uses planar toroidal coils combined with a massive central solenoid transformer to induce millions of Amperes of electric current ($I_p$) directly inside the plasma.
- ✗ Major Disruptions: Sudden instability collapses destroy vacuum chamber walls within milliseconds.
- ✗ Pulsed Operation: Solenoid flux runs out, requiring complex external current drive.
- ✓ Simple Coils: Planar circular magnets are much easier to manufacture.
External Field Twist & Steady-State Potential
Uses external three-dimensional coils to supply field twist; plasma currents can also affect the operating equilibrium.
- ✓ Reduced reliance on plasma current: Large inductive current is not required for confinement.
- ✓ Steady-state potential: Continuous operation also requires heat removal, transport control, and component margins.
- ⚠️ Complex Geometry: Highly complex 3D coils, and large neoclassical drift losses of thermal ions and electrons unless the field is (close to) omnigenous; quasisymmetric and quasi-isodynamic fields are special cases.
3. The stellarator contract C1–C5
Tokamaks rely on a large toroidal plasma current, which brings kinks, tearing, disruptions and the need for current drive. PlasmaLean therefore does not aim at “non-axisymmetric” solutions as such, but at solutions with the properties a stellarator needs. A candidate satisfies the contract when, for one decoded field and equilibrium with common witnesses, all five clauses hold. Non-axisymmetry is a means and a consequence, not a goal: an axisymmetric current-free field has $\iota = 0$, so C1 already excludes tokamaks. See the implementation plan and model contracts.
| Clause | Requirement | Honest status (Lean) |
|---|---|---|
| C1. Current-free rotational transform | Net toroidal plasma current zero or bootstrap-small; $\iota \ge \iota_{\min} > 0$ on the confining surfaces, provided by the external field (3-D shaping or helical coils), not by plasma current. | Vacuum only. The exact rational stellarator field is a vacuum field (RationalStellarator.field_vacuum), and a KAM-certified exact torus ($\iota \approx 0.137$) confines its field lines for all time (rationalStellarator_confined_forever_exists). Not stated: $\iota \ge \iota_{\min}$ on a nested family, any finite-β current-free equilibrium. |
| C2. Omnigeneity / small neoclassical transport | For thermal ions and electrons: bounce-averaged radial drift vanishes or is bounded, or $\epsilon_{\text{eff}}$ is bounded. Quasisymmetry and quasi-isodynamic fields are special cases. | Essentially nothing for thermal particles. Alpha results (passing alphas, one species) only. WeakQS and qsDefect are defined; the Landreman families are proved not weakly quasisymmetric (family1_not_weakQS, family2_not_weakQS). No bounce-averaged drift, omnigeneity or $\epsilon_{\text{eff}}$ in Lean. |
| C3. MHD stability at finite β | Mercier, ideal ballooning and, where available, global ideal modes at a stated β > 0. | Only on test beds that fail C1. Landreman family 2 has a certified Mercier-stable band (family2_mercier_stable_derived, Mercier index supplied), but it carries positive net toroidal current; the Solov'ev results are tokamak results. Nothing at finite β for a current-free candidate. |
| C4. Existence | Nested flux surfaces (certified invariant tori or a validated equilibrium) and $\mathbf{J}\times\mathbf{B} = \nabla p$ (vacuum: $\mathbf{J} = 0$). | Vacuum, or symmetric / current-carrying only. Holds for the vacuum rational field inside one certified torus; at finite β only for the Landreman families (which fail C1) and the symmetric models. |
| C5. Thermal performance | On the same candidate: core temperature above a burn threshold (e.g. 10 keV) over the operating interval and below wall limits, from power balance with alpha heating, bremsstrahlung, neoclassical losses from C2 and a stated supplied anomalous-transport scaling. | Only on a tokamak model. On the Solov'ev field, every supplied solution of the radial transport model starting in a certified band keeps the core ≥ 10 keV for all time (solovev_one_plasma_actual; transport solution assumed, one field with a pressure-budget band). On stellarator parameters only 0-D windows and proved obstructions. |
Plainly: Solov'ev is a tokamak model (a test bed and a model for burn temperature, not a stellarator candidate). Landreman family 2 carries positive net toroidal current (torCurrent_eq writes $\mu_0 I_{\text{tor}}/2\pi$ as an integral of a positive integrand, by F1_pos and Eint_pos; the corollary $I_{\text{tor}} > 0$ is not yet a named declaration), so it is tokamak-like under C1 however non-axisymmetric it is. The Grad counterexample family1_grad_counterexample is mathematical infrastructure, not design progress. C2 and C5 on a stellarator candidate are essentially open.
Why Formal Verification (Lean 4) & Mathematical Theory are Essential
Because a stellarator lacks 2D rotational symmetry, particle orbits do not automatically conserve canonical toroidal momentum ($P_\phi$). Unoptimized 3D magnetic fields lead to large drift losses of thermal ions and electrons (neoclassical transport) and of fusion alpha particles ($\text{He}^{2+}$) before they heat the plasma.
The bounce-averaged radial drift of trapped thermal ions and electrons must vanish or be small (or the effective ripple $\epsilon_{\text{eff}}$ bounded). Quasisymmetry, $|B| = B(s, M\theta - N\phi)$, and quasi-isodynamic fields are special cases. Not yet defined in Lean (only weak quasisymmetry, WeakQS, is).
Stellarator plasma boundaries are defined by dozens of Fourier coefficients ($R_{m,n}, Z_{m,n}$). Finding stable shapes ($\delta W > 0$) requires exploring infinite-dimensional functional spaces.
PlasmaLean is a Lean 4 library with no project-specific axioms (the latest audit found only Lean/Mathlib's standard axioms). It already contains machine-checked equilibrium, local-stability, confinement and burn-temperature theorems for idealized models; the goal remains to let AI agents discover candidate geometries and prove precisely stated plasma-stability results for them.