paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Context-Free-Language Reachability for Almost-Commuting Transition Systems

几乎可交换迁移系统的上下文无关语言可达性
POPL 10(POPL)2026匹配度 3/10 · 该论文属于形式语言/自动机与 CFL 可达性的理论研究,虽与程序分析基础相关,但未涉及用户核心关注的 LLM/Agentic 程序静态分析、浮点程序分析或贝叶斯程序分析。其纯理论风格也缺少用户偏好的工程实现与工业落地验证。引用 0 inbox
Nikhil Pimpalkhare, Zachary Kincaid, Thomas Reps
crossref: 2026-09-10

AI 速览

一句话:将 CFL 可达性推广到几乎可交换迁移系统,证明其同态像半线性并给出多项式时间 Presburger 构造。

CFL 可达性常用于程序分析,但已有基于 Parikh 定理的方法仅适用于迁移关系可交换的无限状态系统。本文提出几乎可交换迁移系统,由有限状态控制与可交换分量组成,整体一般不可交换。作者将 Parikh 定理推广到该情形,证明上下文无关语言在到几乎可交换幺半群的同态下的像仍是半线性的,并给出多项式时间构造其 Presburger 算术公式的算法。由此得到求解几乎可交换迁移系统上 CFL 可达性的一般框架,并给出若干实例。最后还研究了几乎可交换幺半群的封闭性质,以支持模块化组合而不离开该类。

问题
如何将 CFL 可达性从可交换迁移关系扩展到更一般的无限状态系统,尤其是有限状态控制与可交换分量混合、整体不可交换的系统。
方法
提出几乎可交换迁移系统与几乎可交换幺半群,推广 Parikh 定理,给出将 CFL 同态像表示为半线性的多项式时间 Presburger 公式构造,并研究封闭性质。
评估
理论证明:定理推广、复杂度分析(多项式时间)、实例展示以及封闭性质;未报告实现或实验评估。
原文摘要(Abstract)

We extend the scope of context-free-language (CFL) reachability to a new class of infinite-state systems. Parikh's Theorem is a useful tool for solving CFL-reachability problems for transition systems that consist of commuting transition relations. It implies that the image of a context-free language under a homomorphism into a commutative monoid is semi-linear, and that there is a linear-time algorithm for constructing a Presburger arithmetic formula that represents it. However, for many transition systems of interest, transitions do not commute. In this paper, we introduce almost-commuting transition systems , which pair finite-state control with commutative components, but which are in general not commutative. We extend Parikh's theorem to show that the image of a context-free language under a homomorphism into an almost-commuting monoid is semi-linear and that there is a polynomial-time algorithm for constructing a Presburger arithmetic formula that represents it. This result yields a general framework for solving CFL-reachability problems over almost commuting transition systems . We describe several examples of systems within this class. Finally, we examine closure properties of almost-commuting monoids that can be used to modularly compose almost-commuting transition systems while remaining in the class.

链接与引用

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

BibTeX
@article{PimpalkhareKR26,
  title = {Context-Free-Language Reachability for Almost-Commuting Transition Systems},
  author = {Nikhil Pimpalkhare and Zachary Kincaid and Thomas Reps},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {POPL},
  year = {2026},
  doi = {10.1145/3776686}
}