Zero-Knowledge Model Checking

Pascal Berrang, Mirco Giacobbe, Jacob Swales, Xiao YangarXiv 2026

TL;DR

This paper introduces Zero-Knowledge Model Checking (ZKMC), a novel framework that allows a provider to formally prove that a software or hardware system complies with a public correctness specification without revealing any details about the system itself. By combining automata-theoretic verification with zero-knowledge cryptographic proofs, ZKMC resolves the inherent tension between safety compliance and intellectual property protection.

What Problem Does This Paper Address?

In safety-critical domains like aerospace, autonomous driving, and medical devices, formal verification via model checking is the gold standard for ensuring software correctness. However, traditional model checking algorithms require full disclosure of the system's source code or transition graph to an external verifier.

This creates a major roadblock in industry: technology providers want to protect their proprietary designs and intellectual property (IP), while regulators or customers need absolute assurance that the system is safe. Until now, there was no way to verify a system's compliance with a temporal logic specification (like Linear Temporal Logic, or LTL) without completely exposing its inner workings.

Methods

The authors propose a non-interactive zero-knowledge model checking architecture. The core idea is to reduce the model checking problem to a language emptiness problem using the standard automata-theoretic approach, generate a public "proof certificate" (a ranking function), and then use zero-knowledge proofs (ZKPs) to show that the secret system matches this public certificate.

Figure 1: Non-Interactive ZKMC Scheme

The paper introduces two distinct, complementary algorithms to achieve this:

  1. Explicit-State ZKMC: Designed for finite-state transition graphs (Kripke structures). It embeds the system's initial states and transitions into secret polynomials and uses KZG polynomial commitments with batch evaluation. It proves by contraposition that no state or transition in the system violates the public ranking function certificate.
  2. Symbolic ZKMC: Designed for systems specified programmatically via linear guarded commands over integer variables, which can represent massive or infinite state spaces. It applies Farkas’ lemma (a principle of linear programming duality) to turn verification conditions into a set of algebraic equations. To make verification efficient, it employs a one-shot folding scheme over two-tier Pedersen commitments, compressing thousands of individual proof obligations into a single, easily checkable instance.
Figure 1: Non-Interactive ZKMC Scheme

Datasets

The authors evaluated their prototype implementation using three classic communication and coordination protocol benchmarks, parameterized to scale the state space and proof obligations independently:

  • 3-Way Handshake with Exponential Backoff (exb): A protocol modeled from the initiator's perspective to ensure it never gets stuck waiting indefinitely for an unreachable listener.
  • Dynamic Host Configuration Protocol (dhcp): A model of a client requesting a network address, testing liveness properties across exponential backoff loops.
  • Round-Robin Scheduler (rr): A $k$-process scheduling algorithm used to prove starvation-free properties, serving as the most complex benchmark family.
Figure 2: (a) 3-Way Handshake with Exponential Backoff and (b) Nondeterministic Büchi Automaton for FGWait

Key Insights and Ideas

  • Duality as a Cryptographic Bridge: The most elegant "aha moment" is using Farkas' lemma to translate a universal verification problem (proving something holds for all states) into a existential dual problem (finding a specific witness matrix). This existential statement is exactly what zero-knowledge protocols excel at proving.
  • The Expressivity vs. Performance Trade-off: The explicit-state method makes absolutely no assumptions about the system's structure but scales quadratically with the number of states, making it ideal for small hardware controllers. Conversely, the symbolic method requires the system to be expressed as linear guarded commands but scales incredibly well to massive state spaces by leveraging cryptographic folding.

Key Results

The prototype was evaluated on an AWS EC2 instance to test scalability limits under a 2-hour time constraint:

  • Explicit-State Scheme: Successfully verified systems with up to approximately $2^{12}$ states. Beyond this, the prover's work (which is quadratic relative to the state space) hit memory and time limits.
  • Symbolic Scheme: Handled significantly larger tasks, scaling up to $2^{21}$ states and processing up to $38,427$ individual proof obligations by successfully folding them into a single verification instance.

Limitations and Future Work

  • Information Leakage via Specifications: While the ZKP hides the system implementation, a highly restrictive public specification or an overly specific ranking function certificate could theoretically allow an adversary to deduce details about the underlying system. Developing "leakage-resilient" specification patterns remains an open problem.
  • Incompleteness: The certification relies on finding piecewise-linear ranking functions. While sufficient for proving correctness, they are not mathematically necessary, meaning some valid systems might fail to generate a valid certificate.
  • Continuous Domains: The current symbolic framework is restricted to integer variables and linear constraints. Extending ZKMC to continuous or hybrid domains (like cyber-physical systems or neural network-controlled systems) will require generalizing the underlying cryptographic primitives.

Summary updated

BibTeX
@misc{berrang2026zero,
  author = {Pascal Berrang and Mirco Giacobbe and Jacob Swales and Xiao Yang},
  title = {{Zero-Knowledge Model Checking}},
  year = {2026},
  eprint = {2605.00487},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.00487},
}
Figure