The Fine-Grained Complexity of CFL Reachability
Paraschos Koutris, Shaleen Deep
摘要
Many problems in static program analysis can be modeled as the context-free language (CFL) reachability problem on directed labeled graphs. The CFL reachability problem can be generally solved in time O ( n 3 ), where n is the number of vertices in the graph, with some specific cases that can be solved faster. In this work, we ask the following question: given a specific CFL, what is the exact exponent in the monomial of the running time? In other words, for which cases do we have linear, quadratic or cubic algorithms, and are there problems with intermediate runtimes? This question is inspired by recent efforts to classify classic problems in terms of their exact polynomial complexity, known as fine-grained complexity. Although recent efforts have shown some conditional lower bounds (mostly for the class of combinatorial algorithms), a general picture of the fine-grained complexity landscape for CFL reachability is missing. Our main contribution is lower bound results that pinpoint the exact running time of several classes of CFLs or specific CFLs under widely believed lower bound conjectures (e.g., Boolean Matrix Multiplication, k -Clique, APSP, 3SUM). We particularly focus on the family of Dyck- k languages (which are strings with well-matched parentheses), a fundamental class of CFL reachability problems. Remarkably, we are able to show a Ω( n 2.5 ) lower bound for Dyck-2 reachability, which to the best of our knowledge is the first super-quadratic lower bound that applies to all algorithms, and shows that CFL reachability is strictly harder that Boolean Matrix Multiplication. We also present new lower bounds for the case of sparse input graphs where the number of edges m is the input parameter, a common setting in the database literature. For this setting, we show a cubic lower bound for Andersen’s Pointer Analysis which significantly strengthens prior known results.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Fixed Parameter Tractable Linearizability Monitoring 引用了 The Complexity of Dynamic Data Race Prediction
- Fixed Parameter Tractable Linearizability Monitoring 引用了 Program Analysis via Multiple Context Free Language Reachability
- Program Analysis via Multiple Context Free Language Reachability 引用了 Subcubic certificates for CFL reachability
- Program Analysis via Multiple Context Free Language Reachability 引用了 The fine-grained and parallel complexity of andersen's pointer analysis
- Subcubic certificates for CFL reachability 引用了 The fine-grained and parallel complexity of andersen's pointer analysis
- The decidability and complexity of interleaved bidirected Dyck reachability 引用了 Subcubic certificates for CFL reachability
- The decidability and complexity of interleaved bidirected Dyck reachability 引用了 The fine-grained and parallel complexity of andersen's pointer analysis
- The decidability and complexity of interleaved bidirected Dyck reachability 引用了 Fast graph simplification for interleaved Dyck-reachability
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability 引用了 Subcubic certificates for CFL reachability
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability 引用了 The fine-grained and parallel complexity of andersen's pointer analysis
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability 引用了 Fast graph simplification for interleaved Dyck-reachability
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability 引用了 The decidability and complexity of interleaved bidirected Dyck reachability
引用它的顶会 Paper3
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck ReachabilityShankaranarayanan Krishna, Aniket Lal, Andreas Pavlogiannis, Omkar TuppePOPL 2024 · 7 次引用
- Program Analysis via Multiple Context Free Language ReachabilityGiovanna Kobus Conrado, Adam Husted Kjelstrøm, Jaco van de Pol, Andreas PavlogiannisPOPL 2025 · 2 次引用
- Fixed Parameter Tractable Linearizability MonitoringLee Zheng Han, Umang MathurPLDI 2026
它引用的 Paper8
- Fast graph simplification for interleaved Dyck-reachabilityYuanbo Li, Qirun Zhang, Thomas W. RepsPLDI 2020 · 30 次引用
- The Complexity of Dynamic Data Race PredictionUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanLICS 2020 · 27 次引用
- The fine-grained and parallel complexity of andersen's pointer analysisAnders Alnor Mathiasen, Andreas PavlogiannisPOPL 2021 · 22 次引用
- Subcubic certificates for CFL reachabilityDmitry Chistikov, Rupak Majumdar, Philipp SchepperPOPL 2022 · 17 次引用
- The decidability and complexity of interleaved bidirected Dyck reachabilityAdam Husted Kjelstrøm, Andreas PavlogiannisPOPL 2022 · 17 次引用
相关 Paper
- Indexing the extended Dyck-CFL reachability for context-sensitive program analysisQingkai Shi, Yongchao Wang, Peisen Yao, Charles ZhangOOPSLA 2022 · 11 次引用
- On the complexity of bidirected interleaved Dyck-reachabilityYuanbo Li, Qirun Zhang, Thomas W. RepsPOPL 2021 · 12 次引用
- Better Not Together: Staged Solving for Context-Free Language ReachabilityChenghang Shi, Haofeng Li, Jie Lu, Lian LiISSTA 2024 · 2 次引用
- Fredman's Trick Meets Dominance Product: Fine-Grained Complexity of Unweighted APSP, 3SUM Counting, and MoreTimothy M. Chan, Virginia Vassilevska Williams, Yinzhan XuSTOC 2023 · 4 次引用
- Pushdown Model Checking above the Cubic BottleneckA. R. Balasubramanian, Dmitry Chistikov, Rupak MajumdarLICS 2025
