HEXA-CERN family β particle physics Β· benchtop accelerator Β· Ο-cascade Β· n=6 substrate
particle-physics Β· accelerator Β· laser-plasma Β· LWFA Β· Ο-cascade Β· LHC Β· DESY Β· n=6 lattice Β· benchtop
hexa-cern β n=6 sigma-cascade 6-order benchtop accelerator (100 MeV / 1 GeV/m, mini + parent + classical 3-pillar).
A petite, peer-of-Lumière standalone repo from the dancinlab org. Where Lumière takes the camera/character axes, hexa-cern takes the accelerator axis: three pillars distilled from the canon physics domain into a single MIT-licensed bundle.
LHC fills a 27 km tunnel for 7 TeV. DESY runs a 1 GeV/m laser-plasma prototype on a research-lab footprint. hexa-cern's design target is a benchtop Ο-Ο=10 GeV/m continuous-mode accelerator at 100 MeV total, threaded by the n=6 perfect-number lattice (Ο(6)=12, Ο(6)=4, Ο(6)=2).
The design ceiling β what the spec claims if Stage-1+ empirical builds confirm the Ο-cascade β is 6 orders of practical change vs current tech:
| effect | LHC/DESY current | hexa-cern design ceiling |
|---|---|---|
| precision | 1.0 unit | Ο-Ο = 10Γ gain |
| throughput | 1.0Γ | ΟΒ² = 144Γ |
| energy cost | 100% | 1/Ο β 8.3% |
| equipment size | 1.0 L (or 27 km) | 1/(Ο-Ο) = 0.1 L benchtop |
| error rate | 1% | 1/ΟΒ² β 0.7% |
| lifetime | 1 year | ΟΒ·Ο = 48 months |
This is the why: a CERN you can put on a bench, drawn from the same n=6 invariant that threads the rest of the HEXA family.
- v1.1.0 RSC code-layer FINAL on
main(2026-05-13) - 29/29 verify scripts PASS Β· 353/353 row-level checks PASS Β· 4/4 tests PASS
- 100% bookkeeping closure across F-PCERN-1/2/3 (T1+T2+T3 locked)
__HEXA_CERN_RSC_SATURATED__ STOPsignal active (17/17 saturation conditions met)- 3 pillars: HEXA-MINI-ACCEL (λ²€μΉν± 100 MeV / 1 GeV/m laser-plasma) + HEXA-PACCEL (integrated parent) + HEXA-CLASSIC-ACCEL
- n=6 invariant: Ο(6)=12 Β· Ο(6)=4 Β· Ο(6)=2 Β· Jβ=24 Β· ΟΒ·Ο = nΒ·Ο = 24
- Zero
.pyin the runnable surface β 100%.hexaend-to-end (verify + tests + firmware sim) - LHC 7 TeV/27km & DESY 1 GeV/m baselines compared paper-only; empirical raw-data fit (Stage-1+ benchtop) UNVERIFIED until hardware lands
- Closure is bookkeeping β closed-form algebra + closed-form numerics + archival paper-existence; not bench measurement
- Real-limits authority:
LIMIT_BREAKTHROUGH.md(CERN public TDR/CDR values L1..L12; no n=6 lattice fit on CERN vendor numbers) - Parent:
dancinlab/echoes; GitHub canonical at https://github.com/dancinlab/hexa-cern
What it does not ship: actual particle acceleration, Geant4/MAD-X bridge, real-time beam diagnostics, LHC/DESY data ingestion. The Ο-cascade 6-order claim is a design-target ceiling, not a measurement.
v1.1.0 RSC code-layer FINAL on
main(2026-05-13): 29/29 verify scripts PASS Β· 353/353 row-level checks PASS Β· 4/4 tests PASS Β· 100% bookkeeping closure across F-PCERN-1/2/3 (T1+T2+T3 locked) Β·__HEXA_CERN_RSC_SATURATED__ STOPsignal active.
v1.0.0 ships (frozen 2026-05-06):
- 3 pillar specs (
.md, extracted fromcanon@c0f1f570) - a
cli/hexa-cern.hexadispatcher with 3 pillar verbs + status / selftest
v1.1.0-pre adds (on main, 2026-05-07):
verify/β 12.hexascripts auditing n=6 lattice + per-pillar derivations + numerical solversbuild/β pandoc + xelatex Makefile that regenerates 3 pillar PDFs (clean)tests/β 4.hexatest cases (+test_all.hexaaggregator); 4/4 PASScli/hexa-cern.hexa verify [<sub>]β 6-runner aggregator subcommandhexa.tomlv1.1.0-pre [closure] block:verify_pass: 6/6,tests: 4/4
Zero .py was added β the runnable surface is 100% .hexa. This is
deliberate: hexa-cern is a hexa-family member, and the migration target
across dancinlab repos is .hexa-native tooling.
The verify/ surface (all .hexa) audits n=6 closure + per-pillar derivations.
Current state (2026-05-13): 29/29 scripts PASS, 353/353 row-level
checks PASS β 100% bookkeeping closure. F-PCERN-1/2/3 all at T1+T2+T3
locked. __HEXA_CERN_RSC_SATURATED__ STOP signal active (17/17 saturation
conditions met).
| script | check | result |
|---|---|---|
verify/lattice_check.hexa |
Ο(6)Β·Ο(6) = nΒ·Ο(6) = Jβ = 24 across roadmap + 3 pillars | 23/23 PASS |
verify/cross_doc_audit.hexa |
LHC / DESY / OEIS / BT cross-link + firmware HDL/MCU skeleton | 15/15 PASS |
verify/calc_wakefield.hexa |
mini β E_peak = ΟΒ·(Ο-Ο) = 120 GV/m, aβ = n = 6, R = 10 cm | 6/6 PASS |
verify/numerics_wakefield.hexa |
mini β closed-form plasma numerics (n_e, L_d via math_pure) | 4/4 PASS |
verify/numerics_lwfa_solver.hexa |
mini β Verlet LWFA ODE solver | 7/7 PASS |
verify/numerics_lwfa_relativistic.hexa |
mini β KDK leapfrog relativistic LWFA (Ξ³ β 200) | 9/9 PASS |
verify/numerics_beam_dynamics.hexa |
mini β LWFA betatron + emittance preservation | 8/8 PASS |
verify/numerics_lwfa_scaling.hexa |
mini β Lu/Esarey/TD scaling-law parity | 10/10 PASS |
verify/calc_sigma_cascade.hexa |
parent β E_0..E_6 chain (10 MeV β 100 TeV) | 8/8 PASS |
verify/numerics_sigma_cascade.hexa |
parent β relativistic Ξ³ progression numerics | 10/10 PASS |
verify/numerics_bending.hexa |
parent β collider bending-radius R = E/(ecB), LHC/Tev/FCC | 8/8 PASS |
verify/calc_classical.hexa |
classical β DOF = n = 6, phase-space dim = Ο = 12 | 11/11 PASS |
verify/numerics_classical.hexa |
classical β symplectic leapfrog (Ο=4 quadrants) | 9/9 PASS |
verify/numerics_liouville.hexa |
classical β Liouville volume preservation (det(J)=1) | 8/8 PASS |
verify/numerics_se3_partial.hexa |
classical β 2-DOF symplectic (1β2β6-DOF) | 8/8 PASS |
verify/numerics_cross_pillar.hexa |
cross-pillar consistency (mini β parent β classical) | 8/8 PASS |
verify/numerics_lhc_parity.hexa |
F-PCERN-1 collider parity (LEP/Tevatron/LHC/FCC) | 10/10 PASS |
verify/numerics_lwfa_parity.hexa |
F-PCERN-3 LWFA parity (BELLA/FACET/ATHENA/FLASHFwd) | 7/7 PASS |
verify/numerics_lattice_arithmetic.hexa |
n=6 lattice float arithmetic (math_pure stability) | 12/12 PASS |
verify/lint_numerics.hexa |
meta-lint: every numerics_*.hexa follows conventions | 71/71 PASS |
verify/saturation_check.hexa |
RSC saturation (sat-1 + sat-2 + sat-3 β STOP) | 17/17 PASS |
verify/empirical_lhc_api.hexa |
F-PCERN-1 T3 β CERN Open Data API archival feed | 7/7 PASS |
verify/empirical_lwfa_hepdata.hexa |
F-PCERN-3 T3 β Inspire-HEP LWFA paper milestones | 10/10 PASS |
verify/empirical_classical_arxiv.hexa |
F-PCERN-2 T3 β arXiv classical-mechanics milestones | 6/6 PASS |
verify/falsifier_check.hexa |
F-PCERN-1/2/3 preregister + closure progress (100% bookkeeping) | 21/21 PASS |
firmware/sim/timing_chain.hexa |
Β§A.6.1 step C β master clock + trigger sim | 10/10 PASS |
firmware/sim/dac_chain.hexa |
Β§A.6.1 step C β 16-bit DAC chain | 10/10 PASS |
firmware/sim/adc_chain.hexa |
Β§A.6.1 step C β ADC chain (BPM/diamond) | 9/9 PASS |
firmware/sim/control_loop.hexa |
Β§A.6.1 step C β closed PID loop | 9/9 PASS |
Run them all with the unified CLI subcommand or the standalone orchestrator:
HEXA_LANG=$HOME/core/hexa-lang hexa-cern verify all # 29/29 expected
HEXA_LANG=$HOME/core/hexa-lang hexa run verify/run_all.hexa # same; orchestrator (.hexa)
HEXA_LANGpoints the interpreter at the hexa-lang stdlib root that shipsself/runtime/math_pure. Required when numerics scripts run outside thehxpackage shim.
Or build the 3 pillar PDFs:
make -C build check # verify pandoc + xelatex + hexa available
make -C build all # rebuild all 3 pillar PDFs into build/out/Empirical wiring (laser-plasma sandbox, parent integration, classical
baseline solver) is deferred to Stage-1+ benchtop builds. See
docs/cern_baseline.md for the LHC 7 TeV/27 km
vs DESY 1 GeV/m vs HEXA Ο-Ο=10 GeV/m comparison table, and
docs/numerics_methodology.md for how
the verify surface is structured (3-tier evidence ladder, F-PCERN
closure pct, math_pure conventions, recipe for adding new numerics).
# 1. Install hexa-lang (gives you `hexa` + `hx` package manager)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/dancinlab/hexa-lang/main/install.sh)"
# 2. Install hexa-cern
hx install hexa-cernhexa-cern status # 0/3-wired pillar table + verdict + caveats
hexa-cern selftest # full 3-pillar sentinel sweep
hexa-cern verify # n=6 invariant + per-pillar calculators (29/29)
hexa-cern --version # show version
hexa-cern --help # full usage
# orchestrator (.hexa, no CLI wrapper):
HEXA_LANG=$HOME/core/hexa-lang hexa run verify/run_all.hexahexa-cern/
βββ README.md β this file
βββ LICENSE β MIT
βββ hexa.toml β package manifest (hx install hexa-cern)
βββ install.hexa β hx install hook (post-install selftest)
βββ .roadmap.hexa_cern β cross-cutting state (lattice / cycles / falsifiers)
βββ CHANGELOG.md β release history
βββ RELEASE_NOTES_v1.0.0.md β v1.0.0 cut notes
β
βββ mini/doc/mini-accelerator.md β pillar 1 (47 KB)
βββ parent/doc/particle-accelerator.md β pillar 2 (14 KB)
βββ classical/doc/classical-mechanics-accelerator.md β pillar 3 (47 KB)
β
βββ cli/
β βββ hexa-cern.hexa β CLI router (status/selftest/verify/mini/parent/classical)
βββ verify/ β v1.1.0-pre β n=6 audit surface (.hexa)
β βββ lattice_check.hexa β ΟΒ·Ο = nΒ·Ο = Jβ = 24 closure (23/23)
β βββ cross_doc_audit.hexa β LHC/DESY/OEIS/BT cross-pillar (11/11)
β βββ calc_wakefield.hexa β mini β laser-wakefield n=6 ( 6/ 6)
β βββ numerics_wakefield.hexa β mini β closed-form n_e/L_d ( 4/ 4)
β βββ numerics_lwfa_parity.hexa β mini β vs DESY/SLAC LWFA refs ( 7/ 7)
β βββ calc_sigma_cascade.hexa β parent β E_0..E_6 chain ( 8/ 8)
β βββ numerics_sigma_cascade.hexa β parent β relativistic Ξ³ (10/10)
β βββ numerics_lhc_parity.hexa β parent β vs LEP/Tev/LHC/FCC (10/10)
β βββ calc_classical.hexa β classical β Lagrange/Hamilton(11/11)
β βββ numerics_classical.hexa β classical β symplectic leap. ( 9/ 9)
β βββ numerics_cross_pillar.hexa β mini β parent β classical ( 8/ 8)
β βββ falsifier_check.hexa β F-PCERN-1/2/3 + closure % (11/11)
βββ build/
β βββ Makefile β pandoc + xelatex 3-PDF rebuild
β βββ header.tex β LaTeX include (CJK + monospace; soft-guarded)
β βββ out/*.pdf β generated, .gitignore'd
βββ tests/ β v1.1.0-pre β regression suite (.hexa)
β βββ test_selftest.hexa
β βββ test_lattice.hexa
β βββ test_calculators.hexa
β βββ test_cli_verify.hexa
β βββ test_all.hexa β runs everything above (4/4 PASS)
βββ docs/cern_baseline.md β LHC vs DESY vs hexa-cern comparison
The verify/ + build/ + tests/ triad is the canonical runnable
surface for hexa-cern: every audit + every PDF + every test is .hexa
end-to-end (no Python, no shell-only logic).
| dependency / cousin | repo | role |
|---|---|---|
| SC magnet substrate | dancinlab/hexa-rtsc |
superconducting magnet primitive |
| cousin (PET cyclotron, antimatter) | dancinlab/hexa-antimatter |
parallel acceleration use case |
| Stage-3 propulsion dependent | dancinlab/hexa-ufo |
downstream propulsion consumer |
Provenance: extracted from canon at SHA c0f1f570 on 2026-05-06.
Sister repo (peer extraction): dancinlab/lumiere β camera-filter + hexa-main-character apps-axis.
MIT β see LICENSE.
Copyright (c) 2026 dancinlab (λ°λ―Όμ° nerve011235@gmail.com)