Published online by Cambridge University Press: 05 June 2012
Introduction
Suppose that we are using the notations of mathematical logic, as described in Chapter 2. We have some universe of discourse E, and let us suppose that a predicate R(x) is given. We could look at the objects in E in turn, and check for each object whether or not R(x) is true. If we then selected the collection of objects which made R(x) true, we would have what is known as a set.
Although the predicate calculus allows us to do anything we desire, it has been found over the last century or so that set notation is far more convenient and natural. A predicate in one variable is thought of as expressing a property of objects in the universe of discourse; a set is the collection of all those objects with that property. Conversely, given a collection of objects in the universe of discourse, we can form a predicate which expresses the property of being in that collection. Sets and one place predicates are completely interchangeable.
Example 3.1 A username for an Apostrophe computer consists of a string of six letters and digits. The director of computing services is responsible for informing the Apostrophe which strings are valid usernames. This he does by creating a file of valid usernames. If there are 500 users of the Apostrophe, the file will have 500 lines. The 2,176,782,336 possible usernames have been reduced by a factor of around 4 million.
To save this book to your Kindle, first ensure [email protected] 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.
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.
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.