Subcubic certificates for CFL reachability
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Program Analysis via Multiple Context Free Language Reachability cites The fine-grained and parallel complexity of andersen's pointer analysis
- Program Analysis via Multiple Context Free Language Reachability cites The Fine-Grained Complexity of CFL Reachability
- The decidability and complexity of interleaved bidirected Dyck reachability cites The fine-grained and parallel complexity of andersen's pointer analysis
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability cites The fine-grained and parallel complexity of andersen's pointer analysis
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability cites The decidability and complexity of interleaved bidirected Dyck reachability
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability cites The Fine-Grained Complexity of CFL Reachability
- The Fine-Grained Complexity of CFL Reachability cites The fine-grained and parallel complexity of andersen's pointer analysis
- The Fine-Grained Complexity of CFL Reachability cites The decidability and complexity of interleaved bidirected Dyck reachability
Cited by top-tier papers7
- The decidability and complexity of interleaved bidirected Dyck reachabilityAdam Husted Kjelstrøm, Andreas PavlogiannisPOPL 2022 · 17 citations
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck ReachabilityShankaranarayanan Krishna, Aniket Lal, Andreas Pavlogiannis, Omkar TuppePOPL 2024 · 7 citations
- The Fine-Grained Complexity of CFL ReachabilityParaschos Koutris, Shaleen DeepPOPL 2023 · 6 citations
- On Certificates, Expected Runtimes, and Termination in Probabilistic Pushdown AutomataTobias Winkler, Joost-Pieter KatoenLICS 2023 · 5 citations
- Program Analysis via Multiple Context Free Language ReachabilityGiovanna Kobus Conrado, Adam Husted Kjelstrøm, Jaco van de Pol, Andreas PavlogiannisPOPL 2025 · 2 citations
Builds on1
Related papers
- Pushdown Model Checking above the Cubic BottleneckA. R. Balasubramanian, Dmitry Chistikov, Rupak MajumdarLICS 2025
- Computations with polynomial evaluation oracle: ruling out superlinear SETH-based lower boundsTatiana Belova, Alexander S. Kulikov, Ivan Mihajlin, Olga Ratseeva et al.SODA 2024 · 1 citation
- Towards a more efficient approach for the satisfiability of two-variable logicTing-Wei Lin, Chia-Hsuan Lu, Tony TanLICS 2021 · 3 citations
- Self-Improvement for Circuit-Analysis ProblemsR. Ryan WilliamsSTOC 2024 · 1 citation
- Polynomial formulations as a barrier for reduction-based hardness proofsTatiana Belova, Alexander Golovnev, Alexander S. Kulikov, Ivan Mihajlin et al.SODA 2023 · 3 citations
