than integrating a trajectory. Propagate tangent directions alongside the state. Re-orthonormalize with QR over long horizons. Avoid forming dense Jacobians when only a partial spectrum is needed. Reuse the same machinery for custom models, networks, maps, and delay systems. Goal: make Lyapunov-spectrum computation usable from ordinary JAX code. 2
DDEs. Spectra Full spectra or leading partial spectra. Validation Examples against analytic, published, and independent-tool references. JAX native Tangent propagation with jax.jvp and jax.vmap. Sweeps Batched parameters and initial conditions with jax.vmap. Backends CPU/GPU execution through JAX. 3
generation/compilation can dominate for dense large networks. ChaosTools.jl Mature Julia ecosystem; Lyapunov workflow is CPU-oriented, not JAX/GPU-oriented. Diffrax General JAX differential-equation solvers; no Lyapunov QR/tangent-spectrum API. lyapax: ordinary JAX models, matrix-free tangent propagation, partial spectra, sweeps, and DDE support. 6
Small systems often run faster on CPU. GPU helps when arithmetic is large enough. Dense high-dimensional networks are the target case. Same JAX code can run on CPU or GPU. 8
50 0.372 s 0.330 s GPU near parity 200 1.075 s 0.265 s GPU begins to pay off 1000 7.659 s 0.624 s GPU clear win 2000 35.773 s 1.419 s GPU target regime Benchmark: dense Kuramoto network, partial spectrum with fixed k = 5. These numbers are a documentation snapshot, not a universal performance guarantee. 9
Coupled oscillator and dense network systems. Delay systems Fixed-delay DDEs retain only the required history in a memory-saving ring buffer. Large systems Partial spectra of high-dimensional states. Sweeps Parameter grids where JAX batching is useful. Research code Models close to NumPy-style Python. 10
ODE integration No implicit stiff ODE solvers in the core package. Adaptive ODE integration (via Diffrax) is available for single ODEs only, not networks or DDEs, for tolerance control, not speed. Delay and gradients DDE support is for fixed delays. Chaotic long-horizon gradients require care, even when autodiff runs. 11
looking for real users. Does the API fit how you define dynamical systems? Are the examples enough to get started? Which models should be added to the validation suite? Where does the package fail for your workflow? pip install lyapax github.com/Ziaeemehr/lyapax lyapax.readthedocs.io 12