Tensor of quantitative equational theories

Bacci, Giorgio and Mardare, Radu and Panangaden, Prakash and Plotkin, Gordon D. (2021) Tensor of quantitative equational theories. In: 9th Conference on Algebra and Coalgebra in Computer Science, 2021-08-31 - 2021-09-03.

[thumbnail of Bacci-etal-Calco-2021-Tensor-of-quantitative-equational]
Preview
Text (Bacci-etal-Calco-2021-Tensor-of-quantitative-equational)
Bacci_etal_Calco_2021_Tensor_of_quantitative_equational.pdf
Accepted Author Manuscript
License: Creative Commons Attribution 4.0 logo

Download (502kB)| Preview

    Abstract

    We develop a theory for the commutative combination of quantitative effects, their tensor, given as a combination of quantitative equational theories that imposes mutual commutation of the operations from each theory. As such, it extends the sum of two theories, which is just their unrestrained combination. Tensors of theories arise in several contexts; in particular, in the semantics of programming languages, the monad transformer for global state is given by a tensor. We show that under certain assumptions on the quantitative theories the free monad that arises from the tensor of two theories is the categorical tensor of the free monads on the theories. As an application, we provide the first algebraic axiomatizations of labelled Markov processes and Markov decision processes. Apart from the intrinsic interest in the axiomatizations, it is pleasing they are obtained compositionally by means of the sum and tensor of simpler quantitative equational theories.