Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SnapKitty β Integrity DAG + Sovereign Computation Research
|
| 2 |
+
|
| 3 |
+
**One sentence:** A formally specified integrity DAG that gates every claim, proof, decision, and execution in an AI pipeline β plus experimental SUBLEQ-based attention routing and formally verified entropy bounds.
|
| 4 |
+
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
## What This Is
|
| 8 |
+
|
| 9 |
+
This repository is the research synthesis of the SnapKitty project. It contains:
|
| 10 |
+
|
| 11 |
+
1. **The ICP-DAG** β a working governance DAG enforced by both Answer Set Programming and MUMPS, with 10 integrity invariants. Nothing executes without passing the graph.
|
| 12 |
+
|
| 13 |
+
2. **SUBLEQ Attention** β an experimental replacement of softmax attention where activation vectors become SUBLEQ programs, integer routing replaces probability distributions.
|
| 14 |
+
|
| 15 |
+
3. **Formally proved results** β Jordan fixed-point commutativity (0 sorry), entropy bound H < 0.20 nats (0 sorry), Fibonacci dimension recurrence.
|
| 16 |
+
|
| 17 |
+
4. **Quantum swarm** β classical multi-agent inference system with real quantum entropy from ANU QRNG. Not a quantum computer. Precisely defined in `docs/QUANTUM_SWARM.md`.
|
| 18 |
+
|
| 19 |
+
5. **Topological quantum computing** β Lean 4 formalizations of Fibonacci anyons, braid group, and classical simulations. Pentagon/hexagon axioms are incomplete. See `docs/TOPOLOGICAL_QUANTUM.md`.
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## Quick Start
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
# Verify the entropy bound (Python stdlib only)
|
| 27 |
+
cd sovereign-entropy-theorem
|
| 28 |
+
python python/verify_entropy.py
|
| 29 |
+
|
| 30 |
+
# Install the EntropyGovernor LogitsProcessor
|
| 31 |
+
pip install snapkitty-entropy[hf]
|
| 32 |
+
|
| 33 |
+
# Run the ICP governance DAG tests
|
| 34 |
+
# (requires GT.M or CachΓ© MUMPS installation)
|
| 35 |
+
mumps -run TEST^ICP-DAG
|
| 36 |
+
|
| 37 |
+
# Run the SUBLEQ VM tests
|
| 38 |
+
cd DEVFLOW-FINANCE/snapkitty-wasm
|
| 39 |
+
cargo test
|
| 40 |
+
|
| 41 |
+
# Run the Resonance ISA VM tests
|
| 42 |
+
cd snapkitty-resonance-isa
|
| 43 |
+
cargo test
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## What Actually Works
|
| 49 |
+
|
| 50 |
+
| Component | Status | Tests |
|
| 51 |
+
|-----------|--------|-------|
|
| 52 |
+
| SUBLEQ VM (Rust/WASM) | β Working | 4 passing |
|
| 53 |
+
| Resonance ISA VM (Rust) | β Working | 3 passing |
|
| 54 |
+
| ICP-DAG MUMPS | β Working | TEST entry |
|
| 55 |
+
| ICP-DAG ASP | β Spec | Requires Clingo |
|
| 56 |
+
| ERE quality filter (JS) | β Working | β |
|
| 57 |
+
| EntropyGovernor (Python) | β Working | β |
|
| 58 |
+
| Jordan proof (Lean 4) | β 0 sorry | `lake build` |
|
| 59 |
+
| Entropy bound (Lean 4) | β 0 sorry | `lake build` |
|
| 60 |
+
| Fibonacci anyon sim (Rust) | β Working | Passing |
|
| 61 |
+
| Quantum WASM (44KB binary) | β Working | β |
|
| 62 |
+
| Braid Bβ access control (Rust) | β Working | 4 passing |
|
| 63 |
+
| SUBLEQ attention (J) | β Runs | β |
|
| 64 |
+
| Braid synthesis (Lean 4) | β All sorry | β |
|
| 65 |
+
| HybridQuantumSAT | β Stub | β |
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## What Has Not Been Benchmarked
|
| 70 |
+
|
| 71 |
+
- SUBLEQ attention vs. softmax: **no benchmark**
|
| 72 |
+
- Latency comparison: **no benchmark**
|
| 73 |
+
- Hallucination rate improvement: **no benchmark**
|
| 74 |
+
- FLOPs comparison: **no benchmark**
|
| 75 |
+
|
| 76 |
+
Do not cite this repository as evidence of performance improvements without running these benchmarks first.
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
## Documentation
|
| 81 |
+
|
| 82 |
+
| Document | Contents |
|
| 83 |
+
|----------|----------|
|
| 84 |
+
| `docs/REPOSITORY_INVENTORY.md` | Complete evidence map β every algorithm, DAG, and quantum component |
|
| 85 |
+
| `docs/ARCHITECTURE.md` | Architectural synthesis β what the common structure is |
|
| 86 |
+
| `docs/QUANTUM_SWARM.md` | Precise definition of the quantum swarm (for researchers) |
|
| 87 |
+
| `docs/TOPOLOGICAL_QUANTUM.md` | What is established vs. experimental in the TQC work |
|
| 88 |
+
| `docs/RESEARCHER_EXPLANATION.md` | Q&A for a quantum computing or AI researcher |
|
| 89 |
+
|
| 90 |
+
---
|
| 91 |
+
|
| 92 |
+
## License
|
| 93 |
+
|
| 94 |
+
Apache-2.0 (harness code and documentation)
|
| 95 |
+
BSL-1.1 / AGPL-3.0 / MPL-2.0 (research core)
|
| 96 |
+
Patent Pending β Bel Esprit D'Accord Irrevocable Trust EIN 42-697643
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
## Citation
|
| 101 |
+
|
| 102 |
+
```bibtex
|
| 103 |
+
@software{snapkitty2026,
|
| 104 |
+
author = {Ali Parr, Ahmad and Westerhoff, Jessica},
|
| 105 |
+
title = {SnapKitty: Integrity DAG and Sovereign Computation Research},
|
| 106 |
+
year = {2026},
|
| 107 |
+
url = {https://github.com/SNAPKITTYWEST/snapkitty-open-source}
|
| 108 |
+
}
|
| 109 |
+
```
|