Spectral Dynamics on Bruhat-Tits Trees: A Deterministic p-adic Framework for Primality Testing
Rowan Brad Quni-Gudzinas
Abstract
The probabilistic nature of prevalent primality tests, such as Miller-Rabin, presents a fundamental limitation where certainty is achieved only asymptotically. This study proposes a deterministic alternative rooted in the non-Archimedean geometry of p-adic numbers, specifically leveraging the spectral and dynamic properties of quantum walks on Bruhat-Tits trees. By modeling prime and composite numbers as distinct topological structures—regular trees for primes and Cartesian product graphs for composites—we demonstrate that their quantum dynamic signatures are fundamentally different. Our methodology combines a rigorous construction of the graph Laplacian for these spaces with a continuous-time quantum walk simulation. Analysis reveals that while both structures exhibit a robust, non-zero spectral gap ($\lambda_2 \approx 0.0968$), their dynamic responses diverge: quantum walks on prime trees exhibit localization, whereas walks on composite product spaces lead to near-maximal delocalization across the graph (Participation Ratio $\approx 11.97$). This binary dynamic behavior—localization versus delocalization—serves as a deterministic signal for primality. Furthermore, multi-base triangulation across $p=2, 3, 5$ yields a predictive correlation of $R^2 = 0.998$, confirming the robustness of the underlying metric. These findings establish a framework for a novel class of deterministic primality tests, relying on dynamic signatures rather than static spectral properties.