RHLE: Automatic Verification of ∀∃-Hyperproperties

02/07/2020
by   Robert Dickerson, et al.
0

Specifications of program behavior typically consider single executions of a program, usually requiring that every execution never reaches a bad state (a safety property) or that every execution can eventually produce some good state (a liveness property). Many desirable behaviors, however, including refinement and non-interference, range over multiple executions of a program. These sorts of behaviors are instead expressible as a combination of k-safety and k-liveness hyperproperties. Relational program logics allow for reasoning about the validity of hyperproperties, but, just as Floyd-Hoare logics focus on axiomatic reasoning about safety, existing relational logics have focused on proving k-safety properties. Such relational logics are unfortunately not suitable for verifying more general combinations of k-safety and k-liveness hyperproperties. This paper presents RHLE, a relational program logic for reasoning about a class of such hyperproperties that we term ∀∃-hyperproperties. RHLE forms the basis for an algorithm capable of automatically verifying this class of hyperproperties. We present an implementation of this algorithm which we have used to automatically verify a number of ∀∃-hyperproperties, including refinement and non-interference properties, on a corpus of representative programs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/07/2020

RHLE: Relational Reasoning for Existential Program Verification

Reasoning about nondeterministic programs requires a specification of ho...
research
01/24/2023

Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties (extended version)

Hoare logics are proof systems that allow one to formally establish prop...
research
05/19/2019

Property Directed Self Composition

We address the problem of verifying k-safety properties: properties that...
research
07/11/2019

The Next 700 Relational Program Logics

We propose the first framework for defining relational program logics fo...
research
07/13/2020

Thirty-seven years of relational Hoare logic: remarks on its principles and history

Relational Hoare logics extend the applicability of modular, deductive v...
research
09/15/2022

Proving Hypersafety Compositionally

Hypersafety properties of arity n are program properties that relate n t...
research
09/18/2023

Algebra of Self-Replication

Typical arguments for results like Kleene's Second Recursion Theorem and...

Please sign up or login with your details

Forgot password? Click here to reset