HPC Tier Module

Algorithmic Complexity & Compression Dynamics

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

Worked example: Random-looking binary (high complexity)
Inputs
Symbol sequence (string)0110100110010110100101100110100110010110011010010110100110010110
Max block size k (block / conditional entropy)8
Second sequence for NCD (optional)
Result

n = 64, alphabet b = 2: H0 = 1.0000 bits/symbol (of max log2(b) = 1.0000); LZ76 c(S) = 11 (C_LZ = 1.0313); LZ77 compressed 117 bits vs raw 64 (ratio 1.828, an UPPER BOUND on Kolmogorov complexity - true K is uncomputable); MDL L = 90.0 bits. GeoNum entropy-summation conditioning verdict VALID (worst drift 1.19/2048) - a conditioning signal, not extra precision. This computes complexity MEASURES on your data - it does NOT train, learn, or demonstrate grokking.

Sequence length n64
Alphabet size b2 {0 1}
Shannon entropy H0 (bits/symbol)1.000000 of max 1.0000
Order-0 redundancy 1 - H0/log2(b)0.0000
Conditional rate h(k=8) (bits/symbol)0.164857
LZ76 complexity c(S)11
Normalized LZ C_LZ = c log_b(n)/n1.031250
LZ77 compressed bits (Kolmogorov UPPER BOUND)117 bits (raw 64; 6 literals, 7 matches)
LZ77 compression ratio (bits/raw)1.8281
LZW compression ratio (secondary, bits/raw)1.3906
MDL description length L = model + n*H090.00 bits (model 26 + data 64.00)
Max GeoNum drift (shades)1.19 / 2048

Computed by Algorithmic Complexity & Compression Dynamics v1.0.0, the same plugin code the GDBS app runs, when this page was built. To run it on your own figures, open it in GDBS HPC.

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

Get an email when tools like this one change

Leave your email and we will tell you when we add or update Numerics & Tools tools like this one, at most once a month.

We email you once to confirm. After that, unsubscribe from any issue in one click. Your address goes to VaultSync only (privacy).

Related tools

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