Subcubic certificates for CFL reachability
Dmitry Chistikov, Rupak Majumdar, Philipp Schepper
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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2f9057cb-a556-4038-a90f-52d595bf04a8Cited by top-tier papers6
- 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
- Slice closures of indexed languages and word equations with counting constraintsLaura Ciobanu, Georg ZetzscheLICS 2024 · 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
