Proving Termination and Correctness of the Partitioning Engine in the VeRAPAk Neural Network Verifier
Mason Davis, Yongxi Sha, Bennet DenBleyker, Wen Li, Zhen Zhang
Abstract
Establishing trust in neural network verifiers is paramount for certifying safety-critical systems. However, these tools are inherently complex software, often relying on dynamic languages and external libraries that make them susceptible to bugs, non-terminating loops, or mathematically invalid guarantees. This paper presents a case study on formally verifying the core partitioning engine of VeRAPAk, a modular, refutation-based neural network verifier. Because VeRAPAk relies on swappable verification and falsification sub-routines, we isolate this central engine to establish mathematical guarantees of termination and structural correctness for the overarching framework itself. To do this, we propose a two-pronged validation methodology: First, we construct a formal model of VeRAPAk's partitioning algorithm in Dafny, detailing practical optimization strategies for large-scale verification efforts, including isolating nonlinear arithmetic and utilizing explicit witnessing, to mitigate SMT resource exhaustion and formally prove the algorithm's correctness and guarantee its termination. Second, we introduce a contract-aware fuzzing test suite to close the semantic gap between the underlying Python implementation and the Dafny model. This provides a reusable framework for improving confidence in complex verifiers spanning multiple implementation languages.
Create a lesson
Related papers
BLIP: Bernstein-Lifted Iterative p-ROA Verification for Stochastic Neural Control Systems with Nonsmooth Controllers
Shared title terminologycs.LOXueZhou Tang, Yufeng Li
LeanSafeHRC: Verified Executable Runtime Safety Monitoring for Human-Robot Collaboration
Shared title terminologycs.LOAdnan Rashid
CrossCheck I: Cost Bounds of Imperative Programs as Constrained Optimization, with a Sound Cost Logic and a Verified Certificate Checker
Shared title terminologycs.LOLuca Dall'Olio
TPTL-dist: A Formalised Calculus with Proof Automation for Verifying Real-Time Distributed Systems
Shared title terminologycs.LOJavier Enríquez Mendoza, Sam Speight, Vincent Rahli
Isabelle Pool Server: a pooled verification service for prover training and multi-agent proving
Shared title terminologycs.LOXuanwei Ren, Wenda Li
Apply All, Prove Once: Embedding Parameterized Lemmas in DRAT
Shared title terminologycs.LORandal E. Bryant, Zachary Battleman, Marijn J. H. Heule