paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Sum and Tensor of Quantitative Effects

定量效应的和与张量
LMCS vol.Volume 20, Issue 42024匹配度 3/10 · 论文属于纯形式语义/范畴论,研究定量代数效应的和、张量组合及其在马尔可夫过程等上的公理化;与用户核心关注的静态分析、LLM/Agent 与程序分析交叉、浮点程序分析均无直接关联,仅在概率/马尔可夫过程的语义基础层面与贝叶斯程序分析有较远联系。引用 1 inbox
Giorgio Bacci, Radu Mardare, Prakash Panangaden, Gordon Plotkin
crossref: 2026-09-10

AI 速览

一句话:把代数效应的和与张量组合推广到定量代数效应,证明其分别对应 monad 的余积与张量,并给出应用。

本文研究定量代数效应的组合。定量代数效应是度量空间范畴上的 monad 效应,可由 Mardare 等人提出的定量等式理论代数表示,该理论用近似相等推广经典等式逻辑。作者借鉴 Hyland、Plotkin 与 Power 关于代数效应 sum 与 tensor 的组合理论,建立定量版本。主要结果表明,两个定量等式理论的和与张量分别对应其效应(作为 monad)的范畴余积与张量;并由此给出定量效应变换器,覆盖异常、恢复、读取与写入的定量类比。应用上,作者首次为 Markov 过程、带标签 Markov 过程、Mealy 机与 Markov 决策过程及其互模拟度量给出定量代数公理化,并说明这些公理可由更简单理论的 sum/tensor 组合得到。

问题
如何组合定量代数效应,并为其提供范畴与代数层面的统一理论?
方法
类比代数效应的 sum/tensor 理论,在度量空间范畴上使用 monad、定量等式理论和效应变换器进行构造与证明。
评估
通过证明 sum/tensor 与 monad 余积/张量对应,并给出四类 coalgebraic 结构及其互模拟度量的定量公理化来验证理论。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2713,
  title = {Sum and Tensor of Quantitative Effects},
  author = {Giorgio Bacci and Radu Mardare and Prakash Panangaden and Gordon Plotkin},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 20, Issue 4},
  year = {2024},
  doi = {10.46298/lmcs-20(4:9)2024}
}