paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Subcubic certificates for CFL reachability

CFL 可达性的次三次证书
POPL 6(POPL)2022匹配度 3/10 · 论文研究CFL可达性的证书与细粒度复杂性,属于程序分析与形式化验证的理论基础,标签与静态分析相关;但未涉及用户核心关注的LLM/Agent与静态分析交叉、浮点程序分析或贝叶斯程序分析,因此匹配度较低。引用 17 inbox
Dmitry Chistikov, Rupak Majumdar, Philipp Schepper
crossref: 2026-09-10

AI 速览

一句话:证明 CFL 可达性存在 O(n^2) 大小的存在性与非存在性证书,并可在次三次时间内验证。

CFL 可达性可刻画大量过程间程序分析问题,已知有三次时间算法,但无真正次三次算法。本文研究其证书问题:给定实例,能否为路径存在与不存在提供简短易验证的证明?作者证明两类证书都只需 O(n^2) 大小,并可在次三次(矩阵乘法)时间内检查:可达性证书基于路径的文法压缩,不可达性证书基于矩阵不等式表示的不变式。由此 CFL 可达性属于非确定性与余非确定性次三次时间。该结果还推出,除非 NSETH 失败,SAT 的细粒度归约无法给出强于 n^ω 的条件下界;并扩展到下推可达性、2NPDA 识别与全对 CFL 可达性,提取出一个新的最难 2NPDA 语言。

问题
CFL 可达性及过程间程序分析中的相关问题长期缺乏真正的次三次算法,本文研究能否用小证书证明路径存在或不存在。
方法
构造 O(n^2) 证书:可达性用路径的文法压缩,不可达性用矩阵不等式表示的不变式,并在矩阵乘法时间内心检查。
评估
通过理论证明证书大小与检查时间,导出非确定/余非确定次三次上界,并给出关于 SAT 细粒度归约与 NSETH 的复杂性结论;结果扩展到下推可达性、2NPDA 识别和全对 CFL 可达性。
原文摘要(Abstract)

Many problems in interprocedural program analysis can be modeled as the context-free language (CFL) reachability problem on graphs and can be solved in cubic time. Despite years of efforts, there are no known truly sub-cubic algorithms for this problem. We study the related certification task: given an instance of CFL reachability, are there small and efficiently checkable certificates for the existence and for the non-existence of a path? We show that, in both scenarios, there exist succinct certificates ( O ( n 2 ) in the size of the problem) and these certificates can be checked in subcubic (matrix multiplication) time. The certificates are based on grammar-based compression of paths (for reachability) and on invariants represented as matrix inequalities (for non-reachability). Thus, CFL reachability lies in nondeterministic and co-nondeterministic subcubic time. A natural question is whether faster algorithms for CFL reachability will lead to faster algorithms for combinatorial problems such as Boolean satisfiability (SAT). As a consequence of our certification results, we show that there cannot be a fine-grained reduction from SAT to CFL reachability for a conditional lower bound stronger than n ω , unless the nondeterministic strong exponential time hypothesis (NSETH) fails. In a nutshell, reductions from SAT are unlikely to explain the cubic bottleneck for CFL reachability. Our results extend to related subcubic equivalent problems: pushdown reachability and 2NPDA recognition; as well as to all-pairs CFL reachability. For example, we describe succinct certificates for pushdown non-reachability (inductive invariants) and observe that they can be checked in matrix multiplication time. We also extract a new hardest 2NPDA language, capturing the “hard core” of all these problems.

链接与引用

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

BibTeX
@article{paperbot1583,
  title = {Subcubic certificates for CFL reachability},
  author = {Dmitry Chistikov and Rupak Majumdar and Philipp Schepper},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {6},
  number = {POPL},
  year = {2022},
  doi = {10.1145/3498702}
}