Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-g7rbq Total loading time: 0 Render date: 2024-07-27T11:39:09.261Z Has data issue: false hasContentIssue false

2 - Logic

Published online by Cambridge University Press:  05 June 2012

Mike Piff
Affiliation:
University of Sheffield
Get access

Summary

Introduction

Mathematics is the science of inference. It starts from axioms describing the world, and makes deductions from those axioms according to the accepted rules of reason.

It became apparent in the nineteenth century and early in the twentieth century that these rules of inference themselves could be made the subject of mathematical investigation, and thus there was a possibility that the whole logical process could be mechanized. One could write down the initial assumptions, and then merely turn a handle to obtain the conclusion. These investigations resulted in what is known as symbolic logic. Although the original goal may have eluded us, because of certain profound discoveries concerning the process of proof, what remains is a powerful notation for expressing ideas in a precise form, and an elegant mathematical theory of logic which we shall be studying in this chapter.

Let us first look at a few places where mathematical logic is used.

Example 2.1 Whenever control branches in a computer program, a logical condition has been evaluated, and the program has branched accordingly. In higher level languages such conditions are expressed in terms of boolean values, returned whenever arithmetical comparisons such as (a<b) are evaluated. These values are combined using connectives such as AND and OR and the operation NOT, together with comparisons such as (a=b)>(c<d) working directly on the boolean values. […]

Type
Chapter
Information
Discrete Mathematics
An Introduction for Software Engineers
, pp. 4 - 42
Publisher: Cambridge University Press
Print publication year: 1991

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.

  • Logic
  • Mike Piff, University of Sheffield
  • Book: Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172332.003
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.

  • Logic
  • Mike Piff, University of Sheffield
  • Book: Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172332.003
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.

  • Logic
  • Mike Piff, University of Sheffield
  • Book: Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172332.003
Available formats
×