from PART I - PRELIMINARIES
Published online by Cambridge University Press: 05 November 2012
In this chapter, we turn to a topic in mathematical logic called propositional logic. Propositional logic is a key tool in logical reasoning and is used to understand and even generate precise proofs. Our attraction to propositional logic is ignited by the ability to represent Boolean functions by Boolean formulas. Some Boolean functions can be represented by short Boolean formulas, thus offering a concise and precise way to describe Boolean functions.
BOOLEAN FORMULAS
Building Blocks. The building blocks of a Boolean formula are constants, variables, and connectives.
A constant is either 0 or 1. As in the case of bits, we interpret a 1 as “true” and a 0 as “false.” The terms constant and bit are synonyms; the term bit is used in Boolean functions and in circuits, while the term constants is used in Boolean formulas.
A variable is an element in a set of variables. We denote the set of variables by U. The set U does not contain constants. Variables are usually denoted by uppercase letters.
Connectives are used to build longer formulas from shorter ones. We denote the set of connectives by C. We consider unary, binary, and higher arity connectives.
(a) There is only one unary connective called negation. Negation of a variable A is denoted by not(A), A, or Ā.
(b) There are several binary connectives; the most common are and (denoted also by ∧ or ·) and or (denoted also by ∨ or +).
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.