YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
SnapKitty Resonance Bridge
"The quartic invariant is no longer abstract. It is executable."
What This Is
This repository is the executable bridge between a formally verified mathematical proof and a running computer program.
The GKN quartic invariant Iβ β the central object of Eβ exceptional supergravity and M-theory compactifications β was formally verified in Lean 4 with zero sorry by Ahmad Ali Parr (SnapKitty Collective, 2026). The proof is more general than the original GΓΌnaydin-Koepsell-Nicolai 2001 paper: it works over any abstract CommRing with OctonionAlgebra typeclass, not just the reals.
This bridge compiles that proof into running code using SUBLEQ (Subtract and Branch if Less than or Equal to Zero) β a one-instruction computer β via ResonanceWord encoding. The result is a deterministic, non-probabilistic execution model where the mathematical invariant is a runtime-verified constant.
TRS = 388.985128
When the system halts with this value, the cage holds.
For Researchers
git clone https://github.com/SNAPKITTYWEST/snapkitty-resonance-bridge.git
cd snapkitty-resonance-bridge
npm test
npm run verify
Expected output:
β TRS VERIFIED: 388.985128
The cage holds.
=== BRIDGE OPERATIONAL ===
| File | Description | Source |
|---|---|---|
src/resonance.mjs |
ResonanceWord encoding | sovereign-goldilocks/src/resonance.rs |
src/i4.mjs |
Iβ quartic invariant | gkn-i4-e7-lean/GKN/I4_CommRing.lean |
src/subleq.mjs |
SUBLEQ execution engine | β |
src/verify.mjs |
TRS verification | β |
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FORMAL PROOF LAYER β
β Lean 4 Β· GKN/Homogeneity.lean Β· zero sorry β
β I4_56_homogeneous: I4(cΒ·s) = c^4 Β· I4(s) β
β Over abstract CommRing + OctonionAlgebra typeclass β
β DOI: 10.5281/zenodo.21349216 β
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββ
β compile
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β RESONANCEWORD ENCODING β
β ββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββ β
β β 8 bits β 56 bits β β
β β class β payload β β
β ββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββ β
β 0x0A SOVEREIGN β SUBLEQ A (subtract from) β
β 0x05 TRANSITION β SUBLEQ B (subtract into + test) β
β 0x09 WORM β SUBLEQ C (jump target if B <= 0) β
β Three ResonanceWords = one SUBLEQ instruction [A, B, C] β
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββ
β execute
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SUBLEQ ENGINE β
β M[B] = M[B] - M[A] β
β if M[B] <= 0: PC β C else: PC β PC+3 β
β β
β Iβ four terms β four instruction groups: β
β t1 (alpha*beta - Tr(PβQ))^2 Β· mem[300..324] β
β t2 alpha * N(Q) Β· mem[325..349] β
β t3 beta * N(P) Β· mem[350..374] β
β t4 Tr(P# β Q#) Β· mem[375..399] β
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββ
β verify
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CONVERGENCE VERIFICATION β
β TRS = 388.985128 β
β = ME + AN + KI + DI (four agent channels over Q(sqrt(5))) β
β = sum_s sum_n bias_s(n) * phi^(depth_n+1) β
β SHA-256 WORM sealed Β· cryptographic provenance chain β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The Lean 4 Proof
-- GKN/Homogeneity.lean β zero sorry
theorem I4_56_homogeneous (s : State56 R O) (c : R) :
I4_56 (s56Scale c s) = c ^ 4 * I4_56 s := by
simp only [I4_56]
rw [t1_homogeneous_sq s c, t2_homogeneous s c,
t3_homogeneous s c, t4_homogeneous s c]
ring
-- Proved over abstract CommRing + OctonionAlgebra typeclass.
-- More general than GKN 2001 (reals only).
-- Numeric witnesses: ratio I4(2s)/I4(s) = 16 = 2^4 on three
-- independent test states (sparse, diagonal, off-diagonal).
Degree analysis β each term is exactly rβ΄:
| Term | Expression | Degree |
|---|---|---|
| t1 | (alpha*beta - Tr(PβQ))Β² | (rΒ²)Β² = rβ΄ β |
| t2 | alphaΒ·N(Q) | rΒ·rΒ³ = rβ΄ β |
| t3 | betaΒ·N(P) | rΒ·rΒ³ = rβ΄ β |
| t4 | Tr(P#βQ#) | rΒ²Β·rΒ² = rβ΄ β |
Memory Layout
Address Purpose
ββββββββββββββββββββββββββββββββββββββ
0-99 Reserved
100 Input alpha
101 Input beta
102-155 Input P and Q (J3O elements)
200-299 Intermediate computation
300-399 I4 term groups (t1-t4)
400 I4 total
500 TRS target (388985128)
501 TRS result (0 when verified)
65535 HALT
Published Work
| DOI | Title |
|---|---|
| 10.5281/zenodo.21349216 | Closing Boole + 3 Eβ Symmetries β zero sorry |
| 10.5281/zenodo.21268911 | Yellow Book β 78 theorems, 63 proved |
| 10.5281/zenodo.21349277 | Gates Normalization Constraint |
| 10.5281/zenodo.21351461 | Attention Is All You Don't Need |
| 10.5281/zenodo.21413918 | J-Space: Shadow Entropy + Behavioral Jacobian |
Citation
@software{snapkitty_resonance_bridge_2026,
title = {SnapKitty Resonance Bridge: GKN I4 as Executable SUBLEQ Program},
author = {Parr, Ahmad Ali and {SnapKitty Collective}},
year = {2026},
doi = {10.5281/zenodo.21349216},
url = {https://github.com/SNAPKITTYWEST/snapkitty-resonance-bridge},
note = {TRS = 388.985128. Zero sorry. Abstract CommRing.}
}
License
Sovereign Source License v3.0 β AI training prohibited.
Ahmad Ali Parr Β· SnapKitty Collective Β· Bel Esprit D'Accord Irrevocable Trust Β· 2026