Advertisement

The complexity of equivalence and containment for free single variable program schemes

  • Steven Fortune
  • John Hopcroft
  • Erik Meineche Schmidt
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 62)

Abstract

Non-containment for free single variable program schemes is shown to be NP-complete. A polynomial time algorithm for deciding equivalence of two free schemes, provided one of them has the predicates appearing in the same order in all executions, is given. However, the ordering of a free scheme is shown to lead to an exponential increase in size.

Keywords

Polynomial Time Polynomial Time Algorithm Function Symbol Equivalence Problem Boolean Variable 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    A.V. Aho, J.E. Hopcroft, J.D. Ullman: "The Design and Analysis of Algorithms", Addison-Wesley Publishing Company, 1974.Google Scholar
  2. 2.
    A.V. Aho and J.D. Ullman: "The Theory of Parsing, Translation, and Compiling", Volume I: Parsing, Prentice-Hall, Inc., Englewood Cliffs, N.J. 1972.Google Scholar
  3. 3.
    R.L. Constable, H.B. Hunt III, S. Sahni: "On the Computational Complexity of Scheme Equivalence", Proc. Eights An. Princeton Conf. on Information Sciences and Systems, Princeton University, 1974. Also submitted to SIAM J. Computing.Google Scholar
  4. 4.
    S.A. Greibach: "Theory of Program Structures: Schemes, Semantics, Verification", Lecture Notes in Computer Science 36, Springer-Verlag, 1975.Google Scholar
  5. 5.
    Z. Manna: "Mathematical Theory of Computation", McGraw-Hill Inc. 1974.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1978

Authors and Affiliations

  • Steven Fortune
    • 1
  • John Hopcroft
    • 1
  • Erik Meineche Schmidt
    • 1
  1. 1.Department of Computer ScienceCornell UniversityIthacaUSA

Personalised recommendations