Deductive verification with ghost monitors
Martin Clochard, Claude Marché, Andrei Paskevich
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- An Algebra of Alignment for Relational Verification 引用了 Alignment Completeness for Relational Hoare Logics
- An Algebra of Alignment for Relational Verification 引用了 Constraint-Based Relational Verification
- Encode the ∀∃ Relational Hoare Logic into Standard Hoare Logic 引用了 An Algebra of Alignment for Relational Verification
- Encode the ∀∃ Relational Hoare Logic into Standard Hoare Logic 引用了 Alignment Completeness for Relational Hoare Logics
引用它的顶会 Paper5
- Constraint-Based Relational VerificationHiroshi Unno, Tachio Terauchi, Eric KoskinenCAV 2021 · 47 次引用
- An Algebra of Alignment for Relational VerificationTimos Antonopoulos, Eric Koskinen, Ton Chanh Le, Ramana Nagasamudram 等POPL 2023 · 17 次引用
- Alignment Completeness for Relational Hoare LogicsRamana Nagasamudram, David A. NaumannLICS 2021 · 10 次引用
- Property Directed Reachability with Extended ResolutionAndrew Luka, Yakir VizelCAV 2025 · 2 次引用
- Encode the ∀∃ Relational Hoare Logic into Standard Hoare LogicShushu Wu, Xiwei Wu, Qinxiang CaoOOPSLA 2025 · 1 次引用
相关 Paper
- Products of Recursive Programs for Hypersafety VerificationRuotong Cheng, Azadeh FarzanOOPSLA 2025
- Structural Temporal Logic for Mechanized Program VerificationEleftherios Ioannidis, Yannick Zakowski, Steve Zdancewic, Sebastian AngelOOPSLA 2025 · 1 次引用
- Verifying higher-order concurrency with data automataAlex Dixon, Ranko Lazic, Andrzej S. Murawski, Igor WalukiewiczLICS 2021 · 2 次引用
- Ghost Signals: Verifying Termination of Busy Waiting - Verifying Termination of Busy WaitingTobias Reinhard, Bart JacobsCAV 2021 · 3 次引用
- Semantics of Sets of ProgramsJinwoo Kim, Shaan Nagy, Thomas Reps, Loris D'AntoniOOPSLA 2025 · 1 次引用
