Kleene Algebra With Tests for Weighted Programs
Author:
- 1 May 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 111-116
Abstract
Weighted programs generalize probabilistic programs and offer a framework for specifying and encoding mathematical models by means of an algorithmic representation. Kleene algebra with tests is an algebraic formalism based on regular expressions with applications in proving program equivalence. We extend the language of Kleene algebra with tests so that it is sufficient to formalize reasoning about a simplified version weighted programs. We introduce relational semantics for the extended language, and we generalize the relational semantics to an appropriate extension of Kleene algebra with tests, called Kleene algebra with weights and tests. We demonstrate by means of an example that Kleene algebra with weights and tests offers a simple algebraic framework for reasoning about equivalence and optimal runs of weighted programs.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Foundations of Probabilistic Programming2020
- Verification of Sequential and Concurrent Programs2009
- Handbook of Weighted Automata2009
- On kleene algebras and closed semirings2005
- Kleene algebra with tests: Completeness and decidability1997
- A Completeness Theorem for Kleene Algebras and the Algebra of Regular EventsInformation and Computation, 1994
- Semirings, Automata, Languages1986
- Propositional dynamic logic of regular programsJournal of Computer and System Sciences, 1979
- Semantical consideration on floyo-hoare logic1976
- Coordinatization of orthocomplemented and orthomodular posetsProceedings of the American Mathematical Society, 1970