• Home
  • Search
  • Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
  • Cite Icon21
  • https://doi.org/10.1145/3656437Copy DOI Icon

Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

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.

Loading PDF

Similar Papers
  • Book Chapter
  • Citations1

Formalizing Hoare Logic in PVS

  • Jan 01, 2018
  • Natarajan Shankar
  • Research Article
  • Citations1

Outcome Logic: A Unified Approach to the Metatheory of Program Logics with Branching Effects

  • Sep 19, 2025
  • ACM Transactions on Programming Languages and Systems
  • Noam Zilberstein
  • Book Chapter
  • Citations1

Relative Completeness of Incorrectness Separation Logic

  • Oct 28, 2024
  • Yeonseok Lee +1
  • Conference Article

A Framework for Verifying BPMN with Hoare Logic

  • Jul 16, 2025
  • Wei Lin +2
  • Conference Article
  • Citations41

An Observationally Complete Program Logic for Imperative Higher-Order Frame Rules

  • Jun 26, 2005
  • K Honda +2
  • Research Article
  • Citations1

Automating Unrealizability Logic: Hoare-Style Proof Synthesis for Infinite Sets of Programs

  • Oct 08, 2024
  • Proceedings of the ACM on Programming Languages
  • Shaan Nagy +3
  • Book Chapter
  • Citations7

Verification of BDD Normalization

  • Jan 01, 2005
  • Veronika Ortner +1
  • Research Article
  • Citations1

Automatic construction of a fuzzy system with a matrix representation of rules and a correct knowledge base

  • Dec 30, 2022
  • Eastern-European Journal of Enterprise Technologies
  • Danylo Yehoshkin +1
  • Book Chapter
  • Citations32

Automatic Construction of Hoare Proofs from Abstract Interpretation Results

  • Jan 01, 2003
  • Sunae Seo +2
  • Research Article
  • Citations3

The completeness of functional logic

  • Jan 01, 1994
  • Formal Aspects of Computing
  • Peter Nickolas
  • Research Article
  • Citations1

Type declarations as subtype constraints in logic programming

  • Jun 01, 1990
  • ACM SIGPLAN Notices
  • Dean Jacobs
  • PDF
  • Book Chapter
  • Citations16

Program Verification by Coinduction

  • Jan 01, 2018
  • Brandon Moore +2
  • Research Article
  • Citations32

A Correctness and Incorrectness Program Logic

  • Mar 25, 2023
  • Journal of the ACM
  • Roberto Bruni +3
  • Conference Article
  • Citations5

Proving proof rules: a proof system for concurrent programs

  • Jan 01, 1990
  • D.M Goldschlag
  • Research Article
  • Citations22

Some natural structures which fail to possess a sound and decidable hoare-like logic for their while-programs

  • Jan 01, 1982
  • Theoretical Computer Science
  • J.A Bergstra +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.