|
Download README.md from Snapkitty/sovereign-trinity-kernel: direct link, hf CLI and curl.
- Browser
- Download file 4.59 kB
-
https://huggingface.co/Snapkitty/sovereign-trinity-kernel/resolve/main/README.md
- Command line
-
hf download hf://Snapkitty/sovereign-trinity-kernel/README.md
-
curl -L -o README.md https://huggingface.co/Snapkitty/sovereign-trinity-kernel/resolve/main/README.md
4.59 kB
| # Sovereign Trinity Kernel | |
| [](LICENSE) | |
| [](lean/) | |
| [](dex/) | |
| [](lua/quantum-resources.lua) | |
| [](lua/lua6502.lua) | |
| [](latex/) | |
| [](lua/assembler.lua) | |
| [](lua/kernels_6502.lua) | |
| [](https://github.com/SNAPKITTYWEST/aes-formal) | |
| [](https://snapkittywest.github.io/hyperkitty/papers/sovereign-stack-unified.pdf) | |
| **Authors:** Ahmad Ali Parr, Jessica L. Williams (SNAPKITTYWEST) | |
| **Part of:** [aes-formal](https://github.com/SNAPKITTYWEST/aes-formal) NIST submission package | |
| > **The PDF is a cryptographic commitment to the quantum state of the universe at the moment of compilation.** | |
| --- | |
| ## What This Is | |
| A LaTeX package where every number in a cryptographic research paper is: | |
| 1. **Proven** by Lean 4 (zero sorry, `norm_num` closes all arithmetic) | |
| 2. **Verified** by Dex shape-safe kernels (`libaes_kernels.so`) | |
| 3. **Orchestrated** by a 6502 CPU emulator running as a Mixture-of-Agents controller | |
| 4. **Seeded** by true quantum randomness from the Australian National University QRNG (vacuum fluctuations) | |
| 5. **Rendered** by LuaLaTeX at compile time | |
| No hardcoded numbers. No trusted intermediaries. The paper is the executable specification. | |
| --- | |
| ## The Pipeline | |
| ``` | |
| ANU QRNG (vacuum fluctuations, Australia) | |
| β | |
| 6502 VM (MoA orchestrator, embedded in LuaLaTeX) | |
| β quantum seed β accumulator register A | |
| Dex verified kernels (libaes_kernels.so) | |
| β gf2_rank=128, branch=2 (shape-safe proofs) | |
| Lean 4 constants (artifacts/qr_constants.json) | |
| β BICLIQUE_TIME_EXP=96, SBOX_T_GATES=42 | |
| LuaLaTeX compile-time computation | |
| β | |
| PDF (every number computed, none typed) | |
| β | |
| Bifrost WORM chain seal | |
| ``` | |
| --- | |
| ## The 6502 MoA Routing Logic | |
| ```asm | |
| ; aes_moa_routing.asm | |
| ; Memory: $2000 = ANU entropy input, $2001 = multiplier output | |
| LDA $2000 ; Load quantum seed | |
| CMP #$80 ; Compare with 128 | |
| BCC aggressive ; If seed < 128: aggressive agent (95%) | |
| conservative: | |
| LDA #115 ; 115% overhead (conservative) | |
| STA $2001 | |
| BRK | |
| aggressive: | |
| LDA #95 ; 95% overhead (aggressive) | |
| STA $2001 | |
| BRK | |
| ``` | |
| The 6502 accumulator IS the quantum state. The routing decision emerges from vacuum fluctuations measured in real-time in Australia. | |
| --- | |
| ## Usage | |
| ```latex | |
| \usepackage{quantum-resources} | |
| % Dynamic (ANU + 6502 + Dex): | |
| \QubitCountTrinity{shor}{2048} | |
| % Output: "6146 qubits | Agent: conservative | ANU seed: A3 | Rank: 128 | Branch: true" | |
| % Biclique (Lean 4 proven, 6502 annotated): | |
| \BicliqueTrinitySeal | |
| % Output: "Time: 2^96 | Mem: 2^32 | Agent: aggressive | ANU seed: 7F" | |
| % Verify chain (log only): | |
| \TrinityVerifyChain | |
| ``` | |
| --- | |
| ## Build | |
| ```bash | |
| # Full pipeline: Lean β Dex β LuaLaTeX | |
| ./scripts/build.sh | |
| # Or manual: | |
| lualatex --shell-escape main.tex | |
| ``` | |
| Requires: `luasocket`, `lua-cjson`, `libaes_kernels.so` in working directory. | |
| --- | |
| ## Verification Artifacts | |
| | Artifact | Verification | | |
| |----------|-------------| | |
| | `lean/` | `lake build` β 0 sorries, `norm_num` closes all | | |
| | `dex/aes_kernels.dex` | Shape-safe GF(2) kernels, LLVM target | | |
| | `lua/lua6502.lua` | 6502 NMOS emulator, tested opcodes | | |
| | `lua/quantum-resources.lua` | ANU QRNG + Dex FFI + MoA routing | | |
| | `latex/quantum-resources.sty` | LaTeX3/expl3 user interface | | |
| | `paper/main.pdf` | Zero hardcoded numbers | | |
| --- | |
| ## Compiler Log Output | |
| When it works, the log shows: | |
| ``` | |
| TRINITY KERNEL: ANU + 6502 + Dex + Lean 4 β ACTIVE | |
| Rank: 128 | Branch: true | Lean Phase 13: CLOSED | |
| β‘ 6502 Controller Initialized with ANU Seed: A3 | |
| π₯ ASP Stable Model Verified. | |
| ``` | |
| --- | |
| ## License | |
| Tri-license β choose any one: | |
| AGPL-3.0 | BSL 1.1 β MIT (2029-01-01) | MIT | |
| Copyright (C) 2026 Ahmad Ali Parr, Jessica L. Williams / SNAPKITTYWEST | |
| Bel Esprit D'Accord Irrevocable Trust | |