Lune

PPoPP2022Top-tier venue

Interference relation-guided SMT solving for multi-threaded program verification

Hongyu Fan, Weiting Liu, Fei He

Abstract

Concurrent program verification is challenging due to a large number of thread interferences. A popular approach is to encode concurrent programs as SMT formulas and then rely on off-the-shelf SMT solvers to accomplish the verification. In most existing works, an SMT solver is simply treated as the backend. There is little research on improving SMT solving for concurrent program verification.

In this paper, we recognize the characteristics of interference relation in multi-threaded programs and propose a novel approach for utilizing the interference relation in the SMT solving of multi-threaded program verification under various memory models. We show that the backend SMT solver can benefit a lot from the domain knowledge of concurrent programs. We implemented our approach in a prototype tool called Zpre. We compared it with the state-ofthe-art Z3 tool on credible benchmarks from the Concurren-cySafety category of SV-COMP 2019. Experimental results show promising improvements attributed to our approach.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Consistency-preserving propagation for SMT solving of concurrent program verificationZhihang Sun, Hongyu Fan, Fei HeOOPSLA 2022 · 11 citations
  2. Verifying Data Constraint Equivalence in FinTech SystemsChengpeng Wang, Gang Fan, Peisen Yao, Fuxiong Pan et al.ICSE 2023 · 4 citations

Related papers

  1. Satisfiability modulo ordering consistency theory for multi-threaded program verificationFei He, Zhihang Sun, Hongyu FanPLDI 2021 · 26 citations
  2. Canary: practical static detection of inter-thread value-flow bugsYuandao Cai, Peisen Yao, Charles ZhangPLDI 2021 · 25 citations
  3. CAAT: consistency as a theoryThomas Haas, Roland Meyer, Hernán Ponce de LeónOOPSLA 2022 · 11 citations
  4. CompCertOC: Verified Compositional Compilation of Multi-threaded Programs with Shared StacksLing Zhang, Yuting Wang, Yalun Liang, Zhong ShaoPLDI 2025
  5. Generating Rely-Guarantee Conditions with the Conditional-Writes DomainJames Tobler, Graeme SmithFM 2026
Dusk over the sea between two cliffs drawn in fine vertical lines