Answers are grounded in this paper and cite their sources.
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
No takes yet. Share an insight, caveat, or question.
Downey et al. (1978) studied this question.
Synapse has enriched 5 related papers. Consider them for comparative context: