arXiv · 2303.00322
Kleene Algebra With Tests for Weighted Programs
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.
Explore related subjects
Keep this discovery
Igor Sedlár. 2023-03-01. Kleene Algebra With Tests for Weighted Programs. https://arxiv.org/abs/2303.00322
Cite the original work for its findings. Save a collection to share your selection of sources.