Computer Science – Computational Complexity
Scientific paper
2010-07-22
Computer Science
Computational Complexity
21 pages, 6 figures (all included in cncurr.acm.tex source file)
Scientific paper
The problem of deciding whether one point in a program is data dependent upon another is fundamental to program analysis and has been widely studied. In this paper we consider this problem at the abstraction level of program schemas in which computations occur in the Herbrand domain of terms and predicate symbols, which represent arbitrary predicate functions, are allowed. Given a vertex l in the flowchart of a schema S having only equality (variable copying) assignments and variables v,w, we show that it is PSPACE-hard to decide whether there exists an execution of a program defined by S in which v holds the initial value of w at at least one occurrence of l on the path of execution, with membership in PSPACE holding provided there is a constant upper bound on the arity of any predicate in S. We also consider the `dual' problem in which v is required to hold the initial value of w at every occurrence of l, for which the analogous results hold. Additionally, the former problem for programs with non-deterministic branching (in effect, free schemas) in which assignments with functions are allowed is proved to be polynomial-time decidable provided a constant upper bound is placed upon the number of occurrences of the concurrency operator in the schemas being considered. This result is promising since many concurrent systems have a relatively small number of threads (concurrent processes), especially when compared with the number of statements they have.
Danicic Sebastian
Hierons Robert M.
Laurence Michael R.
No associations
LandOfFree
Complexity of Data Dependence problems for Program Schemas with Concurrency does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with Complexity of Data Dependence problems for Program Schemas with Concurrency, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Complexity of Data Dependence problems for Program Schemas with Concurrency will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-612494