2-adic

p-adic clustering, divisibility depth, modular structure
distributionaldim ultrametric5 metrics

What It Measures

How much structure the signal has in its divisibility pattern.

Samples random pairs of byte values and measures the distance between them using the 2-adic metric: two numbers are "close" if their difference is divisible by a high power of 2. The number 48 and the number 80 differ by 32 = 2^5, so they are 2-adically very close (distance 2^-5) despite being far apart on the number line. This geometry detects hierarchical modular structure — patterns in which bits the signal's values share.

Metrics

distance_entropy

Shannon entropy of the distinct 2-adic distances. High entropy means the pairwise distances span many different powers of 2 — the signal explores multiple levels of the divisibility hierarchy. Devil's staircase scores highest (3.02): its plateaus create consecutive values whose differences hit every power of 2 as the staircase descends through its fractal levels. Classical MIDI (2.49) and ECG supraventricular (2.27) are also high — both have quantized amplitude levels that create diverse divisibility patterns. Rainfall scores lowest among nontrivial signals (0.66): its near-zero values produce differences that are almost always odd (2-adic distance 1.0), collapsing the entropy.

mean_distance

Average 2-adic distance across sampled pairs. VLF Radio Eclipse, Van der Pol, and Triangle Wave all score 0.668 (the maximum). Rainfall scores 0.09 — its small integer values have differences divisible by high powers of 2 more often than random data would. The expectation for uniform random bytes is near 2/3 (matching the ~0.668 maxima above); values significantly below indicate non-trivial divisibility structure.

valuation_spectral_concentration

How concentrated is the power spectrum of the 2-adic valuation sequence (the sequence of trailing-zero counts)? Logistic period-3 (1.0) and constants (1.0) have perfectly concentrated valuation spectra (one dominant frequency). RANDU (0.04) and glibc LCG (0.04) have the flattest — their divisibility patterns span all frequencies equally. Evolved via ShinkaEvolve.

valuation_transition_predictability

How predictable is the next 2-adic valuation given the current one? Logistic period-2 (1.0) has perfectly predictable transitions. x86-64 Machine Code (0.29) has the least predictable — its byte differences have chaotic divisibility patterns. Evolved via ShinkaEvolve.

multiscale_markov_predictability

Markov predictability of the valuation sequence at multiple block sizes. Logistic period-2 (1.0) and constants (1.0) are perfectly predictable. Pi Digits (0.027) and AES (0.027) are nearly unpredictable — their divisibility sequences are essentially random at all scales. Evolved via ShinkaEvolve.

Atlas Rankings

distance_entropy
SourceDomainValue
Devil's Staircaseexotic3.0211
Classical MIDIbinary2.4785
ECG Supraventr.medical2.2679
···
Constant 0xFFnoise-0.0000
Rainfall (ORD Hourly)climate0.6838
Collatz Paritynumber_theory0.9911
mean_distance
SourceDomainValue
Van der Pol Oscillatorexotic0.6682
Triangle Wavewaveform0.6681
Ocean Swellgeophysics0.6678
···
Constant 0xFFnoise0.0000
Rainfall (ORD Hourly)climate0.0885
Neural Net (Pruned 90%)binary0.1228
multiscale_markov_predictability
SourceDomainValue
Constant 0x00noise1.0000
Logistic r=3.2 (Period-2)chaos1.0000
Square Wavewaveform0.9900
···
Pi Digitsnumber_theory0.0268
AES Encryptedbinary0.0269
glibc LCGbinary0.0269
valuation_spectral_concentration
SourceDomainValue
Constant 0x00noise1.0000
Logistic r=3.2 (Period-2)chaos1.0000
Logistic r=3.83 (Period-3 Window)chaos1.0000
···
RANDUbinary0.0426
glibc LCGbinary0.0448
Tohoku Aftershock Intervalsgeophysics0.0465
valuation_transition_predictability
SourceDomainValue
Constant 0x00noise1.0000
Logistic r=3.2 (Period-2)chaos1.0000
Square Wavewaveform0.9882
···
x86-64 Machine Codebinary0.2933
Divisor Countnumber_theory0.3491
Beta Noisenoise0.3509

When It Lights Up

The 2-adic geometry detects structure invisible to every other distributional metric: the pattern of trailing bits. Two signals with identical histograms and identical Torus coverage can have very different 2-adic profiles if one tends to produce differences divisible by 4 and the other doesn't. Devil's staircase topping distance_entropy is diagnostic: its Cantor-function structure creates a precise hierarchy of jump sizes that maps perfectly onto the 2-adic distance hierarchy. This makes 2-adic geometry the framework's most direct detector of fractal staircase dynamics.

Open in Atlas
← Cantor SetSpherical S² →