Bridging Small-Kernel Formal Verification, Differential & Complex Geometry, and 3D Fusion Engineering
Portal: siddhartha-gadgil.github.io/PlasmaLean/
Core Philosophy: Isolate physical model contracts into a tiny, human-auditable Lean 4 kernel backed by non-vacuity sanity checks—enabling AI agents and mathematicians to collaborate with zero specification drift.
Why do numerical stellarator optimizers hit "false optima", and how do formalizations avoid proving vacuous theorems?
propext, Classical.choice, Quot.sound).HasFluxSurface.x / 0 = 0 in Biot–Savart integrals.Compiled Today in PlasmaLean: From smooth 3D coil curves $\gamma_i : S^1 o \mathbb{R}^3$ to certified manufacturing margins:
| Stellarator Physics | Differential / Complex / Symplectic Geometry |
|---|---|
| Flux surface $\psi = c$ | Compact regular level set $\Sigma_c \cong T^2$ of a first integral ($\mathcal{L}_B \psi = 0$) |
| Vacuum field ($ abla\cdot B=0, abla imes B=0$) | Harmonic 1-form $eta \in \mathcal{H}^1(M, g)$ ($deta = 0, d^*eta = 0$) |
| Force-free field ($ abla imes B = \lambda B$) | Beltrami 1-form $\star deta = \lambda eta$ (Contact structure $eta \wedge deta eq 0$ when $\lambda eq 0$) |
| Rotational transform $\iota(\psi)$ | Poincaré rotation number of area-preserving poloidal return map |
| Guiding-center particle drift | Hamiltonian flow of Littlejohn's non-canonical symplectic 2-form $\Omega_{GC}$ |
| Non-folding Fourier surfaces ($\sqrt{g} > 0$) | Univalence of planar harmonic maps on $\mathbb{D} \subset \mathbb{C}$ (Radó–Kneser–Choquet) |
From $\mathbf{J} imes \mathbf{B} = abla p eq 0$, prove $(\mathbf{B}, \mathbf{J})$ trivializes $T\Sigma_c$, forcing $\chi(\Sigma_c) = 0$ and $\Sigma_c \cong T^2$.
Stub: Challenge1_PoincareHopfTorus.lean
Formalize homotopy invariance of the Gauss linking integral $\mathrm{Lk}(\gamma_1, \gamma_2)$ for modular coils, and MacKay's Converse KAM criteria to bound magnetic island chaos.
Stub: Challenge2_GaussLinking.lean
Frenet frames fail when curvature $\kappa(s)=0$ (quasi-isodynamic stellarators). Formalize parallel Bishop frames $(T, N_1, N_2)$ and prove the tubular neighborhood Jacobian $\det(D\Phi) = 1 - r_1 k_1 - r_2 k_2 > 0$ for $r < 1/\kappa_{\max}$.
Stub: Challenge3_BishopFrameNearAxis.lean
Prove that $(M,N)$-quasisymmetry $\mathcal{L}_u |B| = 0$ generates an exact conserved helical momentum $P_{ ext{hel}}$ under guiding-center symplectic dynamics.
Stub: Challenge4_QuasisymmetryNoether.lean
Certify that double Fourier series $(R_{m,n}, Z_{m,n})$ define non-overlapping flux surfaces ($\det D\Phi > 0$) using complex-analytic $\ell^1$ contraction and Nehari/Radó–Kneser–Choquet univalence criteria on $\mathbb{D} \subset \mathbb{C}$.
Stub: Challenge5_HarmonicUnivalence.lean
Every flux surface $\Sigma_\psi \cong \mathbb{C}/(\mathbb{Z} + au(\psi)\mathbb{Z})$ carries a Hodge star $\star_g^2 = -I_2$ and period matrix determined by its conformal modulus $ au(\psi)$.
Stub: Challenge6_ConformalTorusModulus.lean
lean_stubs/Challenge1..6.lean (each file imports only Mathlib—no physics solver setup needed!).sorry with a Lean 4 Proof (using human insight, grind, or AI theorem-proving assistants) and open a PR to siddhartha-gadgil/PlasmaLean.