Assignment commands and array structures
Peter J. Downey, Ravi Sethi · Annual Symposium on Foundations of Computer Science · 1976
Straight line programs in which array elements can be referenced and set are considered. Two programs are equivalent if they compute the same expression as a function of the inputs. Testing the equivalence of programs with arrays is shown to be NP-complete, while programs without arrays can be tested for equivalence in linear time. Equivalence testing takes polynomial time when programs have either no references or no assignments to array elements.
Cited by 3 works. doi:10.1109/sfcs.1976.7
Authors
References
- The Design and Analysis of Computer Algorithms
- The Theory of Parsing, Translation, and Compiling
- Algorithmic Aspects of Vertex Elimination on Graphs
- Towards a Mathematical Science of Computation
- Mathematical Theory of Computation
- On formalised computer programs
- SELECT—a formal system for testing and debugging programs by symbolic execution
- SELECT---a formal system for testing and debugging programs by symbolic execution
- Fast algorithms for the elimination of common subexpressions
- A new approach to program testing