paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A categorical foundation for structured reversible flowchart languages: Soundness and adequacy

结构化可逆流程图语言的范畴论基础:可靠性与充分性
LMCS vol.Volume 14, Issue 32018匹配度 2/10 · 该论文研究可逆流程图语言的范畴语义、可靠性与充分性,属于 PL 形式语义/形式化基础,但与用户核心关注的 LLM/Agent 与静态分析、形式化验证交叉方向没有直接关系,也未涉及浮点程序分析或贝叶斯程序分析。引用 17 inbox
Robert Glück, Robin Kaarsgaard
crossref: 2026-09-10

AI 速览

一句话:用带 join 的逆范畴为结构化可逆流程图语言建立范畴语义,并证明其计算可靠、充分且在一定条件下等式完全抽象。

结构化可逆流程图语言是一类可用有限控制流结构进行简单图示表示的命令式可逆编程语言,涵盖无递归的 Janus 以及较新的 R-CORE、R-WHILE 等,但此前缺乏统一的范畴论语义基础。本文基于带 join 的逆范畴(inverse categories with joins)构造此类语言的范畴基础:将限制范畴的外延性(extensivity)概念推广为逆范畴可容纳的形式,并利用由此得到的决策(decisions)给出谓词与断言的可逆表示。由此得到结构化可逆流程图的范畴语义,并证明该语义相对于操作语义是计算可靠且充分的(computationally sound and adequate),在特定条件下还满足等式完全抽象(equational fully abstract)。

问题
为结构化可逆流程图语言类(包括 Janus、R-CORE、R-WHILE 等)提供统一的范畴论语义基础。
方法
基于带 join 的逆范畴,推广限制范畴的外延性概念,并用所得的决策给出谓词与断言的可逆表示,从而构造范畴语义。
评估
证明所提出的范畴语义相对于操作语义是计算可靠且充分的,并在一定条件下满足等式完全抽象。
原文摘要(Abstract)

Structured reversible flowchart languages is a class of imperative reversible programming languages allowing for a simple diagrammatic representation of control flow built from a limited set of control flow structures. This class includes the reversible programming language Janus (without recursion), as well as more recently developed reversible programming languages such as R-CORE and R-WHILE. In the present paper, we develop a categorical foundation for this class of languages based on inverse categories with joins. We generalize the notion of extensivity of restriction categories to one that may be accommodated by inverse categories, and use the resulting decisions to give a reversible representation of predicates and assertions. This leads to a categorical semantics for structured reversible flowcharts, which we show to be computationally sound and adequate, as well as equationally fully abstract with respect to the operational semantics under certain conditions.

链接与引用

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

BibTeX
@article{paperbot379,
  title = {A categorical foundation for structured reversible flowchart languages: Soundness and adequacy},
  author = {Robert Glück and Robin Kaarsgaard},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 14, Issue 3},
  year = {2018},
  doi = {10.23638/lmcs-14(3:16)2018}
}