Skip to main content Accessibility help
×
Hostname: page-component-8448b6f56d-t5pn6 Total loading time: 0 Render date: 2024-04-19T21:14:18.182Z Has data issue: false hasContentIssue false

1 - Inductive principles

Published online by Cambridge University Press:  05 August 2012

Matthew Hennessy
Affiliation:
University of Sussex
Get access

Summary

Throughout the book we will make extensive use of both induction and coinduction, and their associated proof techniques. Here we give a brief review of these concepts, and an indication of how we intend to use them.

Induction

Figure 1.1 contains a definition of the (abstract) syntax of a simple language of machines. Here a ranges over some set of action labels Act, and intuitively a machine can carry out sequences of these actions, and periodically has a choice of which actions to perform. Let M be the set of all machines defined in Figure 1.1. Formally this is an inductive definition of a set, namely the least set S that satisfies

  • stop ∈ S

  • MS implies a.MS for every action label a in Act

  • M1, M2S implies M1 + M2S.

The fact that M is the least set that satisfies these conditions gives us a proof technique for defining and proving properties of machines in M; any other set satisfying the conditions is guaranteed to contain M.

As an example consider the following definition of the size of a machine:

  • |stop| = 0

  • |a.M| = 1 + |M|

  • |M1 + M2| = |M1| + |M2|.

We know by induction that this function is now defined for every machine. Belabouring the point for emphasis let D be the domain of the size function | |, the set of elements for which it is defined.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2007

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Inductive principles
  • Matthew Hennessy, University of Sussex
  • Book: A Distributed Pi-Calculus
  • Online publication: 05 August 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511611063.002
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Inductive principles
  • Matthew Hennessy, University of Sussex
  • Book: A Distributed Pi-Calculus
  • Online publication: 05 August 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511611063.002
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Inductive principles
  • Matthew Hennessy, University of Sussex
  • Book: A Distributed Pi-Calculus
  • Online publication: 05 August 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511611063.002
Available formats
×