Making Relational Hoare Logic Alignment Complete

12/20/2022
by   Anindya Banerjee, et al.
0

In relational verification, judicious alignment of computational steps facilitates proof of relations between programs using simple relational assertions. Relational Hoare logics (RHL) provide compositional rules that embody various alignments. Seemingly more flexible alignments can be expressed in terms of product automata based on program transition relations. A RHL can be complete, in the ordinary sense, using a single degenerate alignment rule. The notion of alignment completeness was previously proposed as a more satisfactory measure, based on alignment automata, and some rules were shown to be alignment complete with respect to a few ad hoc forms of alignment automata. Using a rule of semantics-preserving rewrites based on Kleene algebra with tests, an RHL is shown to be alignment complete with respect to a very general class of alignment automata. Besides solving the open problem of general alignment completeness, this result bridges between human-friendly syntax-based reasoning and automata representations that facilitate automated verification.

READ FULL TEXT
research
07/19/2023

Alignment complete relational Hoare logics for some and all

In relational verification, judicious alignment of computational steps f...
research
02/09/2022

An algebra of alignment for relational verification

Relational verification encompasses information flow security, regressio...
research
01/27/2021

Alignment Completeness for Relational Hoare Logics

Relational Hoare logics (RHL) provide rules for reasoning about relation...
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
05/02/2023

Probabilistic Guarded KAT Modulo Bisimilarity: Completeness and Complexity

We introduce Probabilistic Guarded Kleene Algebra with Tests (ProbGKAT),...
research
06/15/2021

On Star Expressions and Coalgebraic Completeness Theorems

An open problem posed by Milner asks for a proof that a certain axiomati...
research
04/27/2021

Temporal Reasoning Through Automatic Translation of tock-CSP into Timed Automata

In this work, we consider translating tock-CSP into Timed Automata for U...

Please sign up or login with your details

Forgot password? Click here to reset