Algebras for Deterministic Computation Are Inherently Incomplete

Open Access
Authors
Publication date 01-2025
Journal Proceedings of the ACM on Programming Languages
Event 52nd ACM SIGPLAN Symposium on Principles of Programming Languages
Article number 25
Volume | Issue number 9 | POPL
Pages (from-to) 718-744
Number of pages 27
Organisations
  • Interfacultary Research - Institute for Logic, Language and Computation (ILLC)
Abstract

Kleene Algebra with Tests (KAT) provides an elegant algebraic framework for describing non-deterministic finite-state computations. Using a small finite set of non-deterministic programming constructs (sequencing, non-deterministic choice, and iteration) it is able to express all non-deterministic finite state control flow over a finite set of primitives. It is natural to ask whether there exists a similar finite set of constructs that can capture all deterministic computation. We show that this is not the case. More precisely, the deterministic fragment of KAT is not generated by any finite set of regular control flow operations. This generalizes earlier results about the expressivity of the traditional control flow operations, i.e., sequential composition, if-then-else and while.

Document type Article
Note With supplementary video
Language English
Published at https://doi.org/10.1145/3704861
Other links https://www.scopus.com/pages/publications/85211812896
Downloads
3704861-1 (Final published version)
Supplementary materials
Permalink to this page
Back