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