PlasmaLean Mathematical Exposition & Contributor Suite
PlasmaLean is a Lean 4 library working toward a verified stellarator design. Its theorems about fields, equilibria, particle orbits, stability and burn rest on a small, audited domain kernel (six modules, about 900 lines, strictly audited on 30 October 2026) and on supplied models that every statement names explicitly. The target is the stellarator contract: C1 current-free rotational transform, C2 omnigeneity for thermal ions and electrons, C3 finite-β MHD stability, C4 existence (nested surfaces, force balance), C5 thermal performance, all on one candidate. Honest status: C1 and C4 hold only for a vacuum field inside one certified torus; C3 only for current-carrying test beds; C2 and C5 on a stellarator candidate are essentially open (see the implementation plan).
The Four Pillar Expositions
This hand-written suite is part of siddhartha-gadgil.github.io/PlasmaLean/. It bridges plasma physicists, Lean 4 formalizers and pure mathematicians in topology, differential geometry and complex geometry. The site generator does not refresh it; it was last checked against the source on 30 October 2026, and every Lean declaration it presents as real was checked to exist.
1. Physics ↔ Geometry ↔ Lean 4 Rosetta Stone
A searchable, filterable three-way dictionary of 14 stellarator concepts (flux surfaces, rotational transform $\iota$, Boozer coordinates, quasisymmetry, MHD stability, Biot–Savart, ...) in coordinate-free geometry, with the real PlasmaLean declarations where they exist (5 in the library, 8 partly) and a labelled sketch where they do not (1). Each entry links to one of the 13 handbook guides.
2. Interactive Research Graph
A selection from the plan's research graph: four kernel laws, compiled results (with their real declaration names), open questions Q-* and the goals G-* of the stellarator contract. Each node shows its statement, the Lean declarations it rests on, and its status (kernel law, compiled, partial, open).
3. Audit the Kernel in 10 Minutes
Lean checks the proofs; readers must check the statements and the supplied laws. Walk through the six kernel modules (Equilibrium, Slab, ThermalSlab, Vacuum, Transport, Fusion), their real sanity theorems, and the findings of the strict audit of 30 October 2026 (52 declarations; F-1 fixed, nine low findings recorded).
4. Anatomy of a Field-Error and Clearance Certificate
Follow a compiled guarantee for the two-loop calibration fixture (Design/VacuumPair, Design/VacuumTolerance): coil clearance, Biot–Savart bounds and derivatives, a field-error budget for every manufactured coil pair within a $C^1$ tolerance envelope, and tube clearance. The fixture is axisymmetric and makes no confinement claim.
Onboarding Pure Mathematicians (Topology, Differential & Complex Geometry)
Flux Surfaces, Linking & Converse KAM
A compact regular level set of the pressure with $\nabla p \neq 0$ is a 2-torus, but nothing forces a general equilibrium to have nested flux surfaces (Grad's question; the library proves that Landreman family 1 has nested tori and no continuous symmetry). Contribute proofs on Poincaré–Hopf toroidal level sets, Gauss linking integrals for coils, and converse KAM criteria for chaotic field regions.
View Topology Challenges →Hodge Theory, Beltrami Fields & Curves
Vacuum fields are harmonic 1-forms ($d\beta=0, d^*\beta=0$); force-free fields with constant $\lambda$ are Beltrami fields ($\star d\beta = \lambda \beta$, a contact form when $\lambda \neq 0$). Contribute proofs on Bishop frames for near-axis expansions, tubular reach bounds, and Littlejohn's guiding-centre symplectic 2-form.
View Differential Geometry Challenges →Riemann Surfaces & Univalent Foliations
With its induced metric, each toroidal flux surface is conformally $\mathbb{C}/(\mathbb{Z} + \tau(\psi)\mathbb{Z})$ with modulus $\tau(\psi) \in \mathbb{H}$; the constant-metric case of the Hodge period bound is in the library (Theory/Geometry/TorusHodge). Contribute proofs on Radó–Kneser–Choquet univalence for flux-coordinate Jacobians and Hardy-space Fourier decay bounds.
Contents of This Suite
| File in Suite | Format | Related main-site pages |
|---|---|---|
rosetta-stone.html / markdown/ROSETTA_STONE.md |
Interactive HTML + Markdown | Terminology bridge for the 13 guides of handbook.html. |
blueprint-dag.html |
Interactive SVG graph + inspector | A picture of part of the research graph in implementation-plan.html; the plan is the authority. |
kernel-audit.html / markdown/KERNEL_AUDIT_GUIDE.md |
Split-pane guide + Markdown | Complements model-contracts.html; full record: kernel audit, 30 October 2026. |
certificate-anatomy.html / markdown/CERTIFICATE_WALKTHROUGH.md |
5-stage walkthrough + bound evaluator | Illustrates vacuum-demonstrator.html. |
math-challenges.html + lean_stubs/*.lean |
6 invitations + 6 Lean 4 stub files | Self-contained onboarding tasks for geometers and topologists (Challenge 6 partly done in the library, Challenge 1 overlaps it). |
slides-onboarding.html |
Reveal.js presentation (10 slides) | Short contributor deck; the main deck is slides.html. |