FVQKD: A Formal Verification of Quantum Key Distribution Security in Rocq
Abstract
Quantum key distribution (QKD), whose security is derived from quantum mechanics rather than computational assumptions, is moving into standardization and commercial deployment. Yet its security guarantees rest on technically delicate proofs checked by hand. Formal verification closes this gap, establishing a two-factor assurance: unconditional security from physical principles, and machine-checked proofs against reasoning errors. We present FVQKD, a Rocq library for machine-checking QKD security proofs. Its first result is a complete, end-to-end machine-checked proof of composable, finite-key security for BB84. The mechanization reconstructs the complete proof infrastructure from first principles, including the smooth entropy framework, the entropic uncertainty relation, and the Quantum Leftover Hash Lemma. It uncovers necessary side conditions that the published argument leaves unstated, one of which reveals a missing proof branch, and it grounds the information-theoretic bound in a formal semantics of protocol execution, which the pen-and-paper analysis lacks. The proof is entirely admit-free, relying only on the Rocq kernel and standard foundational axioms. To our knowledge, this is the first end-to-end formal verification of a QKD security proof. Built on MathComp, MathComp-Analysis, and CoqQ, the development provides quantum-information infrastructure designed for reuse across broader QKD variants and quantum cryptography applications.
Create a lesson
Metadata
- Categories
- quant-ph, cs.CR, cs.LO
- Comments
- 87 pages: 12 pages of main text, 4 pages of references, and 71 pages of appendices. Artifact: https://github.com/fvqkd/FVQKD
Related papers
Observable-Level Framework for Finite-Key Security in Coherent-One-Way Quantum Key Distribution
Shared title terminologyquant-phAryan Kuntal, Utkarsh Giradkar, Mudit Chaudhary et al.
Decoherence-resilient distributed quantum sensing beyond the standard quantum limit
Shared title terminologyquant-phDong-Hyun Kim, Ilhwan Kim, Yosep Kim et al.
Multimode continuous-variable quantum key distribution with CMOS-compatible photonic-electronic integration
Shared title terminologyquant-phYiming Bian, Sarah Bastiaens, Saeed Hakimi et al.
Feasibility of Distributed Fault-Tolerant Quantum Computing: From Quantum Links to Algorithms
Shared title terminologyquant-phTakumi Kobayashi, Hodaka Kurokawa, Yasunari Suzuki et al.
Distributed Quantum-Centric Supercomputing with Multi-Layered Generative Learning for Intermolecular Interactions
Shared title terminologyquant-phChayan Patra, Prayas Ghosh, Adwait Patkhedkar et al.
From Link Availability to Deadline-Constrained Key Service: A Feasibility Framework for Mobile Free-Space Quantum Key Distribution
Shared title terminologyquant-phHasan Abbas Al-Mohammed