A Program Logic for Abstract (Hyper)Properties

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Baldan, Paolo, Bruni, Roberto, Ranzato, Francesco, Rigo, Diletta
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914496987004928
author Baldan, Paolo
Bruni, Roberto
Ranzato, Francesco
Rigo, Diletta
author_facet Baldan, Paolo
Bruni, Roberto
Ranzato, Francesco
Rigo, Diletta
contents We introduce APPL (Abstract Program Property Logic), a unifying Hoare-style logic that subsumes standard Hoare logic, incorrectness logic, and several variants of Hyper Hoare logic. APPL provides a principled foundation for abstract program logics parameterised by an abstract domain, encompassing both existing and novel abstractions of properties and hyperproperties. The logic is grounded in a semantic framework where the meaning of commands is first defined on a lattice basis and then extended to the full lattice via additivity. Crucially, nondeterministic choice is interpreted by a monoidal operator that need not be idempotent nor coincide with the lattice join. This flexibility allows the framework to capture collecting semantics, various classes of abstract semantics, and hypersemantics. The APPL proof system is sound, and it is relatively complete whenever the property language is sufficiently expressive. When the property language is restricted to an abstract domain, the result is a sound abstract deduction system based on best correct approximations. Relative completeness with respect to a corresponding abstract semantics is recovered provided the abstract domain is complete, in the sense of abstract interpretation, for the monoidal operator.
format Preprint
id arxiv_https___arxiv_org_abs_2601_20370
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Program Logic for Abstract (Hyper)Properties
Baldan, Paolo
Bruni, Roberto
Ranzato, Francesco
Rigo, Diletta
Logic in Computer Science
Programming Languages
We introduce APPL (Abstract Program Property Logic), a unifying Hoare-style logic that subsumes standard Hoare logic, incorrectness logic, and several variants of Hyper Hoare logic. APPL provides a principled foundation for abstract program logics parameterised by an abstract domain, encompassing both existing and novel abstractions of properties and hyperproperties. The logic is grounded in a semantic framework where the meaning of commands is first defined on a lattice basis and then extended to the full lattice via additivity. Crucially, nondeterministic choice is interpreted by a monoidal operator that need not be idempotent nor coincide with the lattice join. This flexibility allows the framework to capture collecting semantics, various classes of abstract semantics, and hypersemantics. The APPL proof system is sound, and it is relatively complete whenever the property language is sufficiently expressive. When the property language is restricted to an abstract domain, the result is a sound abstract deduction system based on best correct approximations. Relative completeness with respect to a corresponding abstract semantics is recovered provided the abstract domain is complete, in the sense of abstract interpretation, for the monoidal operator.
title A Program Logic for Abstract (Hyper)Properties
topic Logic in Computer Science
Programming Languages
url https://arxiv.org/abs/2601.20370