Alignment Completeness for Relational Hoare Logics

01/27/2021
by   Ramana Nagasamudram, et al.
0

Relational Hoare logics (RHL) provide rules for reasoning about relations between programs. Several RHLs include a rule we call sequential product that infers a relational correctness judgment from judgments of ordinary Hoare logic (HL). Other rules embody sensible patterns of reasoning and have been found useful in practice, but sequential product is relatively complete on its own (with HL). As a more satisfactory way to evaluate RHLs, a notion of alignment completeness is introduced, in terms of the inductive assertion method and product automata. Alignment completeness results are given to account for several different sets of rules. The notion may serve to guide the design of RHLs and relational verifiers for richer programming languages and alignment patterns.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/19/2023

Alignment complete relational Hoare logics for some and all

In relational verification, judicious alignment of computational steps f...
research
12/20/2022

Making Relational Hoare Logic Alignment Complete

In relational verification, judicious alignment of computational steps f...
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
02/09/2022

An algebra of alignment for relational verification

Relational verification encompasses information flow security, regressio...
research
12/02/2020

Poset products as relational models

We introduce a relational semantics based on poset products, and provide...
research
05/23/2018

Relational Hypersequents for Modal Logics

We investigate a new approach to modal hypersequents, called relational ...
research
02/17/2022

A Completeness Result for Inequational Reasoning in a Full Higher-Order Setting

This paper obtains a completeness result for inequational reasoning with...

Please sign up or login with your details

Forgot password? Click here to reset