← Lab /Software

Zero-knowledge proofs can verify temporal correctness of a system without revealing its code

The authors assert they can formally verify a software system satisfies a temporal specification while keeping the system secret using zero-knowledge proofs

Software arXiv 1 May 2026 Method Prototype evidence

Published as “Zero-Knowledge Model Checking”

Why it matters

The techniques enable confidential verification of safety-critical software, allowing regulators or partners to obtain formal correctness guarantees without exposing proprietary code.

Summary

The paper demonstrates two zero-knowledge model-checking schemes: an explicit-state approach that can verify systems up to about 29 states within a two-hour limit, and a symbolic approach that scales to roughly 221 states (and over 2000 proof obligations) in the same time budget. Both schemes produce constant-size or small certificates while keeping the system description hidden. The explicit-state method uses KZG polynomial commitments with a two-group-element proof, whereas the symbolic method leverages Farkas witnesses and sigma-protocols for matrix multiplication and range proofs. Evidence is based on prototype experiments on standard protocols (handshake, DHCP, round-robin) run on a 32-core cloud instance.

What they found 2

  1. Explicit-state ZKMC can verify systems up to ~29 states within a 2 h time limit.

    “Our explicit-state algorithm can verify systems with up to approximately 29 states within a 2 h time limit.”

  2. Explicit-state proof size is constant (two group elements) regardless of state-space size.

    “Our proof is two group elements regardless of state-space size; prover work is quadratic in the number of state of the system.”

Caveats 5

  • the explicit-state scheme times out in enumeration alone.
  • the symbolic scheme scales to systems with up to 220.9 states and 212.2 proof obligations within a two-hour budget, albeit with a higher constant overhead.
  • Remark 2.2 (Specification- and Certification-Induced Leakage). Our framework ensures that neither the commitment cM nor the proof π reveals any information about M. However, selecting a secure specification φ and certificate vφ remains the user’s responsibility. In the extreme case where the public specification φ or the certificate vφ uniquely determine the secret system M, any party capable of verifying the proof could, in principle, reconstruct the system regardless of the protocol’s cryptographic guarantees.
  • Our work raises many scientific questions, from the security implications related to commitment before and after a model checking proof, as well as the information a public specification may reveal about a secret system.
  • the symbolic algorithm requires systems to be expressed as linear guarded commands.

What’s new here 4

  • First framework for model checking in zero knowledge, combining formal certification with cryptographic commitments and ZK proofs.
  • Explicit-state scheme that yields a constant-size (two group elements) proof independent of state-space size using KZG commitments.
  • Symbolic scheme that handles large or infinite state spaces via piecewise-linear ranking functions, Farkas witnesses, and specialized sigma-protocols for matrix multiplication and range proofs.
  • Prototype implementation evaluating both schemes on realistic LTL verification benchmarks.