Even Simple Programs Are Hard To Analyze

  • Authors:
  • Neil D. Jones;Steven S. Muchnick

  • Affiliations:
  • Department of Computer Science, The University of Kansas, Lawrence, KS;Department of Computer Science, The University of Kansas, Lawrence, KS

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1977

Quantified Score

Hi-index 0.01

Visualization

Abstract

A simple programming language which corresponds in computational power to the class of generalized sequential machines with final states is defined. It is shown that a variety of questions of practical programming interest about the language are of nondeterministic linear space complexity. Extensions to the language are defined (adding arithmetic and array data structures) and their complexity properties are explored. It is concluded that questions about halting, equivalence, optimization, and so on are intractable even for very simple programming languages.