Skip to main content

Recycling Outputs as Inputs: Induction and Recursion

  • Chapter
  • First Online:
Book cover Sets, Logic and Maths for Computing

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

  • 3460 Accesses

Abstract

This chapter introduces induction and recursion, which are omnipresent in computer science and logic. The simplest context in which they arise is in the domain of the positive integers, and that is where we begin. We explain induction as a method for proving facts about the positive integers, and recursion as a method for defining functions on the same domain, and describe two different methods for evaluating such functions. From this familiar terrain, the basic concepts of recursion and induction are extended to the forms known as structural induction and recursion, to which we give special attention. We look at structural recursion as a way of defining sets, structural induction as a way of proving things about those sets, and then structural recursion once more, as a way of defining functions with recursively defined domains when a special condition of unique decomposability is satisfied. The broadest kind of induction/recursion may be formulated for any set at all, provided it is equipped with a relation that is well-founded in a sense we explain.

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 EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to David Makinson .

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Makinson, D. (2020). Recycling Outputs as Inputs: Induction and Recursion. In: Sets, Logic and Maths for Computing. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-42218-9_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-42218-9_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-42217-2

  • Online ISBN: 978-3-030-42218-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics