docs: update README with full DOI catalog, unified paper, SKM paper
Browse files
README.md
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: fsl-1.1-apache-2.0
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- quantum-compiler
|
| 8 |
+
- formal-verification
|
| 9 |
+
- lean4
|
| 10 |
+
- fortran
|
| 11 |
+
- ptx
|
| 12 |
+
- sovereign-compute
|
| 13 |
+
- worm-chain
|
| 14 |
+
- jordan-spectral-transformer
|
| 15 |
+
- zero-dependency
|
| 16 |
+
- custom-assembly
|
| 17 |
+
- zero-sorry
|
| 18 |
+
pretty_name: Sovereign Monster Kernel
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Sovereign Monster Kernel
|
| 22 |
+
|
| 23 |
+
**A quantum computer that owns itself.**
|
| 24 |
+
|
| 25 |
+
30 languages. 1 human. Formally verified end-to-end.
|
| 26 |
+
No cloud. No vendor. No libc. No sorry.
|
| 27 |
+
|
| 28 |
+
Ahmad Ali Parr · SnapKitty Collective · Bel Esprit D'Accord Irrevocable Trust · 2026
|
| 29 |
+
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
## One Command Boot
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
cd sov-kernel-monster && ./desktop/boot.sh
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
Launches nine layers simultaneously:
|
| 39 |
+
1. ROWM-NR gate — no kernel fires without valid commit
|
| 40 |
+
2. GGUF model — zero-libc mmap parser
|
| 41 |
+
3. CUDA sm_89 — hand-written PTX flash attention + GEMM
|
| 42 |
+
4. Fortran kernel — density matrices, Jordan blocks, Born rule
|
| 43 |
+
5. ANU quantum — real vacuum fluctuation entropy
|
| 44 |
+
6. Haskell AToKio — agent brain with 7 provable invariants
|
| 45 |
+
7. SEB Erlang — agent FSMs, WORM lattice, supervision
|
| 46 |
+
8. Shrew ONNX — governance inference at 1000 Hz
|
| 47 |
+
9. 3D World — civilization at localhost:7777
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## What Was Built From Scratch
|
| 52 |
+
|
| 53 |
+
### Custom Assembly Entry Point (`src/start.S`)
|
| 54 |
+
ARM64 and x86-64 assembly with no C runtime, no crt0, no libc.
|
| 55 |
+
The machine boots directly into Fortran.
|
| 56 |
+
|
| 57 |
+
### Zero-Dependency Fortran 2018 Kernel (`src/sov_monster_kernel.f90`)
|
| 58 |
+
77KB, ~2,200 lines. Implements from scratch:
|
| 59 |
+
- **Blake3** hashing (full state machine, BLAKE3_IV constants)
|
| 60 |
+
- **Ed25519** signing and verification (twisted Edwards curve arithmetic)
|
| 61 |
+
- **Padé-13** matrix exponential
|
| 62 |
+
- **Plasma Gate** (density matrix verification)
|
| 63 |
+
- **Fused ZGEMM** for unitary evolution UρU†
|
| 64 |
+
|
| 65 |
+
No external crypto library. No BLAS. Pure Fortran 2018.
|
| 66 |
+
|
| 67 |
+
### Hand-Written PTX 8.0 GPU Kernels (`rtx/src/cuda/`)
|
| 68 |
+
- `flash_attention.ptx` — sm_89 paged attention, tensor core WMMA,
|
| 69 |
+
power suspend/resume, ROWM-NR gating
|
| 70 |
+
- `gemm.ptx` — F16/F32 GEMM
|
| 71 |
+
- Semantic refinement contract: floating-point is not treated as associative
|
| 72 |
+
|
| 73 |
+
### C-- Continuous Batching Scheduler (`rtx/src/c--/scheduler.cmm`)
|
| 74 |
+
Six-state machine: IDLE → PREFILL → GENERATE → SWAP → CHECKPOINT → RESUME.
|
| 75 |
+
WORM checkpoint every 64 tokens. Janet config array (32 Word32 slots).
|
| 76 |
+
|
| 77 |
+
### QATAAUM Quantum Compiler (`qataaum/`)
|
| 78 |
+
Clean-room implementation, 33,000+ lines Rust, 221 tests:
|
| 79 |
+
- 9-level IR (L0 source → L8 executable)
|
| 80 |
+
- Three-dialect parser: OpenQASM 2, OpenQASM 3, MetaQASM 4
|
| 81 |
+
- SABRE qubit routing (Floyd-Warshall topology)
|
| 82 |
+
- Lean 4 compiler correctness proofs
|
| 83 |
+
|
| 84 |
+
### Sovereign Event Bus (`seb/`, 146 files, 33K lines)
|
| 85 |
+
- Erlang/OTP 4-state agent FSMs
|
| 86 |
+
- Ada SPARK constitution kernel with machine-checked contracts
|
| 87 |
+
- WASM SUBLEQ sandbox (Turing complete, isolated memory)
|
| 88 |
+
- Idris 2 chain determinism proof
|
| 89 |
+
- IBM i adapters (RPG, PL/I) for mainframe integration
|
| 90 |
+
|
| 91 |
+
---
|
| 92 |
+
|
| 93 |
+
## Formal Verification
|
| 94 |
+
|
| 95 |
+
| System | Files | What is proved |
|
| 96 |
+
|--------|-------|----------------|
|
| 97 |
+
| Lean 4 | 60 | JST fixed-point, Born rule, SEB WORM, compiler |
|
| 98 |
+
| Agda | 23 | 26 loop invariants (zero sorry) |
|
| 99 |
+
| Coq | 2 | Entropy validation |
|
| 100 |
+
| HOL Light | 1 | K3 entropy > 0.20 (complete) |
|
| 101 |
+
| Isabelle | 2 | Jordan roundtrip, SEB WORM chain |
|
| 102 |
+
| Idris 2 | 13 | Chain determinism, protocol types |
|
| 103 |
+
|
| 104 |
+
---
|
| 105 |
+
|
| 106 |
+
## The ROWM-NR / WORM Interlock
|
| 107 |
+
|
| 108 |
+
- **ROWM-NR**: Read Once Write Many - No Replay. Every action gets a unique nonce, consumed exactly once.
|
| 109 |
+
- **WORM**: Write Once Read Many. Every action sealed with Blake3 + Ed25519 to an append-only chain.
|
| 110 |
+
|
| 111 |
+
Together: no GPU kernel executes without a verified fresh ROWM-NR commit.
|
| 112 |
+
Replay attacks at GPU dispatch level are architecturally impossible.
|
| 113 |
+
|
| 114 |
+
---
|
| 115 |
+
|
| 116 |
+
## Paper
|
| 117 |
+
|
| 118 |
+
**Sovereign Monster Kernel** (16pp)
|
| 119 |
+
[github.com/SNAPKITTYWEST/sov-kernel-monster/blob/main/docs/papers/sovereign-monster-kernel.pdf](https://github.com/SNAPKITTYWEST/sov-kernel-monster/blob/main/docs/papers/sovereign-monster-kernel.pdf)
|
| 120 |
+
|
| 121 |
+
Unified theory: [10.5281/zenodo.21816366](https://doi.org/10.5281/zenodo.21816366)
|
| 122 |
+
|
| 123 |
+
---
|
| 124 |
+
|
| 125 |
+
## License
|
| 126 |
+
|
| 127 |
+
FSL-1.1-Apache-2.0 (Functional Source License)
|
| 128 |
+
Converts to Apache-2.0 on 2030-07-22
|
| 129 |
+
|
| 130 |
+
[github.com/SNAPKITTYWEST/sov-kernel-monster](https://github.com/SNAPKITTYWEST/sov-kernel-monster)
|