Lune

PLDI2024顶会

Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties

Thibault Dardinier, Peter Müller

摘要

Hoare logics are proof systems that allowone to formally establish properties of computer programs. Traditional Hoare logics prove properties of individual program executions (such as functional correctness). Hoare logic has been generalized to prove also properties of multiple executions of a program (so-called hyperproperties, such as determinism or non-interference). These program logics prove the absence of (bad combinations of) executions. On the other hand, program logics similar to Hoare logic have been proposed to disprove program properties (e.g., Incorrectness Logic), by proving the existence of (bad combinations of) executions. All of these logics have in common that they specify program properties using assertions over a fixed number of states, for instance, a single pre- and post-state for functional properties or pairs of pre- and post-states for non-interference. In this paper, we present Hyper Hoare Logic, a generalization of Hoare logic that lifts assertions to properties of arbitrary sets of states. The resulting logic is simple yet expressive: its judgments can express arbitrary program hyperproperties , a particular class of hyperproperties over the set of terminating executions of a program (including properties of individual program executions). By allowing assertions to reason about sets of states, Hyper Hoare Logic can reason about both the absence and the existence of (combinations of) executions, and, thereby, supports both proving and disproving program (hyper-)properties within the same logic, including (hyper-)properties that no existing Hoare logic can express. We prove that Hyper Hoare Logic is sound and complete, and demonstrate that it captures important proof principles naturally. All our technical results have been proved in Isabelle/HOL.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Hypra: A Deductive Program Verifier for Hyper Hoare Logic 引用了 Incorrectness logic
  • Hypra: A Deductive Program Verifier for Hyper Hoare Logic 引用了 Finding real bugs in big programs with incorrectness logic
  • Hypra: A Deductive Program Verifier for Hyper Hoare Logic 引用了 Constraint-Based Relational Verification
  • Hypra: A Deductive Program Verifier for Hyper Hoare Logic 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Hypra: A Deductive Program Verifier for Hyper Hoare Logic 引用了 Mechanised Hypersafety Proofs about Structured Data
  • Hypra: A Deductive Program Verifier for Hyper Hoare Logic 引用了 Software Verification of Hyperproperties Beyond k-Safety
  • Coinductive Proofs for Temporal Hyperliveness 引用了 Software Verification of Hyperproperties Beyond k-Safety
  • Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic 引用了 Incorrectness logic
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Incorrectness logic
  • 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 引用了 Finding real bugs in big programs with incorrectness logic
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Finding real bugs in big programs with incorrectness logic 引用了 Incorrectness logic
  • Finding real bugs in big programs with incorrectness logic 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Incorrectness logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Finding real bugs in big programs with incorrectness logic
  • Software Verification of Hyperproperties Beyond k-Safety 引用了 Constraint-Based Relational Verification
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper21

  1. Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 次引用
  2. Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational EffectsNoam Zilberstein, Angelina Saliling, Alexandra SilvaOOPSLA 2024 · 16 次引用
  3. Mechanised Hypersafety Proofs about Structured DataVladimir Gladshtein, Qiyuan Zhao, Willow Ahrens, Saman P. Amarasinghe 等PLDI 2024 · 10 次引用
  4. Hypra: A Deductive Program Verifier for Hyper Hoare LogicThibault Dardinier, Anqi Li, Peter MüllerOOPSLA 2024 · 6 次引用
  5. Coinductive Proofs for Temporal HyperlivenessArthur Correnson, Bernd FinkbeinerPOPL 2025 · 5 次引用

它引用的 Paper13

  1. Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 次引用
  2. Local Reasoning About the Presence of Bugs: Incorrectness Separation LogicAzalea Raad, Josh Berdine, Hoang-Hai Dang, Derek Dreyer 等CAV 2020 · 70 次引用
  3. Finding real bugs in big programs with incorrectness logicQuang Loc Le, Azalea Raad, Jules Villard, Josh Berdine 等OOPSLA 2022 · 52 次引用
  4. Constraint-Based Relational VerificationHiroshi Unno, Tachio Terauchi, Eric KoskinenCAV 2021 · 47 次引用
  5. Software Verification of Hyperproperties Beyond k-SafetyRaven Beutner, Bernd FinkbeinerCAV 2022 · 44 次引用

相关 Paper

  1. Hyper Separation LogicTrayan Gospodinov, Peter Müller, Thibault DardinierPLDI 2026 · 1 次引用
  2. Proving hypersafety compositionallyEmanuele D'Osualdo, Azadeh Farzan, Derek DreyerOOPSLA 2022 · 16 次引用
  3. Encode the ∀∃ Relational Hoare Logic into Standard Hoare LogicShushu Wu, Xiwei Wu, Qinxiang CaoOOPSLA 2025 · 1 次引用
  4. Calculational Design of [In]Correctness Transformational Program Logics by Abstract InterpretationPatrick CousotPOPL 2024 · 11 次引用
  5. Revealing Sources of (Memory) Errors via Backward AnalysisFlavio Ascari, Roberto Bruni, Roberta Gori, Francesco LogozzoOOPSLA 2025 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖