Bounded Treewidth, Multiple Context-Free Grammars, and Downward Closures
C. Aiswarya, Pascal Baumann, Prakash Saivasan, Lia Schütze, Georg Zetzsche
摘要
The reachability problem in multi-pushdown automata (MPDA), or equivalently, interleaved Dyck reachability, has many applications in static analysis of recursive programs. An example is safety verification of multithreaded recursive programs with shared memory. Since these problems are undecidable, the literature contains many decidable (and efficient) underapproximations of MPDA. A uniform framework that captures many of these underapproximations is that of bounded treewidth: To each execution of the MPDA, we associate a graph; then we consider the subset of all graphs that have a treewidth at most k , for some constant k . In fact, bounding treewidth is a generic approach to obtain classes of systems with decidable reachability, even beyond MPDA underapproximations. The resulting systems are also called MSO-definable bounded-treewidth systems. While bounded treewidth is a powerful tool for reachability and similar types of analysis, the word languages (i.e. action sequences corresponding to executions) of these systems remain far from understood. For the slight restriction of bounded special treewidth, or “bounded-stw” (which is equivalent to bounded treewidth on MPDA, and even includes all bounded-treewidth systems studied in the literature), this work reveals a connection with multiple context-free languages (MCFL), a concept from computational linguistics. We show that the word languages of MSO-definable bounded-stw systems are exactly the MCFL. We exploit this connection to provide an optimal algorithm for computing downward closures for MSO-definable bounded-stw systems. Computing downward closures is a notoriously difficult task that has many applications in the verification of complex systems: As an example application, we show that in programs with dynamic spawning of MSO-definable bounded-stw processes, safety verification has the same complexity as in the case of processes with sequential recursive processes.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficient algorithms for dynamic bidirected Dyck-reachability 引用了 On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability 引用了 Efficient algorithms for dynamic bidirected Dyck-reachability
- The decidability and complexity of interleaved bidirected Dyck reachability 引用了 On the complexity of bidirected interleaved Dyck-reachability
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability 引用了 The decidability and complexity of interleaved bidirected Dyck reachability
- Single-Source-Single-Target Interleaved-Dyck Reachability via Integer Linear Programming 引用了 The decidability and complexity of interleaved bidirected Dyck reachability
- Single-Source-Single-Target Interleaved-Dyck Reachability via Integer Linear Programming 引用了 On the complexity of bidirected interleaved Dyck-reachability
引用它的顶会 Paper1
它引用的 Paper8
- The decidability and complexity of interleaved bidirected Dyck reachabilityAdam Husted Kjelstrøm, Andreas PavlogiannisPOPL 2022 · 17 次引用
- On the complexity of bidirected interleaved Dyck-reachabilityYuanbo Li, Qirun Zhang, Thomas W. RepsPOPL 2021 · 12 次引用
- Efficient algorithms for dynamic bidirected Dyck-reachabilityYuanbo Li, Kris Satya, Qirun ZhangPOPL 2022 · 8 次引用
- On-the-Fly Static Analysis via Dynamic Bidirected Dyck ReachabilityShankaranarayanan Krishna, Aniket Lal, Andreas Pavlogiannis, Omkar TuppePOPL 2024 · 7 次引用
- Single-Source-Single-Target Interleaved-Dyck Reachability via Integer Linear ProgrammingYuanbo Li, Qirun Zhang, Thomas W. RepsPOPL 2023 · 6 次引用
相关 Paper
- Context-Bounded Verification of Context-Free SpecificationsPascal Baumann, Moses Ganardi, Rupak Majumdar, Ramanathan S. Thinniyam 等POPL 2023 · 3 次引用
- Program Analysis via Multiple Context Free Language ReachabilityGiovanna Kobus Conrado, Adam Husted Kjelstrøm, Jaco van de Pol, Andreas PavlogiannisPOPL 2025 · 2 次引用
- Context-bounded verification of thread poolsPascal Baumann, Rupak Majumdar, Ramanathan S. Thinniyam, Georg ZetzschePOPL 2022 · 3 次引用
- Products of Recursive Programs for Hypersafety VerificationRuotong Cheng, Azadeh FarzanOOPSLA 2025
- The Fine-Grained Complexity of CFL ReachabilityParaschos Koutris, Shaleen DeepPOPL 2023 · 6 次引用
