[Paper Review] Software Verification with PDR: Implementation and Empirical Evaluation of the State of the Art
This paper presents a well-engineered, standalone implementation of Property-Directed Reachability (PDR) for C software verification, along with a novel PDR-based auxiliary-invariant generator for k-induction. It evaluates these on the largest public benchmark (SV-COMP 2019 ReachSafety-Loops), showing that the proposed PDR approach outperforms existing PDR tools and is more efficient than the best invariant generator in SV-COMP for certain hard-to-prove programs.
Property-directed reachability (PDR) is a SAT/SMT-based reachability algorithm that incrementally constructs inductive invariants. After it was successfully applied to hardware model checking, several adaptations to software model checking have been proposed. We contribute a replicable and thorough comparative evaluation of the state of the art: We (1) implemented a standalone PDR algorithm and, as improvement, a PDR-based auxiliary-invariant generator for k-induction, and (2) performed an experimental study on the largest publicly available benchmark set of C verification tasks, in which we explore the effectiveness and efficiency of software verification with PDR. The main contribution of our work is to establish a reproducible baseline for ongoing research in the area by providing a well-engineered reference implementation and an experimental evaluation of the existing techniques.
Motivation & Objective
- To close the gap between PDR's success in hardware verification and its limited adoption in software verification.
- To provide a reproducible, well-engineered reference implementation of PDR for software.
- To empirically evaluate the effectiveness and efficiency of PDR-based techniques on a large, diverse benchmark set of C verification tasks.
- To compare the proposed PDR adaptation with existing tools and techniques in software verification.
- To establish a baseline for future research in PDR-based software verification.
Proposed method
- Implemented a standalone PDR algorithm tailored for software verification using SMT solvers and handling infinite state spaces.
- Designed and implemented a PDR-like auxiliary-invariant generator that integrates with k-induction to improve inductive invariant discovery.
- Used a clause-learning strategy guided by counterexamples to induction, generalizing bad-state predecessors into inductive invariants.
- Integrated the invariant generator into the k-induction framework to enhance its ability to prove safety properties.
- Conducted experiments on 208 C verification tasks from SV-COMP 2019’s ReachSafety-Loops category using the BenchExec framework for reliable resource accounting.
- Evaluated performance across multiple tools, including CPAchecker-CTIGAR and Vvt-CTIGAR, with detailed metrics on correctness, speed, and resource usage.
Experimental results
Research questions
- RQ1How effective is a standalone PDR implementation for software verification on real-world C programs?
- RQ2Can a PDR-based auxiliary-invariant generator improve the performance of k-induction in software verification?
- RQ3How does the proposed PDR implementation compare in precision and efficiency to existing PDR-based verifiers like Vvt and SeaHorn?
- RQ4Which types of programs benefit most from PDR-based invariant generation compared to other techniques?
- RQ5Can PDR be a competitive alternative to state-of-the-art invariant generators in industrial-strength verification benchmarks?
Key findings
- The proposed PDR implementation outperforms the existing Vvt PDR tool in both correctness and efficiency, solving 144 out of 208 tasks compared to Vvt’s 126.
- The PDR-based invariant generator in KI ⟲←−KIPDR achieved a total score of 221 on SV-COMP 2019, outperforming Ultimate Automizer (192) and Ultimate Taipan (215).
- The mean CPU time for correct results was 28 seconds for the proposed method, significantly lower than VeriAbs (97 seconds) and Ultimate Automizer (97 seconds).
- The method solved 109 problems with correct proofs in under 10 seconds on average, demonstrating high efficiency on many benchmarks.
- For programs where invariant discovery is challenging (e.g., indirect dependencies like y == z via w), the PDR-based approach proved more efficient than the best invariant generator in SV-COMP’s ReachSafety-Loops category.
- The study confirms that while PDR is not universally superior, it is highly effective for specific classes of programs with complex invariants, offering a strong alternative to traditional k-induction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.