paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Coalgebraic Infinite Traces and Kleisli Simulations

余代数式无穷轨迹与 Kleisli 模拟
LMCS vol.Volume 14, Issue 32018匹配度 3/10 · 该论文是纯范畴论与余代数的形式语义工作,聚焦Kleisli模拟对无穷轨迹的可靠性,虽涉及概率单子但并非贝叶斯程序分析,且完全未涉及LLM/Agent、静态分析工具或工程落地,与用户核心研究方向(PL与AI交叉、浮点/贝叶斯程序分析及其LLM结合)仅存在极间接的理论关联。引用 5 inbox
Natsuki Urabe, Ichiro Hasuo
crossref: 2026-09-10

AI 速览

一句话:为 Kleisli 模拟建立余代数理论,证明其对无穷轨迹包含的可靠性,并扩展前向部分执行。

Kleisli 模拟是 Hasuo 提出的范畴论概念,用于验证有限轨迹包含,并可为多种系统定义前向/后向模拟;既有泛型范畴理论保证其相对有限轨迹语义的可靠性,且可用前向部分执行(FPE)增强。本文为 Kleisli 模拟建立无穷轨迹理论基础:沿用 Jacobs 的刻画,将无穷轨迹语义视为“最大同态”。证明表明前向模拟的可靠性较直接;后向模拟的可靠性也成立,但需要额外条件且证明更复杂。作者还说明 FPE 在无穷轨迹设定下仍可成功使用,以增强 Kleisli 模拟作为轨迹包含见证的适用性。框架在分支 monad 与线性时间行为 functor 上参数化,并主要考虑 powerset、sub-Giry 和 lift monad。

问题
如何将 Kleisli 模拟从有限轨迹包含的可靠性扩展到无穷轨迹,并为前向/后向模拟提供语义基础。
方法
采用范畴论与余代数方法,沿用 Jacobs 将无穷轨迹语义刻画为最大同态;框架由分支 monad 和线性时间行为 functor 参数化。
评估
主要是理论证明:分别证明前向与后向模拟相对无穷轨迹包含的可靠性;并说明 FPE 在该设定下的适用性,辅以 powerset、sub-Giry、lift monad 等实例。
原文摘要(Abstract)

Kleisli simulation is a categorical notion introduced by Hasuo to verify finite trace inclusion. They allow us to give definitions of forward and backward simulation for various types of systems. A generic categorical theory behind Kleisli simulation has been developed and it guarantees the soundness of those simulations with respect to finite trace semantics. Moreover, those simulations can be aided by forward partial execution (FPE)---a categorical transformation of systems previously introduced by the authors. In this paper, we give Kleisli simulation a theoretical foundation that assures its soundness also with respect to infinitary traces. There, following Jacobs' work, infinitary trace semantics is characterized as the "largest homomorphism." It turns out that soundness of forward simulations is rather straightforward; that of backward simulation holds too, although it requires certain additional conditions and its proof is more involved. We also show that FPE can be successfully employed in the infinitary trace setting to enhance the applicability of Kleisli simulations as witnesses of trace inclusion. Our framework is parameterized in the monad for branching as well as in the functor for linear-time behaviors; for the former we mainly use the powerset monad (for nondeterminism), the sub-Giry monad (for probability), and the lift monad (for exception).Comment: 39 pages, 1 figure

链接与引用

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

BibTeX
@article{paperbot380,
  title = {Coalgebraic Infinite Traces and Kleisli Simulations},
  author = {Natsuki Urabe and Ichiro Hasuo},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 14, Issue 3},
  year = {2018},
  doi = {10.23638/lmcs-14(3:15)2018}
}