Repository navigation
Affine Fusion Control
Page class: STUDY (app realization of Study 33). Every figure below is produced by a program in reproduce/ or by the app itself, dated where it is a timing. Grades per the ontology: MEASURED, PROJECTION, REPORTED, NOT_KNOWN. Read the limits section first β it says exactly what this is and is not.
Public release: Affine Fusion Control β the plasma operating-point verdict a safety authority can re-derive by hand β the measured, claim-graded case, every figure re-derivable from source.
A fully-compiled Swift 6.4 macOS app that grades a fusion reactor's telemetry against a frozen, exact-integer disruption law β no floating point, no network, no model, no GPU on the decision path, no slow start. It runs 65,536 agents on a 1 kHz control clock on one laptop. It is not connected to a reactor and holds no real machine data; it grades presented telemetry and presented operating points. What it demonstrates is an architecture: a control verdict that is an exact integer a third party can re-derive, in a domain the industry currently settles with floating-point surrogates that return a confident number for every input including the ones they were never trained on.
The app, running β 65,536 agents at 1 kHz, five panels, both courts live:

-
THE LAW, FROZEN β the six constants, rendered from the law's own source, not transcribed into the view. The panel's own footer says so. This is the app's claim to being a court rather than a dashboard.
-
VERDICT WALL β every agent as one cell, coloured by terminal (NOMINAL green, MITIGATE amber, REFUSED red). The instrument is visibly discriminating β four distinct verdicts on screen at once, not one alarm:

In this shot: NOMINAL 54,272 Β· MITIGATE 8,192 Β· REFUSED-envelope 2,048 Β· REFUSED-malformed 1,024 (sums to 65,536). The regular bands are the demo's channel classes; a real feed produces whatever the sensors do.
-
OPERATING-POINT COURT β the second law, live on five real published machines, graded every tick through the same
FusionOperatingPointLawthe reproduce scripts call. Each machine sits at its own fraction of its own Greenwald limit; a shared drift walks them across the 0.85 line, so a single frame shows genuine discrimination rather than a synchronized alarm:
In this frame: ITER 72 % WIN Β· SPARC 80 % WIN Β· JET 86 % MISS Β· DIII-D 94 % MISS Β· W7-X N/A. The stellarator carries no plasma current, so it never enters the density court at all β
NOT_APPLICABLE_NO_PLASMA_CURRENT, permanently, which is the thesis in one tile (a trained surrogate divides by ~0 and extrapolates; this court refuses to invent ann_Gthat does not exist). -
CADENCE β the panel where the app tells on itself: the latency histogram,
skippedTicks, p50/p99. Red the instant a deadline is missed. -
CHANNEL SCOPE β one channel's window against the Β±6000 envelope and the growth trigger.
The colours match the browser client in clients/fusion-court/ β the two live in different languages (Swift RGB, HTML hex), so a gate (Tools/palette-parity.sh, PALETTE_PARITY_PROVEN) checks every build that they still agree. The claim that they cannot drift is enforced, not remembered.
The disruption law is abs, subtract, compare, and a run counter β no multiply, no divide, no float. It returns one of four terminals, and the two REFUSALS are the whole difference from a trained surrogate:
| terminal | meaning |
|---|---|
| NOMINAL | inside the envelope, no growing mode |
| MITIGATE | a mode grew past the trigger for the required consecutive windows |
| REFUSED_OUT_OF_ENVELOPE | the signal left the range the law was frozen against β the court does not rule on data it never saw |
| REFUSED_MALFORMED | the sample is outside the ADC domain entirely β not admissible data |
A statistical interpolator returns a plausible number for every input, including inputs outside anything in its training set β and cannot tell you which of its answers it was entitled to give. This law returns a verdict only where it has one, and names its refusal everywhere else. That is an invariant approach to "what will happen," versus a model that can only replay what it was shown.
The verdict law has one home (app/FusionCourt/Sources/FusionLaw/) β enforced, because it was once forked three ways and the copies disagreed on real inputs (a refusal had silently become a pass). That correction is documented in full on Study 33.
Beyond the streaming disruption law, the substrate carries an exact operating-point court: is a presented reactor configuration inside its stability limits?
-
Greenwald density:
100Β·neΒ·aΒ²Β·Ο_num < 85Β·IpΒ·1e6Β·Ο_den -
Troyon beta:
Ξ²_N Γ1000 β€ 2380 -
q_min:
q_min Γ1000 β₯ 2000
All in Int128 (Swift 6.4 native) β the Greenwald product overflows Int64 at a 20 m minor radius and fits Int128 with room to spare, so no arbitrary-precision fallback is needed. Ο is irrational and this is a court: the caller may declare its own Ο_num/Ο_den for an exact verdict, or the law evaluates at both 333/106 and 355/113 and, when they agree, reports the verdict as Ο-independent β a stronger claim than any float computation can make.
All five terminals are reachable, proven not asserted (reproduce/fusion-operating-court.swift, 11 tests):
OPERATING POINT VERDICT BINDS
ITER 15MA baseline (nominal) WIN -
ITER pushed over Greenwald density MISS greenwald
ITER over Troyon beta limit MISS troyon
ITER under q_min floor MISS qMin
W7-X stellarator (currentless, Ip=0) NOT_APPLICABLE_NO_PLASMA_CURRENT -
on the Greenwald line (pi-bracket) NOT_MEASURED_PI_BRACKET -
malformed submission (Ip < 0) REFUSED_NONPHYSICAL -
COURT TERMINALS REACHED: 5 of 5
The stellarator row is the thesis in one line. A currentless machine has no plasma current, so the Greenwald limit β which is a statement about a current-carrying plasma β is undeterminable. The court returns NOT_APPLICABLE and names the open branch rather than dividing by ~0 and extrapolating a confident answer, which is exactly what a surrogate trained on tokamaks would do at a stellarator.
reproduce/fusion-topology-agnostic.swift proves it at the law level: tokamak, stellarator, and spheromak are three genuinely different layouts β
| topology | field periods | toroidal circuit | nodes | edges |
|---|---|---|---|---|
| tokamak | 1 | yes | 512 | 1,504 |
| stellarator | 5 | yes | 2,560 | 7,520 |
| spheromak | 1 | no | 481 | 960 |
β and the same operating envelope grades to byte-identical verdict signatures across all three. The verdict moves only when a physics input changes (Ip 15 MA β 0 flips WIN β NOT_APPLICABLE), never on the topology descriptor. Negative control, and it can fail: the spheromak, having no toroidal circuit, emits zero toroidal-closure edges β a toroidal disagreement is not even representable in its layout, and the check prints FAIL if that count is ever > 0. That is "we run on any reactor topology" made checkable rather than asserted.
The operating-point court is not only exercised on synthetic points β it grades real machine geometries whose parameters are public (reproduce/fusion-real-machines.swift). Using only each machine's published plasma current and minor radius, it computes that machine's own Greenwald density limit and places the 0.85 boundary:
| machine | Ip | a | Greenwald limit (computed) | at 0.80Γ | at 0.90Γ |
|---|---|---|---|---|---|
| ITER | 15 MA | 2.0 m | 1.19Γ10Β²β° mβ»Β³ | WIN | MISS (greenwald) |
| SPARC | 8.7 MA | 0.57 m | 8.52Γ10Β²β° mβ»Β³ | WIN | MISS (greenwald) |
| JET | 4.8 MA | 1.25 m | 0.98Γ10Β²β° mβ»Β³ | WIN | MISS (greenwald) |
| DIII-D | 2.0 MA | 0.67 m | 1.42Γ10Β²β° mβ»Β³ | WIN | MISS (greenwald) |
| W7-X (stellarator) | 0 (currentless) | 0.53 m | β | NOT_APPLICABLE |
β |
(REPORTED β Ip and a from iter.org, Creely et al. 2020, EUROfusion, General Atomics, IPP Greifswald.) The computed limits match the published Greenwald densities for each machine β SPARC's is high precisely because its minor radius is small and its current large, exactly as the literature reports. The court reproduces real machine physics from two public numbers, places the density boundary correctly on every one, and refuses W7-X because a currentless machine has no Greenwald limit to place. That is the difference between an exact law and a surrogate: the law is right for a reason a physicist can check, not confident for a reason no one can.
The honest question: does this law belong on a GPU? Measured on an M4 Max (40 GPU cores), --selftest-crossover, both sides bit-exact to the CPU golden:
| agents | CPU (12 core) | GPU (round-trip) | winner |
|---|---|---|---|
| 4,096 | 232 Β΅s | 1,037 Β΅s | CPU |
| 65,536 | 1,966 Β΅s | 4,349 Β΅s | CPU |
| 1,048,576 | 29,301 Β΅s | 58,969 Β΅s | CPU |
(One representative run. The winner and bit-exact parity are what hold on any machine and are pinned in the test suite; the exact microseconds vary run to run and are not a claim.)
The GPU never wins up to a million agents, ~2Γ slower everywhere, and bit-for-bit correct throughout. A kernel launch is a fixed ~1 ms; the law has no multiply for a GPU's float lanes to accelerate. "We needed it for floating point, but we are not that now" β measured, not assumed. The full account, including the two broken benchmarks that flattered the GPU before the instrument was fixed, is in the app's CROSSOVER.md.
- No reactor. No real machine data. Every trace here is synthetic; every operating point is presented. The app grades telemetry; it does not read a tokamak. (NOT a measurement of any device.)
-
Determinism is checkable, not asserted. A single sha256 over ~3,000 verdicts (
reproduce/fusion-determinism-digest.swift) is identical on every machine βf49b576eβ¦β because every verdict is an exact integer comparison with no floating point anywhere. Run it on your hardware; a different digest means the law diverged, which is the failure this architecture exists to make impossible. - Timings are dated, not constant. The latency and crossover numbers are this machine on this date. The harness pins the claims that must hold on any machine (5-of-5 terminals, byte-identical cross-topology verdicts, bit-exact GPU parity), never the wall-clock microseconds.
- The disruption thresholds are illustrative and frozen for demonstration. A real deployment re-freezes them against its own device before grading anything. What is not illustrative is the architecture: exact, re-derivable, refusing where it has no answer.
- Mac-only. This is the local app, deliberately not the build that ships to the Affine.Earth cells.
New to this: the fusion researcher's guide β clone, build, run the app, and re-derive every number above, with the exact commands and what each one proves.
Related: Study 33 β the fusion control verdict court Β· Fusion researcher's guide Β· The replacement grade Β· The ontology
Rights β source-available, all rights reserved. This wiki and its repository are published for public inspection and to let anyone re-derive the figures. They carry no LICENSE; under default copyright, all rights are reserved. No right is given or intended to use, run, or deploy it for any purpose other than re-deriving the published figures, nor to modify or build on it β any other use requires a written licensing agreement with the authors. Β· Affine.Earth Β· zero float Β· zero shear
Each step is the reason the next one exists. Nothing here is medical advice, and no page calls any medicine safe or unsafe.
1 Β· Why an exact safety screen at all
- Cures Without the Gatekeeper β the medicine front door: six real written medicines, one screen anyone can re-run
- The library admission law β what may enter, and the 71 arms that prove it refuses. The primary artefact.
2 Β· The three libraries, which grow rather than close
- The Library of Compound Cures β exact off-target maps for the medicines the registry publishes
- The Library of Proteins β 80,080 generated sequences, novel chemical matter, graded honestly
- The Library of Material Systems β what a system is, what was measured, where the law lives. C-007 absolute: no recipes
3 Β· The maps β every place a molecule could act, counted
- The off-target atlas β every nucleic-acid medicine the registry publishes a sequence for: WHERE it can pair
- The order of the bases β WHETHER THAT BURDEN IS UNUSUAL: 472 strands ranked against sixteen rearrangements of their own bases
- Where else could this guide cut? β the whole human genome, counted
- Designed, or forced by its own bases? β every clinical CRISPR guide, with its own composition as the control
- What a public genome deposit will tell you β and four ways it will mislead a health tool first
- Study 45 β which of nine billion answers a laboratory can act on β a safety review of AlphaGenome Atlas, measured live on 1,200 real variants at two genes. The headline score separates every one. The detailed tracks do not: splice-site usage hands back 950 of every 1,000 values shared with another variant at HBB and 998 at CFTR, and the shared values pile up in the quiet band where a bench clears a variant
4 Β· One medicine at a time
- Zilganersen β the first treatment for Alexander disease, screened on the real approved sequence
- A drug an AI designed β rentosertib for pulmonary fibrosis, and exactly what our instruments reach
- CAR-T, halted β the verdict a regulator could re-derive
- N-of-1 antisense β the only safety net at a population of one
- VERVE-102 β the off-target lattice a stranger can re-derive
- PM359 β prime editing, certified before anyone is dosed
- Del-Zota β the one safety question that can be made exact
5 Β· What keeps a disease alive, and what moves it
- Study 26 β master regulator bonds β 17 tumour types, 7,673 tumours; eleven compound pairs where no single agent among 20,308 cleared any
- Study 20 β Rife frequency β light and frequency, measured rather than dismissed
- Study 37 β five molecules β 37,910 "validated discoveries", 5 distinct molecules; why per-item validation cannot see a corpus-level defect
- Are the generated cures new? β 80,080 peptides against the human proteome
- Study 16 β disease type Β· Study 17 β chemistry InChIKey Β· Study 14 β protein lattice
- No language model in this stack β what the answers here are made of: measured 2026-09-12, no cell runs a model process, opens a model port or holds an unmasked model unit, and a gate refuses their return
- Run any study in your browser β all ninety programs open on your own device, forty-nine run there, and the run tells you whether it printed the sealed bytes
- The ontology β grades, terminals, controls, and what each page may say
- Zero Float Β· Zero Shear β the method in one page
- Ask someone you trust to check this β what to hand a sceptic
- Readersβ guide Β· Program index β all 42 studies Β· White paper Β· Roadmap
- The full-grade replacement β 49 retired instruments, 4 verticals
- The exactness seam β the business case
- Build a study β Falcon walkthrough β how to add one yourself
The same move every time: take a domain where a floating-point model is the accepted instrument, compute the same quantity in exact integers, and seal the cases where the two render opposite verdicts. The subject under grading is always the instrument, never the phenomenon.
- Study 48 β the atom already has an address β silicon dimers 3.840 Γ apart, the smallest commanded scale on the board: a length carried in single precision mis-addresses its first atom at step 8,783; an address cannot
- Study 49 β the phase code never needs Ο β a phase-only modulator takes 256 codes per pixel; the code is a ratio of integers
- Study 50 β CMS raw data from the LHC, read exactly β CMS's 2011 collision bytes streamed from CERN Open Data into the Affine IDE and read in exact integers, every collision a hologram you can turn: 138 of 3,564 bunch slots carry 93,110 of 120,742 collisions, and in 3,854 the event record reads its slot exactly 3 lower than the pixel boards Β· public release
- Study 55 β IceCube: the light in the ice, hit by hit β IceCube's calibrated hits read byte for byte: 4 published files, 9,749 events, 2,289,821 hits, a census seal per file
- Study 47 β translation shear: the meaning that survives a language β LAW FROZEN Β· LIVE CLAIM, measured 2026-09-11 and again fleet-wide 2026-09-12: translation as an exact coordinate transform, charts derived in memory at every start from the raw rows of a pinned public weight file and never written down; one lattice digest on 9/9 cells, zero drift, every refusal named. The generative comparison arm is ABSENT β there is no generative translator in the stack
- Study 34 β the observer-invariant verdict β why a safety verdict needs an exact law, not a bigger computer
- Study 35 β the safety brain that forgets β deaf in 8.4 seconds, forgets across machines, disagrees with itself
- Study 36 β the language game of Fermat's Last Theorem β guess and shear, or project
- Study 40 β the number the simulation throws away β their ICO result computed as a fraction; in float the effect returns 0 at every width, and an effect returned as zero cannot be searched for
- Study 41 β fifty years of solving the wrong problem β the ordering was never about time, it was about arithmetic; 177Γ the work and 2,400Γ the wrong guesses to return the answer the machine already had
- Study 42 β The Exact Contract β 2.7M flood settlements in Int128 cents; the step exists and the rigidity does not
- Study 29 β continuous-model shear
- The lattice holds Β· Impact study β continuum dead Β· Death of continuous shear
- Fourier Phantom β Anima FNO vs 11+12+13 Β· Stellar dynamo kill shot
- QCD: freedom is dilation Β· UUM-8D vs IUT β WIN
- Peer-review bundle Β· Conjecture alignment
- We need fusion β the verdict every machine can check
- Affine Fusion Control β the local exact-integer court Β· public release
- Fusion researcher's guide
- Study 33 β the fusion control verdict court
- Every season, fifty tonnes β the biosphere-safety case
- The forcing nobody measures Β· Impact study β the SpaceX trajectory
- Study 31 β the biosphere joint ledger β LIVE on the court, 9/9 cells
- Study 28 β the wet-bulb threshold court β Act 1 sealed
- Study 32 β the taxi-out floor court
- Where humans actually yield β the fatigue curves, and where the rules already agree
- Study 30 β sovereign edge pod Β· Manufacture contracts
- The detector that flags the whole market β a manipulation geometry in exact integers, and the regulator's own indicator scored against a legitimate quoter
- Study 43 β almost every order is cancelled, and that is normal β nine sessions, three operators, two continents: 935 to 998 of every 1,000 orders that ended, ended without trading. A check that flags almost everything is a denominator, not a detector β and the stock you pick moves it further than the exchange does
- Study 44 β nine billion answers, four billion ways to say them β AlphaGenome Atlas ships 9 billion predictions in single-precision floats, which hold 4.28 billion distinct values: 52 of every 100 variants MUST share a score with another. Agreement and exhaustion look identical on the wire
- Study 38 β the loss-reserve triangle β a reserve is an exact rational; 481 of 482 verdicts identical in both arithmetics; the sixteen-billion figure comes from an unchecked premise
- Study 39 β the actuarial domain β life, pensions, multi-state and aggregation; the margin is 8 significant digits at its tightest
- Run any study in your browser β the βΆ badge beside a program name opens it in the Studio, already built and carrying its inputs, and runs it on your machine with nothing sent back
- Explore the live courts
- MCP user guide β all 51 tools Β· Deterministic no-float courts for LLMs
- Court Client β generic wasm IDE for every court Β· Court-client checkpoint
- Coding Court β the verdict IS the artifact
-
Zed β the coding agent, for developers β set Zed 1.20.2 up on
https://affine.earth/v1, no language model anywhere; what a turn does, the wire, the autonomous closure -
Zed β Minecraft comes to life β the two-person interaction, sealed: it asks, cites, clones a sibling with a value you supply, verifies by replay; the court flips
REFUSED_UNKNOWN_BUDGET β WIN - Zed β the agent that teaches the whole domain β architecture, protocols, server management and git, each answered from lines it read and instruments it ran; five closures PROVEN, and the cattle question answered with a counter the fleet did not have
- Math Court on Glama Β· Math Court user guide Β· Example app β entire court
- Quantum algorithms inventory Β· Shor witness certifier
- MCP clients (public)
- Glama connector
- Look in the UI (no visitor data)
A study appears here under the state its evidence has earned, and above under the question it answers. The two are different filings of the same work, on purpose.
β LAW FROZEN Β· DATA SEALED
- Study 06 β explosion vs earthquake Β· Study 07 β Sgr A* raw visibilities
- Study 11 β Ehrhart volume Β· Study 12 β parallel repetition Β· Study 13 β Connes rigidity
- Study 14 β protein lattice Β· Study 16 β disease type Β· Study 17 β chemistry InChIKey
- Study 18 β material STD Β· Study 19 β Go First dice
- Study 26 β master regulator bonds β 17 tumour types, every finding published
π΄ LIVE CLAIM β standing, not sealed
- Study 02 β launch ionospheric holes Β· Study 02 β regulatory alarm
- Study 09 β global convective bond Β· Study 20 β Rife frequency Β· Study 21 β stellar dynamo
- Study 22 β 2-local Hamiltonian Β· Study 23 β spin glass Β· Study 24 β N-representability Β· Study 25 β exact permanent
π CHARTER Β· OPEN β the findings, published either way
- Study 03 β flare SIDs β archive went dead Β· predictions and validations
- Study 04 β tsunami vs surge β partial seal Β· Study 05 β Forbush decreases
- Study 08 β Gaia BH1 β no corpus until DR4 Β· Study 10 β Fermi / dark matter β does not disprove DM
- Study 15 β Skala DFT shear Β· Study 27 β exact nuclear scattering
- Overview Β· First 27 days Β· Success criteria
- The science, and what history says Β· Blind spots β five stories magnitude models miss
- Historical corpus Β· Data archives β every source, exactly how to reach it
- Model shear Β· Benchmark results Β· Prediction registry
- Substrate architecture β how a shadow becomes a geometry
- Operations runbook Β· Satellite & aviation advisory