Proceedings of the 35th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages 2008
DOI: 10.1145/1328438.1328460
|View full text |Cite
|
Sign up to set email alerts
|

Subcubic algorithms for recursive state machines

Abstract: We show that the reachability problem for recursive state machines (or equivalently, pushdown systems), believed for long to have cubic worst-case complexity, can be solved in slightly subcubic time. All that is necessary for the new bound is a simple adaptation of a known technique. We also show that a better algorithm exists if the input machine does not have infinite recursive loops.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
85
0

Year Published

2008
2008
2023
2023

Publication Types

Select...
7
1
1

Relationship

0
9

Authors

Journals

citations
Cited by 70 publications
(85 citation statements)
references
References 27 publications
0
85
0
Order By: Relevance
“…Our experiments suggest that this cubic blow-up is impractical without further optimisation, i.e., the naive translation failed to terminate within a couple of hours for most of our examples. Note that the complexity of translating from PDA to CFG is of course very much related to the reachability problem for pushdown systems, for which the optimal complexity is a long-standing open problem (the asymptotically fastest algorithm [11] to date has complexity O(n 3 / log n)).…”
Section: Minimising Cfg Size Via Pushdown Reachability Tablementioning
confidence: 99%
“…Our experiments suggest that this cubic blow-up is impractical without further optimisation, i.e., the naive translation failed to terminate within a couple of hours for most of our examples. Note that the complexity of translating from PDA to CFG is of course very much related to the reachability problem for pushdown systems, for which the optimal complexity is a long-standing open problem (the asymptotically fastest algorithm [11] to date has complexity O(n 3 / log n)).…”
Section: Minimising Cfg Size Via Pushdown Reachability Tablementioning
confidence: 99%
“…CFL-reachability [22,38] is an extension of graph reachability that is equivalent to the reachability problem formulated in terms of either recursive state machines [7] or set constraints [14]. Each reachable path in a PAG has a string formed by concatenating in order the labels of edges in the path, where load/store pairs on the same field must be matched (field sensitivity) and entry/exit pairs for the same callsite must be matched (context sensitivity).…”
Section: Points-to Analysis With Cfl-reachabilitymentioning
confidence: 99%
“…We were particularly influenced by Chaudhuri's paper on subcubic algorithms for recursive state machines [5]. His clear and intuitive description of summarization helped us realize that we can use this technique to explore the state space of CFA2.…”
Section: Related Workmentioning
confidence: 99%
“…Then, at a call-node these functions are used to compute the data-flow value of the corresponding return-node directly. This "summary-based" technique has seen widespread use [5,23]. Other pushdown models include Recursive State Machines [2] and Pushdown Systems [3,10].…”
Section: Introductionmentioning
confidence: 99%