A Kleene algebra with tests for union bound reasoning about probabilistic programs

Uloženo v:
Podrobná bibliografie
Název: A Kleene algebra with tests for union bound reasoning about probabilistic programs
Autoři: Gomes, Leandro, Baillot, Patrick, Gaboardi, Marco
Přispěvatelé: Gomes, Leandro, Leandro Gomes and Patrick Baillot and Marco Gaboardi
Informace o vydavateli: Array, 2025.
Rok vydání: 2025
Témata: union bound, Kleene algebras with tests Hoare logic equational reasoning probabilistic programs union bound formal verification, Theory of computation → Hoare logic, Hoare logic, equational reasoning, [INFO] Computer Science [cs], Theory of computation → Logic and verification, Theory of computation → Algebraic semantics, Kleene algebras with tests, probabilistic programs, ddc:004, formal verification, Theory of computation → Pre- and post-conditions
Popis: Kleene Algebra with Tests (KAT) provides a framework for algebraic equational reasoning about imperative programs. The recent variant Guarded KAT (GKAT) allows to reason on non-probabilistic properties of probabilistic programs. Here we introduce an extension of this framework called approximate GKAT (aGKAT), which equips GKAT with a partially ordered monoid (real numbers) enabling to express satisfaction of (deterministic) properties except with a probability up to a certain bound. This allows to represent in equational reasoning ` a la KAT’ proofs of probabilistic programs based on the union bound, a technique from basic probability theory. We show how a propositional variant of approximate Hoare Logic (aHL), a program logic for union bound, can be soundly encoded in our system aGKAT. We then illustrate the use of aGKAT with an example of accuracy analysis from the field of differential privacy.
Druh dokumentu: Conference object
Article
Popis souboru: application/pdf
Jazyk: English
DOI: 10.4230/lipics.csl.2025.35
Přístupová URL adresa: https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CSL.2025.35
Rights: CC BY
Přístupové číslo: edsair.dedup.wf.002..a48c47eb52a13a33ecec27824b4a671f
Databáze: OpenAIRE
Popis
Abstrakt:Kleene Algebra with Tests (KAT) provides a framework for algebraic equational reasoning about imperative programs. The recent variant Guarded KAT (GKAT) allows to reason on non-probabilistic properties of probabilistic programs. Here we introduce an extension of this framework called approximate GKAT (aGKAT), which equips GKAT with a partially ordered monoid (real numbers) enabling to express satisfaction of (deterministic) properties except with a probability up to a certain bound. This allows to represent in equational reasoning ` a la KAT’ proofs of probabilistic programs based on the union bound, a technique from basic probability theory. We show how a propositional variant of approximate Hoare Logic (aHL), a program logic for union bound, can be soundly encoded in our system aGKAT. We then illustrate the use of aGKAT with an example of accuracy analysis from the field of differential privacy.
DOI:10.4230/lipics.csl.2025.35