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.
Metadata
Release files for spiralthink-core 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spiralthink_core-0.9.0.tar.gz | 44.2 kB | With provenance | Details for spiralthink_core-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spiralthink_core-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for spiralthink_core-0.9.0-py3-none-any.whl |
Total release size: 67.8 kB
Release files / spiralthink_core-0.9.0.tar.gz
| Download URL | spiralthink_core-0.9.0.tar.gz |
|---|---|
| Size | 44.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3fdc88249f39dd0e5eacc67c42bee05a3bcb872a436710f1210e5ecaa2ba652
|
|
BLAKE2b-256 checksum How to use checksums |
4f9031549d938cf7696894cccda443989838f497a04e780567009ea9b5579ec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logRelease files / spiralthink_core-0.9.0-py3-none-any.whl
| Download URL | spiralthink_core-0.9.0-py3-none-any.whl |
|---|---|
| Size | 23.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f90402aeadc76aa152b5f011b6df14d4f6362086675b8ec03a0ab9d2942d01c8
|
|
BLAKE2b-256 checksum How to use checksums |
3f17e976e189ccebd3f7bcb74239e3c9bd180605cfaf88d8a0e441b255e34928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logSecurity for spiralthink-core 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for spiralthink_core-0.9.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.