计算机科学 > 计算机科学中的逻辑
[提交于 2026年11月30日]
标题:Proving Termination and Correctness of the Partitioning Engine in the VeRAPAk Neural Network Verifier
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Mason Davis[v1] 2026年11月30日 星期一 05:37:35 UTC (970 KB)