Skip to main content

Induction Principles for Context-Free Languages

  • Chapter
GI Gesellschaft für Informatik e. V.

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

  • 601 Accesses

Abstract

In proving assertions about programs, it is necessary to use induction principles in one form or another. Recursion induction was introduced by McCarthy [4] for the purpose of proving assertions about functions, in particular, functions defined by recursive conditional expressions. Structural induction was introduced by Burstall [1] for proving assertions about structures, such as lists and trees. The induction principles which we shall introduce here are useful for proving assertions about context-free languages and their semantic attributes, as this term is used by Knuth [3]. We shall introduce these principles informally and use them to prove the equivalence of two syntactic definitions of an unsigned integer, the equivalence of Knuth’s two examples of synthesized and inherited attributes, and the validity of Hoare’s first axiom (also known as the “back substitution rule”) for a large class of programming languages.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Burstall, R. M., Proving properties of programs by structural induction, Computer J. 12, 41–48 (1969).

    Article  MATH  Google Scholar 

  2. Hoare, C. A. R., An axiomatic basis for computer programming, Communications of the ACM 12, 576–580 and 583 (1969).

    Google Scholar 

  3. Knuth, D. E., Semantics of context-free languages Math. Systems Theory 2, 127–145 (1968).

    Article  MathSciNet  MATH  Google Scholar 

  4. McCarthy, J., Towards a mathematical science of computation, Information Processing 1962, Proc. of IFIP Congress 62, North-Holland, Amsterdam, 21–28 (1963).

    Google Scholar 

  5. McCarthy, J., et al., LISP 1. 5 Programmer’s Manual, MIT Press (1962).

    Google Scholar 

  6. Maurer, W. D., A semantic extension of BNF, International J. of Computer Math., Section A, Vol. 3, 157–176 (1972).

    Article  MATH  Google Scholar 

Download references

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1973 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Maurer, W.D. (1973). Induction Principles for Context-Free Languages. In: Brauer, W. (eds) GI Gesellschaft für Informatik e. V.. Lecture Notes in Computer Science, vol 1. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-41148-3_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-41148-3_13

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-40668-7

  • Online ISBN: 978-3-662-41148-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics