Lyapunov Exponent Spectrum: All Subsets of {1,…,20}
Abstract
We compute the Lyapunov exponent for every non-empty subset — a total of subsets — in 305 seconds on a single RTX 5090. This is the twin dataset to the Hausdorff dimension spectrum, together providing to our knowledge, the first complete mapping of both the geometric size and the dynamical divergence rate for all continued fraction Cantor sets up to digit 20.
Background
The Lyapunov exponent measures the average exponential divergence rate of nearby orbits under the restricted Gauss map. For a non-empty set of positive integers, the Gauss map restricted to is:
The Lyapunov exponent is the exponential rate at which nearby orbits separate:
for -almost every , where is the unique equilibrium measure. Higher means faster mixing and stronger chaos in the restricted dynamics.
Method
The transfer operator for digit set at parameter is:
The Lyapunov exponent is recovered from the leading eigenvalue via:
where . In practice, we compute this derivative by finite difference:
- Evaluate at and for small
- Compute
Each evaluation uses Chebyshev collocation with nodes and power iteration for the leading eigenvalue. All subsets are processed in parallel on the GPU, with each subset encoded as a bitmask.
Results
The full computation of 1,048,575 Lyapunov exponents completed in 305 seconds — roughly 14x faster than the Hausdorff dimension spectrum (4,322s), since no bisection loop is needed.
Validation
| Check | Result |
|---|---|
| Matches analytic value to 10 digits | |
| Monotonicity () | PASS |
Reproduction
git clone https://github.com/cahlen/idontknow.git
cd idontknow
nvcc -O3 -arch=sm_120 -o lyapunov_spectrum \
scripts/experiments/lyapunov-exponent-spectrum/lyapunov_spectrum.cu -lm
mkdir -p scripts/experiments/lyapunov-exponent-spectrum/results
./lyapunov_spectrum 20 40
Requires: CUDA 13.0+, GPU with compute capability 12.0 (RTX 5090) or adjust -arch flag.
References
- Jenkinson, O. and Pollicott, M. (2001). “Computing the dimension of dynamically defined sets: E_2 and bounded continued fraction entries.” Ergodic Theory and Dynamical Systems, 21(5), pp. 1429–1445.
- Hensley, D. (1992). “Continued fraction Cantor sets, Hausdorff dimension, and functional analysis.” Journal of Number Theory, 40(3), pp. 336–358.
- Oseledets, V.I. (1968). “A multiplicative ergodic theorem. Characteristic Ljapunov exponents of dynamical systems.” Trudy Moskovskogo Matematicheskogo Obshchestva, 19, pp. 179–210.
Why This Matters for AI
- Twin dataset with Hausdorff dimensions: Together with the dimension spectrum, this provides paired (dimension, Lyapunov exponent) data for over 1M continued fraction Cantor sets — a dataset that does not exist anywhere in the literature.
- Ergodic theory training data: The Lyapunov exponent encodes mixing rates and entropy production. AI models have no training data on how depends on the digit set .
- Dynamical systems benchmarks: The monotonicity and analytic singleton checks provide ground truth for AI systems reasoning about dynamical invariants.
This work was produced through human–AI collaboration (Cahlen Humphreys + Claude). Not independently peer-reviewed. All code and data open for verification at github.com/cahlen/idontknow.