AI
New Framework Speeds Up Software Verification by Parallelizing Contract Synthesis
VERDICT uses multi-agent parallel processing to verify large-scale programs faster while maintaining specification quality, tackling the bottleneck of modular deductive verification.
Formal verification of large software systems traditionally requires breaking the codebase into smaller pieces and verifying each one independently. However, the core challenge has long been generating the formal contracts—detailed specifications that describe how each function behaves—needed to make this modular approach work.
The Parallelization Problem#
Existing verification methods follow a strict dependency order: they verify called functions first, then work their way up the call chain to verify their callers. This sequential constraint severely limits how much parallel processing can happen. As codebases grow larger, this bottleneck becomes increasingly problematic, since verification time scales poorly with program size.
How VERDICT Works#
A new framework called VERDICT takes a fundamentally different approach. Rather than waiting for each function's specification to be finalized before moving up the call graph, it assigns an agent to each function in parallel. Each agent immediately begins work using assumed contracts for the functions it calls—essentially educated guesses about their behavior. When these assumptions prove incorrect later, the framework has a built-in reconciliation mechanism: agents propagate corrections both upward and downward through the call graph until all contracts align.
This two-part strategy—parallel assumption-based synthesis followed by bidirectional conflict resolution—eliminates the sequential dependency chain while maintaining correctness.
Real-World Impact#
Testing on actual C programs demonstrated substantial improvements. VERDICT produces higher-quality formal specifications than prior tools and cuts verification time significantly. Most notably, it was the first approach to successfully verify the complete X.509 parser (a 20,000-line cryptographic component), eliminating nearly all potential runtime errors within hours. Previous tools like PREGUSS could not scale to this complexity, even after running for days.
The work builds on recent advances in using large language models for automated specification synthesis, but applies these capabilities in a way that exploits parallelism rather than being constrained by existing sequential verification pipelines.

