论文标题
定量效应的总和和张量
Sum and Tensor of Quantitative Effects
论文作者
论文摘要
受Hyland,Plotkin的开创性工作的启发,以及通过总和和张量的代数计算效应组合的启发,我们开发了一种类似的理论,用于定量代数效应的组合。定量代数效应是对度量空间类别的单声学计算效应,此外,它具有定量方程理论的形式的代数呈现,这是Mardare,Panangaden和Plotkin引入的逻辑框架的形式。作为我们的主要结果,我们表明,两个定量方程理论的总和和张量分别对应于分类总和(即副量)和张量的效果。我们进一步基于这两个操作提供了定量效应变压器的理论,本质上为Moggi引起的以下单子变压器提供了定量类似物:例外,恢复,读者和作家变形金刚。最后,作为一种应用,我们为以下结构结构提供了第一个定量代数公理:马尔可夫过程,标记为马尔可夫过程,梅利机器和马尔可夫决策过程,每个都伴随着各自的双比性指标。除了对这些公理的固有兴趣之外,它还令人愉悦,它们是通过总和和张量的组成,具有简单的定量方程理论。
Inspired by the seminal work of Hyland, Plotkin, and Power on the combination of algebraic computational effects via sum and tensor, we develop an analogous theory for the combination of quantitative algebraic effects. Quantitative algebraic effects are monadic computational effects on categories of metric spaces, which, moreover, have an algebraic presentation in the form of quantitative equational theories, a logical framework introduced by Mardare, Panangaden, and Plotkin that generalises equational logic to account for a concept of approximate equality. As our main result, we show that the sum and tensor of two quantitative equational theories correspond to the categorical sum (i.e., coproduct) and tensor, respectively, of their effects qua monads. We further give a theory of quantitative effect transformers based on these two operations, essentially providing quantitative analogues to the following monad transformers due to Moggi: exception, resumption, reader, and writer transformers. Finally, as an application, we provide the first quantitative algebraic axiomatizations to the following coalgebraic structures: Markov processes, labelled Markov processes, Mealy machines, and Markov decision processes, each endowed with their respective bisimilarity metrics. Apart from the intrinsic interest in these axiomatizations, it is pleasing they have been obtained as the composition, via sum and tensor, of simpler quantitative equational theories.