A Structural Characterization of Primality via Fermat Decomposition: from Cryptographic Tests to Foundational Implications | Synapse