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