HPC Tier Module

Algorithmic Complexity & Compression Dynamics

Measure the information-theoretic complexity of any sequence - exactly, in your browser.

See it run - a worked example, 100% in this browser tab

The problem

Everyone reaches for complexity intuitively - how random, how compressible, how structured a signal is - but it is rarely computed rigorously. An ad-hoc gzip in a spreadsheet or a black-box library hands you a number with no provenance and no way to check it.

The local-first solution

This tool computes the actual information-theoretic complexity measures - Shannon and block entropy, exact Lempel-Ziv production count, compression-based Kolmogorov upper bounds, Normalized Compression Distance, and two-part MDL - deterministically in your browser, each one checkable against a closed-form or known value. No data leaves the device.

What it does

Shannon order-0 entropy, order-k block entropy, and the conditional entropy rate
Exact Lempel-Ziv (LZ76) production count and normalized LZ complexity
Pure-JS compressors (LZ77 + LZW) as a Kolmogorov-complexity upper bound, never the uncomputable true value
Normalized Compression Distance (NCD) between two sequences
Two-part Minimum Description Length (MDL) code length
Charts: complexity vs structure sweep, and block-entropy convergence to the entropy rate

Honest scope

Compression-based complexity is an UPPER BOUND on Kolmogorov complexity (which is uncomputable), never the true value; block and conditional entropies are finite-sample estimators flagged as such. It computes the complexity measures from DeMoss et al. 2024 (arXiv:2412.09810) on data you provide - it does not train, learn, or demonstrate grokking.

Authorities cited

Measure complexity you can verify

Run it on your own sequences in the browser, save runs to Sandbox, and route the readout into a Worklog case - nothing uploaded to anyone's cloud.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com