Skip to main content Accessibility help
×
Hostname: page-component-6d856f89d9-72csx Total loading time: 0 Render date: 2024-07-16T04:40:26.357Z Has data issue: false hasContentIssue false

1 - Review of formal languages and automata theory

Published online by Cambridge University Press:  05 June 2012

Jeffrey Shallit
Affiliation:
University of Waterloo, Ontario
Get access

Summary

In this chapter we review material from a first course in the theory of computing. Much of this material should be familiar to you, but if not, you may want to read a more leisurely treatment contained in one of the texts suggested in the notes (Section 1.12).

Sets

A set is a collection of elements chosen from some domain. If S is a finite set, we use the notation ∣S∣ to denote the number of elements or cardinality of the set. The empty set is denoted by φ. By AB (respectively AB, AB) we mean the union of the two sets A and B (respectively intersection and set difference). The notation Ā means the complement of the set A with respect to some assumed universal set U; that is, Ā = {xU : xA}. Finally, 2A denotes the power set, or set of all subsets, of A.

Some special sets that we talk about include ℕ = {0, 1, 2, 3, …}, the natural numbers, and ℤ = {…, −3, −2, −1, 0, 1, 2, 3, …}, the integers.

Symbols, strings, and languages

One of the fundamental mathematical objects we study in this book is the string. In the literature, a string is sometimes called a word or sentence. A string is made up of symbols (or letters).

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

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.

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.

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.

Available formats
×