Lune

POPL2020Top-tier venue

Deductive verification with ghost monitors

Martin Clochard, Claude Marché, Andrei Paskevich

Abstract

We present a new approach to deductive program verification based on auxiliary programs called ghost monitors . This technique is useful when the syntactic structure of the target program is not well suited for verification, for example, when an essentially recursive algorithm is implemented in an iterative fashion. Our approach consists in implementing, specifying, and verifying an auxiliary program that monitors the execution of the target program, in such a way that the correctness of the monitor entails the correctness of the target. The ghost monitor maintains the necessary data and invariants to facilitate the proof. It can be implemented and verified in any suitable framework, which does not have to be related to the language of the target programs. This technique is also applicable when we want to establish relational properties between two target programs written in different languages and having different syntactic structure. We then show how ghost monitors can be used to specify and prove fine-grained properties about the infinite behaviors of target programs. Since this cannot be easily done using existing verification frameworks, we introduce a dedicated language for ghost monitors, with an original construction to catch and handle divergent executions. The soundness of the underlying program logic is established using a particular flavor of transfinite games. This language and its soundness are formalized and mechanically checked.

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.

5 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

  • An Algebra of Alignment for Relational Verification cites Alignment Completeness for Relational Hoare Logics
  • An Algebra of Alignment for Relational Verification cites Constraint-Based Relational Verification
  • Encode the ∀∃ Relational Hoare Logic into Standard Hoare Logic cites An Algebra of Alignment for Relational Verification
  • Encode the ∀∃ Relational Hoare Logic into Standard Hoare Logic cites Alignment Completeness for Relational Hoare Logics
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Constraint-Based Relational VerificationHiroshi Unno, Tachio Terauchi, Eric KoskinenCAV 2021 · 47 citations
  2. An Algebra of Alignment for Relational VerificationTimos Antonopoulos, Eric Koskinen, Ton Chanh Le, Ramana Nagasamudram et al.POPL 2023 · 17 citations
  3. Alignment Completeness for Relational Hoare LogicsRamana Nagasamudram, David A. NaumannLICS 2021 · 10 citations
  4. Property Directed Reachability with Extended ResolutionAndrew Luka, Yakir VizelCAV 2025 · 2 citations
  5. Encode the ∀∃ Relational Hoare Logic into Standard Hoare LogicShushu Wu, Xiwei Wu, Qinxiang CaoOOPSLA 2025 · 1 citation

Related papers

  1. Products of Recursive Programs for Hypersafety VerificationRuotong Cheng, Azadeh FarzanOOPSLA 2025
  2. Structural Temporal Logic for Mechanized Program VerificationEleftherios Ioannidis, Yannick Zakowski, Steve Zdancewic, Sebastian AngelOOPSLA 2025 · 1 citation
  3. Verifying higher-order concurrency with data automataAlex Dixon, Ranko Lazic, Andrzej S. Murawski, Igor WalukiewiczLICS 2021 · 2 citations
  4. Ghost Signals: Verifying Termination of Busy Waiting - Verifying Termination of Busy WaitingTobias Reinhard, Bart JacobsCAV 2021 · 3 citations
  5. Semantics of Sets of ProgramsJinwoo Kim, Shaan Nagy, Thomas Reps, Loris D'AntoniOOPSLA 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines