Assignment Commands with Array References
Peter J. Downey, Ravi Sethi · Journal of the ACM · 1978
Stratght line programs with assignment statements involving both simple and array variables are considered Two such programs are equivalent if they compute the same values as a function of the inputs.Testing the equivalence of array programs ts shown to be NP-hard If array variables are updated but never subsequently referenced, equivalence can be tested in polynomial time Programs without array varmbles can be tested for equivalence in expected linear t~me
Cited by 29 works. doi:10.1145/322092.322104 Open-access PDF
Authors
References
- The Design and Analysis of Computer Algorithms
- Towards a Mathematical Science of Computation
- Symbolic execution and program testing
- An axiomatic definition of the programming language PASCAL
- Programming languages and their compilers: Preliminary notes
- SELECT—a formal system for testing and debugging programs by symbolic execution
- Introduction to Mathematical Theory of Computation
- Automatic program verification I: A logical basis and its implementation
- A comparison of polynomial time reducibilities
- Optimization of Straight Line Programs