Universal geometric compression with bit-exact reconstruction. Reference decoder (L0) and baseline encoder (L1).
Project description
SpiralThink — Core
Universal geometric machine for sub-Kolmogorov effective compression and zero-error reconstruction.
TL;DR
SpiralThink represents arbitrary data as trajectories on a parametric helical manifold $\mathcal{H}(r,\theta,z)$ generated by a short program $\pi$. We target the algorithmic lower bound $K(x)$ (Kolmogorov), not Shannon's $H(X)$. Reconstruction is bit-exact (zero-error) by design. Effective ratio $\rho = |x|/|\pi|$ diverges with chain length $n$.
| n | Raw bits | |π| | ρ |
|---|---|---|---|
| 10³ | 8 000 | 96 | 83× |
| 10⁶ | 8·10⁶ | 112 | 7.1·10⁴× |
| 10⁹ | 8·10⁹ | 128 | 6.25·10⁷× |
| 10¹² | 8·10¹² | 144 | 5.5·10¹⁰× |
Repository layout
spiralthink-core/
├── paper/ # L0 · CC-BY 4.0 · preprint LaTeX + PDF
├── reference/ # L0 · CC-BY 4.0 · Python reference decoder
├── encoder/ # L1 · Apache-2.0 · baseline gradient encoder
├── spiralcore/ # L2 · PROPRIETARY · industrial encoder + GPU kernels
├── demo/ # shock-demo notebooks (numerical scaling §4)
├── docs/ # deployment manual
└── LICENSES/ # CC-BY-4.0, Apache-2.0, SpiralCore-EULA
Mixed licensing model
| Layer | Path | License | Audience |
|---|---|---|---|
| L0 Theory + reference decoder | paper/, reference/ |
CC-BY 4.0 | academia, open community |
| L1 Baseline encoder | encoder/ |
Apache-2.0 | OSS contributors, integrators |
| L2 Industrial encoder SpiralCore™ | spiralcore/ |
Proprietary EULA | enterprise / unicorn moat |
Core idea
$$\pi^\star = \arg\min_{\pi,:,U(\pi)=x} |\pi|, \qquad |\pi^\star| \approx K(x)$$
Theorem 1 (Compression–Computation Tradeoff).
$$|\pi| \cdot \log T_\pi ;\geq; K(x) - O(1)$$
SpiralThink trades space for deterministic recomputation, never for accuracy.
Zero-error architecture
Encoder ──π──▶ Decoder U(π) = x
▲ │
└── hash(x) == hash(U(π)) ──┘
If hash mismatch → encoder appends residual patch $\delta$; total $|\pi|+|\delta| \ll |x|$ for structured data.
Helical spring analogy
$U = \tfrac12 k,\Delta x^2$. SpiralThink stores informational tension in $\pi$; uncoiling regenerates the chain — like a spring releases stored length without memorizing each coil.
Universal passive storage
Substrate-agnostic: DNA, optical phase plates, magnetic domains, silicon. Exabyte archives → kilobyte inscriptions.
Applications
- LLM weights & KV-cache compression
- Vector DB embeddings (RAM ↔ disk parity)
- Cold archival (tape replacement)
- Edge sub-MB foundation models
Roadmap
- Preprint v0.9 draft
- Private repo bootstrap
- LaTeX compilation → arXiv
- Reference decoder (Python, NumPy)
- Baseline encoder (gradient search over $\pi$)
- Shock-demo notebook (§4 numerical examples)
- SpiralCore™ GPU kernel prototype
- Deployment manual v1
Contact
Maintainer: pfreig-art · Palma / Maó, Illes Balears · 2026
This repository is private. All rights reserved on L2 components. L0/L1 will be split into a public mirror at release time.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spiralthink_core-0.9.0.tar.gz.
File metadata
- Download URL: spiralthink_core-0.9.0.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3fdc88249f39dd0e5eacc67c42bee05a3bcb872a436710f1210e5ecaa2ba652
|
|
| MD5 |
5b50c23d8cbffd88f6fbfb97a213377d
|
|
| BLAKE2b-256 |
4f9031549d938cf7696894cccda443989838f497a04e780567009ea9b5579ec2
|
Provenance
The following attestation bundles were made for spiralthink_core-0.9.0.tar.gz:
Publisher:
release.yml on pfreig-art/spiralthink-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spiralthink_core-0.9.0.tar.gz -
Subject digest:
d3fdc88249f39dd0e5eacc67c42bee05a3bcb872a436710f1210e5ecaa2ba652 - Sigstore transparency entry: 1630255276
- Sigstore integration time:
-
Permalink:
pfreig-art/spiralthink-core@376615bf7fabb96844eb442a8678c88d1dfabff1 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/pfreig-art
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@376615bf7fabb96844eb442a8678c88d1dfabff1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spiralthink_core-0.9.0-py3-none-any.whl.
File metadata
- Download URL: spiralthink_core-0.9.0-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f90402aeadc76aa152b5f011b6df14d4f6362086675b8ec03a0ab9d2942d01c8
|
|
| MD5 |
63296e89764cc759e09364d0c5c1fe30
|
|
| BLAKE2b-256 |
3f17e976e189ccebd3f7bcb74239e3c9bd180605cfaf88d8a0e441b255e34928
|
Provenance
The following attestation bundles were made for spiralthink_core-0.9.0-py3-none-any.whl:
Publisher:
release.yml on pfreig-art/spiralthink-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spiralthink_core-0.9.0-py3-none-any.whl -
Subject digest:
f90402aeadc76aa152b5f011b6df14d4f6362086675b8ec03a0ab9d2942d01c8 - Sigstore transparency entry: 1630255290
- Sigstore integration time:
-
Permalink:
pfreig-art/spiralthink-core@376615bf7fabb96844eb442a8678c88d1dfabff1 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/pfreig-art
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@376615bf7fabb96844eb442a8678c88d1dfabff1 -
Trigger Event:
push
-
Statement type: