A Logic for Locally Complete Abstract Interpretations
Roberto Bruni, Roberto Giacobazzi, Roberta Gori, Francesco Ranzato
摘要
We introduce the notion of local completeness in abstract interpretation and define a logic for proving both the correctness and incorrectness of some program specification. Abstract interpretation is extensively used to design sound-by-construction program analyses that over-approximate program behaviours. Completeness of an abstract interpretation A for all possible programs and inputs would be an ideal situation for verifying correctness specifications, because the analysis can be done compositionally and no false alert will arise. Our first result shows that the class of programs whose abstract analysis on A is complete for all inputs has a severely limited expressiveness. A novel notion of local completeness weakens the above requirements by considering only some specific, rather than all, program inputs and thus finds wider applicability. In fact, our main contribution is the design of a proof system, parameterized by an abstraction A, that, for the first time, combines over- and under-approximations of program behaviours. Thanks to local completeness, in a provable triple ⊢A [P ] c [Q], the assertion Q is an under-approximation of the strongest post-condition postc such that the abstractions in A of Q and postc coincide. This means that Q is never too coarse, namely, under mild assumptions, the abstract interpretation of c does not yield false alerts for the input P iff Q has no alert. Thus, ⊢ A [P ] c [Q] not only ensures that all the alerts raised in Q are true ones, but also that if Q does not raise alerts then c is correct.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Abstract interpretation repair 引用了 Abstract extensionality: on the properties of incomplete abstract interpretations
- Abstract interpretation repair 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Partial (In)Completeness in abstract interpretation: limiting the imprecision in program analysis 引用了 Abstract extensionality: on the properties of incomplete abstract interpretations
- Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
- Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
- Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
引用它的顶会 Paper16
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 次引用
- Hyper Hoare Logic: (Dis-)Proving Program HyperpropertiesThibault Dardinier, Peter MüllerPLDI 2024 · 28 次引用
- Partial (In)Completeness in abstract interpretation: limiting the imprecision in program analysisMarco Campion, Mila Dalla Preda, Roberto GiacobazziPOPL 2022 · 21 次引用
- Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational EffectsNoam Zilberstein, Angelina Saliling, Alexandra SilvaOOPSLA 2024 · 16 次引用
- Abstract interpretation repairRoberto Bruni, Roberto Giacobazzi, Roberta Gori, Francesco RanzatoPLDI 2022 · 15 次引用
它引用的 Paper2
- Local Reasoning About the Presence of Bugs: Incorrectness Separation LogicAzalea Raad, Josh Berdine, Hoang-Hai Dang, Derek Dreyer 等CAV 2020 · 70 次引用
- Abstract extensionality: on the properties of incomplete abstract interpretationsRoberto Bruni, Roberto Giacobazzi, Roberta Gori, Isabel Garcia-Contreras 等POPL 2020 · 27 次引用
相关 Paper
- Abstract Interpretation with Confidence: Quantifying the Precision of Dataflow Analysis with ProbabilitiesYuanfeng Shi, Ziyue Jin, Xin ZhangPLDI 2026
- A Logic for the Imprecision of Abstract InterpretationsMarco Campion, Mila Dalla Preda, Roberto Giacobazzi, Caterina UrbanPOPL 2026 · 2 次引用
- The Best of Abstract InterpretationsRoberto Giacobazzi, Francesco RanzatoPOPL 2025 · 1 次引用
- Systematic Design of Separation LogicsRoberto Bruni, Lorenzo Gazzella, Roberta GoriOOPSLA 2026
- Revealing Sources of (Memory) Errors via Backward AnalysisFlavio Ascari, Roberto Bruni, Roberta Gori, Francesco LogozzoOOPSLA 2025 · 4 次引用
