From Finite Enumeration to Universal Proof: Ring-Theoretic Foundations for PQC Hardware Masking Verification
Abstract
Formal verification of masking in post-quantum cryptographic (PQC) hardware relies on SMT solvers over finite domains. Our prior work established structural dependency analysis at scale [1] and quantified the security margin of partial NTT masking [2]. QANARY, our structural dependency analysis framework, verified 1.17 million cells across 30 modules of the Adams Bridge ML-DSA/ML-KEM accelerator [3, 4], but its core soundness result (Theorem 3.9.1) was machine-checked only at via Boolean wire functions. This left portability to ML-KEM (, FIPS 203 [5]) and ML-DSA (, FIPS 204 [6]) as an open gap. NIST IR 8547 [7] (March 2025) motivates closing such gaps. We present the first machine-checked universal proof of the -free sub-theorem of Theorem 3.9.1: for every , every wire function, and every pair of secrets, value-independence implies identical marginal distributions. The proof, in Lean 4 [8] with Mathlib [9], requires five lines versus finite evaluations. It is sorry-free, reducing the trusted base from {Z3 [10], CVC5 [11], Python} to the Lean 4 kernel. We provide nine theorems (T1--T6, T1', T3') covering reparametrization, bijectivity, overflow bounds, RNG bias, and a universal non-tightness counterexample for all . The results establish commutative ring axioms of as the natural abstraction layer for arithmetic masking verification.
Keywords
Cite
@article{arxiv.2604.18717,
title = {From Finite Enumeration to Universal Proof: Ring-Theoretic Foundations for PQC Hardware Masking Verification},
author = {Ray Iskander and Khaled Kirah},
journal= {arXiv preprint arXiv:2604.18717},
year = {2026}
}
Comments
15 pages, 1 figure