Lune

POPL2022顶会

The decidability and complexity of interleaved bidirected Dyck reachability

Adam Husted Kjelstrøm, Andreas Pavlogiannis

摘要

Dyck reachability is the standard formulation of a large domain of static analyses, as it achieves the sweet spot between precision and efficiency, and has thus been studied extensively. Interleaved Dyck reachability (denoted D k ⊙ D k ) uses two Dyck languages for increased precision (e.g., context and field sensitivity) but is well-known to be undecidable. As many static analyses yield a certain type of bidirected graphs, they give rise to interleaved bidirected Dyck reachability problems. Although these problems have seen numerous applications, their decidability and complexity has largely remained open. In a recent work, Li et al. made the first steps in this direction, showing that (i) D 1 ⊙ D 1 reachability (i.e., when both Dyck languages are over a single parenthesis and act as counters) is computable in O ( n 7 ) time, while (ii) D k ⊙ D k reachability is NP-hard. However, despite this recent progress, most natural questions about this intricate problem are open. In this work we address the decidability and complexity of all variants of interleaved bidirected Dyck reachability. First, we show that D 1 ⊙ D 1 reachability can be computed in O ( n 3 · α( n )) time, significantly improving over the existing O ( n 7 ) bound. Second, we show that D k ⊙ D 1 reachability (i.e., when one language acts as a counter) is decidable, in contrast to the non-bidirected case where decidability is open. We further consider D k ⊙ D 1 reachability where the counter remains linearly bounded. Our third result shows that this bounded variant can be solved in O ( n 2 · α( n )) time, while our fourth result shows that the problem has a (conditional) quadratic lower bound, and thus our upper bound is essentially optimal. Fifth, we show that full D k ⊙ D k reachability is undecidable. This improves the recent NP-hardness lower-bound, and shows that the problem is equivalent to the non-bidirected case. Our experiments on standard benchmarks show that the new algorithms are very fast in practice, offering many orders-of-magnitude speedups over previous methods.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Subcubic certificates for CFL reachability 引用了 The fine-grained and parallel complexity of andersen's pointer analysis
  • Verifying correct usage of context-free API protocols 引用了 Fast graph simplification for interleaved Dyck-reachability
  • FlowCFL: generalized type-based reachability analysis: graph reduction and equivalence of CFL-based and type-based reachability 引用了 Fast graph simplification for interleaved Dyck-reachability
  • The Complexity of Bidirected Reachability in Valence Systems 引用了 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 引用了 FlowCFL: generalized type-based reachability analysis: graph reduction and equivalence of CFL-based and type-based 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 引用了 The Complexity of Bidirected Reachability in Valence Systems
  • 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 Fine-Grained Complexity of CFL Reachability
  • Single-Source-Single-Target Interleaved-Dyck Reachability via Integer Linear Programming 引用了 Fast graph simplification for interleaved Dyck-reachability
  • The Fine-Grained Complexity of CFL Reachability 引用了 Subcubic certificates for CFL reachability
  • The Fine-Grained Complexity of CFL Reachability 引用了 The fine-grained and parallel complexity of andersen's pointer analysis
  • The Fine-Grained Complexity of CFL Reachability 引用了 Fast graph simplification for interleaved Dyck-reachability
  • Indexing the extended Dyck-CFL reachability for context-sensitive program analysis 引用了 FlowCFL: generalized type-based reachability analysis: graph reduction and equivalence of CFL-based and type-based reachability
  • Indexing the extended Dyck-CFL reachability for context-sensitive program analysis 引用了 Fast graph simplification for interleaved Dyck-reachability
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Indexing the extended Dyck-CFL reachability for context-sensitive program analysisQingkai Shi, Yongchao Wang, Peisen Yao, Charles ZhangOOPSLA 2022 · 11 次引用
  2. The Complexity of Bidirected Reachability in Valence SystemsMoses Ganardi, Rupak Majumdar, Georg ZetzscheLICS 2022 · 7 次引用
  3. On-the-Fly Static Analysis via Dynamic Bidirected Dyck ReachabilityShankaranarayanan Krishna, Aniket Lal, Andreas Pavlogiannis, Omkar TuppePOPL 2024 · 7 次引用
  4. Single-Source-Single-Target Interleaved-Dyck Reachability via Integer Linear ProgrammingYuanbo Li, Qirun Zhang, Thomas W. RepsPOPL 2023 · 6 次引用
  5. The Fine-Grained Complexity of CFL ReachabilityParaschos Koutris, Shaleen DeepPOPL 2023 · 6 次引用

它引用的 Paper7

  1. Fast graph simplification for interleaved Dyck-reachabilityYuanbo Li, Qirun Zhang, Thomas W. RepsPLDI 2020 · 30 次引用
  2. The fine-grained and parallel complexity of andersen's pointer analysisAnders Alnor Mathiasen, Andreas PavlogiannisPOPL 2021 · 22 次引用
  3. Subcubic certificates for CFL reachabilityDmitry Chistikov, Rupak Majumdar, Philipp SchepperPOPL 2022 · 17 次引用
  4. FlowCFL: generalized type-based reachability analysis: graph reduction and equivalence of CFL-based and type-based reachabilityAna L. MilanovaOOPSLA 2020 · 15 次引用
  5. Verifying correct usage of context-free API protocolsKostas Ferles, Jon Stephens, Isil DilligPOPL 2021 · 12 次引用

相关 Paper

  1. On the complexity of bidirected interleaved Dyck-reachabilityYuanbo Li, Qirun Zhang, Thomas W. RepsPOPL 2021 · 12 次引用
  2. Efficient algorithms for dynamic bidirected Dyck-reachabilityYuanbo Li, Kris Satya, Qirun ZhangPOPL 2022 · 8 次引用
  3. Program Analysis via Multiple Context Free Language ReachabilityGiovanna Kobus Conrado, Adam Husted Kjelstrøm, Jaco van de Pol, Andreas PavlogiannisPOPL 2025 · 2 次引用
  4. Context-Bounded Verification of Context-Free SpecificationsPascal Baumann, Moses Ganardi, Rupak Majumdar, Ramanathan S. Thinniyam 等POPL 2023 · 3 次引用
  5. Bounded Treewidth, Multiple Context-Free Grammars, and Downward ClosuresC. Aiswarya, Pascal Baumann, Prakash Saivasan, Lia Schütze 等POPL 2026 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖