Skip to main content

How to prove algebraic inductive hypotheses without induction

With applications to the correctness of data type implementation

  • Friday Afternoon
  • Conference paper
  • First Online:
5th Conference on Automated Deduction Les Arcs, France, July 8–11, 1980 (CADE 1980)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 87))

Included in the following conference series:

  • 230 Accesses

Abstract

This paper proves the correctness of algebraic methods for deciding the equivalence of expressions by applying rewrite rules, and for proving inductive equational hypotheses without using induction; it also shows that the equations true in the initial algebra are just those provable by structural induction. The major results generalize, simplify and rigorize Musser's method for proving inductive hypotheses with the Knuth-Bendix algorithm; our approach uses a very general result, that (under certain conditions) an equation is true iff it is consistent. Finally, we show how these results can be extended to proving the correctness of an implementation of one data abstraction by another.

supported in part by NSF Grant MCS-7816783.

On leave; supported in part by NSF Grant No. MCS-7818918.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Aubin, R. Mechanizing Structural Induction. PhD thesis, University of Edinburgh, 1976.

    Google Scholar 

  2. Burstall, R. M. and Goguen, J. A. Putting Theories together to Make Specifications. Proc. 5th Int. Joint Confr. on Artificial Intelligence, 1977.

    Google Scholar 

  3. Burstall, R. M. Proving Properties of Programs by Structural Induction. Computer Journal, 1969.

    Google Scholar 

  4. Ehrich, H.-D. On the Theory of Specification, Implementation and Parameterization of Abstract Data Types. Technical Report, Forschungsbericht, Dortmund, 1978.

    Google Scholar 

  5. Ehrig, H., Kreowski, H.-J. and Padawitz, P. Algebraic Implementation of Abstract Data Types. Technical Report, Technical University of Berlin, 1979.

    Google Scholar 

  6. Goguen, J. A. and Tardo, J. An Introduction to OBJ-T. In Specification of Reliable Software. IEEE, 1979.

    Google Scholar 

  7. Goguen, J. A., Thatcher, J. W. and Wagner, E. An Initial Algebra Approach to the Specification, Correctness and Implementation of Abstract Data Types. In R. Yeh, editor, Current Trends in Programming Methodology, Prentice-Hall, 1978. also published as IBM T.J.Watson Research Center Report, 1876.

    Google Scholar 

  8. [Goguen, Thatcher, Wagner & Wright 75] Goguen, J. A., Thatcher, J. W., Wagner, E. and Wright, J. B. Abstract Data Types as Initial Algebras and the Correctness of Data Representations. In Computer Graphics, Pattern Recognition and Data Structure. IEEE, Beverley Hills, CA, 1975.

    Google Scholar 

  9. Goguen, J. A. Abstract Errors for Abstract Data Types. In Working Confr. on Formal Description of Programming Concepts. IFIP, 1977. also published by North-Holland, 1979, editor P. Neuhold.

    Google Scholar 

  10. Goguen, J. A. Proving Inductive Hypotheses without Induction and Evaluating Expressions with Non-terminating Rewrite Rules. 1979. class notes at UCLA, and draft paper at SRI, 1980.

    Google Scholar 

  11. Goguen, J. A. How to Prove Inductive Hypotheses without Induction. Technical Report, SRI International, 1980.

    Google Scholar 

  12. Guttag, J. V., Horowitz, E. and Musser, D. R. Abstract Data Types and Software Validation. Communications of the ACM, 1978.

    Google Scholar 

  13. Guttag, J.V. The Specification and Application to Programming of Abstract Data Types. PhD thesis, Univ. of Toronto, 1975.

    Google Scholar 

  14. Huet, G. and Oppen, D. Equations and Rewrite Rules: A Survey. 1980.

    Google Scholar 

  15. Knuth, D. and Bendix, P. Simple Word Problems in Universal Algebra. In J. Leech, editor, Computational Problems in Abstract Algebra, Pergamon Press, 1970.

    Google Scholar 

  16. Lawvere, F. W. Functorial Semantics of Algebraic Theories. (Proc. Nat. Acad. Sciences), 1963.

    Google Scholar 

  17. Musser, D. On Proving Inductive Properties of Abstract Data Types. 1980. to appear in 7th ACM Symp. on Principles of Programming Languages.

    Google Scholar 

  18. Musser, D. Abstract Data Type Specification in the AFFIRM System. IEEE Trans. Software Eng., 1980. to appear.

    Google Scholar 

  19. Nourani, F. Constructive Extension and Implementation of Abstract Data Types and Algorithms. PhD thesis, UCLA, Dept. of Computer Science, 1979.

    Google Scholar 

  20. Nourani, N. Inductive Extensions of Equational Theories of Data Types (Working Outline). Technical Report, University of Michigan, Dept. of Elec. Eng. and Computer Science, 1979. unpublished memorandum, November 1979.

    Google Scholar 

  21. Wand, M. Algebraic Theories and Tree Rewriting Systems. Technical Report 66, Computer Science Dept., Indiana Univ., 1977.

    Google Scholar 

  22. Zilles, S. Abstract Specification of Data Types. Technical Report 119, Computation Structures Group, MIT, 1974.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Wolfgang Bibel Robert Kowalski

Rights and permissions

Reprints and permissions

Copyright information

© 1980 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Goguen, J.A. (1980). How to prove algebraic inductive hypotheses without induction. In: Bibel, W., Kowalski, R. (eds) 5th Conference on Automated Deduction Les Arcs, France, July 8–11, 1980. CADE 1980. Lecture Notes in Computer Science, vol 87. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-10009-1_27

Download citation

  • DOI: https://doi.org/10.1007/3-540-10009-1_27

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-10009-6

  • Online ISBN: 978-3-540-38140-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics