An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer...

537
forall x Calgary Remix/Accessible An Introduction to Formal Logic P. D. Magnus Tim Button with additions by J. Robert Loftis remixed and revised by Aaron Thomas-Bolduc Richard Zach Winter 2018 β

Transcript of An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer...

Page 1: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

foral l xCalgary Remix/AccessibleAn Introduction toFormal Logic

P. D. MagnusTim Buttonwith addit ions byJ. Robert Loftisremixed and revised byAaron Thomas-BolducRichard Zach

Winter 2018β

Page 2: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

forall x : Calgary Remix

An Introduction toFormal Logic

By P. D. MagnusTim Button

with addit ions byJ. Robert Loftis

remixed and revised byAaron Thomas-Bolduc

Richard Zach

Page 3: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Winter 2018β

Page 4: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

This book is based on forallx: Cambridge, byTim ButtonUniversity of Cambridge

used under a CC BY-SA 3.0 license, which is basedin turn on forallx, by

P.D. MagnusUniversity at Albany, State University of New

York

used under a CC BY-SA 3.0 license,and was remixed, revised, & expanded byAaron Thomas-Bolduc & Richard ZachUniversity of Calgary

It includes additional material from forallx by P.D.Magnus and Metatheory by Tim Button, both used undera CC BY-SA 3.0 license, and from forallx: LorainCounty Remix, by Cathal Woods and J. Robert Loftis,used under a CC BY-SA 4.0 license.

This work is licensed under a Creative CommonsAttribution-ShareAlike 4.0 license. You are free to copy andredistribute the material in any medium or format, and remix,

Page 5: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

transform, and build upon the material for any purpose, evencommercially, under the following terms:

. You must give appropriate credit, provide a link to thelicense, and indicate if changes were made. You may doso in any reasonable manner, but not in any way thatsuggests the licensor endorses you or your use.

. If you remix, transform, or build upon the material, youmust distribute your contributions under the samelicense as the original.

The LATEX source for this book is available onGitHub. This version is revision 28b0d8d(2017-11-25).

The preparation of this textbook was made possibleby a grant from the Taylor Institute for Teaching andLearning.

Page 6: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

ContentsPreface ix

I Key notions of logic 1

1 Arguments 22 Valid arguments 103 Other logical notions 19

II Truth-functional logic 32

4 First steps to symbolization 335 Connectives 416 Sentences of TFL 717 Use and mention 82

v

Page 7: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Contents vi

III Truth tables 91

8 Characteristic truth tables 929 Truth-functional connectives 9610 Complete truth tables 10611 Semantic concepts 11912 Truth table shortcuts 13713 Partial truth tables 147

IV Natural deduction for TFL 159

14 The very idea of natural deduction 16015 Basic rules for TFL 16516 Additional rules for TFL 20817 Proof-theoretic concepts 22018 Proof strategies 22719 Derived rules 23020 Soundness and completeness 243

V First-order logic 258

21 Building blocks of FOL 25922 Sentences with one quantifier 275

Page 8: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Contents vii

23 Multiple generality 30024 Identity 32425 Definite descriptions 33426 Sentences of FOL 350

VI Interpretations 360

27 Extensionality 36128 Truth in FOL 37429 Semantic concepts 38930 Using interpretations 39231 Reasoning about all interpretations 405

VII Natural deduction for FOL 413

32 Basic rules for FOL 41433 Conversion of quantifiers 43934 Rules for identity 44335 Derived rules 45036 Proof-theoretic and semantic concepts 453

Page 9: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Contents viii

VIII Advanced Topics 459

37 Normal forms and expressive completeness 460

Appendices 481

A Symbolic notation 481B Alternative proof systems 487C Quick reference 498

Glossary 513

Page 10: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

PrefaceAs the title indicates, this is a textbook on formallogic. Formal logic concerns the study of a certainkind of language which, like any language, canserve to express states of affairs. It is a formallanguage, i.e., its expressions (such as sentences)are defined formally. This makes it a very usefullanguage for being very precise about the states ofaffairs its sentences describe. In particular, informal logic is is impossible to be ambiguous. Thestudy of these languages centres on therelationship of entailment between sentences, i.e.,which sentences follow from which other sentences.Entailment is central because by understanding itbetter we can tell when some states of affairs mustobtain provided some other states of affairs obtain.

ix

Page 11: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Preface x

But entailment is not the only important notion. Wewill also consider the relationship of beingconsistent, i.e., of not being mutually contradictory.These notions can be defined semantically, usingprecise definitions of entailment based oninterpretations of the language—orproof-theoretically, using formal systems ofdeduction.

Formal logic is of course a centralsub-discipline of philosophy, where the logicalrelationship of assumptions to conclusions reachedfrom them is important. Philosophers investigatethe consequences of definitions and assumptionsand evaluate these definitions and assumptions onthe basis of their consequences. It is also importantin mathematics and computer science. Inmathematics, formal languages are used todescribe not “everyday” states of affairs, butmathematical states of affairs. Mathematicians arealso interested in the consequences of definitionsand assumptions, and for them it is equallyimportant to establish these consequences (whichthey call “theorems”) using completely precise and

Page 12: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Preface xi

rigorous methods. Formal logic provides suchmethods. In computer science, formal logic isapplied to describe the state and behaviours ofcomputational systems, e.g., circuits, programs,databases, etc. Methods of formal logic canlikewise be used to establish consequences of suchdescriptions, such as whether a circuit is error-free,whether a program does what it’s intended to do,whether a database is consistent or if something istrue of the data in it.

The book is divided into eight parts. Part Iintroduces the topic and notions of logic in aninformal way, without introducing a formal languageyet. Parts II–IV concern truth-functional languages.In it, sentences are formed from basic sentencesusing a number of connectives (‘or’, ‘and’, ‘not’, ‘if. . . then’) which just combine sentences into morecomplicated ones. We discuss logical notions suchas entailment in two ways: semantically, using themethod of truth tables (in Part III) andproof-theoretically, using a system of formalderivations (in Part IV). PartsV–VII deal with amore complicated language, that of first-order

Page 13: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Preface xii

logic. It includes, in addition to the connectives oftruth-functional logic, also names, predicates,identity, and the so-called quantifiers. Theseadditional elements of the language make it muchmore expressive than the truth-functional language,and we’ll spend a fair amount of time investigatingjust how much one can express in it. Again, logicalnotions for the language of first-order logic aredefined semantically, using interpretations, andproof-theoretically, using a more complex versionof the formal derivation system introduced inPart IV. Part VIII covers an advanced topic: that ofexpressive adequacy of the truth-functionalconnectives.

In the appendices you’ll find a discussion ofalternative notations for the languages we discussin this text, of alternative derivation systems, and aquick reference listing most of the important rulesand definitions. The central terms are listed in aglossary at the very end.

This book is based on a text originally writtenby P. D. Magnus and revised and expanded by Tim

Page 14: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Preface xiii

Button and independently by J. Robert Loftis. AaronThomas-Bolduc and Richard Zach have combinedelements of these texts into the present version,changed some of the terminology and examples,and added material of their own. The resulting textis licensed under a Creative CommonsAttribution-ShareAlike 4.0 license.

Page 15: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Part I

Key notions oflogic

1

Page 16: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 1

Arguments

Logic is the business of evaluating arguments;sorting the good from the bad.

In everyday language, we sometimes use theword ‘argument’ to talk about belligerent shoutingmatches. If you and a friend have an argument inthis sense, things are not going well between thetwo of you. Logic is not concerned with suchteeth-gnashing and hair-pulling. They are notarguments, in our sense; they are disagreements.

An argument, as we will understand it, issomething more like this:

It is raining heavily.2

Page 17: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 1. Arguments 3

If you do not take an umbrella, you will getsoaked.

.Û. You should take an umbrella.

We here have a series of sentences. The three dotson the third line of the argument are read‘therefore.’ They indicate that the final sentenceexpresses the conclusion of the argument. Thetwo sentences before that are the premises of theargument. If you believe the premises, then theargument (perhaps) provides you with a reason tobelieve the conclusion.

This is the sort of thing that logicians areinterested in. We will say that an argument is anycollection of premises, together with a conclusion.

This Part discusses some basic logical notionsthat apply to arguments in a natural language likeEnglish. It is important to begin with a clearunderstanding of what arguments are and of what itmeans for an argument to be valid. Later we willtranslate arguments from English into a formallanguage. We want formal validity, as defined in the

Page 18: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 1. Arguments 4

formal language, to have at least some of theimportant features of natural-language validity.

In the example just given, we used individualsentences to express both of the argument’spremises, and we used a third sentence to expressthe argument’s conclusion. Many arguments areexpressed in this way, but a single sentence cancontain a complete argument. Consider:

I was wearing my sunglasses; so it musthave been sunny.

This argument has one premise followed by aconclusion.

Many arguments start with premises, and endwith a conclusion, but not all of them. The argumentwith which this section began might equally havebeen presented with the conclusion at thebeginning, like so:

You should take an umbrella. After all, itis raining heavily. And if you do not take

Page 19: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 1. Arguments 5

an umbrella, you will get soaked.

Equally, it might have been presented with theconclusion in the middle:

It is raining heavily. Accordingly, youshould take an umbrella, given that if youdo not take an umbrella, you will getsoaked.

When approaching an argument, we want to knowwhether or not the conclusion follows from thepremises. So the first thing to do is to separate outthe conclusion from the premises. As a guideline,the following words are often used to indicate anargument’s conclusion:

so, therefore, hence, thus, accordingly,consequently

Similarly, these expressions often indicate that weare dealing with a premise, rather than aconclusion:

Page 20: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 1. Arguments 6

since, because, given that

But in analysing an argument, there is no substitutefor a good nose.

1.1 Sentences

To be perfectly general, we can define an argumentas a series of sentences. The sentences at thebeginning of the series are premises. The finalsentence in the series is the conclusion. If thepremises are true and the argument is a good one,then you have a reason to accept the conclusion.

In logic, we are only interested in sentencesthat can figure as a premise or conclusion of anargument. So we will say that a sentence issomething that can be true or false.

You should not confuse the idea of a sentencethat can be true or false with the difference betweenfact and opinion. Often, sentences in logic willexpress things that would count as facts— such as‘Kierkegaard was a hunchback’ or ‘Kierkegaard

Page 21: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 1. Arguments 7

liked almonds.’ They can also express things thatyou might think of as matters of opinion— such as,‘Almonds are tasty.’

Also, there are things that would count as‘sentences’ in a linguistics or grammar course thatwe will not count as sentences in logic.Questions In a grammar class, ‘Are you sleepyyet?’ would count as an interrogative sentence.Although you might be sleepy or you might be alert,the question itself is neither true nor false. For thisreason, questions will not count as sentences inlogic. Suppose you answer the question: ‘I am notsleepy.’ This is either true or false, and so it is asentence in the logical sense. Generally,questions will not count as sentences, butanswers will.

‘What is this course about?’ is not a sentence(in our sense). ‘No one knows what this course isabout’ is a sentence.Imperatives Commands are often phrased asimperatives like ‘Wake up!’, ‘Sit up straight’, and so

Page 22: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 1. Arguments 8

on. In a grammar class, these would count asimperative sentences. Although it might be good foryou to sit up straight or it might not, the command isneither true nor false. Note, however, thatcommands are not always phrased as imperatives.‘You will respect my authority’ is either true orfalse— either you will or you will not— and so itcounts as a sentence in the logical sense.Exclamations ‘Ouch!’ is sometimes called anexclamatory sentence, but it is neither true norfalse. We will treat ‘Ouch, I hurt my toe!’ asmeaning the same thing as ‘I hurt my toe.’ The‘ouch’ does not add anything that could be true orfalse.

Practice exercises

At the end of some chapters, there are problemsthat review and explore the material covered in thechapter. There is no substitute for actually workingthrough some problems, because logic is moreabout a way of thinking than it is about memorizingfacts.

Page 23: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 1. Arguments 9

Highlight the phrase which expresses theconclusion of each of these arguments:

1. It is sunny. So I should take my sunglasses.2. It must have been sunny. I did wear mysunglasses, after all.

3. No one but you has had their hands in thecookie-jar. And the scene of the crime islittered with cookie-crumbs. You’re the culprit!

4. Miss Scarlett and Professor Plum were in thestudy at the time of the murder. ReverendGreen had the candlestick in the ballroom, andwe know that there is no blood on his hands.Hence Colonel Mustard did it in the kitchenwith the lead-piping. Recall, after all, that thegun had not been fired.

Page 24: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2

Validarguments

In §1, we gave a very permissive account of what anargument is. To see just how permissive it is,consider the following:

There is a bassoon-playing dragon in theCathedra Romana.

.Û. Salvador Dali was a poker player.

We have been given a premise and a conclusion. Sowe have an argument. Admittedly, it is a terribleargument, but it is still an argument.

10

Page 25: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2. Valid arguments 11

2.1 Two ways that argumentscan go wrong

It is worth pausing to ask what makes the argumentso weak. In fact, there are two sources of weakness.First: the argument’s (only) premise is obviouslyfalse. The Pope’s throne is only ever occupied by ahat-wearing man. Second: the conclusion does notfollow from the premise of the argument. Even ifthere were a bassoon-playing dragon in the Pope’sthrone, we would not be able to draw anyconclusion about Dali’s predilection for poker.

What about the main argument discussed in §1?The premises of this argument might well be false.It might be sunny outside; or it might be that youcan avoid getting soaked without taking anumbrella. But even if both premises were true, itdoes not necessarily show you that you should takean umbrella. Perhaps you enjoy walking in the rain,and you would like to get soaked. So, even if bothpremises were true, the conclusion mightnonetheless be false.

Page 26: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2. Valid arguments 12

The general point is as follows. For anyargument, there are two ways that it might go wrong:

• One or more of the premises might be false.• The conclusion might not follow from thepremises.

To determine whether or not the premises of anargument are true is often a very important matter.However, that is normally a task best left to expertsin the field: as it might be, historians, scientists, orwhomever. In our role as logicians, we are moreconcerned with arguments in general. So we are(usually) more concerned with the second way inwhich arguments can go wrong.

So: we are interested in whether or not aconclusion follows from some premises. Don’t,though, say that the premises infer the conclusion.Entailment is a relation between premises andconclusions; inference is something we do. (So ifyou want to mention inference when the conclusionfollows from the premises, you could say that onemay infer the conclusion from the premises.)

Page 27: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2. Valid arguments 13

2.2 Validity

As logicians, we want to be able to determine whenthe conclusion of an argument follows from thepremises. One way to put this is as follows. Wewant to know whether, if all the premises were true,the conclusion would also have to be true. Thismotivates a definition:An argument is valid if and only if it is impos-sible for all of the premises to be true and theconclusion false.The crucial thing about a valid argument is that

it is impossible for the premises to be true whilst theconclusion is false. Consider this example:

Oranges are either fruits or musicalinstruments.Oranges are not fruits.

.Û. Oranges are musical instruments.

The conclusion of this argument is ridiculous.Nevertheless, it follows from the premises. If bothpremises were true, then the conclusion just has to

Page 28: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2. Valid arguments 14

be true. So the argument is valid.This highlights that valid arguments do not

need to have true premises or true conclusions.Conversely, having true premises and a trueconclusion is not enough to make an argument valid.Consider this example:

London is in England.Beijing is in China.

.Û. Paris is in France.

The premises and conclusion of this argument are,as a matter of fact, all true, but the argument isinvalid. If Paris were to declare independence fromthe rest of France, then the conclusion would befalse, even though both of the premises wouldremain true. Thus, it is possible for the premises ofthis argument to be true and the conclusion false.The argument is therefore invalid.

The important thing to remember is that validityis not about the actual truth or falsity of thesentences in the argument. It is about whether it is

Page 29: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2. Valid arguments 15

possible for all the premises to be true and theconclusion false. Nonetheless, we will say that anargument is sound if and only if it is both valid andall of its premises are true.

2.3 Inductive arguments

Many good arguments are invalid. Consider thisone:

In January 1997, it rained in London.In January 1998, it rained in London.In January 1999, it rained in London.In January 2000, it rained in London.

.Û. It rains every January in London.This argument generalises from observations aboutseveral cases to a conclusion about all cases. Sucharguments are called inductive arguments. Theargument could be made stronger by addingadditional premises before drawing the conclusion:In January 2001, it rained in London; In January2002. . . . But, however many premises of this formwe add, the argument will remain invalid. Even if it

Page 30: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2. Valid arguments 16

has rained in London in every January thus far, itremains possible that London will stay dry nextJanuary.

The point of all this is that inductivearguments—even good inductive arguments—arenot (deductively) valid. They are not watertight.Unlikely though it might be, it is possible for theirconclusion to be false, even when all of theirpremises are true. In this book, we will set aside(entirely) the question of what makes for a goodinductive argument. Our interest is simply in sortingthe (deductively) valid arguments from the invalidones.

Practice exercises

A. Which of the following arguments are valid?Which are invalid?

1. Socrates is a man.2. All men are carrots..Û. Socrates is a carrot.

Page 31: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2. Valid arguments 17

1. Abe Lincoln was either born in Illinois or hewas once president.

2. Abe Lincoln was never president..Û. Abe Lincoln was born in Illinois.

1. If I pull the trigger, Abe Lincoln will die.2. I do not pull the trigger..Û. Abe Lincoln will not die.

1. Abe Lincoln was either from France or fromLuxemborg.

2. Abe Lincoln was not from Luxemborg..Û. Abe Lincoln was from France.

1. If the world were to end today, then I would notneed to get up tomorrow morning.

2. I will need to get up tomorrow morning..Û. The world will not end today.

1. Joe is now 19 years old.2. Joe is now 87 years old..Û. Bob is now 20 years old.

Page 32: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 2. Valid arguments 18

B. Could there be:

1. A valid argument that has one false premiseand one true premise?

2. A valid argument that has only false premises?3. A valid argument with only false premises anda false conclusion?

4. An invalid argument that can be made valid bythe addition of a new premise?

5. A valid argument that can be made invalid bythe addition of a new premise?

In each case: if so, give an example; if not, explainwhy not.

Page 33: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3

Other logicalnotions

In §2, we introduced the idea of a valid argument.We will want to introduce some more ideas that areimportant in logic.

3.1 Joint possibility

Consider these two sentences:B1. Jane’s only brother is shorter than her.B2. Jane’s only brother is taller than her.Logic alone cannot tell us which, if either, of thesesentences is true. Yet we can say that if the first

19

Page 34: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 20

sentence (B1) is true, then the second sentence(B2) must be false. Similarly, if B2 is true, then B1must be false. It is impossible that both sentencesare true together. These sentences are inconsistentwith each other, they cannot all be true at the sametime. This motivates the following definition:Sentences are jointly possible if and only if itis possible for them all to be true together.Conversely, B1 and B2 are jointly impossible.We can ask about the possibility of any number

of sentences. For example, consider the followingfour sentences:

G1. There are at least four giraffes at the wildanimal park.

G2. There are exactly seven gorillas at the wildanimal park.

G3. There are not more than two martians at thewild animal park.

G4. Every giraffe at the wild animal park is amartian.

Page 35: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 21

G1 and G4 together entail that there are at leastfour martian giraffes at the park. This conflicts withG3, which implies that there are no more than twomartian giraffes there. So the sentences G1–G4 arejointly impossible. They cannot all be true together.(Note that the sentences G1, G3 and G4 are jointlyimpossible. But if sentences are already jointlyimpossible, adding an extra sentence to the mix willnot make them jointly possible!)

3.2 Necessary truths, necessaryfalsehoods, andcontingency

In assessing arguments for validity, we care aboutwhat would be true if the premises were true, butsome sentences just must be true. Consider thesesentences:

1. It is raining.2. Either it is raining here, or it is not.3. It is both raining here and not raining here.

Page 36: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 22

In order to know if sentence 1 is true, you wouldneed to look outside or check the weather channel.It might be true; it might be false. A sentence whichis capable of being true and capable of being false(in different circumstances, of course) is calledcontingent.

Sentence 2 is different. You do not need to lookoutside to know that it is true. Regardless of whatthe weather is like, it is either raining or it is not.That is a necessary truth.

Equally, you do not need to check the weatherto determine whether or not sentence 3 is true. Itmust be false, simply as a matter of logic. It mightbe raining here and not raining across town; it mightbe raining now but stop raining even as you finishthis sentence; but it is impossible for it to be bothraining and not raining in the same place and at thesame time. So, whatever the world is like, it is notboth raining here and not raining here. It is anecessary falsehood.

Page 37: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 23

Necessary equivalence

We can also ask about the logical relationsbetween two sentences. For example:

John went to the store after he washed thedishes.John washed the dishes before he went to thestore.

These two sentences are both contingent, sinceJohn might not have gone to the store or washeddishes at all. Yet they must have the sametruth-value. If either of the sentences is true, thenthey both are; if either of the sentences is false,then they both are. When two sentences necessarilyhave the same truth value, we say that they arenecessarily equivalent.

Summary of logical notions

. An argument is (deductively) valid if it isimpossible for the premises to be true and theconclusion false; it is invalid otherwise.

Page 38: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 24

. A necessary truth is a sentence that must betrue, that could not possibly be false.

. A necessary falsehood is a sentence thatmust be false, that could not possibly be true.

. A contingent sentence is neither a necessarytruth nor a necessary falsehood. It may be truebut could have been false, or vice versa.

. Two sentences are necessarily equivalent ifthey must have the same truth value.

. A collection of sentences is jointly possible ifit is possible for all these sentences to be truetogether; it is jointly impossible otherwise.

Practice exercises

A. For each of the following: Is it a necessary truth,a necessary falsehood, or contingent?

1. Caesar crossed the Rubicon.2. Someone once crossed the Rubicon.3. No one has ever crossed the Rubicon.

Page 39: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 25

4. If Caesar crossed the Rubicon, then someonehas.

5. Even though Caesar crossed the Rubicon, noone has ever crossed the Rubicon.

6. If anyone has ever crossed the Rubicon, it wasCaesar.

B. For each of the following: Is it a necessary truth,a necessary falsehood, or contingent?1. Elephants dissolve in water.2. Wood is a light, durable substance useful forbuilding things.

3. If wood were a good building material, it wouldbe useful for building things.

4. I live in a three story building that is twostories tall.

5. If gerbils were mammals they would nursetheir young.

C. Which of the following pairs of sentences arenecessarily equivalent?

1. Elephants dissolve in water.

Page 40: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 26

If you put an elephant in water, it willdisintegrate.

2. All mammals dissolve in water.If you put an elephant in water, it willdisintegrate.

3. George Bush was the 43rd president.Barack Obama is the 44th president.

4. Barack Obama is the 44th president.Barack Obama was president immediately afterthe 43rd president.

5. Elephants dissolve in water.All mammals dissolve in water.

D. Which of the following pairs of sentences arenecessarily equivalent?

1. Thelonious Monk played piano.John Coltrane played tenor sax.

2. Thelonious Monk played gigs with JohnColtrane.John Coltrane played gigs with TheloniousMonk.

3. All professional piano players have big hands.

Page 41: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 27

Piano player Bud Powell had big hands.4. Bud Powell suffered from severe mentalillness.All piano players suffer from severe mentalillness.

5. John Coltrane was deeply religious.John Coltrane viewed music as an expressionof spirituality.

E. Consider the following sentences:

G1 There are at least four giraffes at the wildanimal park.

G2 There are exactly seven gorillas at the wildanimal park.

G3 There are not more than two Martians at thewild animal park.

G4 Every giraffe at the wild animal park is aMartian.

Page 42: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 28

Now consider each of the following collectionsof sentences. Which are jointly possible? Which arejointly impossible?

1. Sentences G2, G3, and G42. Sentences G1, G3, and G43. Sentences G1, G2, and G44. Sentences G1, G2, and G3

F. Consider the following sentences.

M1 All people are mortal.M2 Socrates is a person.M3 Socrates will never die.M4 Socrates is mortal.

Which combinations of sentences are jointlypossible? Mark each “possible” or “impossible.”

1. Sentences M1, M2, and M32. Sentences M2, M3, and M43. Sentences M2 and M3

Page 43: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 29

4. Sentences M1 and M45. Sentences M1, M2, M3, and M4

G. Which of the following is possible? If it ispossible, give an example. If it is not possible,explain why.1. A valid argument that has one false premiseand one true premise

2. A valid argument that has a false conclusion3. A valid argument, the conclusion of which is anecessary falsehood

4. An invalid argument, the conclusion of which isa necessary truth

5. A necessary truth that is contingent6. Two necessarily equivalent sentences, both ofwhich are necessary truths

7. Two necessarily equivalent sentences, one ofwhich is a necessary truth and one of which iscontingent

8. Two necessarily equivalent sentences thattogether are jointly impossible

9. A jointly possible collection of sentences thatcontains a necessary falsehood

Page 44: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 30

10. A jointly impossible set of sentences thatcontains a necessary truth

H. Which of the following is possible? If it ispossible, give an example. If it is not possible,explain why.

1. A valid argument, whose premises are allnecessary truths, and whose conclusion iscontingent

2. A valid argument with true premises and afalse conclusion

3. A jointly possible collection of sentences thatcontains two sentences that are notnecessarily equivalent

4. A jointly possible collection of sentences, allof which are contingent

5. A false necessary truth6. A valid argument with false premises7. A necessarily equivalent pair of sentences thatare not jointly possible

8. A necessary truth that is also a necessaryfalsehood

Page 45: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 3. Other logical notions 31

9. A jointly possible collection of sentences thatare all necessary falsehoods

Page 46: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Part II

Truth-functionallogic

32

Page 47: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 4

First steps tosymbolization

4.1 Validity in virtue of form

Consider this argument:

It is raining outside.If it is raining outside, then Jenny is miserable.

.Û. Jenny is miserable.

and another argument:

Jenny is an anarcho-syndicalist.

33

Page 48: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 4. First steps to symbolization 34

If Jenny is an anarcho-syndicalist, then Dipanis an avid reader of Tolstoy.

.Û. Dipan is an avid reader of Tolstoy.

Both arguments are valid, and there is astraightforward sense in which we can say that theyshare a common structure. We might express thestructure thus:

AIf A, then C

.Û. C

This looks like an excellent argument structure.Indeed, surely any argument with this structurewill be valid, and this is not the only good argumentstructure. Consider an argument like:

Jenny is either happy or sad.Jenny is not happy.

.Û. Jenny is sad.

Again, this is a valid argument. The structure hereis something like:

Page 49: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 4. First steps to symbolization 35

A or Bnot-A

.Û. B

A superb structure! Here is another example:

It’s not the case that Jim both studied hard andacted in lots of plays.Jim studied hard

.Û. Jim did not act in lots of plays.

This valid argument has a structure which we mightrepresent thus:

not-(A and B)A

.Û. not-B

These examples illustrate an important idea, whichwe might describe as validity in virtue of form.The validity of the arguments just considered hasnothing very much to do with the meanings ofEnglish expressions like ‘Jenny is miserable’,

Page 50: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 4. First steps to symbolization 36

‘Dipan is an avid reader of Tolstoy’, or ‘Jim acted inlots of plays’. If it has to do with meanings at all, itis with the meanings of phrases like ‘and’, ‘or’, ‘not,’and ‘if. . . , then. . . ’.

In Parts II–IV, we are going to develop a formallanguage which allows us to symbolize manyarguments in such a way as to show that they arevalid in virtue of their form. That language will betruth-functional logic, or TFL.

4.2 Validity for special reasons

There are plenty of arguments that are valid, but notfor reasons relating to their form. Take an example:

Juanita is a vixen.Û. Juanita is a fox

It is impossible for the premise to be true and theconclusion false. So the argument is valid.However, the validity is not related to the form ofthe argument. Here is an invalid argument with thesame form:

Page 51: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 4. First steps to symbolization 37

Juanita is a vixen.Û. Juanita is a cathedral

This might suggest that the validity of the firstargument is keyed to the meaning of the words‘vixen’ and ‘fox’. But, whether or not that is right, itis not simply the shape of the argument that makesit valid. Equally, consider the argument:

The sculpture is green all over..Û. The sculpture is not red all over.

Again, it seems impossible for the premise to betrue and the conclusion false, for nothing can beboth green all over and red all over. So theargument is valid, but here is an invalid argumentwith the same form:

The sculpture is green all over..Û. The sculpture is not shiny all over.

The argument is invalid, since it is possible to begreen all over and shiny all over. (One might paint

Page 52: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 4. First steps to symbolization 38

their nails with an elegant shiny green varnish.)Plausibly, the validity of the first argument is keyedto the way that colours (or colour-words) interact,but, whether or not that is right, it is not simply theshape of the argument that makes it valid.

The important moral can be stated as follows.At best, TFL will help us to understandarguments that are valid due to their form.

4.3 Atomic sentences

We started isolating the form of an argument, in§4.1, by replacing subsentences of sentences withindividual letters. Thus in the first example of thissection, ‘it is raining outside’ is a subsentence of ‘Ifit is raining outside, then Jenny is miserable’, andwe replaced this subsentence with ‘A’.

Our artificial language, TFL, pursues this ideaabsolutely ruthlessly. We start with some atomicsentences. These will be the basic building blocksout of which more complex sentences are built. Wewill use uppercase Roman letters for atomic

Page 53: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 4. First steps to symbolization 39

sentences of TFL. There are only twenty-six lettersof the alphabet, but there is no limit to the numberof atomic sentences that we might want to consider.By adding subscripts to letters, we obtain newatomic sentences. So, here are five different atomicsentences of TFL:

A , P , P1 , P2 , A234We will use atomic sentences to represent, orsymbolize, certain English sentences. To do this,we provide a symbolization key, such as thefollowing:

A: It is raining outsideC : Jenny is miserable

In doing this, we are not fixing this symbolizationonce and for all. We are just saying that, for thetime being, we will think of the atomic sentence ofTFL, ‘A ’, as symbolizing the English sentence ‘It israining outside’, and the atomic sentence of TFL,‘C ’, as symbolizing the English sentence ‘Jenny ismiserable’. Later, when we are dealing with

Page 54: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 4. First steps to symbolization 40

different sentences or different arguments, we canprovide a new symbolization key; as it might be:

A: Jenny is an anarcho-syndicalistC : Dipan is an avid reader of Tolstoy

It is important to understand that whatever structurean English sentence might have is lost when it issymbolized by an atomic sentence of TFL. From thepoint of view of TFL, an atomic sentence is just aletter. It can be used to build more complexsentences, but it cannot be taken apart.

Page 55: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5

Connectives

In the previous chapter, we considered symbolizingfairly basic English sentences with atomicsentences of TFL. This leaves us wanting to dealwith the English expressions ‘and’, ‘or’, ‘not’, andso forth. These are connectives—they can be usedto form new sentences out of old ones. In TFL, wewill make use of logical connectives to buildcomplex sentences from atomic components. Thereare five logical connectives in TFL. This tablesummarises them, and they are explainedthroughout this section.

These are not the only connectives of English ofinterest. Others are, e.g., ‘unless’, ‘neither . . . nor. . . ’, and ‘because’. We will see that the first two

41

Page 56: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 42

symbol what it is called rough meaning¬ negation ‘It is not the case that. . . ’∧ conjunction ‘Both. . . and . . . ’∨ disjunction ‘Either. . . or . . . ’→ conditional ‘If . . . then . . . ’↔ biconditional ‘. . . if and only if . . . ’can be expressed by the connectives we willdiscuss, while the last cannot. ‘Because’, incontrast to the others, is not truth functional.

5.1 Negation

Consider how we might symbolize these sentences:

1. Mary is in Barcelona.2. It is not the case that Mary is in Barcelona.3. Mary is not in Barcelona.

In order to symbolize sentence 1, we will need anatomic sentence. We might offer this symbolizationkey:

B : Mary is in Barcelona.

Page 57: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 43

Since sentence 2 is obviously related to sentence 1,we will not want to symbolize it with a completelydifferent sentence. Roughly, sentence 2 meanssomething like ‘It is not the case that B’. In order tosymbolize this, we need a symbol for negation. Wewill use ‘¬’. Now we can symbolize sentence 2 with‘¬B ’.

Sentence 3 also contains the word ‘not’, and itis obviously equivalent to sentence 2. As such, wecan also symbolize it with ‘¬B ’.A sentence can be symbolized as ¬A if it canbe paraphrased in English as ‘It is not the casethat. . . ’.It will help to offer a few more examples:

4. The widget can be replaced.5. The widget is irreplaceable.6. The widget is not irreplaceable.

Let us use the following representation key:

R : The widget is replaceable

Page 58: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 44

Sentence 4 can now be symbolized by ‘R ’. Movingon to sentence 5: saying the widget is irreplaceablemeans that it is not the case that the widget isreplaceable. So even though sentence 5 does notcontain the word ‘not’, we will symbolize it asfollows: ‘¬R ’.

Sentence 6 can be paraphrased as ‘It is not thecase that the widget is irreplaceable.’ Which canagain be paraphrased as ‘It is not the case that it isnot the case that the widget is replaceable’. So wemight symbolize this English sentence with the TFLsentence ‘¬¬R ’.

But some care is needed when handlingnegations. Consider:

7. Jane is happy.8. Jane is unhappy.

If we let the TFL-sentence ‘H ’ symbolize ‘Jane ishappy’, then we can symbolize sentence 7 as ‘H ’.However, it would be a mistake to symbolizesentence 8 with ‘¬H ’. If Jane is unhappy, then she

Page 59: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 45

is not happy; but sentence 8 does not mean thesame thing as ‘It is not the case that Jane is happy’.Jane might be neither happy nor unhappy; shemight be in a state of blank indifference. In order tosymbolize sentence 8, then, we would need a newatomic sentence of TFL.

5.2 Conjunction

Consider these sentences:

9. Adam is athletic.10. Barbara is athletic.11. Adam is athletic, and Barbara is also athletic.

We will need separate atomic sentences of TFL tosymbolize sentences 9 and 10; perhaps

A: Adam is athletic.B : Barbara is athletic.

Sentence 9 can now be symbolized as ‘A ’, andsentence 10 can be symbolized as ‘B ’. Sentence 11

Page 60: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 46

roughly says ‘A and B’. We need another symbol, todeal with ‘and’. We will use ‘∧’. Thus we willsymbolize it as ‘(A ∧ B)’. This connective is calledconjunction. We also say that ‘A ’ and ‘B ’ are thetwo conjuncts of the conjunction ‘(A ∧ B)’.

Notice that we make no attempt to symbolizethe word ‘also’ in sentence 11. Words like ‘both’ and‘also’ function to draw our attention to the fact thattwo things are being conjoined. Maybe they affectthe emphasis of a sentence, but we will not (andcannot) symbolize such things in TFL.

Some more examples will bring out this point:

12. Barbara is athletic and energetic.13. Barbara and Adam are both athletic.14. Although Barbara is energetic, she is not

athletic.15. Adam is athletic, but Barbara is more athletic

than him.

Sentence 12 is obviously a conjunction. Thesentence says two things (about Barbara). In

Page 61: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 47

English, it is permissible to refer to Barbara onlyonce. It might be tempting to think that we need tosymbolize sentence 12 with something along thelines of ‘B and energetic’. This would be a mistake.Once we symbolize part of a sentence as ‘B ’, anyfurther structure is lost, as ‘B ’ is an atomic sentenceof TFL. Conversely, ‘energetic’ is not an Englishsentence at all. What we are aiming for is somethinglike ‘B and Barbara is energetic’. So we need to addanother sentence letter to the symbolization key.Let ‘E ’ symbolize ‘Barbara is energetic’. Now theentire sentence can be symbolized as ‘(B ∧ E )’.

Sentence 13 says one thing about two differentsubjects. It says of both Barbara and Adam thatthey are athletic, even though in English we use theword ‘athletic’ only once. The sentence can beparaphrased as ‘Barbara is athletic, and Adam isathletic’. We can symbolize this in TFL as ‘(B ∧ A)’,using the same symbolization key that we havebeen using.

Sentence 14 is slightly more complicated. Theword ‘although’ sets up a contrast between the first

Page 62: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 48

part of the sentence and the second part.Nevertheless, the sentence tells us both thatBarbara is energetic and that she is not athletic. Inorder to make each of the conjuncts an atomicsentence, we need to replace ‘she’ with ‘Barbara’.So we can paraphrase sentence 14 as, ‘BothBarbara is energetic, and Barbara is not athletic’.The second conjunct contains a negation, so weparaphrase further: ‘Both Barbara is energetic andit is not the case that Barbara is athletic’. Now wecan symbolize this with the TFL sentence ‘(E ∧ ¬B)’.Note that we have lost all sorts of nuance in thissymbolization. There is a distinct difference in tonebetween sentence 14 and ‘Both Barbara is energeticand it is not the case that Barbara is athletic’. TFLdoes not (and cannot) preserve these nuances.

Sentence 15 raises similar issues. There is acontrastive structure, but this is not something thatTFL can deal with. So we can paraphrase thesentence as ‘Both Adam is athletic, and Barbara ismore athletic than Adam’. (Notice that we onceagain replace the pronoun ‘him’ with ‘Adam’.) Howshould we deal with the second conjunct? We

Page 63: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 49

already have the sentence letter ‘A ’, which is beingused to symbolize ‘Adam is athletic’, and thesentence ‘B ’ which is being used to symbolize‘Barbara is athletic’; but neither of these concernstheir relative athleticity. So, to symbolize the entiresentence, we need a new sentence letter. Let theTFL sentence ‘R ’ symbolize the English sentence‘Barbara is more athletic than Adam’. Now we cansymbolize sentence 15 by ‘(A ∧ R)’.A sentence can be symbolized as (A∧B) if it canbe paraphrased in English as ‘Both. . . , and. . . ’,or as ‘. . . , but . . . ’, or as ‘although . . . , . . . ’.You might be wondering why we put brackets

around the conjunctions. The reason for this isbrought out by considering how negation mightinteract with conjunction. Consider:16. It’s not the case that you will get both soup and

salad.17. You will not get soup but you will get salad.Sentence 16 can be paraphrased as ‘It is not thecase that: both you will get soup and you will get

Page 64: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 50

salad’. Using this symbolization key:

S1 : You will get soup.S2 : You will get salad.

We would symbolize ‘both you will get soup and youwill get salad’ as ‘(S1 ∧ S2)’. To symbolize sentence16, then, we simply negate the whole sentence,thus: ‘¬(S1 ∧ S2)’.

Sentence 17 is a conjunction: you will not getsoup, and you will get salad. ‘You will not get soup’is symbolized by ‘¬S1 ’. So to symbolize sentence17 itself, we offer ‘(¬S1 ∧ S2)’.

These English sentences are very different, andtheir symbolizations differ accordingly. In one ofthem, the entire conjunction is negated. In theother, just one conjunct is negated. Brackets helpus to keep track of things like the scope of thenegation.

Page 65: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 51

5.3 Disjunction

Consider these sentences:

18. Either Fatima will play videogames, or she willwatch movies.

19. Either Fatima or Omar will play videogames.

For these sentences we can use this symbolizationkey:

F : Fatima will play videogames.O : Omar will play videogames.M : Fatima will watch movies.

However, we will again need to introduce a newsymbol. Sentence 18 is symbolized by ‘(F ∨ M )’.The connective is called disjunction. We also saythat ‘F ’ and ‘M ’ are the disjuncts of the disjunction‘(F ∨ M )’.

Sentence 19 is only slightly more complicated.There are two subjects, but the English sentenceonly gives the verb once. However, we can

Page 66: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 52

paraphrase sentence 19 as ‘Either Fatima will playvideogames, or Omar will play videogames’. Nowwe can obviously symbolize it by ‘(F ∨ O )’ again.A sentence can be symbolized as (A∨B) if it canbe paraphrased in English as ‘Either. . . , or. . . .’Each of the disjuncts must be a sentence.Sometimes in English, the word ‘or’ is used in a

way that excludes the possibility that both disjunctsare true. This is called an exclusive or. Anexclusive or is clearly intended when it says, on arestaurant menu, ‘Entrees come with either soup orsalad’: you may have soup; you may have salad;but, if you want both soup and salad, then you haveto pay extra.

At other times, the word ‘or’ allows for thepossibility that both disjuncts might be true. This isprobably the case with sentence 19, above. Fatimamight play videogames alone, Omar might playvideogames alone, or they might both play.Sentence 19 merely says that at least one of themplays videogames. This is called an inclusive or.The TFL symbol ‘∨’ always symbolizes an inclusive

Page 67: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 53

or.It might help to see negation interact with

disjunction. Consider:

20. Either you will not have soup, or you will nothave salad.

21. You will have neither soup nor salad.22. You get either soup or salad, but not both.

Using the same symbolization key as before,sentence 20 can be paraphrased in this way: ‘Eitherit is not the case that you get soup, or it is not thecase that you get salad’. To symbolize this in TFL,we need both disjunction and negation. ‘It is not thecase that you get soup’ is symbolized by ‘¬S1 ’. ‘It isnot the case that you get salad’ is symbolized by‘¬S2 ’. So sentence 20 itself is symbolized by‘(¬S1 ∨ ¬S2)’.

Sentence 21 also requires negation. It can beparaphrased as, ‘It is not the case that either youget soup or you get salad’. Since this negates theentire disjunction, we symbolize sentence 21 with

Page 68: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 54

‘¬(S1 ∨ S2)’.Sentence 22 is an exclusive or. We can break

the sentence into two parts. The first part says thatyou get one or the other. We symbolize this as‘(S1 ∨ S2)’. The second part says that you do not getboth. We can paraphrase this as: ‘It is not the caseboth that you get soup and that you get salad’.Using both negation and conjunction, we symbolizethis with ‘¬(S1 ∧ S2)’. Now we just need to put thetwo parts together. As we saw above, ‘but’ canusually be symbolized with ‘∧’. Sentence 22 canthus be symbolized as ‘((S1 ∨ S2) ∧ ¬(S1 ∧ S2))’.

This last example shows something important.Although the TFL symbol ‘∨’ always symbolizesinclusive or, we can symbolize an exclusive or inTFL. We just have to use a few of our other symbolsas well.

5.4 Conditional

Consider these sentences:

Page 69: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 55

23. If Jean is in Paris, then Jean is in France.24. Jean is in France only if Jean is in Paris.

Let’s use the following symbolization key:

P : Jean is in Paris.F : Jean is in France

Sentence 23 is roughly of this form: ‘if P, then F’.We will use the symbol ‘→’ to symbolize this ‘if. . . ,then. . . ’ structure. So we symbolize sentence 23 by‘(P → F )’. The connective is called the conditional.Here, ‘P ’ is called the antecedent of the conditional‘(P → F )’, and ‘F ’ is called the consequent.

Sentence 24 is also a conditional. Since theword ‘if’ appears in the second half of the sentence,it might be tempting to symbolize this in the sameway as sentence 23. That would be a mistake. Yourknowledge of geography tells you that sentence 23is unproblematically true: there is no way for Jeanto be in Paris that doesn’t involve Jean being inFrance. But sentence 24 is not so straightforward:were Jean in Dieppe, Lyons, or Toulouse, Jean

Page 70: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 56

would be in France without being in Paris, therebyrendering sentence 24 false. Since geographyalone dictates the truth of sentence 23, whereastravel plans (say) are needed to know the truth ofsentence 24, they must mean different things.

In fact, sentence 24 can be paraphrased as ‘IfJean is in France, then Jean is in Paris’. So we cansymbolize it by ‘(F → P )’.A sentence can be symbolized as A→ B if itcan be paraphrased in English as ‘If A, then B’or ‘A only if B’.

In fact, many English expressions can berepresented using the conditional. Consider:

25. For Jean to be in Paris, it is necessary thatJean be in France.

26. It is a necessary condition on Jean’s being inParis that she be in France.

27. For Jean to be in France, it is sufficient thatJean be in Paris.

28. It is a sufficient condition on Jean’s being inFrance that she be in Paris.

Page 71: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 57

If we think deeply about it, all four of thesesentences mean the same as ‘If Jean is in Paris,then Jean is in France’. So they can all besymbolized by ‘P → F ’.

It is important to bear in mind that theconnective ‘→’ tells us only that, if the antecedentis true, then the consequent is true. It says nothingabout a causal connection between two events (forexample). In fact, we lose a huge amount when weuse ‘→’ to symbolize English conditionals. We willreturn to this in §§9.3 and 11.5.

5.5 Biconditional

Consider these sentences:

29. Laika is a dog only if she is a mammal30. Laika is a dog if she is a mammal31. Laika is a dog if and only if she is a mammal

We will use the following symbolization key:

D : Laika is a dog

Page 72: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 58

M : Laika is a mammal

Sentence 29, for reasons discussed above, can besymbolized by ‘D → M ’.

Sentence 30 is importantly different. It can beparaphrased as, ‘If Laika is a mammal then Laika isa dog’. So it can be symbolized by ‘M → D ’.

Sentence 31 says something stronger thaneither 29 or 30. It can be paraphrased as ‘Laika is adog if Laika is a mammal, and Laika is a dog only ifLaika is a mammal’. This is just the conjunction ofsentences 29 and 30. So we can symbolize it as‘(D → M ) ∧ (M → D )’. We call this a biconditional,because it entails the conditional in both directions.

We could treat every biconditional this way. So,just as we do not need a new TFL symbol to dealwith exclusive or, we do not really need a new TFLsymbol to deal with biconditionals. Because thebiconditional occurs so often, however, we will usethe symbol ‘↔’ for it. We can then symbolizesentence 31 with the TFL sentence ‘D ↔ M ’.

Page 73: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 59

The expression ‘if and only if’ occurs a lotespecially in philosophy, mathematics, and logic.For brevity, we can abbreviate it with the snappierword ‘iff’. We will follow this practice. So ‘if’ withonly one ‘f’ is the English conditional. But ‘iff’ withtwo ‘f’s is the English biconditional. Armed with thiswe can say:A sentence can be symbolized as A↔ B if itcan be paraphrased in English as ‘A iff B’; thatis, as ‘A if and only if B’.A word of caution. Ordinary speakers of English

often use ‘if . . . , then. . . ’ when they really mean touse something more like ‘. . . if and only if . . . ’.Perhaps your parents told you, when you were achild: ‘if you don’t eat your greens, you won’t getany dessert’. Suppose you ate your greens, but thatyour parents refused to give you any dessert, on thegrounds that they were only committed to theconditional (roughly ‘if you get dessert, then youwill have eaten your greens’), rather than thebiconditional (roughly, ‘you get dessert iff you eatyour greens’). Well, a tantrum would rightly ensue.

Page 74: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 60

So, be aware of this when interpreting people; butin your own writing, make sure you use thebiconditional iff you mean to.

5.6 Unless

We have now introduced all of the connectives ofTFL. We can use them together to symbolize manykinds of sentences. An especially difficult case iswhen we use the English-language connective‘unless’:

32. Unless you wear a jacket, you will catch a cold.33. You will catch a cold unless you wear a jacket.

These two sentences are clearly equivalent. Tosymbolize them, we will use the symbolization key:

J : You will wear a jacket.D : You will catch a cold.

Both sentences mean that if you do not wear ajacket, then you will catch a cold. With this in mind,we might symbolize them as ‘¬J → D ’.

Page 75: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 61

Equally, both sentences mean that if you do notcatch a cold, then you must have worn a jacket.With this in mind, we might symbolize them as‘¬D → J ’.

Equally, both sentences mean that either youwill wear a jacket or you will catch a cold. With thisin mind, we might symbolize them as ‘J ∨ D ’.

All three are correct symbolizations. Indeed, inchapter 11 we will see that all three symbolizationsare equivalent in TFL.If a sentence can be paraphrased as ‘Unless A,B,’ then it can be symbolized as ‘A∨B’.Again, though, there is a little complication.

‘Unless’ can be symbolized as a conditional; but aswe said above, people often use the conditional (onits own) when they mean to use the biconditional.Equally, ‘unless’ can be symbolized as adisjunction; but there are two kinds of disjunction(exclusive and inclusive). So it will not surprise youto discover that ordinary speakers of English oftenuse ‘unless’ to mean something more like the

Page 76: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 62

biconditional, or like exclusive disjunction.Suppose someone says: ‘I will go running unless itrains’. They probably mean something like ‘I will gorunning iff it does not rain’ (i.e. the biconditional),or ‘either I will go running or it will rain, but notboth’ (i.e. exclusive disjunction). Again: be awareof this when interpreting what other people havesaid, but be precise in your writing.

Practice exercises

A. Using the symbolization key given, symbolizeeach English sentence in TFL.

M : Those creatures are men in suits.C : Those creatures are chimpanzees.G : Those creatures are gorillas.

1. Those creatures are not men in suits.2. Those creatures are men in suits, or they arenot.

3. Those creatures are either gorillas orchimpanzees.

Page 77: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 63

4. Those creatures are neither gorillas norchimpanzees.

5. If those creatures are chimpanzees, then theyare neither gorillas nor men in suits.

6. Unless those creatures are men in suits, theyare either chimpanzees or they are gorillas.

B. Using the symbolization key given, symbolizeeach English sentence in TFL.

A: Mister Ace was murdered.B : The butler did it.C : The cook did it.D : The Duchess is lying.E : Mister Edge was murdered.F : The murder weapon was a frying pan.

1. Either Mister Ace or Mister Edge wasmurdered.

2. If Mister Ace was murdered, then the cook didit.

3. If Mister Edge was murdered, then the cookdid not do it.

Page 78: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 64

4. Either the butler did it, or the Duchess is lying.5. The cook did it only if the Duchess is lying.6. If the murder weapon was a frying pan, thenthe culprit must have been the cook.

7. If the murder weapon was not a frying pan,then the culprit was either the cook or thebutler.

8. Mister Ace was murdered if and only if MisterEdge was not murdered.

9. The Duchess is lying, unless it was MisterEdge who was murdered.

10. If Mister Ace was murdered, he was done inwith a frying pan.

11. Since the cook did it, the butler did not.12. Of course the Duchess is lying!

C. Using the symbolization key given, symbolizeeach English sentence in TFL.

E1 : Ava is an electrician.E2 : Harrison is an electrician.F1 : Ava is a firefighter.F2 : Harrison is a firefighter.

Page 79: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 65

S1 : Ava is satisfied with her career.S2 : Harrison is satisfied with his career.

1. Ava and Harrison are both electricians.2. If Ava is a firefighter, then she is satisfied withher career.

3. Ava is a firefighter, unless she is anelectrician.

4. Harrison is an unsatisfied electrician.5. Neither Ava nor Harrison is an electrician.6. Both Ava and Harrison are electricians, butneither of them find it satisfying.

7. Harrison is satisfied only if he is a firefighter.8. If Ava is not an electrician, then neither isHarrison, but if she is, then he is too.

9. Ava is satisfied with her career if and only ifHarrison is not satisfied with his.

10. If Harrison is both an electrician and afirefighter, then he must be satisfied with hiswork.

11. It cannot be that Harrison is both an electricianand a firefighter.

12. Harrison and Ava are both firefighters if and

Page 80: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 66

only if neither of them is an electrician.

D. Using the symbolization key given, symbolizeeach English-language sentence in TFL.

J1 : John Coltrane played tenor sax.J2 : John Coltrane played soprano sax.J3 : John Coltrane played tubaM1 : Miles Davis played trumpetM2 : Miles Davis played tuba

1. John Coltrane played tenor and soprano sax.2. Neither Miles Davis nor John Coltrane playedtuba.

3. John Coltrane did not play both tenor sax andtuba.

4. John Coltrane did not play tenor sax unless healso played soprano sax.

5. John Coltrane did not play tuba, but MilesDavis did.

6. Miles Davis played trumpet only if he alsoplayed tuba.

Page 81: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 67

7. If Miles Davis played trumpet, then JohnColtrane played at least one of these threeinstruments: tenor sax, soprano sax, or tuba.

8. If John Coltrane played tuba then Miles Davisplayed neither trumpet nor tuba.

9. Miles Davis and John Coltrane both playedtuba if and only if Coltrane did not play tenorsax and Miles Davis did not play trumpet.

E. Give a symbolization key and symbolize thefollowing English sentences in TFL.

1. Alice and Bob are both spies.2. If either Alice or Bob is a spy, then the codehas been broken.

3. If neither Alice nor Bob is a spy, then the coderemains unbroken.

4. The German embassy will be in an uproar,unless someone has broken the code.

5. Either the code has been broken or it has not,but the German embassy will be in an uproarregardless.

6. Either Alice or Bob is a spy, but not both.

Page 82: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 68

F. Give a symbolization key and symbolize thefollowing English sentences in TFL.1. If there is food to be found in the pridelands,then Rafiki will talk about squashed bananas.

2. Rafiki will talk about squashed bananas unlessSimba is alive.

3. Rafiki will either talk about squashed bananasor he won’t, but there is food to be found in thepridelands regardless.

4. Scar will remain as king if and only if there isfood to be found in the pridelands.

5. If Simba is alive, then Scar will not remain asking.

G. For each argument, write a symbolization keyand symbolize all of the sentences of the argumentin TFL.1. If Dorothy plays the piano in the morning, thenRoger wakes up cranky. Dorothy plays piano inthe morning unless she is distracted. So ifRoger does not wake up cranky, then Dorothymust be distracted.

Page 83: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 69

2. It will either rain or snow on Tuesday. If itrains, Neville will be sad. If it snows, Nevillewill be cold. Therefore, Neville will either besad or cold on Tuesday.

3. If Zoog remembered to do his chores, thenthings are clean but not neat. If he forgot, thenthings are neat but not clean. Therefore, thingsare either neat or clean; but not both.

H. For each argument, write a symbolization keyand symbolize the argument as well as possible inTFL. The part of the passage in italics is there toprovide context for the argument, and doesn’t needto be symbolized.1. It is going to rain soon. I know because my legis hurting, and my leg hurts if it’s going to rain.

2. Spider-man tries to figure out the badguy’s plan. If Doctor Octopus gets theuranium, he will blackmail the city. I amcertain of this because if Doctor Octopus getsthe uranium, he can make a dirty bomb, and ifhe can make a dirty bomb, he will blackmailthe city.

Page 84: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 5. Connectives 70

3. A westerner tries to predict the policies ofthe Chinese government. If the Chinesegovernment cannot solve the water shortagesin Beijing, they will have to move the capital.They don’t want to move the capital. Thereforethey must solve the water shortage. But theonly way to solve the water shortage is todivert almost all the water from the Yangziriver northward. Therefore the Chinesegovernment will go with the project to divertwater from the south to the north.

I. We symbolized an exclusive or using ‘∨’, ‘∧’,and ‘¬’. How could you symbolize an exclusive orusing only two connectives? Is there any way tosymbolize an exclusive or using only oneconnective?

Page 85: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6

Sentences ofTFLThe sentence ‘either apples are red, or berries areblue’ is a sentence of English, and the sentence‘(A ∨ B)’ is a sentence of TFL. Although we canidentify sentences of English when we encounterthem, we do not have a formal definition of‘sentence of English’. But in this chapter, we willoffer a complete definition of what counts as asentence of TFL. This is one respect in which aformal language like TFL is more precise than anatural language like English.

71

Page 86: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 72

6.1 Expressions

We have seen that there are three kinds of symbolsin TFL:

Atomic sentences A , B , C , . . . , Zwith subscripts, as needed A1 , B1 , Z1 , A2 , A25 , J375 , . . .

Connectives ¬, ∧, ∨,→,↔

Brackets ( , )We define an expression of TFL as any string ofsymbols of TFL. Take any of the symbols of TFL andwrite them down, in any order, and you have anexpression of TFL.

6.2 Sentences

Of course, many expressions of TFL will be totalgibberish. We want to know when an expression ofTFL amounts to a sentence.

Page 87: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 73

Obviously, individual atomic sentences like ‘A ’and ‘G13 ’ should count as sentences. We can formfurther sentences out of these by using the variousconnectives. Using negation, we can get ‘¬A ’ and‘¬G13 ’. Using conjunction, we can get ‘(A ∧ G13)’,‘(G13 ∧ A)’, ‘(A ∧ A)’, and ‘(G13 ∧ G13)’. We could alsoapply negation repeatedly to get sentences like‘¬¬A ’ or apply negation along with conjunction to getsentences like ‘¬(A ∧ G13)’ and ‘¬(G13 ∧ ¬G13)’. Thepossible combinations are endless, even startingwith just these two sentence letters, and there areinfinitely many sentence letters. So there is nopoint in trying to list all the sentences one by one.

Instead, we will describe the process by whichsentences can be constructed. Consider negation:Given any sentence A of TFL, ¬A is a sentence ofTFL. (Why the funny fonts? We return to this in§7.3.)

We can say similar things for each of the otherconnectives. For instance, if A and B are sentencesof TFL, then (A∧B) is a sentence of TFL. Providingclauses like this for all of the connectives, we arrive

Page 88: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 74

at the following formal definition for a sentence ofTFL:

1. Every atomic sentence is a sentence.2. If A is a sentence, then ¬A is a sentence.3. If A and B are sentences, then (A∧B) isa sentence.

4. If A and B are sentences, then (A∨B) isa sentence.

5. If A and B are sentences, then (A→ B) isa sentence.

6. If A and B are sentences, then (A↔ B) isa sentence.

7. Nothing else is a sentence.Definitions like this are called recursive.

Recursive definitions begin with some specifiablebase elements, and then present ways to generateindefinitely many more elements by compoundingtogether previously established ones. To give you abetter idea of what a recursive definition is, we can

Page 89: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 75

give a recursive definition of the idea of anancestor of mine. We specify a base clause.

• My parents are ancestors of mine.

and then offer further clauses like:

• If x is an ancestor of mine, then x’s parents areancestors of mine.

• Nothing else is an ancestor of mine.

Using this definition, we can easily check to seewhether someone is my ancestor: just checkwhether she is the parent of the parent of. . . one ofmy parents. And the same is true for our recursivedefinition of sentences of TFL. Just as the recursivedefinition allows complex sentences to be built upfrom simpler parts, the definition allows us todecompose sentences into their simpler parts.Once we get down to atomic sentences, then weknow we are ok.

Let’s consider some examples.

Page 90: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 76

Suppose we want to know whether or not ‘¬¬¬D ’is a sentence of TFL. Looking at the second clauseof the definition, we know that ‘¬¬¬D ’ is a sentenceif ‘¬¬D ’ is a sentence. So now we need to askwhether or not ‘¬¬D ’ is a sentence. Again looking atthe second clause of the definition, ‘¬¬D ’ is asentence if ‘¬D ’ is. So, ‘¬D ’ is a sentence if ‘D ’ is asentence. Now ‘D ’ is an atomic sentence of TFL, sowe know that ‘D ’ is a sentence by the first clause ofthe definition. So for a compound sentence like‘¬¬¬D ’, we must apply the definition repeatedly.Eventually we arrive at the atomic sentences fromwhich the sentence is built up.

Next, consider the example ‘¬(P ∧ ¬(¬Q ∨ R))’.Looking at the second clause of the definition, thisis a sentence if ‘(P ∧ ¬(¬Q ∨ R))’ is, and this is asentence if both ‘P ’ and ‘¬(¬Q ∨ R)’ are sentences.The former is an atomic sentence, and the latter is asentence if ‘(¬Q ∨ R)’ is a sentence. It is. Looking atthe fourth clause of the definition, this is a sentenceif both ‘¬Q ’ and ‘R ’ are sentences, and both are!

Ultimately, every sentence is constructed nicely

Page 91: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 77

out of atomic sentences. When we are dealing witha sentence other than an atomic sentence, we cansee that there must be some sentential connectivethat was introduced last, when constructing thesentence. We call that connective the main logicaloperator of the sentence. In the case of ‘¬¬¬D ’,the main logical operator is the very first ‘¬’ sign. Inthe case of ‘(P ∧ ¬(¬Q ∨ R))’, the main logicaloperator is ‘∧’. In the case of ‘((¬E ∨ F ) → ¬¬G)’, themain logical operator is ‘→’.

The recursive structure of sentences in TFL willbe important when we consider the circumstancesunder which a particular sentence would be true orfalse. The sentence ‘¬¬¬D ’ is true if and only if thesentence ‘¬¬D ’ is false, and so on through thestructure of the sentence, until we arrive at theatomic components. We will return to this point inPart III.

The recursive structure of sentences in TFLalso allows us to give a formal definition of thescope of a negation (mentioned in §5.2). The scopeof a ‘¬’ is the subsentence for which ‘¬’ is the main

Page 92: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 78

logical operator. Consider a sentence like:(P ∧ (¬(R ∧ B) ↔ Q ))

which was constructed by conjoining ‘P ’ with‘(¬(R ∧ B) ↔ Q )’. This last sentence was constructedby placing a biconditional between ‘¬(R ∧ B)’ and‘Q ’. The former of these sentences—a subsentenceof our original sentence—is a sentence for which ‘¬’is the main logical operator. So the scope of thenegation is just ‘¬(R ∧ B)’. More generally:The scope of a connective (in a sentence) isthe subsentence for which that connective isthe main logical operator.

6.3 Bracketing conventions

Strictly speaking, the brackets in ‘(Q ∧ R)’ are anindispensable part of the sentence. Part of this isbecause we might use ‘(Q ∧ R)’ as a subsentence ina more complicated sentence. For example, wemight want to negate ‘(Q ∧ R)’, obtaining ‘¬(Q ∧ R)’.If we just had ‘Q ∧ R ’ without the brackets and put anegation in front of it, we would have ‘¬Q ∧ R ’. It is

Page 93: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 79

most natural to read this as meaning the same thingas ‘(¬Q ∧ R)’, but as we saw in §5.2, this is verydifferent from ‘¬(Q ∧ R)’.

Strictly speaking, then, ‘Q ∧ R ’ is not asentence. It is a mere expression.

When working with TFL, however, it will makeour lives easier if we are sometimes a little lessthan strict. So, here are some convenientconventions.

First, we allow ourselves to omit the outermostbrackets of a sentence. Thus we allow ourselves towrite ‘Q ∧ R ’ instead of the sentence ‘(Q ∧ R)’.However, we must remember to put the bracketsback in, when we want to embed the sentence into amore complicated sentence!

Second, it can be a bit painful to stare at longsentences with many nested pairs of brackets. Tomake things a bit easier on the eyes, we will allowourselves to use square brackets, ‘[’ and ‘]’, insteadof rounded ones. So there is no logical differencebetween ‘(P ∨ Q )’ and ‘[P ∨ Q ]’, for example.

Page 94: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 80

Combining these two conventions, we canrewrite the unwieldy sentence

(((H → I ) ∨ (I → H )) ∧ (J ∨ K ))

rather more clearly as follows:[(H → I ) ∨ (I → H )

]∧ (J ∨ K )

The scope of each connective is now much easier topick out.

Practice exercises

A. For each of the following: (a) Is it a sentence ofTFL, strictly speaking? (b) Is it a sentence of TFL,allowing for our relaxed bracketing conventions?

1. (A)2. J374 ∨ ¬J3743. ¬¬¬¬F4. ¬ ∧ S5. (G ∧ ¬G)6. (A → (A ∧ ¬F )) ∨ (D ↔ E )7. [(Z ↔ S) → W ] ∧ [J ∨ X ]8. (F ↔ ¬D → J) ∨ (C ∧ D )

Page 95: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 6. Sentences of TFL 81

B. Are there any sentences of TFL that contain noatomic sentences? Explain your answer.C. What is the scope of each connective in thesentence [

(H → I ) ∨ (I → H )]∧ (J ∨ K )

Page 96: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7

Use andmention

In this Part, we have talked a lot about sentences.So we should pause to explain an important, andvery general, point.

7.1 Quotation conventions

Consider these two sentences:

• Justin Trudeau is the Prime Minister.• The expression ‘Justin Trudeau’ is composedof two uppercase letters and eleven lowercaseletters

82

Page 97: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7. Use and mention 83

When we want to talk about the Prime Minister, weuse his name. When we want to talk about thePrime Minister’s name, we mention that name,which we do by putting it in quotation marks.

There is a general point here. When we want totalk about things in the world, we just use words.When we want to talk about words, we typicallyhave to mention those words. We need to indicatethat we are mentioning them, rather than usingthem. To do this, some convention is needed. Wecan put them in quotation marks, or display themcentrally in the page (say). So this sentence:

• ‘Justin Trudeau’ is the Prime Minister.

says that some expression is the Prime Minister.That’s false. The man is the Prime Minister; hisname isn’t. Conversely, this sentence:

• Justin Trudeau is composed of two uppercaseletters and eleven lowercase letters.

also says something false: Justin Trudeau is a man,

Page 98: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7. Use and mention 84

made of flesh rather than letters. One finalexample:

• “ ‘Justin Trudeau’ ” is the name of ‘JustinTrudeau’.

On the left-hand-side, here, we have the name of aname. On the right hand side, we have a name.Perhaps this kind of sentence only occurs in logictextbooks, but it is true nonetheless.

Those are just general rules for quotation, andyou should observe them carefully in all your work!To be clear, the quotation-marks here do notindicate indirect speech. They indicate that you aremoving from talking about an object, to talkingabout the name of that object.

7.2 Object language andmetalanguage

These general quotation conventions are ofparticular importance for us. After all, we are

Page 99: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7. Use and mention 85

describing a formal language here, TFL, and so weare often mentioning expressions from TFL.

When we talk about a language, the languagethat we are talking about is called the objectlanguage. The language that we use to talk aboutthe object language is called the metalanguage.

For the most part, the object language in thischapter has been the formal language that we havebeen developing: TFL. The metalanguage isEnglish. Not conversational English exactly, butEnglish supplemented with some additionalvocabulary which helps us to get along.

Now, we have used italic uppercase letters foratomic sentences of TFL:

A , B , C , Z , A1 , B4 , A25 , J375 , . . .These are sentences of the object language (TFL).They are not sentences of English. So we must notsay, for example:

• D is an atomic sentence of TFL.

Page 100: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7. Use and mention 86

Obviously, we are trying to come out with anEnglish sentence that says something about theobject language (TFL), but ‘D ’ is a sentence of TFL,and not part of English. So the preceding isgibberish, just like:

• Schnee ist weiß is a German sentence.

What we surely meant to say, in this case, is:

• ‘Schnee ist weiß’ is a German sentence.

Equally, what we meant to say above is just:

• ‘D ’ is an atomic sentence of TFL.

The general point is that, whenever we want to talkin English about some specific expression of TFL,we need to indicate that we are mentioning theexpression, rather than using it. We can eitherdeploy quotation marks, or we can adopt somesimilar convention, such as placing it centrally inthe page.

Page 101: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7. Use and mention 87

7.3 Metavariables

However, we do not just want to talk about specificexpressions of TFL. We also want to be able to talkabout any arbitrary sentence of TFL. Indeed, wehad to do this in §6.2, when we presented therecursive definition of a sentence of TFL. We useduppercase script letters to do this, namely:

A,B, C, D, . . .These symbols do not belong to TFL. Rather, theyare part of our (augmented) metalanguage that weuse to talk about any expression of TFL. To repeatthe second clause of the recursive definition of asentence of TFL, we said:2. If A is a sentence, then ¬A is a sentence.

This talks about arbitrary sentences. If we hadinstead offered:

• If ‘A ’ is a sentence, then ‘¬A ’ is a sentence.this would not have allowed us to determinewhether ‘¬B ’ is a sentence. To emphasize, then:

Page 102: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7. Use and mention 88

‘A’ is a symbol (called a metavariable) in aug-mented English, which we use to talk about anyTFL expression. ‘A ’ is a particular atomic sen-tence of TFL.But this last example raises a further

complication for our quotation conventions. Wehave not included any quotation marks in thesecond clause of our recursive definition. Shouldwe have done so?

The problem is that the expression on theright-hand-side of this rule is not a sentence ofEnglish, since it contains ‘¬’. So we might try towrite:

2′. If A is a sentence, then ‘¬A’ is a sentence.

But this is no good: ‘¬A’ is not a TFL sentence,since ‘A’ is a symbol of (augmented) English ratherthan a symbol of TFL.

What we really want to say is something likethis:

Page 103: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7. Use and mention 89

2′′. If A is a sentence, then the result ofconcatenating the symbol ‘¬’ with the sentenceA is a sentence.

This is impeccable, but rather long-winded. But wecan avoid long-windedness by creating our ownconventions. We can perfectly well stipulate that anexpression like ‘¬A’ should simply be read directlyin terms of rules for concatenation. So, officially,the metalanguage expression ‘¬A’ simplyabbreviates:

the result of concatenating the symbol ‘¬’with the sentence A

and similarly, for expressions like ‘(A∧B)’, ‘(A∨B)’,etc.

7.4 Quotation conventions forarguments

One of our main purposes for using TFL is to studyarguments, and that will be our concern in Parts III

Page 104: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 7. Use and mention 90

and IV. In English, the premises of an argument areoften expressed by individual sentences, and theconclusion by a further sentence. Since we cansymbolize English sentences, we can symbolizeEnglish arguments using TFL. Thus we might askwhether the argument whose premises are the TFLsentences ‘A ’ and ‘A → C ’, and whose conclusion isthe TFL sentence ‘C ’, is valid. However, it is quite amouthful to write that every time. So instead we willintroduce another bit of abbreviation. This:

A1 ,A2 , . . . ,An .Û. Cabbreviates:

the argument with premises A1 ,A2 , . . . ,Anand conclusion C

To avoid unnecessary clutter, we will not regard thisas requiring quotation marks around it. (Note, then,that ‘.Û. ’ is a symbol of our augmentedmetalanguage, and not a new symbol of TFL.)

Page 105: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Part III

Truth tables

91

Page 106: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 8

Characteristictruth tables

Any non-atomic sentence of TFL is composed ofatomic sentences with sentential connectives. Thetruth value of the compound sentence depends onlyon the truth value of the atomic sentences thatcomprise it. In order to know the truth value of‘(D ∧ E )’, for instance, you only need to know thetruth value of ‘D ’ and the truth value of ‘E ’.

We introduced five connectives in chapter 5, sowe simply need to explain how they map betweentruth values. For convenience, we will abbreviate‘True’ with ‘T’ and ‘False’ with ‘F’. (But just to beclear, the two truth values are True and False; the

92

Page 107: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 8. Characteristic truth tables 93

truth values are not letters!)Negation. For any sentence A: If A is true, then¬A is false. If ¬A is true, then A is false. We cansummarize this in the characteristic truth table fornegation:

A ¬A

T FF T

Conjunction. For any sentences A and B, A∧B istrue if and only if both A and B are true. We cansummarize this in the characteristic truth table forconjunction:

A B A∧B

T T TT F FF T FF F F

Note that conjunction is symmetrical. The truthvalue for A∧B is always the same as the truth valuefor B∧A.

Page 108: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 8. Characteristic truth tables 94

Disjunction. Recall that ‘∨’ always representsinclusive or. So, for any sentences A and B, A∨B

is true if and only if either A or B is true. We cansummarize this in the characteristic truth table fordisjunction:

A B A∨B

T T TT F TF T TF F F

Like conjunction, disjunction is symmetrical.Conditional. We’re just going to come clean andadmit it: Conditionals are a right old mess in TFL.Exactly how much of a mess they are isphilosophically contentious. We’ll discuss a fewof the subtleties in §§9.3 and 11.5. For now, we aregoing to stipulate the following: A→ B is false ifand only if A is true and B is false. We cansummarize this with a characteristic truth table forthe conditional.

Page 109: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 8. Characteristic truth tables 95

A B A→ B

T T TT F FF T TF F T

The conditional is asymmetrical. You cannot swapthe antecedent and consequent without changingthe meaning of the sentence, because A→ B has avery different truth table from B→ A.Biconditional. Since a biconditional is to be thesame as the conjunction of a conditional running ineach direction, we will want the truth table for thebiconditional to be:

A B A↔ B

T T TT F FF T FF F T

Unsurprisingly, the biconditional is symmetrical.

Page 110: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9

Truth-functionalconnectives

9.1 The idea oftruth-functionality

Let’s introduce an important idea.

96

Page 111: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 97

A connective is truth-functional iff the truthvalue of a sentence with that connective as itsmain logical operator is uniquely determinedby the truth value(s) of the constituent sen-tence(s).Every connective in TFL is truth-functional.

The truth value of a negation is uniquely determinedby the truth value of the unnegated sentence. Thetruth value of a conjunction is uniquely determinedby the truth value of both conjuncts. The truth valueof a disjunction is uniquely determined by the truthvalue of both disjuncts, and so on. To determine thetruth value of some TFL sentence, we only need toknow the truth value of its components.

This is what gives TFL its name: it istruth-functional logic.

In plenty of languages there are connectivesthat are not truth-functional. In English, forexample, we can form a new sentence from anysimpler sentence by prefixing it with ‘It isnecessarily the case that. . . ’. The truth value of this

Page 112: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 98

new sentence is not fixed solely by the truth valueof the original sentence. For consider two truesentences:

1. 2 + 2 = 42. Shostakovich wrote fifteen string quartets

Whereas it is necessarily the case that 2 + 2 = 4, itis not necessarily the case that Shostakovichwrote fifteen string quartets. If Shostakovich haddied earlier, he would have failed to finish Quartetno. 15; if he had lived longer, he might have writtena few more. So ‘It is necessarily the case that. . . ’ isa connective of English, but it is nottruth-functional.

9.2 Symbolizing versustranslating

All of the connectives of TFL are truth-functional,but more than that: they really do nothing but mapus between truth values.

Page 113: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 99

When we symbolize a sentence or an argumentin TFL, we ignore everything besides thecontribution that the truth values of a componentmight make to the truth value of the whole. Thereare subtleties to our ordinary claims that far outstriptheir mere truth values. Sarcasm; poetry; snideimplicature; emphasis; these are important parts ofeveryday discourse, but none of this is retained inTFL. As remarked in §5, TFL cannot capture thesubtle differences between the following Englishsentences:

1. Dana is a logician and Dana is a nice person2. Although Dana is a logician, Dana is a niceperson

3. Dana is a logician despite being a nice person4. Dana is a nice person, but also a logician5. Dana’s being a logician notwithstanding, he isa nice person

All of the above sentences will be symbolized withthe same TFL sentence, perhaps ‘L ∧ N ’.

We keep saying that we use TFL sentences to

Page 114: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 100

symbolize English sentences. Many othertextbooks talk about translating English sentencesinto TFL. However, a good translation shouldpreserve certain facets of meaning, and—as wehave just pointed out—TFL just cannot do that. Thisis why we will speak of symbolizing Englishsentences, rather than of translating them.

This affects how we should understand oursymbolization keys. Consider a key like:

L: Dana is a logician.N : Dana is a nice person.

Other textbooks will understand this as a stipulationthat the TFL sentence ‘L ’ should mean that Dana isa logician, and that the TFL sentence ‘N ’ shouldmean that Dana is a nice person, but TFL just istotally unequipped to deal with meaning. Thepreceding symbolization key is doing no more andno less than stipulating that the TFL sentence ‘L ’should take the same truth value as the Englishsentence ‘Dana is a logician’ (whatever that mightbe), and that the TFL sentence ‘N ’ should take the

Page 115: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 101

same truth value as the English sentence ‘Dana is anice person’ (whatever that might be).When we treat a TFL sentence as symbolizingan English sentence, we are stipulating that theTFL sentence is to take the same truth value asthat English sentence.

9.3 Indicative versussubjunctive conditionals

We want to bring home the point that TFL can onlydeal with truth functions by considering the case ofthe conditional. When we introduced thecharacteristic truth table for the material conditionalin §8, we did not say anything to justify it. Let’s nowoffer a justification, which follows DorothyEdgington.1

Suppose that Lara has drawn some shapes on apiece of paper, and coloured some of them in. We

1Dorothy Edgington, ‘Conditionals’, 2006, in the Stan-ford Encyclopedia of Philosophy (http://plato.stanford.edu/entries/conditionals/).

Page 116: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 102

have not seen them, but nevertheless claim:

If any shape is grey, then that shape isalso circular.

As it happens, Lara has drawn the following:

A C D

In this case, our claim is surely true. Shapes C andD are not grey, and so can hardly presentcounterexamples to our claim. Shape A is grey,but fortunately it is also circular. So my claim hasno counterexamples. It must be true. That meansthat each of the following instances of our claimmust be true too:

• If A is grey, then it is circular (true antecedent,true consequent)

• If C is grey, then it is circular(false antecedent,true consequent)

• If D is grey, then it is circular (falseantecedent, false consequent)

Page 117: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 103

However, if Lara had drawn a fourth shape, thus:

A B C D

then our claim would be false. So it must be thatthis claim is false:

• If B is grey, then it is circular (true antecedent,false consequent)

Now, recall that every connective of TFL has to betruth-functional. This means that merely the truthvalues of the antecedent and consequent mustuniquely determine the truth value of theconditional as a whole. Thus, from the truth valuesof our four claims—which provide us with allpossible combinations of truth and falsity inantecedent and consequent—we can read off thetruth table for the material conditional.

What this argument shows is that ‘→’ is thebest candidate for a truth-functional conditional.Otherwise put, it is the best conditional that TFL

Page 118: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 104

can provide. But is it any good, as a surrogate forthe conditionals we use in everyday language?Consider two sentences:

1. If Mitt Romney had won the 2012 election,then he would have been the 45th President ofthe USA.

2. If Mitt Romney had won the 2012 election,then he would have turned into a helium-filledballoon and floated away into the night sky.

Sentence 1 is true; sentence 2 is false, but bothhave false antecedents and false consequents. Sothe truth value of the whole sentence is not uniquelydetermined by the truth value of the parts. Do notjust blithely assume that you can adequatelysymbolize an English ‘if . . . , then . . . ’ with TFL’s‘→’.

The crucial point is that sentences 1 and 2employ subjunctive conditionals, rather thanindicative conditionals. They ask us to imaginesomething contrary to fact—Mitt Romney lost the2012 election—and then ask us to evaluate what

Page 119: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 9. Truth-functional connectives 105

would have happened in that case. Suchconsiderations just cannot be tackled using ‘→’.

We will say more about the difficulties withconditionals in §11.5. For now, we will contentourselves with the observation that ‘→’ is the onlycandidate for a truth-functional conditional for TFL,but that many English conditionals cannot berepresented adequately using ‘→’. TFL is anintrinsically limited language.

Page 120: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10

Completetruth tables

So far, we have considered assigning truth valuesto TFL sentences indirectly. We have said, forexample, that a TFL sentence such as ‘B ’ is to takethe same truth value as the English sentence ‘BigBen is in London’ (whatever that truth value maybe), but we can also assign truth values directly.We can simply stipulate that ‘B ’ is to be true, orstipulate that it is to be false.A valuation is any assignment of truth valuesto particular atomic sentences of TFL.The power of truth tables lies in the following.

106

Page 121: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 107

Each row of a truth table represents a possiblevaluation. The entire truth table represents allpossible valuations; thus the truth table provides uswith a means to calculate the truth values ofcomplex sentences, on each possible valuation.This is easiest to explain by example.

10.1 A worked example

Consider the sentence ‘(H ∧ I ) → H ’. There are fourpossible ways to assign True and False to theatomic sentence ‘H ’ and ‘I ’—four possiblevaluations—which we can represent as follows:

H I (H ∧ I )→HT TT FF TF F

To calculate the truth value of the entire sentence‘(H ∧ I ) → H ’, we first copy the truth values for theatomic sentences and write them underneath theletters in the sentence:

Page 122: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 108

H I (H ∧ I )→HT T T T TT F T F TF T F T FF F F F F

Now consider the subsentence ‘(H ∧ I )’. This is aconjunction, (A∧B), with ‘H ’ as A and with ‘I ’ as B.The characteristic truth table for conjunction givesthe truth conditions for any sentence of the form(A∧B), whatever A and Bmight be. It representsthe point that a conjunction is true iff both conjunctsare true. In this case, our conjuncts are just ‘H ’ and‘I ’. They are both true on (and only on) the first lineof the truth table. Accordingly, we can calculate thetruth value of the conjunction on all four rows.

A ∧B

H I (H ∧ I )→HT T T T T TT F T F F TF T F F T FF F F F F F

Page 123: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 109

Now, the entire sentence that we are dealing with isa conditional, A→ B, with ‘(H ∧ I )’ as A and with ‘H ’as B. On the second row, for example, ‘(H ∧ I )’ isfalse and ‘H ’ is true. Since a conditional is truewhen the antecedent is false, we write a ‘T’ in thesecond row underneath the conditional symbol. Wecontinue for the other three rows and get this:

A →B

H I (H ∧ I )→HT T T T TT F F T TF T F T FF F F T F

The conditional is the main logical operator of thesentence, so the column of ‘T’s underneath theconditional tells us that the sentence ‘(H ∧ I ) → H ’is true regardless of the truth values of ‘H ’ and ‘I ’.They can be true or false in any combination, andthe compound sentence still comes out true. Sincewe have considered all four possible assignmentsof truth and falsity to ‘H ’ and ‘I ’—since, that is, we

Page 124: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 110

have considered all the different valuations—wecan say that ‘(H ∧ I ) → H ’ is true on every valuation.

In this example, we have not repeated all of theentries in every column in every successive table.When actually writing truth tables on paper,however, it is impractical to erase whole columns orrewrite the whole table for every step. Although it ismore crowded, the truth table can be written in thisway:

H I (H ∧ I )→HT T T T T T TT F T F F T TF T F F T T FF F F F F T F

Most of the columns underneath the sentence areonly there for bookkeeping purposes. The columnthat matters most is the column underneath themain logical operator for the sentence, since thistells you the truth value of the entire sentence. Wehave emphasized this, by putting this column inbold. When you work through truth tables yourself,

Page 125: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 111

you should similarly emphasize it (perhaps byunderlining).

10.2 Building complete truthtables

A complete truth table has a line for everypossible assignment of True and False to therelevant atomic sentences. Each line represents avaluation, and a complete truth table has a line forall the different valuations.

The size of the complete truth table depends onthe number of different atomic sentences in thetable. A sentence that contains only one atomicsentence requires only two rows, as in thecharacteristic truth table for negation. This is trueeven if the same letter is repeated many times, asin the sentence ‘[(C ↔ C ) → C ] ∧ ¬(C → C )’. Thecomplete truth table requires only two linesbecause there are only two possibilities: ‘C ’ can betrue or it can be false. The truth table for thissentence looks like this:

Page 126: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 112

C [(C↔C )→C ]∧¬(C→C )T T T T T T FF T T TF F T F F F FF F T F

Looking at the column underneath the main logicaloperator, we see that the sentence is false on bothrows of the table; i.e., the sentence is falseregardless of whether ‘C ’ is true or false. It is falseon every valuation.

A sentence that contains two atomic sentencesrequires four lines for a complete truth table, as inthe characteristic truth tables for our binaryconnectives, and as in the complete truth table for‘(H ∧ I ) → H ’.

A sentence that contains three atomicsentences requires eight lines:

Page 127: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 113

M N P M ∧(N ∨P )T T T T T T T TT T F T T T T FT F T T T F T TT F F T F F F FF T T F F T T TF T F F F T T FF F T F F F T TF F F F F F F F

From this table, we know that the sentence‘M ∧ (N ∨ P )’ can be true or false, depending on thetruth values of ‘M ’, ‘N ’, and ‘P ’.

A complete truth table for a sentence thatcontains four different atomic sentences requires 16lines. Five letters, 32 lines. Six letters, 64 lines.And so on. To be perfectly general: If a completetruth table has n different atomic sentences, then itmust have 2n lines.

In order to fill in the columns of a completetruth table, begin with the right-most atomicsentence and alternate between ‘T’ and ‘F’. In the

Page 128: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 114

next column to the left, write two ‘T’s, write two ‘F’s,and repeat. For the third atomic sentence, write four‘T’s followed by four ‘F’s. This yields an eight linetruth table like the one above. For a 16 line truthtable, the next column of atomic sentences shouldhave eight ‘T’s followed by eight ‘F’s. For a 32 linetable, the next column would have 16 ‘T’s followedby 16 ‘F’s, and so on.

10.3 More about brackets

Consider these two sentences:((A ∧ B) ∧ C )

(A ∧ (B ∧ C ))

These are truth functionally equivalent.Consequently, it will never make any differencefrom the perspective of truth value – which is allthat TFL cares about (see §9) – which of the twosentences we assert (or deny). Even though theorder of the brackets does not matter as to theirtruth, we should not just drop them. The expression

A ∧ B ∧ C

Page 129: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 115

is ambiguous between the two sentences above.The same observation holds for disjunctions. Thefollowing sentences are logically equivalent:

((A ∨ B) ∨ C )

(A ∨ (B ∨ C ))

But we should not simply write:A ∨ B ∨ C

In fact, it is a specific fact about the characteristictruth table of ∨ and ∧ that guarantees that any twoconjunctions (or disjunctions) of the samesentences are truth functionally equivalent,however you place the brackets. But be careful.These two sentences have different truth tables:

((A → B) → C )

(A → (B → C ))

So if we were to write:A → B → C

it would be dangerously ambiguous. So we must notdo the same with conditionals. Equally, these

Page 130: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 116

sentences have different truth tables:((A ∨ B) ∧ C )

(A ∨ (B ∧ C ))

So if we were to write:A ∨ B ∧ C

it would be dangerously ambiguous. Never writethis. The moral is: never drop brackets.

Practice exercises

A. Offer complete truth tables for each of thefollowing:

1. A → A2. C → ¬C3. (A ↔ B) ↔ ¬(A ↔ ¬B)4. (A → B) ∨ (B → A)5. (A ∧ B) → (B ∨ A)6. ¬(A ∨ B) ↔ (¬A ∧ ¬B)7. [(A ∧ B) ∧ ¬(A ∧ B)

]∧ C

8. [(A ∧ B) ∧ C ] → B

Page 131: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 117

9. ¬[(C ∨ A) ∨ B]B. Check all the claims made in introducing the newnotational conventions in §10.3, i.e. show that:1. ‘((A ∧ B) ∧ C )’ and ‘(A ∧ (B ∧ C ))’ have the sametruth table

2. ‘((A ∨ B) ∨ C )’ and ‘(A ∨ (B ∨ C ))’ have the sametruth table

3. ‘((A ∨ B) ∧ C )’ and ‘(A ∨ (B ∧ C ))’ do not have thesame truth table

4. ‘((A → B) → C )’ and ‘(A → (B → C ))’ do nothave the same truth table

Also, check whether:5. ‘((A ↔ B) ↔ C )’ and ‘(A ↔ (B ↔ C ))’ have thesame truth table

C. Write complete truth tables for the followingsentences and mark the column that represents thepossible truth values for the whole sentence.

1. ¬(S ↔ (P → S))

Page 132: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 10. Complete truth tables 118

2. ¬[(X ∧ Y ) ∨ (X ∨ Y )]3. (A → B) ↔ (¬B ↔ ¬A)4. [C ↔ (D ∨ E )] ∧ ¬C5. ¬(G ∧ (B ∧ H )) ↔ (G ∨ (B ∨ H ))

D. Write complete truth tables for the followingsentences and mark the column that represents thepossible truth values for the whole sentence.

1. (D ∧ ¬D ) → G2. (¬P ∨ ¬M ) ↔ M3. ¬¬(¬A ∧ ¬B)4. [(D ∧ R) → I ] → ¬(D ∨ R)5. ¬[(D ↔ O ) ↔ A] → (¬D ∧ O )

If you want additional practice, you canconstruct truth tables for any of the sentences andarguments in the exercises for the previous chapter.

Page 133: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11

Semanticconcepts

In the previous section, we introduced the idea of avaluation and showed how to determine the truthvalue of any TFL sentence, on any valuation, usinga truth table. In this section, we will introduce somerelated ideas, and show how to use truth tables totest whether or not they apply.

11.1 Tautologies andcontradictions

In §3, we explained necessary truth andnecessary falsity. Both notions have surrogates in

119

Page 134: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 120

TFL. We will start with a surrogate for necessarytruth.

A is a tautology iff it is true on every valuation.We can determine whether a sentence is a

tautology just by using truth tables. If the sentenceis true on every line of a complete truth table, thenit is true on every valuation, so it is a tautology. Inthe example of §10, ‘(H ∧ I ) → H ’ is a tautology.

This is only, though, a surrogate for necessarytruth. There are some necessary truths that wecannot adequately symbolize in TFL. An example is‘2 + 2 = 4 ’. This must be true, but if we try tosymbolize it in TFL, the best we can offer is anatomic sentence, and no atomic sentence is atautology. Still, if we can adequately symbolizesome English sentence using a TFL sentence whichis a tautology, then that English sentenceexpresses a necessary truth.

We have a similar surrogate for necessaryfalsity:

Page 135: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 121

A is a contradiction iff it is false on every val-uation.We can determine whether a sentence is a

contradiction just by using truth tables. If thesentence is false on every line of a complete truthtable, then it is false on every valuation, so it is acontradiction. In the example of §10,‘[(C ↔ C ) → C ] ∧ ¬(C → C )’ is a contradiction.

11.2 Logical equivalence

Here is a similar useful notion:A and B are logically equivalent iff, for everyvaluation, their truth values agree, i.e. if thereis no valuation in which they have opposite truthvalues.We have already made use of this notion, in

effect, in §10.3; the point was that ‘(A ∧ B) ∧ C ’ and‘A ∧ (B ∧ C )’ are logically equivalent. Again, it iseasy to test for logical equivalence using truthtables. Consider the sentences ‘¬(P ∨ Q )’ and‘¬P ∧ ¬Q ’. Are they logically equivalent? To find

Page 136: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 122

out, we construct a truth table.P Q ¬(P ∨Q ) ¬P ∧¬QT T F T T T F T FF TT F F T T F F T FT FF T F F T T T F FF TF F T F F F T F TT F

Look at the columns for the main logical operators;negation for the first sentence, conjunction for thesecond. On the first three rows, both are false. Onthe final row, both are true. Since they match onevery row, the two sentences are logicallyequivalent.

11.3 Consistency

In §3, we said that sentences are jointly possible iffit is possible for all of them to be true at once. Wecan offer a surrogate for this notion too:

A1 ,A2 , . . . ,An are jointly logically consis-tent iff there is some valuation which makesthem all true.

Page 137: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 123

Derivatively, sentences are jointly logicallyinconsistent if there is no valuation that makes themall true. Again, it is easy to test for joint logicalconsistency using truth tables.

11.4 Entailment and validity

The following idea is closely related to that of jointconsistency:The sentences A1 ,A2 , . . . ,An entail the sen-tence C if there is no valuation of the atomicsentences which makes all of A1 ,A2 , . . . ,Antrue and C false.Again, it is easy to test this with a truth table.

Let us check whether ‘¬L → (J ∨ L)’ and ‘¬L ’ entail‘J ’, we simply need to check whether there is anyvaluation which makes both ‘¬L → (J ∨ L)’ and ‘¬L ’true whilst making ‘J ’ false. So we use a truth table:

Page 138: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 124

J L ¬ L→(J ∨L) ¬ L JT T FT T T T T FT TT F TF T T T F TF TF T FT T F T T FT FF F TF F F F F TF F

The only row on which both‘¬L → (J ∨ L)’ and ‘¬L ’ aretrue is the second row, and that is a row on which ‘J ’is also true. So ‘¬L → (J ∨ L)’ and ‘¬L ’ entail ‘J ’.

We now make an important observation:If A1 ,A2 , . . . ,An entail C, then A1 ,A2 , . . . ,An .Û.C is valid.Here’s why. If A1 ,A2 , . . . ,An entail C, then

there is no valuation which makes all ofA1 ,A2 , . . . ,An true whilst making C false. Thismeans that it is logically impossible forA1 ,A2 , . . . ,An all to be true whilst C is false. Butthis is just what it takes for an argument, withpremises A1 ,A2 , . . . ,An and conclusion C, to bevalid!

In short, we have a way to test for the validity of

Page 139: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 125

English arguments. First, we symbolize them inTFL, as having premises A1 ,A2 , . . . ,An , andconclusion C. Then we test for entailment usingtruth tables.

11.5 The limits of these tests

We have reached an important milestone: a test forthe validity of arguments! However, we should notget carried away just yet. It is important tounderstand the limits of our achievement. We willillustrate these limits with three examples.

First, consider the argument:

1. Daisy has four legs. So Daisy has more thantwo legs.

To symbolize this argument in TFL, we would haveto use two different atomic sentences – perhaps ‘F ’and ‘T ’ – for the premise and the conclusionrespectively. Now, it is obvious that ‘F ’ does notentail ‘T ’. The English argument surely seemsvalid, though!

Page 140: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 126

Second, consider the sentence:

2. Jan is neither bald nor not-bald.

To symbolize this sentence in TFL, we would offersomething like ‘¬J ∧ ¬¬J ’. This a contradiction(check this with a truth-table), but sentence 2 doesnot itself seem like a contradiction; for we mighthave happily go on to add ‘Jan is on the borderlineof baldness’!

Third, consider the following sentence:

3. It’s not the case that, if God exists, Sheanswers malevolent prayers.

Symbolizing this in TFL, we would offer somethinglike ‘¬(G → M )’. Now, ‘¬(G → M )’ entails ‘G ’ (again,check this with a truth table). So if we symbolizesentence 3 in TFL, it seems to entail that God exists.But that’s strange: surely even an atheist canaccept sentence 3, without contradicting herself!

Page 141: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 127

One lesson of this is that the symbolization of 3as ‘¬(G → M )’ shows that 3 does not express whatwe intend. Perhaps we should rephrase it as

3. If God exists, She does not answer malevolentprayers.

and symbolize 3 as ‘G → ¬M ’. Now, if atheists areright, and there is no God, then ‘G ’ is false and so‘G → ¬M ’ is true, and the puzzle disappears.However, if ‘G ’ is false, ‘G → M ’, i.e. ‘If God exists,She answers malevolent prayers’, is also true!

In different ways, these four examples highlightsome of the limits of working with a language (likeTFL) that can only handle truth-functionalconnectives. Moreover, these limits give rise tosome interesting questions in philosophical logic.The case of Jan’s baldness (or otherwise) raises thegeneral question of what logic we should use whendealing with vague discourse. The case of theatheist raises the question of how to deal with the(so-called) paradoxes of the materialconditional. Part of the purpose of this course is to

Page 142: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 128

equip you with the tools to explore these questionsof philosophical logic. But we have to walk beforewe can run; we have to become proficient in usingTFL, before we can adequately discuss its limits,and consider alternatives.

11.6 The double-turnstile

We are going to use the notion of entailment rathera lot in this course. It will help us, then, tointroduce a symbol that abbreviates it. Rather thansaying that the TFL sentences A1 ,A2 , . . . and An

together entail C, we will abbreviate this by:A1 ,A2 , . . . ,An � C

The symbol ‘�’ is known as the double-turnstile,since it looks like a turnstile with two horizontalbeams.

Let me be clear. ‘�’ is not a symbol of TFL.Rather, it is a symbol of our metalanguage,augmented English (recall the difference betweenobject language and metalanguage from §7). So themetalanguage sentence:

Page 143: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 129

• P , P → Q � Q

is just an abbreviation for the English sentence:

• The TFL sentences ‘P ’ and ‘P → Q ’ entail ‘Q ’

Note that there is no limit on the number of TFLsentences that can be mentioned before the symbol‘�’. Indeed, we can even consider the limiting case:

� C

This says that there is no valuation which makes allthe sentences mentioned on the left hand side of ‘�’true whilst making C false. Since no sentences arementioned on the left hand side of ‘�’ in this case,this just means that there is no valuation whichmakes C false. Otherwise put, it says that everyvaluation makes C true. Otherwise put, it says thatC is a tautology. Equally:

A �

says that A is a contradiction.

Page 144: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 130

11.7 ‘�’ versus ‘→’

We now want to compare and contrast ‘�’ and ‘→’.Observe: A � C iff there is no valuation of the

atomic sentences that makes A true and C false.Observe: A→ C is a tautology iff there is no

valuation of the atomic sentences that makes A→ C

false. Since a conditional is true except when itsantecedent is true and its consequent false, A→ C

is a tautology iff there is no valuation that makes A

true and C false.Combining these two observations, we see that

A→ C is a tautology iff A � C. But there is a really,really important difference between ‘�’ and ‘→’:‘→’ is a sentential connective of TFL.‘�’ is a symbol of augmented English.Indeed, when ‘→’ is flanked with two TFL

sentences, the result is a longer TFL sentence. Bycontrast, when we use ‘�’, we form a metalinguisticsentence that mentions the surrounding TFLsentences.

Page 145: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 131

Practice exercises

A. Revisit your answers to §10A. Determine whichsentences were tautologies, which werecontradictions, and which were neither tautologiesnor contradictions.

B. Use truth tables to determine whether thesesentences are jointly consistent, or jointlyinconsistent:

1. A → A, ¬A → ¬A, A ∧ A, A ∨ A2. A ∨ B , A → C , B → C3. B ∧ (C ∨ A), A → B , ¬(B ∨ C )4. A ↔ (B ∨ C ), C → ¬A, A → ¬B

C. Use truth tables to determine whether eachargument is valid or invalid.

1. A → A .Û. A2. A → (A ∧ ¬A) .Û. ¬A3. A ∨ (B → A) .Û. ¬A → ¬B4. A ∨ B , B ∨ C , ¬A .Û. B ∧ C

Page 146: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 132

5. (B ∧ A) → C , (C ∧ A) → B .Û. (C ∧ B) → A

D. Determine whether each sentence is a tautology,a contradiction, or a contingent sentence, using acomplete truth table.

1. ¬B ∧ B2. ¬D ∨ D3. (A ∧ B) ∨ (B ∧ A)4. ¬[A → (B → A)]

5. A ↔ [A → (B ∧ ¬B)]6. [(A ∧ B) ↔ B] → (A → B)

E. Determine whether each the following sentencesare logically equivalent using complete truth tables.If the two sentences really are logically equivalent,write “equivalent.” Otherwise write, “Notequivalent.”

1. A and ¬A2. A ∧ ¬A and ¬B ↔ B3. [(A ∨ B) ∨ C ] and [A ∨ (B ∨ C )]

Page 147: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 133

4. A ∨ (B ∧ C ) and (A ∨ B) ∧ (A ∨ C )5. [A ∧ (A ∨ B)] → B and A → B

F. Determine whether each the following sentencesare logically equivalent using complete truth tables.If the two sentences really are equivalent, write“equivalent.” Otherwise write, “not equivalent.”

1. A → A and A ↔ A2. ¬(A → B) and ¬A → ¬B3. A ∨ B and ¬A → B4. (A → B) → C and A → (B → C )5. A ↔ (B ↔ C ) and A ∧ (B ∧ C )

G. Determine whether each collection of sentencesis jointly consistent or jointly inconsistent using acomplete truth table.

1. A ∧ ¬B , ¬(A → B), B → A

2. A ∨ B , A → ¬A, B → ¬B3. ¬(¬A ∨ B), A → ¬C , A → (B → C )

4. A → B , A ∧ ¬B5. A → (B → C ), (A → B) → C , A → C

Page 148: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 134

H. Determine whether each collection of sentencesis jointly consistent or jointly inconsistent, using acomplete truth table.

1. ¬B , A → B , A2. ¬(A ∨ B), A ↔ B , B → A

3. A ∨ B , ¬B , ¬B → ¬A4. A ↔ B , ¬B ∨ ¬A, A → B

5. (A ∨ B) ∨ C , ¬A ∨ ¬B , ¬C ∨ ¬B

I. Determine whether each argument is valid orinvalid, using a complete truth table.

1. A → B , B .Û. A2. A ↔ B , B ↔ C .Û. A ↔ C3. A → B , A → C .Û. B → C4. A → B , B → A .Û. A ↔ B

J. Determine whether each argument is valid orinvalid, using a complete truth table.

1. A ∨ [A → (A ↔ A)

] .Û. A

Page 149: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 135

2. A ∨ B , B ∨ C , ¬B .Û. A ∧ C3. A → B , ¬A .Û. ¬B4. A, B .Û. ¬(A → ¬B)5. ¬(A ∧ B), A ∨ B , A ↔ B .Û. C

K. Answer each of the questions below and justifyyour answer.

1. Suppose that A and B are logically equivalent.What can you say about A↔ B?

2. Suppose that (A∧B) → C is neither a tautologynor a contradiction. What can you say aboutwhether A,B .Û. C is valid?

3. Suppose that A, B and C are jointlyinconsistent. What can you say about(A∧B∧ C)?

4. Suppose that A is a contradiction. What canyou say about whether A,B � C?

5. Suppose that C is a tautology. What can yousay about whether A,B � C?

6. Suppose that A and B are logically equivalent.What can you say about (A∨B)?

Page 150: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 11. Semantic concepts 136

7. Suppose that A and B are not logicallyequivalent. What can you say about (A∨B)?

L. Consider the following principle:

• Suppose A and B are logically equivalent.Suppose an argument contains A (either as apremise, or as the conclusion). The validity ofthe argument would be unaffected, if wereplaced Awith B.

Is this principle correct? Explain your answer.

Page 151: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12

Truth tableshortcuts

With practice, you will quickly become adept atfilling out truth tables. In this section, we want togive you some permissible shortcuts to help youalong the way.

12.1 Working through truthtables

You will quickly find that you do not need to copythe truth value of each atomic sentence, but cansimply refer back to them. So you can speed thingsup by writing:

137

Page 152: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 138

P Q (P ∨Q )↔¬PT T T F FT F T F FF T T T TF F F F T

You also know for sure that a disjunction is truewhenever one of the disjuncts is true. So if you finda true disjunct, there is no need to work out the truthvalues of the other disjuncts. Thus you might offer:

P Q (¬P ∨¬Q )∨¬PT T F FF FFT F F TT TFF T TTF F TT

Equally, you know for sure that a conjunction isfalse whenever one of the conjuncts is false. So ifyou find a false conjunct, there is no need to workout the truth value of the other conjunct. Thus youmight offer:

Page 153: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 139

P Q ¬(P ∧¬Q )∧¬PT T FFT F FFF T T F TTF F T F TT

A similar short cut is available for conditionals. Youimmediately know that a conditional is true if eitherits consequent is true, or its antecedent is false.Thus you might present:

P Q ((P→Q )→P )→PT T TT F TF T T F TF F T F T

So ‘((P → Q ) → P ) → P ’ is a tautology. In fact, it isan instance of Peirce’s Law, named after CharlesSanders Peirce.

Page 154: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 140

12.2 Testing for validity andentailment

When we use truth tables to test for validity orentailment, we are checking for bad lines: lineswhere the premises are all true and the conclusionis false. Note:

• Any line where the conclusion is true is not abad line.

• Any line where some premise is false is not abad line.

Since all we are doing is looking for bad lines, weshould bear this in mind. So: if we find a line wherethe conclusion is true, we do not need to evaluateanything else on that line: that line definitely isn’tbad. Likewise, if we find a line where some premiseis false, we do not need to evaluate anything elseon that line.

With this in mind, consider how we might test

Page 155: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 141

the following for validity:¬L → (J ∨ L), ¬L .Û. J

The first thing we should do is evaluate theconclusion. If we find that the conclusion is true onsome line, then that is not a bad line. So we cansimply ignore the rest of the line. So at our firststage, we are left with something like:

J L ¬L→(J∨L) ¬L JT T TT F TF T ? ? FF F ? ? F

where the blanks indicate that we are not going tobother doing any more investigation (since the lineis not bad) and the question-marks indicate that weneed to keep investigating.

The easiest premise to evaluate is the second,so we next do that:

Page 156: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 142

J L ¬L→(J∨L) ¬ L JT T TT F TF T F FF F ? T F

Note that we no longer need to consider the thirdline on the table: it will not be a bad line, because(at least) one of premises is false on that line.Finally, we complete the truth table:

J L ¬ L→(J ∨L) ¬ L JT T TT F TF T F FF F T F F T F

The truth table has no bad lines, so the argument isvalid. (Any valuation on which all the premises aretrue is a valuation on which the conclusion is true.)

It might be worth illustrating the tactic again.Let us check whether the following argument is valid

A ∨ B , ¬(A ∧ C ), ¬(B ∧ ¬D ) .Û. (¬C ∨ D )

Page 157: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 143

At the first stage, we determine the truth value ofthe conclusion. Since this is a disjunction, it is truewhenever either disjunct is true, so we can speedthings along a bit. We can then ignore every lineapart from the few lines where the conclusion isfalse.

Page 158: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 144

A B C D A ∨ B ¬(A ∧ C ) ¬(B ∧ ¬D ) (¬C ∨D )T T T T TT T T F ? ? ? F FT T F T TT T F F T TT F T T TT F T F ? ? ? F FT F F T TT F F F T TF T T T TF T T F ? ? ? F FF T F T TF T F F T TF F T T TF F T F ? ? ? F FF F F T TF F F F T T

We must now evaluate the premises. We useshortcuts where we can:

Page 159: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 145

A B C D A∨B ¬(A∧C ) ¬(B∧¬D ) (¬C ∨D )T T T T TT T T F T F T F FT T F T TT T F F T TT F T T TT F T F T F T F FT F F T TT F F F T TF T T T TF T T F T T F F TT F FF T F T TF T F F T TF F T T TF F T F F F FF F F T TF F F F T T

If we had used no shortcuts, we would have had towrite 256 ‘T’s or ‘F’s on this table. Using shortcuts,we only had to write 37. We have saved ourselves alot of work.

We have been discussing shortcuts in testing

Page 160: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 12. Truth table shortcuts 146

for logically validity, but exactly the same shortcutscan be used in testing for entailment. By employinga similar notion of bad lines, you can save yourselfa huge amount of work.

Practice exercises

A. Using shortcuts, determine whether eachsentence is a tautology, a contradiction, or neither.

1. ¬B ∧ B2. ¬D ∨ D3. (A ∧ B) ∨ (B ∧ A)4. ¬[A → (B → A)]5. A ↔ [A → (B ∧ ¬B)]6. ¬(A ∧ B) ↔ A7. A → (B ∨ C )8. (A ∧ ¬A) → (B ∨ C )9. (B ∧ D ) ↔ [A ↔ (A ∨ C )]

Page 161: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13

Partial truthtables

Sometimes, we do not need to know what happenson every line of a truth table. Sometimes, just a lineor two will do.Tautology. In order to show that a sentence is atautology, we need to show that it is true on everyvaluation. That is to say, we need to know that itcomes out true on every line of the truth table. Sowe need a complete truth table.

To show that a sentence is not a tautology,however, we only need one line: a line on which thesentence is false. Therefore, in order to show that

147

Page 162: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 148

some sentence is not a tautology, it is enough toprovide a single valuation—a single line of the truthtable—which makes the sentence false.

Suppose that we want to show that the sentence‘(U ∧ T ) → (S ∧W )’ is not a tautology. We set up apartial truth table:

S T U W (U ∧T )→(S∧W )F

We have only left space for one line, rather than 16,since we are only looking for one line on which thesentence is false. For just that reason, we havefilled in ‘F’ for the entire sentence.

The main logical operator of the sentence is aconditional. In order for the conditional to be false,the antecedent must be true and the consequentmust be false. So we fill these in on the table:

S T U W (U ∧T )→(S∧W )T F F

In order for the ‘(U ∧ T )’ to be true, both ‘U ’ and ‘T ’

Page 163: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 149

must be true.S T U W (U ∧T )→(S∧W )

T T T T T F FNow we just need to make ‘(S ∧W )’ false. To dothis, we need to make at least one of ‘S ’ and ‘W ’false. We can make both ‘S ’ and ‘W ’ false if wewant. All that matters is that the whole sentenceturns out false on this line. Making an arbitrarydecision, we finish the table in this way:

S T U W (U ∧T )→(S∧W )F T T F T T T F F F F

We now have a partial truth table, which shows that‘(U ∧ T ) → (S ∧W )’ is not a tautology. Put otherwise,we have shown that there is a valuation whichmakes ‘(U ∧ T ) → (S ∧W )’ false, namely, thevaluation which makes ‘S ’ false, ‘T ’ true, ‘U ’ trueand ‘W ’ false.Contradiction. Showing that something is acontradiction requires a complete truth table: we

Page 164: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 150

need to show that there is no valuation which makesthe sentence true; that is, we need to show that thesentence is false on every line of the truth table.

However, to show that something is not acontradiction, all we need to do is find a valuationwhich makes the sentence true, and a single line ofa truth table will suffice. We can illustrate this withthe same example.

S T U W (U ∧T )→(S∧W )T

To make the sentence true, it will suffice to ensurethat the antecedent is false. Since the antecedent isa conjunction, we can just make one of them false.For no particular reason, we choose to make ‘U ’false; and then we can assign whatever truth valuewe like to the other atomic sentences.

S T U W (U ∧T )→(S∧W )F T F F F F T T F F F

Truth functional equivalence. To show that twosentences are logically equivalent, we must show

Page 165: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 151

that the sentences have the same truth value onevery valuation. So this requires a complete truthtable.

To show that two sentences are not logicallyequivalent, we only need to show that there is avaluation on which they have different truth values.So this requires only a one-line partial truth table:make the table so that one sentence is true and theother false.Consistency. To show that some sentences arejointly consistent, we must show that there is avaluation which makes all of the sentences true,sothis requires only a partial truth table with a singleline.

To show that some sentences are jointlyinconsistent, we must show that there is novaluation which makes all of the sentence true. Sothis requires a complete truth table: You must showthat on every row of the table at least one of thesentences is false.

Page 166: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 152

Validity. To show that an argument is valid, wemust show that there is no valuation which makesall of the premises true and the conclusion false. Sothis requires a complete truth table. (Likewise forentailment.)

To show that argument is invalid, we mustshow that there is a valuation which makes all of thepremises true and the conclusion false. So thisrequires only a one-line partial truth table on whichall of the premises are true and the conclusion isfalse. (Likewise for a failure of entailment.)

This table summarises what is required:

Yes Notautology? complete truth table one-line partial truth tablecontradiction? complete truth table one-line partial truth tableequivalent? complete truth table one-line partial truth tableconsistent? one-line partial truth table complete truth tablevalid? complete truth table one-line partial truth tableentailment? complete truth table one-line partial truth table

Page 167: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 153

Practice exercises

A. Use complete or partial truth tables (asappropriate) to determine whether these pairs ofsentences are logically equivalent:

1. A, ¬A2. A, A ∨ A3. A → A, A ↔ A4. A ∨ ¬B , A → B5. A ∧ ¬A, ¬B ↔ B6. ¬(A ∧ B), ¬A ∨ ¬B7. ¬(A → B), ¬A → ¬B8. (A → B), (¬B → ¬A)

B. Use complete or partial truth tables (asappropriate) to determine whether these sentencesare jointly consistent, or jointly inconsistent:

1. A ∧ B , C → ¬B , C2. A → B , B → C , A, ¬C3. A ∨ B , B ∨ C , C → ¬A4. A, B , C , ¬D , ¬E , F5. A ∧ (B ∨ C ), ¬(A ∧ C ), ¬(B ∧ C )

Page 168: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 154

6. A → B , B → C , ¬(A → C )

C. Use complete or partial truth tables (asappropriate) to determine whether each argument isvalid or invalid:

1. A ∨ [A → (A ↔ A)

] .Û. A2. A ↔ ¬(B ↔ A) .Û. A3. A → B , B .Û. A4. A ∨ B , B ∨ C , ¬B .Û. A ∧ C5. A ↔ B , B ↔ C .Û. A ↔ C

D. Determine whether each sentence is a tautology,a contradiction, or a contingent sentence. Justifyyour answer with a complete or partial truth tablewhere appropriate.

1. A → ¬A2. A → (A ∧ (A ∨ B))3. (A → B) ↔ (B → A)

4. A → ¬(A ∧ (A ∨ B))5. ¬B → [(¬A ∧ A) ∨ B]

Page 169: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 155

6. ¬(A ∨ B) ↔ (¬A ∧ ¬B)7. [(A ∧ B) ∧ C ] → B

8. ¬[(C ∨ A) ∨ B]9. [(A ∧ B) ∧ ¬(A ∧ B)

]∧ C

10. (A ∧ B)] → [(A ∧ C ) ∨ (B ∧ D )]

E. Determine whether each sentence is a tautology,a contradiction, or a contingent sentence. Justifyyour answer with a complete or partial truth tablewhere appropriate.

1. ¬(A ∨ A)2. (A → B) ∨ (B → A)

3. [(A → B) → A] → A

4. ¬[(A → B) ∨ (B → A)]

5. (A ∧ B) ∨ (A ∨ B)6. ¬(A ∧ B) ↔ A

7. A → (B ∨ C )8. (A ∧ ¬A) → (B ∨ C )9. (B ∧ D ) ↔ [A ↔ (A ∨ C )]10. ¬[(A → B) ∨ (C → D )]

Page 170: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 156

F. Determine whether each the following pairs ofsentences are logically equivalent using completetruth tables. If the two sentences really arelogically equivalent, write “equivalent.” Otherwisewrite, “not equivalent.”

1. A and A ∨ A2. A and A ∧ A3. A ∨ ¬B and A → B4. (A → B) and (¬B → ¬A)5. ¬(A ∧ B) and ¬A ∨ ¬B6. ((U → (X ∨ X )) ∨ U ) and ¬(X ∧ (X ∧ U ))7. ((C ∧ (N ↔ C )) ↔ C ) and (¬¬¬N → C )8. [(A ∨ B) ∧ C ] and [A ∨ (B ∧ C )]9. ((L ∧ C ) ∧ I ) and L ∨ C

G. Determine whether each collection of sentencesis jointly consistent or jointly inconsistent. Justifyyour answer with a complete or partial truth tablewhere appropriate.

1. A → A, ¬A → ¬A, A ∧ A, A ∨ A2. A → ¬A, ¬A → A

Page 171: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 157

3. A ∨ B , A → C , B → C4. A ∨ B , A → C , B → C , ¬C5. B ∧ (C ∨ A), A → B , ¬(B ∨ C )6. (A ↔ B) → B , B → ¬(A ↔ B), A ∨ B7. A ↔ (B ∨ C ), C → ¬A, A → ¬B8. A ↔ B , ¬B ∨ ¬A, A → B9. A ↔ B , A → C , B → D , ¬(C ∨ D )10. ¬(A ∧ ¬B), B → ¬A, ¬B

H. Determine whether each argument is valid orinvalid. Justify your answer with a complete orpartial truth table where appropriate.

1. A → (A ∧ ¬A) .Û. ¬A2. A ∨ B , A → B , B → A .Û. A ↔ B3. A ∨ (B → A) .Û. ¬A → ¬B4. A ∨ B , A → B , B → A .Û. A ∧ B5. (B ∧ A) → C , (C ∧ A) → B .Û. (C ∧ B) → A6. ¬(¬A ∨ ¬B), A → ¬C .Û. A → (B → C )7. A ∧ (B → C ), ¬C ∧ (¬B → ¬A) .Û. C ∧ ¬C8. A ∧ B , ¬A → ¬C , B → ¬D .Û. A ∨ B9. A → B .Û. (A ∧ B) ∨ (¬A ∧ ¬B)10. ¬A → B ,¬B → C ,¬C → A .Û. ¬A → (¬B ∨ ¬C )

Page 172: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 13. Partial truth tables 158

I. Determine whether each argument is valid orinvalid. Justify your answer with a complete orpartial truth table where appropriate.

1. A ↔ ¬(B ↔ A) .Û. A2. A ∨ B , B ∨ C , ¬A .Û. B ∧ C3. A → C , E → (D ∨ B),B → ¬D .Û. (A ∨ C ) ∨ (B → (E ∧ D ))

4. A ∨ B , C → A, C → B .Û. A → (B → C )5. A → B , ¬B ∨ A .Û. A ↔ B

Page 173: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Part IV

Naturaldeduction forTFL

159

Page 174: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 14

The very ideaof naturaldeduction

Way back in §2, we said that an argument is valid iffit is impossible to make all of the premises true andthe conclusion false.

In the case of TFL, this led us to develop truthtables. Each line of a complete truth tablecorresponds to a valuation. So, when faced with aTFL argument, we have a very direct way to assesswhether it is possible to make all of the premisestrue and the conclusion false: just thrash throughthe truth table.

160

Page 175: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 14. The very idea of natural deduction 161

However, truth tables do not necessarily giveus much insight. Consider two arguments in TFL:

P ∨ Q , ¬P .Û. QP → Q , P .Û. Q

Clearly, these are valid arguments. You canconfirm that they are valid by constructing four-linetruth tables, but we might say that they make use ofdifferent forms of reasoning. It might be nice tokeep track of these different forms of inference.

One aim of a natural deduction system is toshow that particular arguments are valid, in a waythat allows us to understand the reasoning that thearguments might involve. We begin with very basicrules of inference. These rules can be combined tooffer more complicated arguments. Indeed, withjust a small starter pack of rules of inference, wehope to capture all valid arguments.

This is a very different way of thinkingabout arguments.

With truth tables, we directly consider differentways to make sentences true or false. With natural

Page 176: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 14. The very idea of natural deduction 162

deduction systems, we manipulate sentences inaccordance with rules that we have set down asgood rules. The latter promises to give us a betterinsight—or at least, a different insight—into howarguments work.

The move to natural deduction might bemotivated by more than the search for insight. Itmight also be motivated by necessity. Consider:A1 → C1 .Û. (A1∧A2∧A3∧A4∧A5) → (C1∨C2∨C3∨C4∨C5)To test this argument for validity, you might use a1024-line truth table. If you do it correctly, thenyou will see that there is no line on which all thepremises are true and on which the conclusion isfalse. So you will know that the argument is valid.(But, as just mentioned, there is a sense in whichyou will not know why the argument is valid.) Butnow consider:A1 → C1 .Û. (A1 ∧ A2 ∧ A3 ∧ A4 ∧ A5 ∧ A6 ∧ A7 ∧ A8 ∧ A9 ∧ A10) →

(C1 ∨ C2 ∨ C3 ∨ C4 ∨ C5 ∨ C6 ∨ C7 ∨ C8 ∨ C9 ∨ C10)

This argument is also valid—as you can probablytell—but to test it requires a truth table with

Page 177: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 14. The very idea of natural deduction 163

220 = 1048576 lines. In principle, we can set amachine to grind through truth tables and reportback when it is finished. In practice, complicatedarguments in TFL can become intractable if we usetruth tables.

When we get to first-order logic (FOL)(beginning in chapter 21), though, the problem getsdramatically worse. There is nothing like the truthtable test for FOL. To assess whether or not anargument is valid, we have to reason about allinterpretations, but, as we will see, there areinfinitely many possible interpretations. We cannoteven in principle set a machine to grind throughinfinitely many possible interpretations and reportback when it is finished: it will never finish. Weeither need to come up with some more efficientway of reasoning about all interpretations, or weneed to look for something different.

There are, indeed, systems that codify ways toreason about all possible interpretations. Theywere developed in the 1950s by Evert Beth andJaakko Hintikka, but we will not follow this path. We

Page 178: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 14. The very idea of natural deduction 164

will, instead, look to natural deduction.Rather than reasoning directly about all

valuations (in the case of TFL), we will try to selecta few basic rules of inference. Some of these willgovern the behaviour of the sentential connectives.Others will govern the behaviour of the quantifiersand identity that are the hallmarks of FOL. Theresulting system of rules will give us a new way tothink about the validity of arguments. The moderndevelopment of natural deduction dates fromsimultaneous and unrelated papers by GerhardGentzen and Stanisław Jaśkowski (1934). However,the natural deduction system that we will consideris based largely around work by Frederic Fitch (firstpublished in 1952).

Page 179: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15

Basic rulesfor TFL

We will develop a natural deduction system. Foreach connective, there will be introduction rules,that allow us to prove a sentence that has thatconnective as the main logical operator, andelimination rules, that allow us to prove somethinggiven a sentence that has that connective as themain logical operator.

15.1 The idea of a formal proof

A formal proof is a sequence of sentences, someof which are marked as being initial assumptions (or

165

Page 180: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 166

premises). The last line of the formal proof is theconclusion. (Henceforth, we will simply call these‘proofs’, but you should be aware that there areinformal proofs too.)

As an illustration, consider:¬(A ∨ B) .Û. ¬A ∧ ¬B

We will start a proof by writing the premise:

1 ¬(A ∨ B)

Note that we have numbered the premise, since wewill want to refer back to it. Indeed, every line on aproof is numbered, so that we can refer back to it.

Note also that we have drawn a line underneaththe premise. Everything written above the line is anassumption. Everything written below the line willeither be something which follows from theassumptions, or it will be some new assumption.We are hoping to conclude that ‘¬A ∧ ¬B ’; so we arehoping ultimately to conclude our proof with

n ¬A ∧ ¬B

Page 181: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 167

for some number n . It doesn’t matter which line weend on, but we would obviously prefer a short proofto a long one.

Similarly, suppose we wanted to consider:A ∨ B , ¬(A ∧ C ), ¬(B ∧ ¬D ) .Û. ¬C ∨ D

The argument has three premises, so we start bywriting them all down, numbered, and drawing aline under them:

1 A ∨ B

2 ¬(A ∧ C )

3 ¬(B ∧ ¬D )

and we are hoping to conclude with some line:

n ¬C ∨ D

All that remains to do is to explain each of the rulesthat we can use along the way from premises toconclusion. The rules are broken down by ourlogical connectives.

Page 182: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 168

15.2 Conjunction

Suppose we want to show that Ludwig is bothreactionary and libertarian. One obvious way to dothis would be as follows: first we show that Ludwigis reactionary; then we show that Ludwig islibertarian; then we put these two demonstrationstogether, to obtain the conjunction.

Our natural deduction system will capture thisthought straightforwardly. In the example given, wemight adopt the following symbolization key:

R : Ludwig is reactionaryL: Ludwig is libertarian

Perhaps we are working through a proof, and wehave obtained ‘R ’ on line 8 and ‘L ’ on line 15. Thenon any subsequent line we can obtain ‘R ∧ L ’ thus:

8 R

15 L

R ∧ L ∧I 8, 15

Page 183: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 169

Note that every line of our proof must either be anassumption, or must be justified by some rule. Wecite ‘∧I 8, 15’ here to indicate that the line isobtained by the rule of conjunction introduction (∧I)applied to lines 8 and 15. We could equally wellobtain:

8 R

15 L

L ∧ R ∧I 15, 8with the citation reverse, to reflect the order of theconjuncts. More generally, here is our conjunctionintroduction rule:

m A

n B

A∧B ∧I m , nTo be clear, the statement of the rule is

schematic. It is not itself a proof. ‘A’ and ‘B’ arenot sentences of TFL. Rather, they are symbols in

Page 184: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 170

the metalanguage, which we use when we want totalk about any sentence of TFL (see §7). Similarly,‘m ’ and ‘n ’ are not a numerals that will appear onany actual proof. Rather, they are symbols in themetalanguage, which we use when we want to talkabout any line number of any proof. In an actualproof, the lines are numbered ‘1 ’, ‘2 ’, ‘3 ’, and soforth, but when we define the rule, we use variablesto emphasize that the rule may be applied at anypoint. The rule requires only that we have bothconjuncts available to us somewhere in the proof.They can be separated from one another, and theycan appear in any order.

The rule is called ‘conjunction introduction ’because it introduces the symbol ‘∧’ into our proofwhere it may have been absent. Correspondingly,we have a rule that eliminates that symbol.Suppose you have shown that Ludwig is bothreactionary and libertarian. You are entitled toconclude that Ludwig is reactionary. Equally, youare entitled to conclude that Ludwig is libertarian.Putting this together, we obtain our conjunctionelimination rule(s):

Page 185: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 171

m A∧B

A ∧E mand equally:

m A∧B

B ∧E mThe point is simply that, when you have a

conjunction on some line of a proof, you can obtaineither of the conjuncts by ∧E. (One point, might beworth emphasising: you can only apply this rulewhen conjunction is the main logical operator. Soyou cannot infer ‘D ’ just from ‘C ∨ (D ∧ E )’!)

Even with just these two rules, we can start tosee some of the power of our formal proof system.Consider:

[(A ∨ B) → (C ∨ D )] ∧ [(E ∨ F ) → (G ∨ H )].Û. [(E ∨ F ) → (G ∨ H )] ∧ [(A ∨ B) → (C ∨ D )]

The main logical operator in both the premise and

Page 186: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 172

conclusion of this argument is ‘∧’. In order toprovide a proof, we begin by writing down thepremise, which is our assumption. We draw a linebelow this: everything after this line must followfrom our assumptions by (repeated applications of)our rules of inference. So the beginning of the prooflooks like this:

1 [(A ∨ B) → (C ∨ D )] ∧ [(E ∨ F ) → (G ∨ H )]

From the premise, we can get each of the conjunctsby ∧E. The proof now looks like this:

1 [(A ∨ B) → (C ∨ D )] ∧ [(E ∨ F ) → (G ∨ H )]

2 [(A ∨ B) → (C ∨ D )] ∧E 13 [(E ∨ F ) → (G ∨ H )] ∧E 1

So by applying the ∧I rule to lines 3 and 2 (in thatorder), we arrive at the desired conclusion. Thefinished proof looks like this:

Page 187: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 173

1 [(A ∨ B) → (C ∨ D )] ∧ [(E ∨ F ) → (G ∨ H )]

2 [(A ∨ B) → (C ∨ D )] ∧E 13 [(E ∨ F ) → (G ∨ H )] ∧E 14 [(E ∨ F ) → (G ∨ H )] ∧ [(A ∨ B) → (C ∨ D )] ∧I 3, 2

This is a very simple proof, but it shows how we canchain rules of proof together into longer proofs. Inpassing, note that investigating this argument witha truth table would have required a staggering 256lines; our formal proof required only four lines.

It is worth giving another example. Way back in§10.3, we noted that this argument is valid:

A ∧ (B ∧ C ) .Û. (A ∧ B) ∧ CTo provide a proof corresponding with thisargument, we start by writing:

1 A ∧ (B ∧ C )

From the premise, we can get each of the conjunctsby applying ∧E twice. We can then apply ∧E twice

Page 188: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 174

more, so our proof looks like:

1 A ∧ (B ∧ C )

2 A ∧E 13 B ∧ C ∧E 14 B ∧E 35 C ∧E 3

But now we can merrily reintroduce conjunctions inthe order we wanted them, so that our final proof is:

1 A ∧ (B ∧ C )

2 A ∧E 13 B ∧ C ∧E 14 B ∧E 35 C ∧E 36 A ∧ B ∧I 2, 47 (A ∧ B) ∧ C ∧I 6, 5

Page 189: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 175

Recall that our official definition of sentences inTFL only allowed conjunctions with two conjuncts.The proof just given suggests that we could dropinner brackets in all of our proofs. However, this isnot standard, and we will not do this. Instead, wewill maintain our more austere bracketingconventions. (Though we will still allow ourselvesto drop outermost brackets, for legibility.)

Let me offer one final illustration. When usingthe ∧I rule, there is no need to apply it to differentsentences. So we can formally prove ‘A ’ from ‘A ’ asfollows:

1 A

2 A ∧ A ∧I 1, 13 A ∧E 2

Simple, but effective.

15.3 Conditional

Consider the following argument:

Page 190: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 176

If Jane is smart then she is fast. Jane issmart. .Û.Jane is fast.

This argument is certainly valid, and it suggests astraightforward conditional elimination rule (→E):

m A→ B

n A

B →E m , nThis rule is also sometimes called modus

ponens. Again, this is an elimination rule, becauseit allows us to obtain a sentence that may notcontain ‘→’, having started with a sentence that didcontain ‘→’. Note that the conditional and theantecedent can be separated from one another, andthey can appear in any order. However, in thecitation for →E, we always cite the conditional first,followed by the antecedent.

The rule for conditional introduction is alsoquite easy to motivate. The following argumentshould be valid:

Page 191: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 177

Ludwig is reactionary. Therefore if Ludwigis libertarian, then Ludwig is bothreactionary and libertarian.

If someone doubted that this was valid, we might tryto convince them otherwise by explaining ourselvesas follows:

Assume that Ludwig is reactionary. Now,additionally assume that Ludwig islibertarian. Then by conjunctionintroduction—which we justdiscussed—Ludwig is both reactionaryand libertarian. Of course, that’sconditional on the assumption that Ludwigis libertarian. But this just means that, ifLudwig is libertarian, then he is bothreactionary and libertarian.

Transferred into natural deduction format, here isthe pattern of reasoning that we just used. Westarted with one premise, ‘Ludwig is reactionary’,thus:

Page 192: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 178

1 R

The next thing we did is to make an additionalassumption (‘Ludwig is libertarian’), for the sake ofargument. To indicate that we are no longer dealingmerely with our original assumption (‘R ’), but withsome additional assumption, we continue our proofas follows:

1 R

2 L

Note that we are not claiming, on line 2, to haveproved ‘L ’ from line 1, so we do not need to write inany justification for the additional assumption online 2. We do, however, need to mark that it is anadditional assumption. We do this by drawing a lineunder it (to indicate that it is an assumption) and byindenting it with a further vertical line (to indicatethat it is additional).

With this extra assumption in place, we are in aposition to use ∧I. So we can continue our proof:

Page 193: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 179

1 R

2 L

3 R ∧ L ∧I 1, 2So we have now shown that, on the additionalassumption, ‘L ’, we can obtain ‘R ∧ L ’. We cantherefore conclude that, if ‘L ’ obtains, then so does‘R ∧ L ’. Or, to put it more briefly, we can conclude‘L → (R ∧ L)’:

1 R

2 L

3 R ∧ L ∧I 1, 24 L → (R ∧ L) →I 2–3

Observe that we have dropped back to using onevertical line. We have discharged the additionalassumption, ‘L ’, since the conditional itself followsjust from our original assumption, ‘R ’.

The general pattern at work here is thefollowing. We first make an additional assumption,

Page 194: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 180

A; and from that additional assumption, we prove B.In that case, we know the following: If A, then B.This is wrapped up in the rule for conditionalintroduction:

i A

j B

A→ B →I i – jThere can be as many or as few lines as you

like between lines i and j .It will help to offer a second illustration of →I in

action. Suppose we want to consider the following:P → Q , Q → R .Û. P → R

We start by listing both of our premises. Then,since we want to arrive at a conditional (namely,‘P → R ’), we additionally assume the antecedent tothat conditional. Thus our main proof starts:

Page 195: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 181

1 P → Q

2 Q → R

3 P

Note that we have made ‘P ’ available, by treating itas an additional assumption, but now, we can use→E on the first premise. This will yield ‘Q ’. We canthen use →E on the second premise. So, byassuming ‘P ’ we were able to prove ‘R ’, so we applythe →I rule—discharging ‘P ’—and finish the proof.Putting all this together, we have:

1 P → Q

2 Q → R

3 P

4 Q →E 1, 35 R →E 2, 46 P → R →I 3–5

Page 196: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 182

15.4 Additional assumptionsand subproofs

The rule →I invoked the idea of making additionalassumptions. These need to be handled with somecare.

Consider this proof:

1 A

2 B

3 B ∧ B ∧I 2, 24 B ∧E 35 B → B →I 2–4

This is perfectly in keeping with the rules we havelaid down already, and it should not seemparticularly strange. Since ‘B → B ’ is a tautology,no particular premises should be required to proveit.

But suppose we now tried to continue the proof

Page 197: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 183

as follows:

1 A

2 B

3 B ∧ B ∧I 2, 24 B ∧E 35 B → B →I 2–46 B naughty attempt to invoke →E 5, 4

If we were allowed to do this, it would be a disaster.It would allow us to prove any atomic sentenceletter from any other atomic sentence letter.However, if you tell me that Anne is fast(symbolized by ‘A ’), we shouldn’t be able toconclude that Queen Boudica stood twenty-feet tall(symbolized by ‘B ’)! We must be prohibited fromdoing this, but how are we to implement theprohibition?

We can describe the process of making anadditional assumption as one of performing a

Page 198: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 184

subproof : a subsidiary proof within the main proof.When we start a subproof, we draw another verticalline to indicate that we are no longer in the mainproof. Then we write in the assumption upon whichthe subproof will be based. A subproof can bethought of as essentially posing this question: whatcould we show, if we also make this additionalassumption?

When we are working within the subproof, wecan refer to the additional assumption that we madein introducing the subproof, and to anything that weobtained from our original assumptions. (After all,those original assumptions are still in effect.) Atsome point though, we will want to stop workingwith the additional assumption: we will want toreturn from the subproof to the main proof. Toindicate that we have returned to the main proof,the vertical line for the subproof comes to an end.At this point, we say that the subproof is closed.Having closed a subproof, we have set aside theadditional assumption, so it will be illegitimate todraw upon anything that depends upon thatadditional assumption. Thus we stipulate:

Page 199: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 185

Any rule whose citation requires mentioning in-dividual lines can mention any earlier lines, ex-cept for those lines which occur within a closedsubproof.This stipulation rules out the disastrous

attempted proof above. The rule of →E requires thatwe cite two individual lines from earlier in the proof.In the purported proof, above, one of these lines(namely, line 4) occurs within a subproof that has(by line 6) been closed. This is illegitimate.

Closing a subproof is called discharging theassumptions of that subproof. So we can put thepoint this way: you cannot refer back to anythingthat was obtained using dischargedassumptions.

Subproofs, then, allow us to think about whatwe could show, if we made additional assumptions.The point to take away from this is notsurprising—in the course of a proof, we have tokeep very careful track of what assumptions we aremaking, at any given moment. Our proof system

Page 200: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 186

does this very graphically. (Indeed, that’s preciselywhy we have chosen to use this proof system.)

Once we have started thinking about what wecan show by making additional assumptions,nothing stops us from posing the question of whatwe could show if we were to make even moreassumptions. This might motivate us to introduce asubproof within a subproof. Here is an examplewhich only uses the rules of proof that we haveconsidered so far:

1 A

2 B

3 C

4 A ∧ B ∧I 1, 25 C → (A ∧ B) →I 3–46 B → (C → (A ∧ B)) →I 2–5

Notice that the citation on line 4 refers back to theinitial assumption (on line 1) and an assumption ofa subproof (on line 2). This is perfectly in order,

Page 201: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 187

since neither assumption has been discharged atthe time (i.e. by line 4).

Again, though, we need to keep careful track ofwhat we are assuming at any given moment.Suppose we tried to continue the proof as follows:

1 A

2 B

3 C

4 A ∧ B ∧I 1, 25 C → (A ∧ B) →I 3–46 B → (C → (A ∧ B)) →I 2–57 C → (A ∧ B) naughty attempt to invoke →I 3–4

This would be awful. If we tell you that Anne issmart, you should not be able to infer that, if Cath issmart (symbolized by ‘C ’) then both Anne is smartand Queen Boudica stood 20-feet tall! But this isjust what such a proof would suggest, if it were

Page 202: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 188

permissible.The essential problem is that the subproof that

began with the assumption ‘C ’ depended cruciallyon the fact that we had assumed ‘B ’ on line 2. Byline 6, we have discharged the assumption ‘B ’: wehave stopped asking ourselves what we could show,if we also assumed ‘B ’. So it is simply cheating, totry to help ourselves (on line 7) to the subproof thatbegan with the assumption ‘C ’. Thus we stipulate,much as before:Any rule whose citation requires mentioning anentire subproof can mention any earlier sub-proof, except for those subproofs which occurwithin some other closed subproof.The attempted disastrous proof violates this

stipulation. The subproof of lines 3–4 occurs withina subproof that ends on line 5. So it cannot beinvoked in line 7.

It is always permissible to open a subproof withany assumption. However, there is some strategyinvolved in picking a useful assumption. Starting a

Page 203: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 189

subproof with an arbitrary, wacky assumption wouldjust waste lines of the proof. In order to obtain aconditional by →I, for instance, you must assumethe antecedent of the conditional in a subproof.

Equally, it is always permissible to close asubproof and discharge its assumptions. However,it will not be helpful to do so until you have reachedsomething useful.

15.5 Biconditional

The rules for the biconditional will be likedouble-barrelled versions of the rules for theconditional.

In order to prove ‘W ↔ X ’, for instance, youmust be able to prove ‘X ’ on the assumption ‘W ’ andprove ‘W ’ on the assumption ‘X ’. The biconditionalintroduction rule (↔I) therefore requires twosubproofs. Schematically, the rule works like this:

Page 204: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 190

i A

j B

k B

l A

A↔ B ↔I i – j , k– lThere can be as many lines as you like between

i and j , and as many lines as you like between kand l . Moreover, the subproofs can come in anyorder, and the second subproof does not need tocome immediately after the first.

The biconditional elimination rule (↔E) lets youdo a bit more than the conditional rule. If you havethe left-hand subsentence of the biconditional, youcan obtain the right-hand subsentence. If you havethe right-hand subsentence, you can obtain theleft-hand subsentence. So we allow:

Page 205: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 191

m A↔ B

n A

B ↔E m , nand equally:

m A↔ B

n B

A ↔E m , nNote that the biconditional, and the right or left

half, can be separated from one another, and theycan appear in any order. However, in the citation for↔E, we always cite the biconditional first.

15.6 Disjunction

Suppose Ludwig is reactionary. Then Ludwig iseither reactionary or libertarian. After all, to saythat Ludwig is either reactionary or libertarian is tosay something weaker than to say that Ludwig is

Page 206: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 192

reactionary.Let me emphasize this point. Suppose Ludwig

is reactionary. It follows that Ludwig is eitherreactionary or a kumquat. Equally, it follows thateither Ludwig is reactionary or that kumquats arethe only fruit. Equally, it follows that either Ludwigis reactionary or that God is dead. Many of theseare strange inferences to draw, but there is nothinglogically wrong with them (even if they maybeviolate all sorts of implicit conversational norms).

Armed with all this, we present the disjunctionintroduction rule(s):

m A

A∨B ∨I mand

m A

B∨A ∨I mNotice that B can be any sentence whatsoever,

Page 207: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 193

so the following is a perfectly acceptable proof:

1 M

2 M ∨ ([(A ↔ B) → (C ∧ D )] ↔ [E ∧ F ]) ∨I 1Using a truth table to show this would have taken128 lines.

The disjunction elimination rule is, though,slightly trickier. Suppose that either Ludwig isreactionary or he is libertarian. What can youconclude? Not that Ludwig is reactionary; it mightbe that he is libertarian instead. Equally, not thatLudwig is libertarian; for he might merely bereactionary. Disjunctions, just by themselves, arehard to work with.

But suppose that we could somehow show bothof the following: first, that Ludwig’s beingreactionary entails that he is an Austrian economist:second, that Ludwig’s being libertarian entails thathe is an Austrian economist. Then if we know thatLudwig is either reactionary or libertarian, then we

Page 208: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 194

know that, whichever he is, Ludwig is an Austrianeconomist. This insight can be expressed in thefollowing rule, which is our disjunction elimination(∨E) rule:

m A∨B

i A

j C

k B

l C

C ∨E m , i – j , k– lThis is obviously a bit clunkier to write down

than our previous rules, but the point is fairlysimple. Suppose we have some disjunction, A∨B.Suppose we have two subproofs, showing us that Cfollows from the assumption that A, and that Cfollows from the assumption that B. Then we caninfer C itself. As usual, there can be as many linesas you like between i and j , and as many lines asyou like between k and l . Moreover, the subproofsand the disjunction can come in any order, and do

Page 209: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 195

not have to be adjacent.Some examples might help illustrate this.

Consider this argument:(P ∧ Q ) ∨ (P ∧ R) .Û. P

An example proof might run thus:

1 (P ∧ Q ) ∨ (P ∧ R)

2 P ∧ Q

3 P ∧E 24 P ∧ R

5 P ∧E 46 P ∨E 1, 2–3, 4–5

Here is a slightly harder example. Consider:A ∧ (B ∨ C ) .Û. (A ∧ B) ∨ (A ∧ C )

Here is a proof corresponding to this argument:

Page 210: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 196

1 A ∧ (B ∨ C )

2 A ∧E 13 B ∨ C ∧E 14 B

5 A ∧ B ∧I 2, 46 (A ∧ B) ∨ (A ∧ C ) ∨I 57 C

8 A ∧ C ∧I 2, 79 (A ∧ B) ∨ (A ∧ C ) ∨I 810 (A ∧ B) ∨ (A ∧ C ) ∨E 3, 4–6, 7–9

Don’t be alarmed if you think that you wouldn’t havebeen able to come up with this proof yourself. Theability to come up with novel proofs will come withpractice. The key question at this stage is whether,looking at the proof, you can see that it conformswith the rules that we have laid down. That justinvolves checking every line, and making sure thatit is justified in accordance with the rules we have

Page 211: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 197

laid down.

15.7 Contradiction andNegation

We have only one connective left to deal with:negation. Negation is closely connected withcontradiction.

An effective form of argument is to argue youropponent into contradicting themselves. At thatpoint, you have them on the ropes. They have togive up at least one of their assumptions. We aregoing to make use of this idea in our proof system,by adding a new symbol, ‘⊥’, to our proofs. Thisshould be read as something like ‘contradiction!’ or‘reductio!’ or ‘but that’s absurd!’ The rule forintroducing this symbol is that we can use itwhenever we explicitly contradict ourselves, i.e.whenever we find both a sentence and its negationappearing in our proof:

Page 212: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 198

m ¬A

n A

⊥ ¬E m , nIt does not matter what order the sentence and

its negation appear in, and they do not need toappear on adjacent lines. However, we always citethe sentence first, followed by its negation.

There is obviously a tight link betweencontradiction and negation. The rule ¬E lets usproceed from two contradictory sentences—A andits negation ¬A—to an explicit contradition ⊥. Wechoose the label for a reason: it is the the mostbasic rule that lets us proceed from a premisecontaining a negation, i.e. ¬A, to a sentence notcontaining it, i.e. ⊥. So it is a rule thateliminates ¬.

We have said that ‘⊥’ should be read assomething like ‘contradiction!’ but this does not tellus much about the symbol. There are, roughly,three ways to approach the symbol.

Page 213: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 199

• We might regard ‘⊥’ as a new atomic sentenceof TFL, but one which can only ever have thetruth value False.

• We might regard ‘⊥’ as an abbreviation forsome canonical contradiction, such as ‘A ∧ ¬A ’.This will have the same effect as theabove—obviously, ‘A ∧ ¬A ’ only ever has thetruth value False—but it means that, officially,we do not need to add a new symbol to TFL.

• We might regard ‘⊥’, not as a symbol of TFL,but as something more like a punctuationmark that appears in our proofs. (It is on a parwith the line numbers and the vertical lines,say.)

There is something very philosophically attractiveabout the third option, but here we will officiallyadopt the first. ‘⊥’ is to be read as a sentence letterthat is always false. This means that we canmanipulate it, in our proofs, just like any othersentence.

We still have to state a rule for negationintroduction. The rule is very simple: if assuming

Page 214: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 200

something leads you to a contradiction, then theassumption must be wrong. This thought motivatesthe following rule:

i A

j ⊥

¬A ¬I i – jThere can be as many lines between i and j as

you like. To see this in practice, and interactingwith negation, consider this proof:

1 D

2 ¬D

3 ⊥ ¬E 2, 14 ¬¬D ¬I 2–3

If the assumption that A is true leads to acontradiction, A cannot be true, i.e. it must be false,i.e., ¬Amust be true. Of course, if the assumptionthat A is false (i.e. the assumption that ¬A is true)leads to a contradiction, then A cannot be false, i.e.

Page 215: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 201

Amust be true. So we can consider the followingrule:

i ¬A

j ⊥

A IP i – jThis rule is called indirect proof, since it

allows us to prove A indirectly, by assuming itsnegation. Formally, the rule is very similar to ¬I,but A and ¬A have chnaged places. Since ¬A is notthe conclusion of the rule, we are not introducing ¬,so IP is not a rule that introduces any connective. Italso doesn’t eliminate a connective, since it has nofree-standing premises which contain ¬, only asubproof with an assumption of the form ¬A. Bycontrast, ¬E does have a premise of the form ¬A:that’s why ¬E eliminates ¬, but IP does not.1

1There are logicians who have qualms about IP, but notabout ¬E. They are called “intuitionists.” Intuitionists don’t buyour basic assumption that every sentence has one of two truthvalues, true or false. They also think that ¬ works differently—for them, a proof of ⊥ from A guarantees ¬A, but a proof of ⊥from ¬A does not guarantee that A, but only ¬¬A. So, for them,

Page 216: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 202

Using ¬I, we were able to give a proof of ¬¬Dfrom D. Using IP, we can go the other direction(with essentially the same proof).

1 ¬¬D

2 ¬D

3 ⊥ ¬E 1, 24 D IP 2–3

We need one last rule. It is a kind of eliminationrule for ‘⊥’, and known as explosion.2 If we obtaina contradiction, symbolized by ‘⊥’, then we can inferwhatever we like. How can this be motivated, as arule of argumentation? Well, consider the Englishrhetorical device ‘. . . and if that’s true, I’ll eat myhat’. Since contradictions simply cannot be true, ifone is true then not only will I eat my hat, I’ll haveit too.3 Here is the formal rule:A and ¬¬A are not equivalent.

2The latin name for this principle isex contradictione quodlibet, “from contradiction, anything.”

3Thanks to Adam Caulton for this.

Page 217: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 203

m ⊥

A X mNote that A can be any sentence whatsoever.The explosion rule is a bit odd. It looks like A

arrives in our proof like a bunny out of a hat. Whentrying to find proofs, it is very tempting to try to useit everywhere, since it seems so powerful. Resistthis temptation: you can only apply it when youalready have ⊥! And you get ⊥ only when yourassumptions are contradictory.

Still, isn’t it odd that from a contradictionanything whatsoever should follow? Not accordingto our notion of entailment and validity. For Aentails B iff there is no valuation of the atomicsentences which makes A true and B false at thesame time. Now ⊥ is a contradiction—it is nevertrue, whatever the valuation of the atomicsentences. Since there is no valuation which makes⊥ true, there of course is also no valuation thatmakes ⊥ true and B false! So according to our

Page 218: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 204

definition of entailment, ⊥ � B, whatever B is. Acontradiction entails anything.4

These are all of the basic rules for the proofsystem for TFL.

Practice exercises

A. The following two ‘proofs’ are incorrect. Explainthe mistakes they make.

4There are some logicians who don’t buy this. They thinkthat if A entails B, there must be some relevant connectionbetween A and B—and there isn’t one between ⊥ and somearbitrary sentence B. So these logicians develop other, “rele-vant” logics in which you aren’t allowed the explosion rule.

Page 219: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 205

1 (¬L ∧ A) ∨ L

2 ¬L ∧ A

3 ¬L ∧E 34 A ∧E 15 L

6 ⊥ ¬E 3, 57 A X 68 A ∨E 1, 2–4, 5–7

1 A ∧ (B ∧ C )

2 (B ∨ C ) → D

3 B ∧E 14 B ∨ C ∨I 35 D →E 4, 2

B. The following three proofs are missing theircitations (rule and line numbers). Add them, to turn

Page 220: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 206

them into bona fide proofs. Additionally, writedown the argument that corresponds to each proof.

1 P ∧ S

2 S → R

3 P

4 S

5 R

6 R ∨ E

1 A → D

2 A ∧ B

3 A

4 D

5 D ∨ E

6 (A ∧ B) → (D ∨ E )

1 ¬L → (J ∨ L)

2 ¬L

3 J ∨ L

4 J

5 J ∧ J

6 J

7 L

8 ⊥

9 J

10 J

C. Give a proof for each of the following arguments:

Page 221: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 15. Basic rules for TFL 207

1. J → ¬J .Û. ¬J2. Q → (Q ∧ ¬Q ) .Û. ¬Q3. A → (B → C ) .Û. (A ∧ B) → C4. K ∧ L .Û. K ↔ L5. (C ∧ D ) ∨ E .Û. E ∨ D6. A ↔ B , B ↔ C .Û. A ↔ C7. ¬F → G , F → H .Û. G ∨ H8. (Z ∧ K ) ∨ (K ∧ M ), K → D .Û. D9. P ∧ (Q ∨ R), P → ¬R .Û. Q ∨ E10. S ↔ T .Û. S ↔ (T ∨ S)11. ¬(P → Q ) .Û. ¬Q12. ¬(P → Q ) .Û. P

Page 222: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16

Additionalrules for TFL

In §15, we introduced the basic rules of our proofsystem for TFL. In this section, we will add someadditional rules to our system. These will make oursystem much easier to work with. (However, in §19we will see that they are not strictly speakingnecessary.)

16.1 Reiteration

The first additional rule is reiteration (R). This justallows us to repeat ourselves:

208

Page 223: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 209

m A

A R mSuch a rule is obviously legitimate; but one

might well wonder how such a rule could ever beuseful. Well, consider:

1 A → ¬A

2 A

3 ¬A →E 1, 24 ¬A

5 ¬A R 46 ¬A LEM 2–3, 4–5

This is a fairly typical use of the R rule.

16.2 Disjunctive syllogism

Here is a very natural argument form.

Page 224: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 210

Elizabeth is either in Massachusetts or inDC. She is not in DC. So, she is inMassachusetts.

This inference pattern is called disjunctivesyllogism. We add it to our proof system asfollows:

m A∨B

n ¬A

B DS m , nand

m A∨B

n ¬B

A DS m , nAs usual, the disjunction and the negation of

one disjunct may occur in either order and need notbe adjacent. However, we always cite thedisjunction first.

Page 225: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 211

16.3 Modus tollens

Another useful pattern of inference is embodied inthe following argument:

If Mitt has won the election, then he is inthe White House. He is not in the WhiteHouse. So he has not won the election.

This inference pattern is called modus tollens.The corresponding rule is:

m A→ B

n ¬B

¬A MT m , nAs usual, the premises may occur in either

order, but we always cite the conditional first.

Page 226: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 212

16.4 Double-negationelimination

Another useful rule is double-negationelimination. This rule does exactly what it says onthe tin:

m ¬¬A

A DNE mThe justification for this is that, in natural

language, double-negations tend to cancel out.That said, you should be aware that context and

emphasis can prevent them from doing so.Consider: ‘Jane is not not happy’. Arguably, onecannot infer ‘Jane is happy’, since the first sentenceshould be understood as meaning the same as‘Jane is not unhappy’. This is compatible with ‘Janeis in a state of profound indifference’. As usual,moving to TFL forces us to sacrifice certain nuancesof English expressions.

Page 227: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 213

16.5 Excluded middle

Suppose that we can show that if it’s sunny outside,then Bill will have brought an umbrella (for fear ofburning). Suppose we can also show that, if it’s notsunny outside, then Bill will have brought anumbrella (for fear of rain). Well, there is no thirdway for the weather to be. So, whatever theweather, Bill will have brought an umbrella.

This line of thinking motivates the followingrule:

i A

j B

k ¬A

l B

B LEM i – j , k– lThe rule is sometimes called the law of

excluded middle, since it encapsulates the ideathat A can be true or ¬Amay be true, but there is no

Page 228: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 214

middle way where neither is true.1 There can be asmany lines as you like between i and j , and as manylines as you like between k and l . Moreover, thesubproofs can come in any order, and the secondsubproof does not need to come immediately afterthe first.

To see the rule in action, consider:P .Û. (P ∧ D ) ∨ (P ∧ ¬D )

Here is a proof corresponding with the argument:1You may sometimes find logicians or philosophers talking

about “tertium non datur.” That’s the same principle as ex-cluded middle; it means “no third way.” Logicians who havequalms about indirect proof also have qualms about LEM.

Page 229: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 215

1 P

2 D

3 P ∧ D ∧I 1, 24 (P ∧ D ) ∨ (P ∧ ¬D ) ∨I 35 ¬D

6 P ∧ ¬D ∧I 1, 57 (P ∧ D ) ∨ (P ∧ ¬D ) ∨I 68 (P ∧ D ) ∨ (P ∧ ¬D ) LEM 2–4, 5–7

16.6 De Morgan Rules

Our final additional rules are called De Morgan’sLaws. (These are named after Augustus DeMorgan.) The shape of the rules should be familiarfrom truth tables.

The first De Morgan rule is:

m ¬(A∧B)

¬A∨ ¬B DeM m

Page 230: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 216

The second De Morgan is the reverse of thefirst:

m ¬A∨ ¬B

¬(A∧B) DeM m

The third De Morgan rule is the dual of the first:

m ¬(A∨B)

¬A∧ ¬B DeM m

And the fourth is the reverse of the third:

m ¬A∧ ¬B

¬(A∨B) DeM m

These are all of the additional rules of ourproof system for TFL.

Page 231: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 217

Practice exercises

A. The following proofs are missing their citations(rule and line numbers). Add them wherever theyare required:

1 W → ¬B

2 A ∧W

3 B ∨ (J ∧ K )

4 W

5 ¬B

6 J ∧ K

7 K

1 L ↔ ¬O

2 L ∨ ¬O

3 ¬L

4 ¬O

5 L

6 ⊥

7 ¬¬L

8 L

Page 232: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 218

1 Z → (C ∧ ¬N )

2 ¬Z → (N ∧ ¬C )

3 ¬(N ∨ C )

4 ¬N ∧ ¬C

5 ¬N

6 ¬C

7 Z

8 C ∧ ¬N

9 C

10 ⊥

11 ¬Z

12 N ∧ ¬C

13 N

14 ⊥

15 ¬¬(N ∨ C )

16 N ∨ C

Page 233: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 16. Additional rules for TFL 219

B. Give a proof for each of these arguments:

1. E ∨ F , F ∨ G , ¬F .Û. E ∧ G2. M ∨ (N → M ) .Û. ¬M → ¬N3. (M ∨ N ) ∧ (O ∨ P ), N → P , ¬P .Û. M ∧ O4. (X ∧ Y ) ∨ (X ∧ Z ), ¬(X ∧ D ), D ∨ M .Û.M

Page 234: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 17

Proof-theoreticconcepts

In this chapter we will introduce some newvocabulary. The following expression:

A1 ,A2 , . . . ,An ` C

means that there is some proof which starts withassumptions among A1 ,A2 , . . . ,An and ends with C

(and contains no undischarged assumptions otherthan those we started with). Derivatively, we willwrite:

` A

220

Page 235: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 17. Proof-theoretic concepts 221

to mean that there is a proof of Awith noassumptions.

The symbol ‘`’ is called the single turnstile.We want to emphasize that this is not the doubleturnstile symbol (‘�’) that we introduced inchapter 11 to symbolize entailment. The singleturnstile, ‘`’, concerns the existence of proofs; thedouble turnstile, ‘�’, concerns the existence ofvaluations (or interpretations, when used for FOL).They are very different notions.

Armed with our ‘`’ symbol, we can introducesome new terminology.

A is a theorem iff ` ATo illustrate this, suppose we want to prove that

‘¬(A ∧ ¬A)’ is a theorem. So we must start our proofwithout any assumptions. However, since we wantto prove a sentence whose main logical operator isa negation, we will want to immediately begin asubproof, with the additional assumption ‘A ∧ ¬A ’,and show that this leads to contradiction. All told,then, the proof looks like this:

Page 236: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 17. Proof-theoretic concepts 222

1 A ∧ ¬A

2 A ∧E 13 ¬A ∧E 14 ⊥ ¬E 3, 25 ¬(A ∧ ¬A) ¬I 1–4

We have therefore proved ‘¬(A ∧ ¬A)’ on no(undischarged) assumptions. This particulartheorem is an instance of what is sometimes calledthe Law of Non-Contradiction.

To show that something is a theorem, you justhave to find a suitable proof. It is typically muchharder to show that something is not a theorem. Todo this, you would have to demonstrate, not justthat certain proof strategies fail, but that no proof ispossible. Even if you fail in trying to prove asentence in a thousand different ways, perhaps theproof is just too long and complex for you to makeout. Perhaps you just didn’t try hard enough.

Here is another new bit of terminology:

Page 237: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 17. Proof-theoretic concepts 223

Two sentences A and B are provably equiva-lent iff each can be proved from the other; i.e.,both A ` B and B ` A.As in the case of showing that a sentence is a

theorem, it is relatively easy to show that twosentences are provably equivalent: it just requires apair of proofs. Showing that sentences are notprovably equivalent would be much harder: it is justas hard as showing that a sentence is not atheorem.

Here is a third, related, bit of terminology:The sentences A1 ,A2 , . . . ,An are provably in-consistent iff a contradiction can be provedfrom them, i.e. A1 ,A2 , . . . ,An ` ⊥. If they arenot inconsistent, we call them provably con-sistent.It is easy to show that some sentences are

provably inconsistent: you just need to prove acontradiction from assuming all the sentences.Showing that some sentences are not provablyinconsistent is much harder. It would require more

Page 238: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 17. Proof-theoretic concepts 224

than just providing a proof or two; it would requireshowing that no proof of a certain kind is possible.

This table summarises whether one or twoproofs suffice, or whether we must reason about allpossible proofs.

Yes Notheorem? one proof all possible proofsinconsistent? one proof all possible proofsequivalent? two proofs all possible proofsconsistent? all possible proofs one proofPractice exercises

A. Show that each of the following sentences is atheorem:

1. O → O2. N ∨ ¬N3. J ↔ [J ∨ (L ∧ ¬L)]4. ((A → B) → A) → A

Page 239: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 17. Proof-theoretic concepts 225

B. Provide proofs to show each of the following:

1. C → (E ∧ G), ¬C → G ` G2. M ∧ (¬N → ¬M ) ` (N ∧ M ) ∨ ¬M3. (Z ∧ K ) ↔ (Y ∧ M ), D ∧ (D → M ) ` Y → Z4. (W ∨ X ) ∨ (Y ∨ Z ), X → Y , ¬Z ` W ∨ Y

C. Show that each of the following pairs ofsentences are provably equivalent:

1. R ↔ E , E ↔ R2. G , ¬¬¬¬G3. T → S , ¬S → ¬T4. U → I , ¬(U ∧ ¬I )5. ¬(C → D ), C ∧ ¬D6. ¬G ↔ H , ¬(G ↔ H )

D. If you know that A ` B, what can you say about(A∧ C) ` B? What about (A∨ C) ` B? Explain youranswers.

Page 240: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 17. Proof-theoretic concepts 226

E. In this chapter, we claimed that it is just as hardto show that two sentences are not provablyequivalent, as it is to show that a sentence is not atheorem. Why did we claim this? (Hint: think of asentence that would be a theorem iff A and B wereprovably equivalent.)

Page 241: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 18

Proofstrategies

There is no simple recipe for proofs, and there is nosubstitute for practice. Here, though, are somerules of thumb and strategies to keep in mind.Work backwards from what you want. Theultimate goal is to obtain the conclusion. Look at theconclusion and ask what the introduction rule is forits main logical operator. This gives you an idea ofwhat should happen just before the last line of theproof. Then you can treat this line as if it were yourgoal. Ask what you could do to get to this new goal.

For example: If your conclusion is a conditional227

Page 242: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 18. Proof strategies 228

A→ B, plan to use the →I rule. This requiresstarting a subproof in which you assume A. Thesubproof ought to end with B. So, what can you doto get B?Work forwards from what you have. When youare starting a proof, look at the premises; later, lookat the sentences that you have obtained so far.Think about the elimination rules for the mainoperators of these sentences. These will tell youwhat your options are.

For a short proof, you might be able to eliminatethe premises and introduce the conclusion. A longproof is formally just a number of short proofs linkedtogether, so you can fill the gap by alternatelyworking back from the conclusion and forward fromthe premises.Try proceeding indirectly. If you cannot find away to show A directly, try starting by assuming ¬A.If a contradiction follows, then you will be able toobtain ¬¬A by ¬I, and then A by DNE.

Page 243: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 18. Proof strategies 229

Persist. Try different things. If one approach fails,then try something else.

Page 244: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19

Derived rules

In this section, we will see why we introduced therules of our proof system in two separate batches.In particular, we want to show that the additionalrules of §16 are not strictly speaking necessary, butcan be derived from the basic rules of §15.

19.1 Derivation of Reiteration

Suppose you have some sentence on some line ofyour deduction:

m A

You now want to repeat yourself, on some line k .You could just invoke the rule R, introduced in §16.

230

Page 245: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 231

But equally well, you can do this with the basicrules of §15:

m A

k A∧A ∧I m , mk + 1 A ∧E k

To be clear: this is not a proof. Rather, it is a proofscheme. After all, it uses a variable, ‘A’, ratherthan a sentence of TFL, but the point is simple:Whatever sentences of TFL we plugged in for ‘A’,and whatever lines we were working on, we couldproduce a bona fide proof. So you can think of thisas a recipe for producing proofs.

Indeed, it is a recipe which shows us that,anything we can prove using the rule R, we canprove (with one more line) using just the basicrules of §15. So we can describe the rule R as aderived rule, since its justification is derived fromour basic rules.

Page 246: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 232

19.2 Derivation of DisjunctiveSyllogism

Suppose that you are in a proof, and you havesomething of this form:

m A∨B

n ¬A

You now want, on line k , to prove B. You can do thiswith the rule of DS, introduced in §16, but equallywell, you can do this with the basic rules of §15:

Page 247: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 233

m A∨B

n ¬A

k A

k + 1 ⊥ ¬E n , kk + 2 B X k + 1k + 3 B

k + 4 B∧B ∧I k + 3, k + 3k + 5 B ∧E k + 4k + 6 B ∨E m , k–k + 2, k + 3–k + 5

So the DS rule, again, can be derived from our morebasic rules. Adding it to our system did not makeany new proofs possible. Anytime you use the DSrule, you could always take a few extra lines andprove the same thing using only our basic rules. Itis a derived rule.

Page 248: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 234

19.3 Derivation of Modustollens

Suppose you have the following in your proof:

m A→ B

n ¬B

You now want, on line k , to prove ¬A. You can dothis with the rule of MT, introduced in §16. Equallywell, you can do this with the basic rules of §15:

m A→ B

n ¬B

k A

k + 1 B →E m , kk + 2 ⊥ ¬E n , k + 1k + 3 ¬A ¬I k–k + 2

Again, the rule of MT can be derived from the basicrules of §15.

Page 249: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 235

19.4 Derivation ofDouble-negationelimination

Consider the following deduction scheme:

m ¬¬A

k ¬A

k + 1 ⊥ ¬E m , kk + 2 A IP k–k + 1

Again, we can derive the DNE rule from the basicrules of §15.

19.5 Derivation of Excludedmiddle

Suppose you want to prove something using theLEM rule, i.e., you have in your proof

Page 250: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 236

m A

n B

k ¬A

l B

You now want, on line l + 1, to prove B. The ruleLEM from §16 would allow you to do it. But can dothis with the basic rules of §15?

One option is to first prove A∨ ¬A, and thenapply ∨E, i.e. proof by cases:

m A

n B

k ¬A

l B

. . .i A∨ ¬A

i + 1 B ∨E i , m–n , k– l

Page 251: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 237

(We leave the proof of A∨ ¬A using only our basicrules as an exercise.)

Here is another way that is a bit morecomplicated than the ones before. What you have todo is embed your two subproofs inside anothersubproof. The assumption of the subproof will be¬B, and the last line will be ⊥. Thus, the completesubproof is the kind you need to conclude B usingIP. Inside the proof, you’d have to do a bit morework to get ⊥:

Page 252: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 238

m ¬B

m + 1 A

n + 1 B

n + 2 ⊥ ¬E m , n + 1k + 2 ¬A

l + 2 B

l + 3 ⊥ ¬E k + 2, l + 2l + 4 ¬A ¬I m + 1–n + 2l + 5 ¬¬A ¬I k + 2– l + 3l + 6 ⊥ ¬E l + 5, l + 4l + 7 B IP m– l + 6

Note that because we add an assumption at the topand additional conclusions inside the subproofs, theline numbers change. You may have to stare at thisfor a while before you understand what’s going on.

Page 253: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 239

19.6 Derivation of De Morganrules

Here is a demonstration of how we could derive thefirst De Morgan rule:

m ¬(A∧B)

k A

k + 1 B

k + 2 A∧B ∧I k , k + 1k + 3 ⊥ ¬E m , k + 2k + 4 ¬B ¬I k + 1–k + 3k + 5 ¬A∨ ¬B ∨I k + 4k + 6 ¬A

k + 7 ¬A∨ ¬B ∨I k + 6k + 8 ¬A∨ ¬B LEM k–k + 5, k + 6–k + 7

Here is a demonstration of how we could derive thesecond De Morgan rule:

Page 254: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 240

m ¬A∨ ¬B

k A∧B

k + 1 A ∧E kk + 2 B ∧E kk + 3 ¬A

k + 4 ⊥ ¬E k + 3, k + 1k + 5 ¬B

k + 6 ⊥ ¬E k + 5, k + 2k + 7 ⊥ ∨E m , k + 3–k + 4, k + 5–k + 6k + 8 ¬(A∧B) ¬I k–k + 7

Similar demonstrations can be offered explaininghow we could derive the third and fourth De Morganrules. These are left as exercises.

Practice exercises

A. Provide proof schemes that justify the addition ofthe third and fourth De Morgan rules as derived

Page 255: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 241

rules.

B. The proofs you offered in response to thepractice exercises of §§16–17 used derived rules.Replace the use of derived rules, in such proofs,with only basic rules. You will find some ‘repetition’in the resulting proofs; in such cases, offer astreamlined proof using only basic rules. (This willgive you a sense, both of the power of derived rules,and of how all the rules interact.)

C. Give a proof of A∨ ¬A. Then give a proof thatuses only the basic rules.

D. Show that if you had LEM as a basic rule, youcould justify IP as a derived rule. That is, supposeyou had the proof:

Page 256: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 19. Derived rules 242

m ¬A

. . .n ⊥

How could you use it to prove Awithout using IP butwith using TND as well as all the other primiterules?

E. Give a proof of the first De Morgan rule, butusing only the basic rules, in particular, withoutusing LEM. (Of course, you can combine the proofusing LEM with the proof of LEM. Try to find a proofdirectly.)

Page 257: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20

Soundnessandcompleteness

In §17, we saw that we could use derivations to testfor the same concepts we used truth tables to testfor. Not only could we use derivations to prove thatan argument is valid, we could also use them to testif a sentence is a tautology or a pair of sentencesare equivalent. We also started using the singleturnstile the same way we used the double turnstile.If we could prove that Awas a tautology with a truthtable, we wrote � A, and if we could prove it using aderivation, we wrote ` A.

243

Page 258: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 244

You may have wondered at that point if the twokinds of turnstiles always worked the same way. Ifyou can show that A is a tautology using truthtables, can you also always show that it is trueusing a derivation? Is the reverse true? Are thesethings also true for tautologies and pairs ofequivalent sentences? As it turns out, the answer toall these questions and many more like them is yes.We can show this by defining all these conceptsseparately and then proving them equivalent. Thatis, we imagine that we actually have two notions ofvalidity, valid� and valid` and then show that the twoconcepts always work the same way.

To begin with, we need to define all of ourlogical concepts separately for truth tables andderivations. A lot of this work has already beendone. We handled all of the truth table definitions in§11. We have also already given syntacticdefinitions for tautologies (theorems) and pairs oflogically equivalent sentences. The otherdefinitions follow naturally. For most logicalproperties we can devise a test using derivations,and those that we cannot test for directly can be

Page 259: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 245

defined in terms of the concepts that we can define.For instance, we defined a theorem as a

sentence that can be derived without any premises(p. 221). Since the negation of a contradiction is atautology, we can define a syntactic contradictionin TFL as a sentence whose negation can bederived without any premises. The syntacticdefinition of a contingent sentence is a littledifferent. We don’t have any practical, finite methodfor proving that a sentence is contingent usingderivations, the way we did using truth tables. Sowe have to content ourselves with defining“contingent sentence” negatively. A sentence issyntactically contingent in TFL if it is not atheorem or a contradiction.

A collection of sentences are provablyinconsistent in TFL if and only if one can derive acontradiction from them. Consistency, on the otherhand, is like contingency, in that we do not have apractical finite method to test for it directly. Soagain, we have to define a term negatively. Acollection of sentences is provably consistent in

Page 260: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 246

TFL if and only if they are not provably inconsistent.Finally, an argument is provably valid in TFL

if and only if there is a derivation of its conclusionfrom its premises. All of these definitions are givenin Table 20.1.

All of our concepts have now been defined bothsemantically and syntactically. How can we provethat these definitions always work the same way? Afull proof here goes well beyond the scope of thisbook. However, we can sketch what it would be like.We will focus on showing the two notions of validityto be equivalent. From that the other concepts willfollow quickly. The proof will have to go in twodirections. First we will have to show that thingswhich are syntactically valid will also besemantically valid. In other words, everything thatwe can prove using derivations could also beproven using truth tables. Put symbolically, wewant to show that valid` implies valid�. Afterwards,we will need to show things in the other directions,valid� implies valid`

This argument from ` to � is the problem of

Page 261: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 247

Concept

Truthtable(sem

antic)

definition

Proof-theoretic(syntactic)

definition

Tautolo

gyAs

entenc

ewhos

etruth

table

onlyhasTs

undert

hema

incon

nective

Asent

enceth

atcan

beder

ivedw

ithouta

nypre

mises.

Contradi

ction

Asent

encew

hosetr

uthtab

leonl

yhasFs

undert

hema

incon

nective

Asent

encew

hosen

egation

canbe

derive

dwitho

utany

premis

esContin

gent

senten

ceAs

entenc

ewhos

etruth

table

contain

sboth

Tsand

Fsund

erthe

mainc

onnect

iveAs

entenc

ethati

snota

theore

morco

ntradi

ction

Equiv

alent

senten

cesThe

colum

nsund

erthe

main

connec

tivesarei

dentica

l.The

senten

cescan

beder

ivedfr

omeac

hothe

rInc

onsiste

ntsen

tences

Sente

ncesw

hichd

onoth

aveasing

leline

inthei

rtruth

tablew

hereth

eyare

alltrue.

Sente

ncesfr

omwhich

onecan

derive

acont

radicti

on

Consi

stent

senten

cesSente

ncesw

hichh

aveat

leasto

neline

inthei

rtruth

tablew

hereth

eyare

alltrue.

Sente

ncesw

hicha

renot

incons

istent

Valid

argum

ent

Anarg

ument

whose

truth

tableh

asno

linesw

here

therea

reallT

sunde

rmain

connec

tivesfo

rthep

remise

sand

anFu

nderth

emain

connec

tivefor

thecon

clusio

n.

Anarg

ument

where

onecan

derive

thecon

clusio

nfrom

thepre

mises

Table20.1:Twowaystodefine

logicalconcepts.

Page 262: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 248

soundness. A proof system is sound if there areno derivations of arguments that can be showninvalid by truth tables. Demonstrating that the proofsystem is sound would require showing that anypossible proof is the proof of a valid argument. Itwould not be enough simply to succeed when tryingto prove many valid arguments and to fail whentrying to prove invalid ones.

The proof that we will sketch depends on thefact that we initially defined a sentence of TFL usinga recursive definition (see p. 74). We could havealso used recursive definitions to define a properproof in TFL and a proper truth table. (Although wedidn’t.) If we had these definitions, we could thenuse a recursive proof to show the soundness ofTFL. A recursive proof works the same way as arecursive definition. With the recursive definition,we identified a group of base elements that werestipulated to be examples of the thing we weretrying to define. In the case of a TFL sentence, thebase class was the set of sentence letters A, B , C ,. . . . We just announced that these were sentences.The second step of a recursive definition is to say

Page 263: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 249

that anything that is built up from your base classusing certain rules also counts as an example of thething you are defining. In the case of a definition ofa sentence, the rules corresponded to the fivesentential connectives (see p. 74). Once you haveestablished a recursive definition, you can use thatdefinition to show that all the members of the classyou have defined have a certain property. Yousimply prove that the property is true of themembers of the base class, and then you prove thatthe rules for extending the base class don’t changethe property. This is what it means to give arecursive proof.

Even though we don’t have a recursivedefinition of a proof in TFL, we can sketch how arecursive proof of the soundness of TFL would go.Imagine a base class of one-line proofs, one foreach of our eleven rules of inference. The membersof this class would look like this A,B ` A∧B;A∧B ` A; A∨B, ¬A ` B . . . etc. Since some ruleshave a couple different forms, we would have tohave add some members to this base class, forinstance A∧B ` B Notice that these are all

Page 264: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 250

statements in the metalanguage. The proof that TFLis sound is not a part of TFL, because TFL does nothave the power to talk about itself.

You can use truth tables to prove to yourselfthat each of these one-line proofs in this base classis valid�. For instance the proof A,B ` A∧B

corresponds to a truth table that shows A,B � A∧B

This establishes the first part of our recursive proof.The next step is to show that adding lines to any

proof will never change a valid� proof into aninvalid� one. We would need to do this for each ofour eleven basic rules of inference. So, forinstance, for ∧I we need to show that for any proofA1 , . . . , An ` B adding a line where we use ∧I toinfer C∧ D, where C∧ D can be legitimatelyinferred from A1 , . . . , An , B, would not change avalid proof into an invalid proof. But wait, if we canlegitimately derive C∧ D from these premises, thenC and D must be already available in the proof.They are either already among A1 , . . . , An , B, orcan be legitimately derived from them. As such, anytruth table line in which the premises are true must

Page 265: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 251

be a truth table line in which C and D are true.According to the characteristic truth table for ∧, thismeans that C∧ D is also true on that line.Therefore, C∧ D validly follows from the premises.This means that using the ∧E rule to extend a validproof produces another valid proof.

In order to show that the proof system is sound,we would need to show this for the other inferencerules. Since the derived rules are consequences ofthe basic rules, it would suffice to provide similararguments for the 11 other basic rules. This tediousexercise falls beyond the scope of this book.

So we have shown that A ` B implies A � B.What about the other direction, that is why think thatevery argument that can be shown valid using truthtables can also be proven using a derivation.

This is the problem of completeness. A proofsystem has the property of completeness if andonly if there is a derivation of every semanticallyvalid argument. Proving that a system is completeis generally harder than proving that it is sound.Proving that a system is sound amounts to showing

Page 266: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 252

that all of the rules of your proof system work theway they are supposed to. Showing that a system iscomplete means showing that you have included allthe rules you need, that you haven’t left any out.Showing this is beyond the scope of this book. Theimportant point is that, happily, the proof system forTFL is both sound and complete. This is not thecase for all proof systems or all formal languages.Because it is true of TFL, we can choose to giveproofs or give truth tables—whichever is easier forthe task at hand.

Now that we know that the truth table method isinterchangeable with the method of derivations, youcan chose which method you want to use for anygiven problem. Students often prefer to use truthtables, because they can be produced purelymechanically, and that seems ‘easier’. However, wehave already seen that truth tables becomeimpossibly large after just a few sentence letters.On the other hand, there are a couple situationswhere using proofs simply isn’t possible. Wesyntactically defined a contingent sentence as asentence that couldn’t be proven to be a tautology or

Page 267: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 253

a contradiction. There is no practical way to provethis kind of negative statement. We will never knowif there isn’t some proof out there that a statement isa contradiction and we just haven’t found it yet. Wehave nothing to do in this situation but resort totruth tables. Similarly, we can use derivations toprove two sentences equivalent, but what if we wantto prove that they are not equivalent? We have noway of proving that we will never find the relevantproof. So we have to fall back on truth tables again.

Table 20.2 summarizes when it is best to giveproofs and when it is best to give truth tables.

Practice exercises

A. Use either a derivation or a truth table for each ofthe following.

1. Show that A → [((B ∧ C ) ∨ D ) → A] is atautology.

2. Show that A → (A → B) is not a tautology

Page 268: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 254

Logicalproperty

To prove itpresent

To prove itabsent

Being atautology

Derive thesentence

Find the falseline in the truthtable for thesentence

Being acontradic-

tion

Derive thenegation of thesentence

Find the true linein the truth tablefor the sentence

ContingencyFind a false lineand a true line inthe truth tablefor the sentence

Prove thesentence or itsnegation

EquivalenceDerive eachsentence fromthe other

Find a line in thetruth tables forthe sentencewhere they havedifferent values

ConsistencyFind a line intruth table forthe sentencewhere they allare true

Derive acontradictionfrom thesentences

ValidityDerive theconclusion fromthe premises

Find no line inthe truth tablewhere thepremises aretrue and theconclusionfalse.

Table 20.2: When to provide a truth table and whento provide a proof.

Page 269: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 255

3. Show that the sentence A → ¬A is not acontradiction.

4. Show that the sentence A ↔ ¬A is acontradiction.

5. Show that the sentence ¬(W → (J ∨ J)) iscontingent

6. Show that the sentence¬(X ∨ (Y ∨ Z )) ∨ (X ∨ (Y ∨ Z )) is not contingent

7. Show that the sentence B → ¬S is equivalentto the sentence ¬¬B → ¬S

8. Show that the sentence ¬(X ∨ O ) is notequivalent to the sentence X ∧ O

9. Show that the sentences ¬(A ∨ B), C , C → Aare jointly inconsistent.

10. Show that the sentences ¬(A ∨ B), ¬B , B → Aare jointly consistent

11. Show that ¬(A ∨ (B ∨ C )) .Û.¬C is valid.12. Show that ¬(A ∧ (B ∨ C )) .Û.¬C is invalid.

Page 270: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 256

B. Use either a derivation or a truth table for each ofthe following.

1. Show that A → (B → A) is a tautology2. Show that ¬(((N ↔ Q ) ∨ Q ) ∨ N ) is not atautology

3. Show that Z ∨ (¬Z ↔ Z ) is contingent4. show that (L ↔ ((N → N ) → L)) ∨ H is notcontingent

5. Show that (A ↔ A) ∧ (B ∧ ¬B) is a contradiction6. Show that (B ↔ (C ∨ B)) is not a contradiction.7. Show that ((¬X ↔ X ) ∨ X ) is equivalent to X8. Show that F ∧ (K ∧ R) is not equivalent to(F ↔ (K ↔ R))

9. Show that the sentences ¬(W → W ),(W ↔ W ) ∧W , E ∨ (W → ¬(E ∧W )) areinconsistent.

10. Show that the sentences ¬R ∨ C , (C ∧ R) → ¬R ,(¬(R ∨ R) → R) are consistent.

Page 271: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 20. Soundness and completeness 257

11. Show that¬¬(C ↔ ¬C ), ((G ∨ C ) ∨ G) .Û. ((G → C ) ∧ G) isvalid.

12. Show that ¬¬L , (C → ¬L) → C ) .Û. ¬C is invalid.

Page 272: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Part V

First-orderlogic

258

Page 273: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21

Buildingblocks of FOL

21.1 The need to decomposesentences

Consider the following argument, which is obviouslyvalid in English:

Willard is a logician. All logicians wearfunny hats. .Û.Willard wears a funny hat.

To symbolize it in TFL, we might offer asymbolization key:

259

Page 274: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 260

L: Willard is a logician.A: All logicians wear funny hats.F : Willard wears a funny hat.

And the argument itself becomes:L , A .Û. F

This is invalid in TFL, but the original Englishargument is clearly valid.

The problem is not that we have made a mistakewhile symbolizing the argument. This is the bestsymbolization we can give in TFL. The problem lieswith TFL itself. ‘All logicians wear funny hats’ isabout both logicians and hat-wearing. By notretaining this structure in our symbolization, welose the connection between Willard’s being alogician and Willard’s wearing a hat.

The basic units of TFL are atomic sentences,and TFL cannot decompose these. To symbolizearguments like the preceding one, we will have todevelop a new logical language which will allow usto split the atom. We will call this languagefirst-order logic, or FOL.

Page 275: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 261

The details of FOL will be explained throughoutthis chapter, but here is the basic idea for splittingthe atom.

First, we have names. In FOL, we indicatethese with lowercase italic letters. For instance, wemight let ‘b ’ stand for Bertie, or let ‘ i ’ stand forWillard.

Second, we have predicates. Englishpredicates are expressions like ‘ is a dog’ or‘ is a logician’. These are not completesentences by themselves. In order to make acomplete sentence, we need to fill in the gap. Weneed to say something like ‘Bertie is a dog’ or‘Willard is a logician’. In FOL, we indicatepredicates with uppercase italic letters. Forinstance, we might let the FOL predicate ‘D ’symbolize the English predicate ‘ is a dog’.Then the expression ‘Db ’ will be a sentence in FOL,which symbolizes the English sentence ‘Bertie is adog’. Equally, we might let the FOL predicate ‘L ’symbolize the English predicate ‘ is a logician’.Then the expression ‘Li ’ will symbolize the English

Page 276: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 262

sentence ‘Willard is a logician’.Third, we have quantifiers. For instance, ‘∃’ will

roughly convey ‘There is at least one . . . ’. So wemight symbolize the English sentence ‘there is adog’ with the FOL sentence ‘∃xDx ’, which we wouldnaturally read out-loud as ‘there is at least onething, x, such that x is a dog’.

That is the general idea, but FOL is significantlymore subtle than TFL, so we will come at it slowly.

21.2 Names

In English, a singular term is a word or phrase thatrefers to a specific person, place, or thing. Theword ‘dog’ is not a singular term, because there area great many dogs. The phrase ‘Bertie’ is a singularterm, because it refers to a specific terrier.Likewise, the phrase ‘Philip’s dog Bertie’ is asingular term, because it refers to a specific littleterrier.

Proper names are a particularly important kindof singular term. These are expressions that pick

Page 277: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 263

out individuals without describing them. The name‘Emerson’ is a proper name, and the name alonedoes not tell you anything about Emerson. Ofcourse, some names are traditionally given to boysand other are traditionally given to girls. If ‘Hilary’is used as a singular term, you might guess that itrefers to a woman. You might, though, be guessingwrongly. Indeed, the name does not necessarilymean that the person referred to is even a person:Hilary might be a giraffe, for all you could tell justfrom the name.

In FOL, our names are lower-case letters ‘a ’through to ‘r ’. We can add subscripts if we want touse some letter more than once. So here are somesingular terms in FOL:

a , b , c , . . . , r , a1 , f32 , j390 , m12

These should be thought of along the lines of propernames in English, but with one difference. ‘TimButton’ is a proper name, but there are severalpeople with this name. (Equally, there are at leasttwo people with the name ‘P.D. Magnus’.) We livewith this kind of ambiguity in English, allowing

Page 278: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 264

context to individuate the fact that ‘Tim Button’refers to an author of this book, and not some otherTim. In FOL, we do not tolerate any such ambiguity.Each name must pick out exactly one thing.(However, two different names may pick out thesame thing.)

As with TFL, we can provide symbolizationkeys. These indicate, temporarily, what a name willpick out. So we might offer:

e : Elsag : Gregorm : Marybeth

21.3 Predicates

The simplest predicates are properties ofindividuals. They are things you can say about anobject. Here are some examples of Englishpredicates:

is a dogis a member of Monty Python

Page 279: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 265

A piano fell on

In general, you can think about predicates as thingswhich combine with singular terms to makesentences. Conversely, you can start withsentences and make predicates out of them byremoving terms. Consider the sentence, ‘Vinnieborrowed the family car from Nunzio.’ By removinga singular term, we can obtain any of three differentpredicates:

borrowed the family car from NunzioVinnie borrowed from NunzioVinnie borrowed the family car from

In FOL, predicates are capital letters A through Z ,with or without subscripts. We might write asymbolization key for predicates thus:

Ax : x is angryHx : x is happy

(Why the subscripts on the gaps? We will return tothis in §23.)

Page 280: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 266

If we combine our two symbolization keys, wecan start to symbolize some English sentences thatuse these names and predicates in combination.For example, consider the English sentences:

1. Elsa is angry.2. Gregor and Marybeth are angry.3. If Elsa is angry, then so are Gregor andMarybeth.

Sentence 1 is straightforward: we symbolize it by‘Ae ’.

Sentence 2: this is a conjunction of two simplersentences. The simple sentences can besymbolized just by ‘Ag ’ and ‘Am ’. Then we helpourselves to our resources from TFL, and symbolizethe entire sentence by ‘Ag ∧ Am ’. This illustrates animportant point: FOL has all of the truth-functionalconnectives of TFL.

Sentence 3: this is a conditional, whoseantecedent is sentence 1 and whose consequent issentence 2, so we can symbolize this with

Page 281: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 267

‘Ae → (Ag ∧ Am)’.

21.4 Quantifiers

We are now ready to introduce quantifiers. Considerthese sentences:

4. Everyone is happy.5. Someone is angry.

It might be tempting to symbolize sentence 4 as‘He ∧ Hg ∧ Hm ’. Yet this would only say that Elsa,Gregor, and Marybeth are happy. We want to saythat everyone is happy, even those with no names.In order to do this, we introduce the ‘∀’ symbol. Thisis called the universal quantifier.

A quantifier must always be followed by avariable. In FOL, variables are italic lowercaseletters ‘s ’ through ‘z ’, with or without subscripts. Sowe might symbolize sentence 4 as ‘∀xHx ’. Thevariable ‘x ’ is serving as a kind of placeholder. Theexpression ‘∀x ’ intuitively means that you can pickanyone and put them in as ‘x ’. The subsequent ‘Hx ’

Page 282: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 268

indicates, of that thing you picked out, that it ishappy.

It should be pointed out that there is no specialreason to use ‘x ’ rather than some other variable.The sentences ‘∀xHx ’, ‘∀yHy ’, ‘∀zHz ’, and ‘∀x5Hx5 ’use different variables, but they will all be logicallyequivalent.

To symbolize sentence 5, we introduce anothernew symbol: the existential quantifier, ‘∃’. Likethe universal quantifier, the existential quantifierrequires a variable. Sentence 5 can be symbolizedby ‘∃xAx ’. Whereas ‘∀xAx ’ is read naturally as ‘forall x, x is angry’, ‘∃xAx ’ is read naturally as ‘there issomething, x, such that x is angry’. Once again, thevariable is a kind of placeholder; we could just aseasily have symbolized sentence 5 with ‘∃zAz ’,‘∃w256Aw256 ’, or whatever.

Some more examples will help. Consider thesefurther sentences:

6. No one is angry.7. There is someone who is not happy.

Page 283: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 269

8. Not everyone is happy.

Sentence 6 can be paraphrased as, ‘It is not thecase that someone is angry’. We can thensymbolize it using negation and an existentialquantifier: ‘¬∃xAx ’. Yet sentence 6 could also beparaphrased as, ‘Everyone is not angry’. With thisin mind, it can be symbolized using negation and auniversal quantifier: ‘∀x¬Ax ’. Both of these areacceptable symbolizations. Indeed, it will transpirethat, in general, ∀x¬A is logically equivalent to¬∃xA. (Notice that we have here returned to thepractice of using ‘A’ as a metavariable, from §7.)Symbolizing a sentence one way, rather than theother, might seem more ‘natural’ in some contexts,but it is not much more than a matter of taste.

Sentence 7 is most naturally paraphrased as,‘There is some x, such that x is not happy’. Thisthen becomes ‘∃x¬Hx ’. Of course, we could equallyhave written ‘¬∀xHx ’, which we would naturally readas ‘it is not the case that everyone is happy’. Thattoo would be a perfectly adequate symbolization ofsentence 8.

Page 284: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 270

21.5 Domains

Given the symbolization key we have been using,‘∀xHx ’ symbolizes ‘Everyone is happy’. Who isincluded in this everyone? When we use sentenceslike this in English, we usually do not meaneveryone now alive on the Earth. We certainly donot mean everyone who was ever alive or who willever live. We usually mean something more modest:everyone now in the building, everyone enrolled inthe ballet class, or whatever.

In order to eliminate this ambiguity, we willneed to specify a domain. The domain is thecollection of things that we are talking about. So ifwe want to talk about people in Chicago, we definethe domain to be people in Chicago. We write thisat the beginning of the symbolization key, like this:

domain: people in Chicago

The quantifiers range over the domain. Given thisdomain, ‘∀x ’ is to be read roughly as ‘Every personin Chicago is such that. . . ’ and ‘∃x ’ is to be read

Page 285: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 271

roughly as ‘Some person in Chicago is suchthat. . . ’.

In FOL, the domain must always include atleast one thing. Moreover, in English we can infer‘something is angry’ from ‘Gregor is angry’. In FOL,then, we will want to be able to infer ‘∃xAx ’ from‘Ag ’. So we will insist that each name must pick outexactly one thing in the domain. If we want to namepeople in places beside Chicago, then we need toinclude those people in the domain.A domain must have at least one member. Aname must pick out exactly one member of thedomain, but a member of the domain may bepicked out by one name, many names, or noneat all.Even allowing for a domain with just one

member can produce some strange results.Suppose we have this as a symbolization key:

domain: the Eiffel TowerPx : x is in Paris.

Page 286: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 272

The sentence ∀xPx might be paraphrased inEnglish as ‘Everything is in Paris.’ Yet that wouldbe misleading. It means that everything in thedomain is in Paris. This domain contains only theEiffel Tower, so with this symbolization key ∀xPxjust means that the Eiffel Tower is in Paris.

Non-referring terms

In FOL, each name must pick out exactly onemember of the domain. A name cannot refer to morethan one thing—it is a singular term. Each namemust still pick out something. This is connected toa classic philosophical problem: the so-calledproblem of non-referring terms.

Medieval philosophers typically used sentencesabout the chimera to exemplify this problem.Chimera is a mythological creature; it does notreally exist. Consider these two sentences:9. Chimera is angry.10. Chimera is not angry.It is tempting just to define a name to mean

Page 287: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 273

‘chimera.’ The symbolization key would look likethis:

domain: creatures on EarthAx : x is angry.c : chimera

We could then symbolize sentence 9 as Ac andsentence 10 as ¬Ac .

Problems will arise when we ask whether thesesentences are true or false.

One option is to say that sentence 9 is not true,because there is no chimera. If sentence 9 is falsebecause it talks about a non-existent thing, thensentence 10 is false for the same reason. Yet thiswould mean that Ac and ¬Ac would both be false.Given the truth conditions for negation, this cannotbe the case.

Since we cannot say that they are both false,what should we do? Another option is to say thatsentence 9 is meaningless because it talks about anon-existent thing. So Ac would be a meaningful

Page 288: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 21. Building blocks of FOL 274

expression in FOL for some interpretations but notfor others. Yet this would make our formal languagehostage to particular interpretations. Since we areinterested in logical form, we want to consider thelogical force of a sentence like Ac apart from anyparticular interpretation. If Ac were sometimesmeaningful and sometimes meaningless, we couldnot do that.

This is the problem of non-referring terms,and we will return to it later (see p. 334.) Theimportant point for now is that each name of FOLmust refer to something in the domain, although thedomain can contain any things we like. If we want tosymbolize arguments about mythological creatures,then we must define a domain that includes them.This option is important if we want to consider thelogic of stories. We can symbolize a sentence like‘Sherlock Holmes lived at 221B Baker Street’ byincluding fictional characters like Sherlock Holmesin our domain.

Page 289: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22

Sentenceswith onequantifier

We now have all of the pieces of FOL. Symbolizingmore complicated sentences will only be a matter ofknowing the right way to combine predicates,names, quantifiers, and connectives. There is aknack to this, and there is no substitute for practice.

275

Page 290: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 276

22.1 Common quantifierphrases

Consider these sentences:

1. Every coin in my pocket is a quarter.2. Some coin on the table is a dime.3. Not all the coins on the table are dimes.4. None of the coins in my pocket are dimes.

In providing a symbolization key, we need tospecify a domain. Since we are talking about coinsin my pocket and on the table, the domain must atleast contain all of those coins. Since we are nottalking about anything besides coins, we let thedomain be all coins. Since we are not talking aboutany specific coins, we do not need to deal with anynames. So here is our key:

domain: all coinsPx : x is in my pocketTx : x is on the tableQx : x is a quarter

Page 291: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 277

Dx : x is a dime

Sentence 1 is most naturally symbolized using auniversal quantifier. The universal quantifier sayssomething about everything in the domain, not justabout the coins in my pocket. Sentence 1 can beparaphrased as ‘for any coin, if that coin is in mypocket then it is a quarter’. So we can symbolize itas ‘∀x (Px → Qx )’.

Since sentence 1 is about coins that are both inmy pocket and that are quarters, it might betempting to symbolize it using a conjunction.However, the sentence ‘∀x (Px ∧ Qx )’ wouldsymbolize the sentence ‘every coin is both a quarterand in my pocket’. This obviously means somethingvery different than sentence 1. And so we see:A sentence can be symbolized as ∀x (Fx → Gx )if it can be paraphrased in English as ‘every Fis G’.Sentence 2 is most naturally symbolized using

an existential quantifier. It can be paraphrased as‘there is some coin which is both on the table and

Page 292: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 278

which is a dime’. So we can symbolize it as‘∃x (Tx ∧ Dx )’.

Notice that we needed to use a conditional withthe universal quantifier, but we used a conjunctionwith the existential quantifier. Suppose we hadinstead written ‘∃x (Tx → Dx )’. That would meanthat there is some object in the domain of which‘(Tx → Dx )’ is true. Recall that, in TFL, A→ B islogically equivalent (in TFL) to ¬A∨B. Thisequivalence will also hold in FOL. So ‘∃x (Tx → Dx )’is true if there is some object in the domain, suchthat ‘(¬Tx ∨ Dx )’ is true of that object. That is,‘∃x (Tx → Dx )’ is true if some coin is either not onthe table or is a dime. Of course there is a coin thatis not on the table: there are coins lots of otherplaces. So it is very easy for ‘∃x (Tx → Dx )’ to betrue. A conditional will usually be the naturalconnective to use with a universal quantifier, but aconditional within the scope of an existentialquantifier tends to say something very weak indeed.As a general rule of thumb, do not put conditionalsin the scope of existential quantifiers unless you aresure that you need one.

Page 293: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 279

A sentence can be symbolized as ∃x (Fx ∧ Gx )if it can be paraphrased in English as ‘some Fis G’.Sentence 3 can be paraphrased as, ‘It is not the

case that every coin on the table is a dime’. So wecan symbolize it by ‘¬∀x (Tx → Dx )’. You might lookat sentence 3 and paraphrase it instead as, ‘Somecoin on the table is not a dime’. You would thensymbolize it by ‘∃x (Tx ∧ ¬Dx )’. Although it isprobably not immediately obvious yet, these twosentences are logically equivalent. (This is due tothe logical equivalence between ¬∀xA and ∃x¬A,mentioned in §21, along with the equivalencebetween ¬(A→ B) and A∧ ¬B.)

Sentence 4 can be paraphrased as, ‘It is not thecase that there is some dime in my pocket’. Thiscan be symbolized by ‘¬∃x (Px ∧ Dx )’. It might alsobe paraphrased as, ‘Everything in my pocket is anon-dime’, and then could be symbolized by‘∀x (Px → ¬Dx )’. Again the two symbolizations arelogically equivalent; both are correctsymbolizations of sentence 4.

Page 294: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 280

22.2 Empty predicates

In §21, we emphasized that a name must pick outexactly one object in the domain. However, apredicate need not apply to anything in the domain.A predicate that applies to nothing in the domain iscalled an empty predicate. This is worth exploring.

Suppose we want to symbolize these twosentences:

5. Every monkey knows sign language6. Some monkey knows sign language

It is possible to write the symbolization key forthese sentences in this way:

domain: animalsMx : x is a monkey.Sx : x knows sign language.

Sentence 5 can now be symbolized by‘∀x (Mx → Sx )’. Sentence 6 can be symbolized as‘∃x (Mx ∧ Sx )’.

Page 295: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 281

It is tempting to say that sentence 5 entailssentence 6. That is, we might think that it isimpossible for it to be the case that every monkeyknows sign language, without its also being thecase that some monkey knows sign language, butthis would be a mistake. It is possible for thesentence ‘∀x (Mx → Sx )’ to be true even though thesentence ‘∃x (Mx ∧ Sx )’ is false.

How can this be? The answer comes fromconsidering whether these sentences would be trueor false if there were no monkeys. If there wereno monkeys at all (in the domain), then‘∀x (Mx → Sx )’ would be vacuously true: take anymonkey you like—it knows sign language! But ifthere were no monkeys at all (in the domain), then‘∃x (Mx ∧ Sx )’ would be false.

Another example will help to bring this home.Suppose we extend the above symbolization key, byadding:

Rx : x is a refrigerator

Page 296: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 282

Now consider the sentence ‘∀x (Rx → Mx )’. Thissymbolizes ‘every refrigerator is a monkey’. Thissentence is true, given our symbolization key,which is counterintuitive, since we (presumably) donot want to say that there are a whole bunch ofrefrigerator monkeys. It is important to remember,though, that ‘∀x (Rx → Mx )’ is true iff any member ofthe domain that is a refrigerator is a monkey. Sincethe domain is animals, there are no refrigerators inthe domain. Again, then, the sentence isvacuously true.

If you were actually dealing with the sentence‘All refrigerators are monkeys’, then you would mostlikely want to include kitchen appliances in thedomain. Then the predicate ‘R ’ would not be emptyand the sentence ‘∀x (Rx → Mx )’ would be false.When F is an empty predicate, a sentence∀x (Fx → . . .) will be vacuously true.

22.3 Picking a domain

The appropriate symbolization of an Englishlanguage sentence in FOL will depend on the

Page 297: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 283

symbolization key. Choosing a key can be difficult.Suppose we want to symbolize the Englishsentence:

7. Every rose has a thorn.

We might offer this symbolization key:

Rx : x is a roseTx : x has a thorn

It is tempting to say that sentence 7 should besymbolized as ‘∀x (Rx → Tx )’, but we have not yetchosen a domain. If the domain contains all roses,this would be a good symbolization. Yet if thedomain is merely things on my kitchen table, then‘∀x (Rx → Tx )’ would only come close to coveringthe fact that every rose on my kitchen table has athorn. If there are no roses on my kitchen table, thesentence would be trivially true. This is not what wewant. To symbolize sentence 7 adequately, weneed to include all the roses in the domain, but nowwe have two options.

Page 298: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 284

First, we can restrict the domain to include allroses but only roses. Then sentence 7 can, if welike, be symbolized with ‘∀xTx ’. This is true iffeverything in the domain has a thorn; since thedomain is just the roses, this is true iff every rosehas a thorn. By restricting the domain, we havebeen able to symbolize our English sentence with avery short sentence of FOL. So this approach cansave us trouble, if every sentence that we want todeal with is about roses.

Second, we can let the domain contain thingsbesides roses: rhododendrons; rats; rifles;whatevers., and we will certainly need to include amore expansive domain if we simultaneously wantto symbolize sentences like:

8. Every cowboy sings a sad, sad song.

Our domain must now include both all the roses (sothat we can symbolize sentence 7) and all thecowboys (so that we can symbolize sentence 8). Sowe might offer the following symbolization key:

Page 299: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 285

domain: people and plantsCx : x is a cowboySx : x sings a sad, sad songRx : x is a roseTx : x has a thorn

Now we will have to symbolize sentence 7 with‘∀x (Rx → Tx )’, since ‘∀xTx ’ would symbolize thesentence ‘every person or plant has a thorn’.Similarly, we will have to symbolize sentence 8 with‘∀x (Cx → Sx )’.

In general, the universal quantifier can be usedto symbolize the English expression ‘everyone’ ifthe domain only contains people. If there arepeople and other things in the domain, then‘everyone’ must be treated as ‘every person’.

22.4 The utility of paraphrase

When symbolizing English sentences in FOL, it isimportant to understand the structure of thesentences you want to symbolize. What matters isthe final symbolization in FOL, and sometimes you

Page 300: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 286

will be able to move from an English languagesentence directly to a sentence of FOL. Other times,it helps to paraphrase the sentence one or moretimes. Each successive paraphrase should movefrom the original sentence closer to something thatyou can easily symbolize directly in FOL.

For the next several examples, we will use thissymbolization key:

domain: peopleBx : x is a bassist.Rx : x is a rock star.k : Kim Deal

Now consider these sentences:

9. If Kim Deal is a bassist, then she is a rock star.10. If a person is a bassist, then she is a rock star.

The same words appear as the consequent insentences 9 and 10 (‘. . . she is a rock star’), but theymean very different things. To make this clear, it

Page 301: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 287

often helps to paraphrase the original sentences,removing pronouns.

Sentence 9 can be paraphrased as, ‘If Kim Dealis a bassist, then Kim Deal is a rockstar’. This canobviously be symbolized as ‘Bk → Rk ’.

Sentence 10 must be paraphrased differently:‘If a person is a bassist, then that person is a rockstar’. This sentence is not about any particularperson, so we need a variable. As an intermediatestep, we can paraphrase this as, ‘For any person x,if x is a bassist, then x is a rockstar’. Now this canbe symbolized as ‘∀x (Bx → Rx )’. This is the samesentence we would have used to symbolize‘Everyone who is a bassist is a rock star’. Onreflection, that is surely true iff sentence 10 is true,as we would hope.

Consider these further sentences:

11. If anyone is a bassist, then Kim Deal is a rockstar.

12. If anyone is a bassist, then she is a rock star.

Page 302: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 288

The same words appear as the antecedent insentences 11 and 12 (‘If anyone is a bassist. . . ’), butit can be tricky to work out how to symbolize thesetwo uses. Again, paraphrase will come to our aid.

Sentence 11 can be paraphrased, ‘If there is atleast one bassist, then Kim Deal is a rock star’. It isnow clear that this is a conditional whoseantecedent is a quantified expression; so we cansymbolize the entire sentence with a conditional asthe main logical operator: ‘∃xBx → Rk ’.

Sentence 12 can be paraphrased, ‘For allpeople x, if x is a bassist, then x is a rock star’. Or,in more natural English, it can be paraphrased by‘All bassists are rock stars’. It is best symbolized as‘∀x (Bx → Rx )’, just like sentence 10.

The moral is that the English words ‘any’ and‘anyone’ should typically be symbolized usingquantifiers, and if you are having a hard timedetermining whether to use an existential or auniversal quantifier, try paraphrasing the sentencewith an English sentence that uses words besides‘any’ or ‘anyone’.

Page 303: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 289

22.5 Quantifiers and scope

Continuing the example, suppose we want tosymbolize these sentences:

13. If everyone is a bassist, then Lars is a bassist14. Everyone is such that, if they are a bassist,

then Lars is a bassist.

To symbolize these sentences, we will have to adda new name to the symbolization key, namely:

l : Lars

Sentence 13 is a conditional, whose antecedent is‘everyone is a bassist’, so we will symbolize it with‘∀xBx → Bl ’. This sentence is necessarily true: ifeveryone is indeed a bassist, then take any one youlike—for example Lars—and he will be a bassist.

Sentence 14, by contrast, might best beparaphrased by ‘every person x is such that, if x is abassist, then Lars is a bassist’. This is symbolizedby ‘∀x (Bx → Bl )’. This sentence is false; Kim Deal

Page 304: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 290

is a bassist. So ‘Bk ’ is true, but Lars is not abassist, so ‘Bl ’ is false. Accordingly, ‘Bk → Bl ’ willbe false, so ‘∀x (Bx → Bl )’ will be false as well.

In short, ‘∀xBx → Bl ’ and ‘∀x (Bx → Bl )’ are verydifferent sentences. We can explain the differencein terms of the scope of the quantifier. The scope ofquantification is very much like the scope ofnegation, which we considered when discussingTFL, and it will help to explain it in this way.

In the sentence ‘¬Bk → Bl ’, the scope of ‘¬’ isjust the antecedent of the conditional. We aresaying something like: if ‘Bk ’ is false, then ‘Bl ’ istrue. Similarly, in the sentence ‘∀xBx → Bl ’, thescope of ‘∀x ’ is just the antecedent of theconditional. We are saying something like: if ‘Bx ’ istrue of everything, then ‘Bl ’ is also true.

In the sentence ‘¬(Bk → Bl )’, the scope of ‘¬’ isthe entire sentence. We are saying something like:‘(Bk → Bl )’ is false. Similarly, in the sentence‘∀x (Bx → Bl )’, the scope of ‘∀x ’ is the entiresentence. We are saying something like:‘(Bx → Bl )’ is true of everything.

Page 305: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 291

The moral of the story is simple. When you areusing conditionals, be very careful to make surethat you have sorted out the scope correctly.

Ambiguous predicates

Suppose we just want to symbolize this sentence:

15. Adina is a skilled surgeon.

Let the domain be people, let Kx mean ‘x is askilled surgeon’, and let a mean Adina. Sentence15 is simply Ka .

Suppose instead that we want to symbolize thisargument:

The hospital will only hire a skilledsurgeon. All surgeons are greedy. Billy isa surgeon, but is not skilled. Therefore,Billy is greedy, but the hospital will nothire him.

We need to distinguish being a skilled surgeon

Page 306: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 292

from merely being a surgeon. So we define thissymbolization key:

domain: peopleGx : x is greedy.Hx : The hospital will hire x .Rx : x is a surgeon.Kx : x is skilled.b : Billy

Now the argument can be symbolized in thisway:

∀x [¬(Rx ∧ Kx ) → ¬Hx

]∀x (Rx → Gx )Rb ∧ ¬Kb

.Û. Gb ∧ ¬Hb

Next suppose that we want to symbolize thisargument:

Carol is a skilled surgeon and a tennisplayer. Therefore, Carol is a skilledtennis player.

Page 307: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 293

If we start with the symbolization key we used forthe previous argument, we could add a predicate(let Tx mean ‘x is a tennis player’) and a name (letc mean Carol). Then the argument becomes:

(Rc ∧ Kc) ∧ Tc.Û. Tc ∧ Kc

This symbolization is a disaster! It takes what inEnglish is a terrible argument and symbolizes it asa valid argument in FOL. The problem is that thereis a difference between being skilled as a surgeonand skilled as a tennis player. Symbolizing thisargument correctly requires two separatepredicates, one for each type of skill. If we let K1xmean ‘x is skilled as a surgeon’ and K2x mean ‘x isskilled as a tennis player,’ then we can symbolizethe argument in this way:

(Rc ∧ K1c) ∧ Tc.Û. Tc ∧ K2c

Like the English language argument it symbolizes,this is invalid.

Page 308: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 294

The moral of these examples is that you need tobe careful of symbolizing predicates in anambiguous way. Similar problems can arise withpredicates like good, bad, big, and small. Just asskilled surgeons and skilled tennis players havedifferent skills, big dogs, big mice, and bigproblems are big in different ways.

Is it enough to have a predicate that means ‘x isa skilled surgeon’, rather than two predicates ‘x isskilled’ and ‘x is a surgeon’? Sometimes. Assentence 15 shows, sometimes we do not need todistinguish between skilled surgeons and othersurgeons.

Must we always distinguish between differentways of being skilled, good, bad, or big? No. As theargument about Billy shows, sometimes we onlyneed to talk about one kind of skill. If you aresymbolizing an argument that is just about dogs, itis fine to define a predicate that means ‘x is big.’ Ifthe domain includes dogs and mice, however, it isprobably best to make the predicate mean ‘x is bigfor a dog.’

Page 309: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 295

Practice exercises

A. Here are the syllogistic figures identified byAristotle and his successors, along with theirmedieval names:

• Barbara. All G are F. All H are G. So: All H areF

• Celarent. No G are F. All H are G. So: No Hare F

• Ferio. No G are F. Some H is G. So: Some H isnot F

• Darii. All G are F. Some H is G. So: Some H isF.

• Camestres. All F are G. No H are G. So: No Hare F.

• Cesare. No F are G. All H are G. So: No H areF.

• Baroko. All F are G. Some H is not G. So:Some H is not F.

• Festino. No F are G. Some H are G. So: SomeH is not F.

• Datisi. All G are F. Some G is H. So: Some His F.

Page 310: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 296

• Disamis. Some G is F. All G are H. So: SomeH is F.

• Ferison. No G are F. Some G is H. So: SomeH is not F.

• Bokardo. Some G is not F. All G are H. So:Some H is not F.

• Camenes. All F are G. No G are H So: No H isF.

• Dimaris. Some F is G. All G are H. So: SomeH is F.

• Fresison. No F are G. Some G is H. So: SomeH is not F.

Symbolize each argument in FOL.

B. Using the following symbolization key:

domain: peopleKx : x knows the combination to the safeSx : x is a spyVx : x is a vegetarianh : Hofthor

Page 311: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 297

i : Ingmar

symbolize the following sentences in FOL:

1. Neither Hofthor nor Ingmar is a vegetarian.2. No spy knows the combination to the safe.3. No one knows the combination to the safeunless Ingmar does.

4. Hofthor is a spy, but no vegetarian is a spy.

C. Using this symbolization key:

domain: all animalsAx : x is an alligator.Mx : x is a monkey.Rx : x is a reptile.Zx : x lives at the zoo.a : Amosb : Bouncerc : Cleo

symbolize each of the following sentences in FOL:

1. Amos, Bouncer, and Cleo all live at the zoo.

Page 312: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 298

2. Bouncer is a reptile, but not an alligator.3. Some reptile lives at the zoo.4. Every alligator is a reptile.5. Any animal that lives at the zoo is either amonkey or an alligator.

6. There are reptiles which are not alligators.7. If any animal is an reptile, then Amos is.8. If any animal is an alligator, then it is a reptile.

D. For each argument, write a symbolization keyand symbolize the argument in FOL.1. Willard is a logician. All logicians wear funnyhats. So Willard wears a funny hat

2. Nothing on my desk escapes my attention.There is a computer on my desk. As such,there is a computer that does not escape myattention.

3. All my dreams are black and white. Old TVshows are in black and white. Therefore, someof my dreams are old TV shows.

4. Neither Holmes nor Watson has been toAustralia. A person could see a kangaroo onlyif they had been to Australia or to a zoo.

Page 313: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 22. Sentences with one quantifier 299

Although Watson has not seen a kangaroo,Holmes has. Therefore, Holmes has been to azoo.

5. No one expects the Spanish Inquisition. Noone knows the troubles I’ve seen. Therefore,anyone who expects the Spanish Inquisitionknows the troubles I’ve seen.

6. All babies are illogical. Nobody who isillogical can manage a crocodile. Berthold is ababy. Therefore, Berthold is unable to managea crocodile.

Page 314: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23

Multiplegenerality

So far, we have only considered sentences thatrequire one-place predicates and one quantifier.The full power of FOL really comes out when westart to use many-place predicates and multiplequantifiers. For this insight, we largely haveGottlob Frege (1879) to thank, but also C.S. Peirce.

23.1 Many-placed predicates

All of the predicates that we have considered so farconcern properties that objects might have. Thosepredicates have one gap in them, and to make a

300

Page 315: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 301

sentence, we simply need to slot in one term. Theyare one-place predicates.

However, other predicates concern the relationbetween two things. Here are some examples ofrelational predicates in English:

lovesis to the left ofis in debt to

These are two-place predicates. They need to befilled in with two terms in order to make a sentence.Conversely, if we start with an English sentencecontaining many singular terms, we can remove twosingular terms, to obtain different two-placepredicates. Consider the sentence ‘Vinnie borrowedthe family car from Nunzio’. By deleting twosingular terms, we can obtain any of three differenttwo-place predicates

Vinnie borrowed fromborrowed the family car fromborrowed from Nunzio

Page 316: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 302

and by removing all three singular terms, we obtaina three-place predicate:

borrowed from

Indeed, there is no in principle upper limit on thenumber of places that our predicates may contain.

Now there is a little foible with the above. Wehave used the same symbol, ‘ ’, to indicate agap formed by deleting a term from a sentence.However (as Frege emphasized), these aredifferent gaps. To obtain a sentence, we can fillthem in with the same term, but we can equally fillthem in with different terms, and in various differentorders. The following are all perfectly goodsentences, and they all mean very different things:

Karl loves KarlKarl loves ImreImre loves KarlImre loves Imre

The point is that we need to keep track of the gaps

Page 317: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 303

in predicates, so that we can keep track of how weare filling them in.

To keep track of the gaps, we will label them.The labelling conventions we will adopt are bestexplained by example. Suppose we want tosymbolize the following sentences:

1. Karl loves Imre.2. Imre loves himself.3. Karl loves Imre, but not vice versa.4. Karl is loved by Imre.

We will start with the following representation key:

domain: peoplei : Imrek : Karl

Lxy : x loves y

Sentence 1 will now be symbolized by ‘Lki ’.Sentence 2 can be paraphrased as ‘Imre loves

Imre’. It can now be symbolized by ‘Lii ’.

Page 318: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 304

Sentence 3 is a conjunction. We mightparaphrase it as ‘Karl loves Imre, and Imre does notlove Karl’. It can now be symbolized by ‘Lki ∧ ¬Lik ’.

Sentence 4 might be paraphrased by ‘Imreloves Karl’. It can then be symbolized by ‘Lik ’. Ofcourse, this slurs over the difference in tonebetween the active and passive voice; suchnuances are lost in FOL.

This last example, though, highlightssomething important. Suppose we add to oursymbolization key the following:

Mxy : y loves x

Here, we have used the same English word (‘loves’)as we used in our symbolization key for ‘Lxy ’.However, we have swapped the order of the gapsaround (just look closely at those little subscripts!)So ‘Mki ’ and ‘Lik ’ now both symbolize ‘Imre lovesKarl’. ‘Mik ’ and ‘Lki ’ now both symbolize ‘Karlloves Imre’. Since love can be unrequited, theseare very different claims.

Page 319: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 305

The moral is simple. When we are dealing withpredicates with more than one place, we need topay careful attention to the order of the places.

23.2 The order of quantifiers

Consider the sentence ‘everyone loves someone’.This is potentially ambiguous. It might mean eitherof the following:

5. For every person x, there is some person that xloves

6. There is some particular person whom everyperson loves

Sentence 5 can be symbolized by ‘∀x∃yLxy ’, andwould be true of a love-triangle. For example,suppose that our domain of discourse is restrictedto Imre, Juan and Karl. Suppose also that Karlloves Imre but not Juan, that Imre loves Juan butnot Karl, and that Juan loves Karl but not Imre.Then sentence 5 is true.

Sentence 6 is symbolized by ‘∃y∀xLxy ’.

Page 320: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 306

Sentence 6 is not true in the situation justdescribed. Again, suppose that our domain ofdiscourse is restricted to Imre, Juan and Karl. Thisrequires that all of Juan, Imre and Karl converge on(at least) one object of love.

The point of the example is to illustrate that theorder of the quantifiers matters a great deal.Indeed, to switch them around is called aquantifier shift fallacy. Here is an example, whichcomes up in various forms throughout thephilosophical literature:

For every person, there is some truth theycannot know. (∀∃)

.Û. There is some truth that no person can know.(∃∀)

This argument form is obviously invalid. It’s just asbad as:1

Every dog has its day. (∀∃).Û. There is a day for all the dogs. (∃∀)1Thanks to Rob Trueman for the example.

Page 321: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 307

The order of quantifiers is also important indefinitions in mathematics. For instance, there is abig difference between pointwise and uniformcontinuity of functions:

. A function f is pointwise continuous if∀ε∀x∀y∃δ(|x − y | < δ →

��f (x ) − f (y )�� < ε)

. A function f is uniformly continuous if∀ε∃δ∀x∀y (|x − y | < δ →

��f (x ) − f (y )�� < ε)

The moral is: take great care with the order ofquantification.

23.3 Stepping-stones tosymbolization

Once we have the possibility of multiple quantifiersand many-place predicates, representation in FOLcan quickly start to become a bit tricky. When youare trying to symbolize a complex sentence, werecommend laying down several stepping stones.

Page 322: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 308

As usual, this idea is best illustrated by example.Consider this representation key:

domain: people and dogsDx : x is a dogFxy : x is a friend of y

Oxy : x owns y

g : Geraldo

Now let’s try to symbolize these sentences:

7. Geraldo is a dog owner.8. Someone is a dog owner.9. All of Geraldo’s friends are dog owners.10. Every dog owner is a friend of a dog owner.11. Every dog owner’s friend owns a dog of a

friend.

Sentence 7 can be paraphrased as, ‘There is a dogthat Geraldo owns’. This can be symbolized by‘∃x (Dx ∧ Ogx )’.

Sentence 8 can be paraphrased as, ‘There issome y such that y is a dog owner’. Dealing with

Page 323: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 309

part of this, we might write ‘∃y (y is a dog owner)’.Now the fragment we have left as ‘y is a dog owner’is much like sentence 7, except that it is notspecifically about Geraldo. So we can symbolizesentence 8 by:

∃y∃x (Dx ∧ Oyx )

We should pause to clarify something here. Inworking out how to symbolize the last sentence, wewrote down ‘∃y (y is a dog owner)’. To be very clear:this is neither an FOL sentence nor an Englishsentence: it uses bits of FOL (‘∃’, ‘y ’) and bits ofEnglish (‘dog owner’). It is really is just astepping-stone on the way to symbolizing theentire English sentence with a FOL sentence. Youshould regard it as a bit of rough-working-out, on apar with the doodles that you mightabsent-mindedly draw in the margin of this book,whilst you are concentrating fiercely on someproblem.

Sentence 9 can be paraphrased as, ‘Everyonewho is a friend of Geraldo is a dog owner’. Using

Page 324: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 310

our stepping-stone tactic, we might write∀x [

Fxg → x is a dog owner]Now the fragment that we have left to deal with, ‘xis a dog owner’, is structurally just like sentence 7.However, it would be a mistake for us simply towrite

∀x [Fxg → ∃x (Dx ∧ Oxx )]

for we would here have a clash of variables. Thescope of the universal quantifier, ‘∀x ’, is the entireconditional, so the ‘x ’ in ‘Dx ’ should be governed bythat, but ‘Dx ’ also falls under the scope of theexistential quantifier ‘∃x ’, so the ‘x ’ in ‘Dx ’ shouldbe governed by that. Now confusion reigns: which‘x ’ are we talking about? Suddenly the sentencebecomes ambiguous (if it is even meaningful at all),and logicians hate ambiguity. The broad moral isthat a single variable cannot serve twoquantifier-masters simultaneously.

To continue our symbolization, then, we mustchoose some different variable for our existentialquantifier. What we want is something like:

∀x [Fxg → ∃z (Dz ∧ Oxz )]

Page 325: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 311

This adequately symbolizes sentence 9.Sentence 10 can be paraphrased as ‘For any x

that is a dog owner, there is a dog owner who x is afriend of’. Using our stepping-stone tactic, thisbecomes∀x [

x is a dog owner → ∃y (y is a dog owner ∧ Fxy )]Completing the symbolization, we end up with

∀x [∃z (Dz ∧ Oxz ) → ∃y (∃z (Dz ∧ Oyz ) ∧ Fxy ) ]Note that we have used the same letter, ‘z ’, in boththe antecedent and the consequent of theconditional, but that these are governed by twodifferent quantifiers. This is ok: there is no clashhere, because it is clear which quantifier thatvariable falls under. We might graphically representthe scope of the quantifiers thus:

scope of ‘∀x ’︷ ︸︸ ︷∀x [ scope of 1st ‘∃z ’︷ ︸︸ ︷

∃z (Dz ∧ Oxz ) →

scope of ‘∃y ’︷ ︸︸ ︷∃y (

scope of 2nd ‘∃z ’︷ ︸︸ ︷∃z (Dz ∧ Oyz ) ∧Fxy )]

This shows that no variable is being forced to servetwo masters simultaneously.

Page 326: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 312

Sentence 11 is the trickiest yet. First weparaphrase it as ‘For any x that is a friend of a dogowner, x owns a dog which is also owned by a friendof x’. Using our stepping-stone tactic, thisbecomes:

∀x [x is a friend of a dog owner →

x owns a dog which is owned by a friend of x ]Breaking this down a bit more:

∀x [∃y (Fxy ∧ y is a dog owner) →∃y (Dy ∧ Oxy ∧ y is owned by a friend of x )]

And a bit more:∀x [∃y (Fxy∧∃z (Dz∧Oyz )) → ∃y (Dy∧Oxy∧∃z (Fzx∧Ozy ))]And we are done!

Page 327: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 313

23.4 Supressed quantifiers

Logic can often help to get clear on the meanings ofEnglish claims, especially where the quantifiers areleft implicit or their order is ambiguous or unclear.The clarity of expression and thinking afforded byFOL can give you a significant advantage inargument, as can be seen in the following takedownby British political philosopher Mary Astell(1666–1731) of her contemporary, the theologianWilliam Nicholls. In Discourse IV: The Duty ofWives to their Husbands of his The Duty ofInferiors towards their Superiors, in FivePract ical Discourses (London 1701), Nichollsargued that women are naturally inferior to men. Inthe preface to the 3rd edition of her treatise SomeReflections upon Marriage, Occasion’d by theDuke and Duchess of Mazarine’s Case; which isalso considered, Astell responded as follows:

’Tis true, thro’ Want of Learning, andof that Superior Genius which Men as Menlay claim to, she [Astell] was ignorant ofthe Natural Inferior i ty of our Sex, which

Page 328: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 314

our Masters lay down as a Self-Evidentand Fundamental Truth. She saw nothingin the Reason of Things, to make thiseither a Principle or a Conclusion, butmuch to the contrary; it being Sedition atleast, if not Treason to assert it in thisReign.

For if by the Natural Superiority of theirSex, they mean that every Man is byNature superior to every Woman, whichis the obvious meaning, and that whichmust be stuck to if they would speakSense, it wou’d be a Sin in any Woman tohave Dominion over any Man, and thegreatest Queen ought not to command butto obey her Footman, because noMunicipal Laws can supersede or changethe Law of Nature; so that if the Dominionof the Men be such, the Salique Law,2 asunjust as English Men have ever thoughtit, ought to take place over all the Earth,

2The Salique law was the common law of France whichprohibited the crown be passed on to female heirs.

Page 329: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 315

and the most glorious Reigns in theEnglish, Danish, Casti l ian, and otherAnnals, were wicked Violations of the Lawof Nature!

If they mean that some Men aresuperior to some Women this is no greatDiscovery; had they turn’d the Tables theymight have seen that some Women areSuperior to some Men. Or had they beenpleased to remember their Oaths ofAllegiance and Supremacy, they mighthave known that One Woman is superiorto All the Men in these Nations, or elsethey have sworn to very little purpose.3And it must not be suppos’d, that theirReason and Religion wou’d suffer them totake Oaths, contrary to the Laws of Natureand Reason of things.4

3In 1706, England was ruled by Queen Anne.4Mary Astell, Reflect ions upon Marriage, 1706 Preface,

iii–iv, and Mary Astell, Poli t ical Writ ings, ed. Patricia Spring-borg, Cambridge University Press, 1996, 9–10.

Page 330: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 316

We can symbolize the different interpretationsAstell offers of Nicholls’ claim that men are superiorto women: He either meant that every man issuperior to every woman, i.e.,

∀x (Mx → ∀y (Wy → Sxy ))

or that some men are superior to some women,∃x (Mx ∧ ∃y (Wy ∧ Sxy )).

The latter is true, but so is∃y (Wy ∧ ∃x (Mx ∧ Syx )).

(some women are superior to some men), so thatwould be “no great discovery.” In fact, since theQueen is superior to all her subjects, it’s even truethat some woman is superior to every man, i.e.,

∃y (Wy ∧ ∀x (Mx → Syx )).But this is incompatible with the “obvious meaning”of Nicholls’ claim, i.e., the first reading. So whatNicholls claims amounts to treason against theQueen!

Page 331: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 317

Practice exercises

A. Using this symbolization key:

domain: all animalsAx : x is an alligatorMx : x is a monkeyRx : x is a reptileZx : x lives at the zooLxy : x loves y

a : Amosb : Bouncerc : Cleo

symbolize each of the following sentences in FOL:

1. If Cleo loves Bouncer, then Bouncer is amonkey.

2. If both Bouncer and Cleo are alligators, thenAmos loves them both.

3. Cleo loves a reptile.4. Bouncer loves all the monkeys that live at thezoo.

Page 332: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 318

5. All the monkeys that Amos loves love himback.

6. Every monkey that Cleo loves is also loved byAmos.

7. There is a monkey that loves Bouncer, butsadly Bouncer does not reciprocate this love.

B. Using the following symbolization key:

domain: all animalsDx : x is a dogSx : x likes samurai moviesLxy : x is larger than y

r : Raveh : Shaned : Daisy

symbolize the following sentences in FOL:

1. Rave is a dog who likes samurai movies.2. Rave, Shane, and Daisy are all dogs.3. Shane is larger than Rave, and Daisy is largerthan Shane.

Page 333: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 319

4. All dogs like samurai movies.5. Only dogs like samurai movies.6. There is a dog that is larger than Shane.7. If there is a dog larger than Daisy, then thereis a dog larger than Shane.

8. No animal that likes samurai movies is largerthan Shane.

9. No dog is larger than Daisy.10. Any animal that dislikes samurai movies is

larger than Rave.11. There is an animal that is between Rave and

Shane in size.12. There is no dog that is between Rave and

Shane in size.13. No dog is larger than itself.14. Every dog is larger than some dog.15. There is an animal that is smaller than every

dog.16. If there is an animal that is larger than any dog,

then that animal does not like samurai movies.

C. Using the symbolization key given, symbolizeeach English-language sentence into FOL.

Page 334: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 320

domain: candiesCx : x has chocolate in it.Mx : x has marzipan in it.Sx : x has sugar in it.Tx : Boris has tried x .Bxy : x is better than y .

1. Boris has never tried any candy.2. Marzipan is always made with sugar.3. Some candy is sugar-free.4. The very best candy is chocolate.5. No candy is better than itself.6. Boris has never tried sugar-free chocolate.7. Boris has tried marzipan and chocolate, butnever together.

8. Any candy with chocolate is better than anycandy without it.

9. Any candy with chocolate and marzipan isbetter than any candy that lacks both.

D. Using the following symbolization key:

domain: people and dishes at a potluck

Page 335: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 321

Rx : x has run out.Tx : x is on the table.Fx : x is food.Px : x is a person.Lxy : x likes y .e : Elif : Francescag : the guacamole

symbolize the following English sentences in FOL:

1. All the food is on the table.2. If the guacamole has not run out, then it is onthe table.

3. Everyone likes the guacamole.4. If anyone likes the guacamole, then Eli does.5. Francesca only likes the dishes that have runout.

6. Francesca likes no one, and no one likesFrancesca.

7. Eli likes anyone who likes the guacamole.8. Eli likes anyone who likes the people that helikes.

Page 336: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 322

9. If there is a person on the table already, thenall of the food must have run out.

E. Using the following symbolization key:

domain: peopleDx : x dances ballet.Fx : x is female.Mx : x is male.Cxy : x is a child of y .Sxy : x is a sibling of y .e : Elmerj : Janep : Patrick

symbolize the following sentences in FOL:

1. All of Patrick’s children are ballet dancers.2. Jane is Patrick’s daughter.3. Patrick has a daughter.4. Jane is an only child.5. All of Patrick’s sons dance ballet.6. Patrick has no sons.

Page 337: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 23. Multiple generality 323

7. Jane is Elmer’s niece.8. Patrick is Elmer’s brother.9. Patrick’s brothers have no children.10. Jane is an aunt.11. Everyone who dances ballet has a brother who

also dances ballet.12. Every woman who dances ballet is the child of

someone who dances ballet.

Page 338: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24

Identity

Consider this sentence:

1. Pavel owes money to everyone

Let the domain be people; this will allow us tosymbolize ‘everyone’ as a universal quantifier.Offering the symbolization key:

Oxy : x owes money to y

p : Pavel

we can symbolize sentence 1 by ‘∀xOpx ’. But thishas a (perhaps) odd consequence. It requires thatPavel owes money to every member of the domain

324

Page 339: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 325

(whatever the domain may be). The domaincertainly includes Pavel. So this entails that Pavelowes money to himself.

Perhaps we meant to say:

2. Pavel owes money to everyone else3. Pavel owes money to everyone other thanPavel

4. Pavel owes money to everyone except Pavelhimself

but we do not know how to deal with the italicisedwords yet. The solution is to add another symbol toFOL.

24.1 Adding identity

The symbol ‘=’ is a two-place predicate. Since it isto have a special meaning, we will write it a bitdifferently: we put it between two terms, rather thanout front. And it does have a very particularmeaning. We always adopt the followingsymbolization key:

Page 340: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 326

x = y : x is identical to y

This does not mean merely that the objects inquestion are indistinguishable, or that all of thesame things are true of them. Rather, it means thatthe objects in question are the very same object.

Now suppose we want to symbolize thissentence:

5. Pavel is Mister Checkov.

Let us add to our symbolization key:

c : Mister Checkov

Now sentence 5 can be symbolized as ‘p = c ’. Thismeans that the names ‘p ’ and ‘c ’ both name thesame thing.

We can also now deal with sentences 2–4. All ofthese sentences can be paraphrased as ‘Everyonewho is not Pavel is owed money by Pavel’.Paraphrasing some more, we get: ‘For all x, if x is

Page 341: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 327

not Pavel, then x is owed money by Pavel’. Nowthat we are armed with our new identity symbol, wecan symbolize this as ‘∀x (¬x = p → Opx )’.

This last sentence contains the formula ‘¬x = p ’.That might look a bit strange, because the symbolthat comes immediately after the ‘¬’ is a variable,rather than a predicate, but this is not a problem.We are simply negating the entire formula, ‘x = p ’.

In addition to sentences that use the word‘else’, ‘other than’ and ‘except’, identity will behelpful when symbolizing some sentences thatcontain the words ‘besides’ and ‘only.’ Considerthese examples:

6. No one besides Pavel owes money to Hikaru.7. Only Pavel owes Hikaru money.

Let ‘h ’ name Hikaru. Sentence 6 can beparaphrased as, ‘No one who is not Pavel owesmoney to Hikaru’. This can be symbolized by‘¬∃x (¬x = p ∧ Oxh)’. Equally, sentence 6 can beparaphrased as ‘for all x, if x owes money to Hikaru,

Page 342: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 328

then x is Pavel’. It can then be symbolized as‘∀x (Oxh → x = p)’.

Sentence 7 can be treated similarly, but there isone subtlety here. Do either sentence 6 or 7 entailthat Pavel himself owes money to Hikaru?

24.2 There are at least. . .

We can also use identity to say how many thingsthere are of a particular kind. For example, considerthese sentences:

8. There is at least one apple9. There are at least two apples10. There are at least three apples

We will use the symbolization key:

Ax : x is an apple

Sentence 8 does not require identity. It can beadequately symbolized by ‘∃xAx ’: There is anapple; perhaps many, but at least one.

Page 343: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 329

It might be tempting to also symbolize sentence9 without identity. Yet consider the sentence‘∃x∃y (Ax ∧ Ay )’. Roughly, this says that there issome apple x in the domain and some apple y in thedomain. Since nothing precludes these from beingone and the same apple, this would be true even ifthere were only one apple. In order to make surethat we are dealing with different apples, we needan identity predicate. Sentence 9 needs to say thatthe two apples that exist are not identical, so it canbe symbolized by ‘∃x∃y ((Ax ∧ Ay ) ∧ ¬x = y )’.

Sentence 10 requires talking about threedifferent apples. Now we need three existentialquantifiers, and we need to make sure that each willpick out something different:‘∃x∃y∃z [((Ax ∧Ay )∧Az )∧((¬x = y ∧¬y = z )∧¬x = z )]’.

24.3 There are at most. . .

Now consider these sentences:

11. There is at most one apple12. There are at most two apples

Page 344: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 330

Sentence 11 can be paraphrased as, ‘It is not thecase that there are at least two apples’. This is justthe negation of sentence 9:

¬∃x∃y [(Ax ∧ Ay ) ∧ ¬x = y ]

But sentence 11 can also be approached in anotherway. It means that if you pick out an object and it’san apple, and then you pick out an object and it’salso an apple, you must have picked out the sameobject both times. With this in mind, it can besymbolized by

∀x∀y [(Ax ∧ Ay ) → x = y

]The two sentences will turn out to be logicallyequivalent.

In a similar way, sentence 12 can beapproached in two equivalent ways. It can beparaphrased as, ‘It is not the case that there arethree or more distinct apples’, so we can offer:¬∃x∃y∃z (Ax ∧ Ay ∧ Az ∧ ¬x = y ∧ ¬y = z ∧ ¬x = z )

Alternatively we can read it as saying that if youpick out an apple, and an apple, and an apple, then

Page 345: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 331

you will have picked out (at least) one of theseobjects more than once. Thus:∀x∀y∀z [

(Ax ∧ Ay ∧ Az ) → (x = y ∨ x = z ∨ y = z )]

24.4 There are exactly. . .

We can now consider precise statements, like:

13. There is exactly one apple.14. There are exactly two apples.15. There are exactly three apples.

Sentence 13 can be paraphrased as, ‘There is atleast one apple and there is at most one apple’.This is just the conjunction of sentence 8 andsentence 11. So we can offer:

∃xAx ∧ ∀x∀y [(Ax ∧ Ay ) → x = y

]But it is perhaps more straightforward to paraphrasesentence 13 as, ‘There is a thing x which is anapple, and everything which is an apple is just xitself’. Thought of in this way, we offer:

∃x [Ax ∧ ∀y (Ay → x = y )

]

Page 346: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 332

Similarly, sentence 14 may be paraphrased as,‘There are at least two apples, and there are atmost two apples’. Thus we could offer∃x∃y ((Ax ∧ Ay ) ∧ ¬x = y ) ∧

∀x∀y∀z [((Ax ∧ Ay ) ∧ Az ) → ((x = y ∨ x = z ) ∨ y = z )

]More efficiently, though, we can paraphrase it as‘There are at least two different apples, and everyapple is one of those two apples’. Then we offer:∃x∃y [

((Ax ∧ Ay ) ∧ ¬x = y ) ∧ ∀z (Az → (x = z ∨ y = z )]Finally, consider these sentence:

16. There are exactly two things17. There are exactly two objects

It might be tempting to add a predicate to oursymbolization key, to symbolize the Englishpredicate ‘ is a thing’ or ‘ is an object’, butthis is unnecessary. Words like ‘thing’ and ‘object’do not sort wheat from chaff: they apply trivially toeverything, which is to say, they apply trivially toevery thing. So we can symbolize either sentencewith either of the following:

Page 347: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 24. Identity 333

∃x∃y¬x = y ∧ ¬∃x∃y∃z ((¬x = y ∧ ¬y = z ) ∧ ¬x = z )∃x∃y [

¬x = y ∧ ∀z (x = z ∨ y = z )]Practice exercises

A. Explain why:

• ‘∃x∀y (Ay ↔ x = y )’ is a good symbolization of‘there is exactly one apple’.

• ‘∃x∃y [¬x = y ∧ ∀z (Az ↔ (x = z ∨ y = z ))] ’ is a

good symbolization of ‘there are exactly twoapples’.

Page 348: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25

Definitedescriptions

Consider sentences like:

1. Nick is the traitor.2. The traitor went to Cambridge.3. The traitor is the deputy

These are definite descriptions: they are meant topick out a unique object. They should becontrasted with indefinite descriptions, such as‘Nick is a traitor’. They should equally be contrastedwith generics, such as ‘The whale is a mammal’(it’s inappropriate to ask which whale). The

334

Page 349: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 335

question we face is: how should we deal withdefinite descriptions in FOL?

25.1 Treating definitedescriptions as terms

One option would be to introduce new nameswhenever we come across a definite description.This is probably not a great idea. We know that thetraitor—whoever it is—is indeed a traitor. We wantto preserve that information in our symbolization.

A second option would be to use a new definitedescription operator, such as ‘ ι’. The idea would beto symbolize ‘the F’ as ‘ ιxFx ’; or to symbolize ‘theG’ as ‘ ιxGx ’, etc. Expression of the form ιxAx

would then behave like names. If we followed thispath, then using the following symbolization key:

domain: peopleTx : x is a traitorDx : x is a deputyCx : x went to Cambridge

Page 350: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 336

n : Nick

We could symbolize sentence 1 with ‘ ιxTx = n ’,sentence 2 with ‘C ιxTx ’, and sentence 3 with‘ ιxTx = ιxDx ’.

However, it would be nice if we didn’t have toadd a new symbol to FOL. And indeed, we might beable to make do without one.

25.2 Russell’s analysis

Bertrand Russell offered an analysis of definitedescriptions. Very briefly put, he observed that,when we say ‘the F’ in the context of a definitedescription, our aim is to pick out the one and onlything that is F (in the appropriate context). ThusRussell analysed the notion of a definite description

Page 351: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 337

as follows:1the F is G iff there is at least one F, and

there is at most one F, andevery F is G

Note a very important feature of this analysis: ‘the’does not appear on the right-side of theequivalence. Russell is aiming to provide anunderstanding of definite descriptions in terms thatdo not presuppose them.

Now, one might worry that we can say ‘the tableis brown’ without implying that there is one and onlyone table in the universe. But this is not (yet) afantastic counterexample to Russell’s analysis. Thedomain of discourse is likely to be restricted bycontext (e.g. to objects in my line of sight).

If we accept Russell’s analysis of definitedescriptions, then we can symbolize sentences ofthe form ‘the F is G’ using our strategy for numerical

1Bertrand Russell, ‘On Denoting’, 1905, Mind 14, pp. 479–93; also Russell, Introduction to Mathematical Philosophy,1919, London: Allen and Unwin, ch. 16.

Page 352: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 338

quantification in FOL. After all, we can deal with thethree conjuncts on the right-hand side of Russell’sanalysis as follows:

∃xFx ∧ ∀x∀y ((Fx ∧ Fy ) → x = y ) ∧ ∀x (Fx → Gx )

In fact, we could express the same point rathermore crisply, by recognizing that the first twoconjuncts just amount to the claim that there isexactly one F, and that the last conjunct tells usthat that object is F. So, equivalently, we couldoffer:

∃x [(Fx ∧ ∀y (Fy → x = y )) ∧ Gx

]Using these sorts of techniques, we can nowsymbolize sentences 1–3 without using anynew-fangled fancy operator, such as ‘ ι’.

Sentence 1 is exactly like the examples wehave just considered. So we would symbolize it by‘∃x (Tx ∧ ∀y (Ty → x = y ) ∧ x = n)’.

Sentence 2 poses no problems either:‘∃x (Tx ∧ ∀y (Ty → x = y ) ∧ Cx )’.

Sentence 3 is a little trickier, because it linkstwo definite descriptions. But, deploying Russell’s

Page 353: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 339

analysis, it can be paraphrased by ‘there is exactlyone traitor, x, and there is exactly one deputy, y,and x = y’. So we can symbolize it by:∃x∃y ( [

Tx∧∀z (Tz → x = z )]∧[Dy∧∀z (Dz → y = z )

]∧x = y

)Note that we have made sure that the formula ‘x = y ’falls within the scope of both quantifiers!

25.3 Empty definitedescriptions

One of the nice features of Russell’s analysis is thatit allows us to handle empty definite descriptionsneatly.

France has no king at present. Now, if we wereto introduce a name, ‘k ’, to name the present Kingof France, then everything would go wrong:remember from §21 that a name must always pickout some object in the domain, and whatever wechoose as our domain, it will contain no presentkings of France.

Russell’s analysis neatly avoids this problem.

Page 354: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 340

Russell tells us to treat definite descriptions usingpredicates and quantifiers, instead of names. Sincepredicates can be empty (see §22), this means thatno difficulty now arises when the definitedescription is empty.

Indeed, Russell’s analysis helpfully highlightstwo ways to go wrong in a claim involving a definitedescription. To adapt an example from StephenNeale (1990),2 suppose Alex claims:

4. I am dating the present king of France.

Using the following symbolization key:

a : AlexKx : x is a present king of FranceDxy : x is dating y

Sentence 4 would be symbolized by‘∃x (∀y (Ky ↔ x = y ) ∧ Dax )’. Now, this can be falsein (at least) two ways, corresponding to these twodifferent sentences:

2Neale, Descriptions, 1990, Cambridge: MIT Press.

Page 355: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 341

5. There is no one who is both the present King ofFrance and such that he and Alex are dating.

6. There is a unique present King of France, butAlex is not dating him.

Sentence 5 might be paraphrased by ‘It is not thecase that: the present King of France and Alex aredating’. It will then be symbolized by‘¬∃x [

(Kx ∧ ∀y (Ky → x = y )) ∧ Dax] ’. We might call

this outer negation, since the negation governs theentire sentence. Note that it will be true if there isno present King of France.

Sentence 6 can be symbolized by‘∃x ((Kx ∧ ∀y (Ky → x = y )) ∧ ¬Dax )’. We might callthis inner negation, since the negation occurswithin the scope of the definite description. Notethat its truth requires that there is a present King ofFrance, albeit one who is not dating Alex.

Page 356: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 342

25.4 The adequacy of Russell’sanalysis

How good is Russell’s analysis of definitedescriptions? This question has generated asubstantial philosophical literature, but we willrestrict ourselves to two observations.

One worry focusses on Russell’s treatment ofempty definite descriptions. If there are no Fs, thenon Russell’s analysis, both ‘the F is G’ is and ‘the Fis non-G’ are false. P.F. Strawson suggested thatsuch sentences should not be regarded as false,exactly.3 Rather, they involve presuppositionfailure, and need to be regarded as neither true norfalse.

If we agree with Strawson here, we will need torevise our logic. For, in our logic, there are only twotruth values (True and False), and every sentenceis assigned exactly one of these truth values.

But there is room to disagree with Strawson.3P.F. Strawson, ‘On Referring’, 1950, Mind 59, pp. 320–34.

Page 357: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 343

Strawson is appealing to some linguistic intuitions,but it is not clear that they are very robust. Forexample: isn’t it just false, not ‘gappy’, that Tim isdating the present King of France?

Keith Donnellan raised a second sort of worry,which (very roughly) can be brought out by thinkingabout a case of mistaken identity.4 Two men standin the corner: a very tall man drinking what lookslike a gin martini; and a very short man drinkingwhat looks like a pint of water. Seeing them, Malikasays:

7. The gin-drinker is very tall!

Russell’s analysis will have us render Malika’ssentence as:

7′. There is exactly one gin-drinker [in thecorner], and whoever is a gin-drinker [in thecorner] is very tall.

4Keith Donnellan, ‘Reference and Definite Descriptions’,1966, Philosophical Review 77, pp. 281–304.

Page 358: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 344

Now suppose that the very tall man is actuallydrinking water from a martini glass; whereas thevery short man is drinking a pint of (neat) gin. ByRussell’s analysis, Malika has said something false,but don’t we want to say that Malika has saidsomething true?

Again, one might wonder how clear ourintuitions are on this case. We can all agree thatMalika intended to pick out a particular man, andsay something true of him (that he was tall). OnRussell’s analysis, she actually picked out adifferent man (the short one), and consequentlysaid something false of him. But maybe advocatesof Russell’s analysis only need to explain whyMalika’s intentions were frustrated, and so why shesaid something false. This is easy enough to do:Malika said something false because she had falsebeliefs about the men’s drinks; if Malika’s beliefsabout the drinks had been true, then she wouldhave said something true.5

5Interested parties should read Saul Kripke, ‘SpeakerReference and Semantic Reference’, 1977, in French et al(eds.), Contemporary Perspectives in the Philosophy of

Page 359: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 345

To say much more here would lead us into deepphilosophical waters. That would be no bad thing,but for now it would distract us from the immediatepurpose of learning formal logic. So, for now, wewill stick with Russell’s analysis of definitedescriptions, when it comes to putting things intoFOL. It is certainly the best that we can offer,without significantly revising our logic, and it isquite defensible as an analysis.

Practice exercises

A. Using the following symbolization key:

domain: peopleKx : x knows the combination to the safe.Sx : x is a spy.Vx : x is a vegetarian.Txy : x trusts y .h : Hofthori : Ingmar

Language, Minneapolis: University of Minnesota Press, pp.6-27.

Page 360: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 346

symbolize the following sentences in FOL:1. Hofthor trusts a vegetarian.2. Everyone who trusts Ingmar trusts avegetarian.

3. Everyone who trusts Ingmar trusts someonewho trusts a vegetarian.

4. Only Ingmar knows the combination to thesafe.

5. Ingmar trusts Hofthor, but no one else.6. The person who knows the combination to thesafe is a vegetarian.

7. The person who knows the combination to thesafe is not a spy.

B. Using the following symbolization key:domain: cards in a standard deck

Bx : x is black.Cx : x is a club.Dx : x is a deuce.Jx : x is a jack.Mx : x is a man with an axe.Ox : x is one-eyed.

Page 361: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 347

Wx : x is wild.

symbolize each sentence in FOL:

1. All clubs are black cards.2. There are no wild cards.3. There are at least two clubs.4. There is more than one one-eyed jack.5. There are at most two one-eyed jacks.6. There are two black jacks.7. There are four deuces.8. The deuce of clubs is a black card.9. One-eyed jacks and the man with the axe arewild.

10. If the deuce of clubs is wild, then there isexactly one wild card.

11. The man with the axe is not a jack.12. The deuce of clubs is not the man with the axe.

C. Using the following symbolization key:

domain: animals in the world

Page 362: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 348

Bx : x is in Farmer Brown’s field.Hx : x is a horse.Px : x is a Pegasus.Wx : x has wings.

symbolize the following sentences in FOL:1. There are at least three horses in the world.2. There are at least three animals in the world.3. There is more than one horse in FarmerBrown’s field.

4. There are three horses in Farmer Brown’s field.5. There is a single winged creature in FarmerBrown’s field; any other creatures in the fieldmust be wingless.

6. The Pegasus is a winged horse.7. The animal in Farmer Brown’s field is not ahorse.

8. The horse in Farmer Brown’s field does nothave wings.

D. In this chapter, we symbolized ‘Nick is thetraitor’ by ‘∃x (Tx ∧ ∀y (Ty → x = y ) ∧ x = n)’. Twoequally good symbolizations would be:

Page 363: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 25. Definite descriptions 349

• Tn ∧ ∀y (Ty → n = y )• ∀y (Ty ↔ y = n)

Explain why these would be equally goodsymbolizations.

Page 364: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26

Sentences ofFOL

We know how to represent English sentences inFOL. The time has finally come to define the notionof a sentence of FOL.

26.1 Expressions

There are six kinds of symbols in FOL:

Predicates A , B , C , . . . , Z , or with subscripts, asneeded: A1 , B1 , Z1 , A2 , A25 , J375 , . . .

Names a , b , c , . . . , r , or with subscripts, as neededa1 , b224 , h7 , m32 , . . .

350

Page 365: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 351

Variables s , t , u , v , w , x , y , z , or with subscripts,as needed x1 , y1 , z1 , x2 , . . .

Connectives ¬, ∧, ∨,→,↔Brackets ( , )Quantifiers ∀, ∃

We define an expression of FOL as any string ofsymbols of FOL. Take any of the symbols of FOLand write them down, in any order, and you have anexpression.

26.2 Terms and formulas

In §6, we went straight from the statement of thevocabulary of TFL to the definition of a sentence ofTFL. In FOL, we will have to go via an intermediarystage: via the notion of a formula. The intuitiveidea is that a formula is any sentence, or anythingwhich can be turned into a sentence by addingquantifiers out front. But this will take someunpacking.

We start by defining the notion of a term.

Page 366: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 352

A term is any name or any variable.So, here are some terms:

a , b , x , x1x2 , y , y254 , zNext we need to define atomic formulas.

1. If R is an n-place predicate andt1 , t2 , . . . , tn are terms, then Rt1t2 . . . tnis an atomic formula.

2. If t1 and t2 are terms, then t1 = t2 is anatomic formula.

3. Nothing else is an atomic formula.The use of script letters here follows the

conventions laid down in §7. So, ‘R’ is not itself apredicate of FOL. Rather, it is a symbol of ourmetalanguage (augmented English) that we use totalk about any predicate of FOL. Similarly, ‘t1 ’ is nota term of FOL, but a symbol of the metalanguagethat we can use to talk about any term of FOL. So,where ‘F ’ is a one-place predicate, ‘G ’ is athree-place predicate, and ‘S ’ is a six-placepredicate, here are some atomic formulas:

Page 367: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 353

x = aa = bFxFaGxayGaaa

Sx1x2abyx1Sby254zaaz

Once we know what atomic formulas are, we canoffer recursion clauses to define arbitrary formulas.The first few clauses are exactly the same as forTFL.

Page 368: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 354

1. Every atomic formula is a formula.2. If A is a formula, then ¬A is a formula.3. If A and B are formulas, then (A∧B) is aformula.

4. If A and B are formulas, then (A∨B) is aformula.

5. If A and B are formulas, then (A→ B) is aformula.

6. If A and B are formulas, then (A↔ B) is aformula.

7. If A is a formula, x is a variable, A con-tains at least one occurrence of x, and A

contains neither ∀x nor ∃x, then ∀xA is aformula.

8. If A is a formula, x is a variable, A con-tains at least one occurrence of x, and A

contains neither ∀x nor ∃x, then ∃xA is aformula.

9. Nothing else is a formula.

Page 369: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 355

So, assuming again that ‘F ’ is a one-placepredicate, ‘G ’ is a three-place predicate and ‘H ’ isa six place-predicate, here are some formulas:

FxGayz

Syzyayx(Gayz → Syzyayx )

∀z (Gayz → Syzyayx )Fx ↔ ∀z (Gayz → Syzyayx )

∃y (Fx ↔ ∀z (Gayz → Syzyayx ))∀x∃y (Fx ↔ ∀z (Gayz → Syzyayx ))

However, this is not a formula:

∀x∃xGxxx

Certainly ‘Gxxx ’ is a formula, and ‘∃xGxxx ’ istherefore also a formula. But we cannot form a newformula by putting ‘∀x ’ at the front. This violates theconstraints on clause 7 of our recursive definition:‘∃xGxxx ’ contains at least one occurrence of ‘x ’, butit already contains ‘∃x ’.

Page 370: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 356

These constraints have the effect of ensuringthat variables only serve one master at any onetime (see §23). In fact, we can now give a formaldefinition of scope, which incorporates thedefinition of the scope of a quantifier. Here wefollow the case of TFL, though we note that a logicaloperator can be either a connective or a quantifier:The main logical operator in a formula is theoperator that was introduced last, when thatformula was constructed using the recursionrules.The scope of a logical operator in a formula isthe subformula for which that operator is themain logical operator.So we can graphically illustrate the scope of the

quantifiers in the preceding example thus:scope of ‘∀x ’︷ ︸︸ ︷

∀x

scope of ‘∃y ’︷ ︸︸ ︷∃y (Fx ↔

scope of ‘∀z ’︷ ︸︸ ︷∀z (Gayz → Syzyayx ))

Page 371: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 357

26.3 Sentences

Recall that we are largely concerned in logic withassertoric sentences: sentences that can be eithertrue or false. Many formulas are not sentences.Consider the following symbolization key:

domain: peopleLxy : x loves y

b : Boris

Consider the atomic formula ‘Lzz ’. All atomicformula are formulas, so ‘Lzz ’ is a formula, but canit be true or false? You might think that it will betrue just in case the person named by ‘z ’ lovesthemself, in the same way that ‘Lbb ’ is true just incase Boris (the person named by ‘b ’) loves himself.However, ‘z ’ is a variable, and does not nameanyone or any thing.

Of course, if we put an existential quantifier outfront, obtaining ‘∃zLzz ’, then this would be true iffsomeone loves herself. Equally, if we wrote ‘∀zLzz ’,this would be true iff everyone loves themself. The

Page 372: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 358

point is that we need a quantifier to tell us how todeal with a variable.

Let’s make this idea precise.A bound variable is an occurrence of a vari-able x that is within the scope of either ∀x or∃x.A free variable is any variable that is notbound.For example, consider the formula

∀x (Ex ∨ Dy ) → ∃z (Ex → Lzx )

The scope of the universal quantifier ‘∀x ’ is‘∀x (Ex ∨ Dy )’, so the first ‘x ’ is bound by theuniversal quantifier. However, the second and thirdoccurrence of ‘x ’ are free. Equally, the ‘y ’ is free.The scope of the existential quantifier ‘∃z ’ is‘(Ex → Lzx )’, so ‘z ’ is bound.

Finally we can say the following.A sentence of FOL is any formula of FOL thatcontains no free variables.

Page 373: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 26. Sentences of FOL 359

26.4 Bracketing conventions

We will adopt the same notational conventionsgoverning brackets that we did for TFL (see §6 and§10.3.)

First, we may omit the outermost brackets of aformula.

Second, we may use square brackets, ‘[’ and ‘]’,in place of brackets to increase the readability offormulas.

Practice exercises

A. Identify which variables are bound and which arefree.

1. ∃xLxy ∧ ∀yLyx2. ∀xAx ∧ Bx3. ∀x (Ax ∧ Bx ) ∧ ∀y (Cx ∧ Dy )4. ∀x∃y [Rxy → (Jz ∧ Kx )] ∨ Ryx5. ∀x1(Mx2 ↔ Lx2x1) ∧ ∃x2Lx3x2

Page 374: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Part VI

Interpretations

360

Page 375: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27

Extensionality

Recall that TFL is a truth-functional language. Itsconnectives are all truth-functional, and all that wecan do with TFL is key sentences to particular truthvalues. We can do this directly. For example, wemight stipulate that the TFL sentence ‘P ’ is to betrue. Alternatively, we can do this indirectly,offering a symbolization key, e.g.:

P : Big Ben is in London

Now recall from §9 that this should be taken tomean:

• The TFL sentence ‘P ’ is to take the same truth361

Page 376: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 362

value as the English sentence ‘Big Ben is inLondon’ (whatever that truth value may be)

The point that we emphasized is that TFL cannothandle differences in meaning that go beyond meredifferences in truth value.

27.1 Symbolizing versustranslating

FOL has some similar limitations, but it goesbeyond mere truth values, since it enables us tosplit up sentences into terms, predicates andquantifier expressions. This enables us to considerwhat is true of some particular object, or of some orall objects. But we can do no more than that.

When we provide a symbolization key for someFOL predicates, such as:

Cx : x teaches Logic III in Calgary

we do not carry the meaning of the English

Page 377: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 363

predicate across into our FOL predicate. We aresimply stipulating something like the following:

• ‘Cx ’ and ‘ x teaches Logic III in Calgary’are to be true of exactly the same things.

So, in particular:

• ‘Cx ’ is to be true of all and only those thingswhich teach Logic III in Calgary (whateverthose things might be).

This is an indirect stipulation. Alternatively, we candirectly stipulate which objects a predicate shouldbe true of. For example, we can stipulate that ‘Cx ’is to be true of Richard Zach, and Richard Zachalone. As it happens, this direct stipulation wouldhave the same effect as the indirect stipulation.Note, however, that the English predicates ‘ isRichard Zach’ and ‘ teaches Logic III inCalgary’ have very different meanings!

The point is that FOL does not give us anyresources for dealing with nuances of meaning.

Page 378: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 364

When we interpret FOL, all we are considering iswhat the predicates are true of, regardless ofwhether we specify these things directly orindirectly. The things a predicate is true of areknown as the extension of that predicate. We saythat FOL is an extensional language because FOLdoes not represent differences of meaning betweenpredicates that have the same extension.

For this reason, we say only that FOL sentencessymbolize English sentences. It is doubtful that weare translating English into FOL, as translationsshould preserve meanings, and not just extensions.

27.2 A word on extensions

We can stipulate directly what predicates are to betrue of, so it is worth noting that our stipulations canbe as arbitrary as we like. For example, we couldstipulate that ‘Hx ’ should be true of, and only of, thefollowing objects:

Justin Trudeauthe number π

Page 379: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 365

every top-F key on every piano ever made

Now, the objects that we have listed have nothingparticularly in common. But this doesn’t matter.Logic doesn’t care about what strikes us merehumans as ‘natural’ or ‘similar’. Armed with thisinterpretation of ‘Hx ’, suppose we now add to oursymbolization key:

j : Justin Trudeaur : Rachel Notleyp : the number π

Then ‘Hj ’ and ‘Hp ’ will both be true, on thisinterpretation, but ‘Hr ’ will be false, since RachelNotley was not among the stipulated objects.

27.3 Many-place predicates

All of this is quite easy to understand when it comesto one-place predicates, but it gets messier whenwe consider two-place predicates. Consider asymbolization key like:

Page 380: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 366

Lxy : x loves y

Given what we said above, this symbolization keyshould be read as saying:

• ‘Lxy ’ and ‘ x loves y ’ are to be true ofexactly the same things

So, in particular:

• ‘Lxy ’ is to be true of x and y (in that order) iff xloves y.

It is important that we insist upon the order here,since love—famously—is not always reciprocated.(Note that ‘x’ and ‘y’ here are symbols of augmentedEnglish, and that they are being used. By contrast,‘x ’ and ‘y ’ are symbols of FOL, and they are beingmentioned.)

That is an indirect stipulation. What about adirect stipulation? This is slightly harder. If wesimply list objects that fall under ‘Lxy ’, we will notknow whether they are the lover or the beloved (or

Page 381: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 367

both). We have to find a way to include the order inour explicit stipulation.

To do this, we can specify that two-placepredicates are true of pairs of objects, where theorder of the pair is important. Thus we mightstipulate that ‘Bxy ’ is to be true of, and only of, thefollowing pairs of objects:

〈Lenin, Marx〉〈Heidegger, Sartre〉〈Sartre, Heidegger〉

Here the angle-brackets keep us informedconcerning order. Suppose we now add thefollowing stipulations:

l : Leninm : Marxh : Heideggerr : Sartre

Then ‘Blm ’ will be true, since 〈Lenin, Marx〉 was inour explicit list, but ‘Bml ’ will be false, since 〈Marx,

Page 382: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 368

Lenin〉 was not in our list. However, both ‘Bhr ’ and‘Brh ’ will be true, since both 〈Heidegger, Sartre〉and 〈Sartre, Heidegger〉 are in our explicit list.

To make these ideas more precise, we wouldneed to develop some set theory. That would giveus some precise tools for dealing with extensionsand with ordered pairs (and ordered triples, etc.).However, set theory is not covered in this book, sowe will leave these ideas at an imprecise level.Nevertheless, the general idea should be clear.

27.4 Semantics for identity

Identity is a special predicate of FOL. We write it abit differently than other two-place predicates:‘x = y ’ instead of ‘Ixy ’ (for example). Moreimportant, though, its interpretation is fixed, onceand for all.

If two names refer to the same object, thenswapping one name for another will not change thetruth value of any sentence. So, in particular, if ‘a ’and ‘b ’ name the same object, then all of the

Page 383: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 369

following will be true:Aa ↔ Ab

Ba ↔ Bb

Raa ↔ Rbb

Raa ↔ Rab

Rca ↔ Rcb

∀xRxa ↔ ∀xRxb

Some philosophers have believed the reverse ofthis claim. That is, they have believed that whenexactly the same sentences (not containing ‘=’) aretrue of two objects, then they are really just one andthe same object after all. This is a highlycontroversial philosophical claim (sometimes calledthe identity of indiscernibles) and our logic willnot subscribe to it; we allow that exactly the samethings might be true of two distinct objects.

To bring this out, consider the followinginterpretation:

domain: P.D. Magnus, Tim Buttona : P.D. Magnus

Page 384: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 370

b : Tim Button• For every primitive predicate we care toconsider, that predicate is true of nothing.

Suppose ‘A ’ is a one-place predicate; then ‘Aa ’ isfalse and ‘Ab ’ is false, so ‘Aa ↔ Ab ’ is true.Similarly, if ‘R ’ is a two-place predicate, then ‘Raa ’is false and ‘Rab ’ is false, so that ‘Raa ↔ Rab ’ istrue. And so it goes: every atomic sentence notinvolving ‘=’ is false, so every biconditional linkingsuch sentences is true. For all that, Tim Button andP.D. Magnus are two distinct people, not one andthe same!

27.5 Interpretation

We defined a valuation in TFL as any assignmentof truth and falsity to atomic sentences. In FOL, weare going to define an interpretation as consistingof three things:

• the specification of a domain

Page 385: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 371

• for each name that we care to consider, anassignment of exactly one object within thedomain

• for each predicate that we care toconsider—other than ‘=’—a specification ofwhat things (in what order) the predicate is tobe true of

The symbolization keys that we considered in Part Vconsequently give us one very convenient way topresent an interpretation. We will continue to usethem throughout this chapter. However, it issometimes also convenient to present aninterpretation diagrammatically.

Suppose we want to consider just a singletwo-place predicate, ‘Rxy ’. Then we can representit just by drawing an arrow between two objects,and stipulate that ‘Rxy ’ is to hold of x and y just incase there is an arrow running from x to y in ourdiagram. As an example, we might offer:

Page 386: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 372

1 2

34

This would be suitable to characterize aninterpretation whose domain is the first four positivewhole numbers, and which interprets ‘Rxy ’ as beingtrue of and only of:

〈1, 2〉, 〈2, 3〉, 〈3, 4〉, 〈4, 1〉, 〈1, 3〉

Equally we might offer:

1 2

34

for an interpretation with the same domain, whichinterprets ‘Rxy ’ as being true of and only of:

〈1, 3〉, 〈3, 1〉, 〈3, 4〉, 〈1, 1〉, 〈3, 3〉

Page 387: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 27. Extensionality 373

If we wanted, we could make our diagrams morecomplex. For example, we could add names aslabels for particular objects. Equally, to symbolizethe extension of a one-place predicate, we mightsimply draw a ring around some particular objectsand stipulate that the thus encircled objects (andonly them) are to fall under the predicate ‘Hx ’, say.

Page 388: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28

Truth in FOL

We know what interpretations are. Since, amongother things, they tell us which predicates are trueof which objects, they will provide us with anaccount of the truth of atomic sentences. However,we must also present a detailed account of what it isfor an arbitrary FOL sentence to be true or false inan interpretation.

We know from §26 that there are three kinds ofsentence in FOL:

• atomic sentences• sentences whose main logical operator is asentential connective

• sentences whose main logical operator is a374

Page 389: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 375

quantifier

We need to explain truth for all three kinds ofsentence.

We will provide a completely generalexplanation in this section. However, to try to keepthe explanation comprehensible, we will, at severalpoints, use the following interpretation:

domain: all people born before 2000cea : Aristotleb : Beyoncé

Px : x is a philosopherRxy : x was born before y

This will be our go-to example in what follows.

28.1 Atomic sentences

The truth of atomic sentences should be fairlystraightforward. The sentence ‘Pa ’ should be truejust in case ‘Px ’ is true of ‘a ’. Given our go-tointerpretation, this is true iff Aristotle is a

Page 390: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 376

philosopher. Aristotle is a philosopher. So thesentence is true. Equally, ‘Pb ’ is false on our go-tointerpretation.

Likewise, on this interpretation, ‘Rab ’ is true iffthe object named by ‘a ’ was born before the objectnamed by ‘b ’. Well, Aristotle was born beforeBeyoncé. So ‘Rab ’ is true. Equally, ‘Raa ’ is false:Aristotle was not born before Aristotle.

Dealing with atomic sentences, then, is veryintuitive. When R is an n-place predicate anda1 , a2 , . . . , an are names,

Ra1a2 . . . an is true in an interpretation iffR is true of the objects named by a1 , a2 , . . . , anin that interpretation (considered in that order)Recall, though, that there is a second kind of

atomic sentence: two names connected by anidentity sign constitute an atomic sentence. Thiskind of atomic sentence is also easy to handle.Where a and b are any names,

Page 391: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 377

a = b is true in an interpretation iffa and b name the very same object in that in-terpretationSo in our go-to interpretation, ‘a = b ’ is false,

since Aristotle is distinct from Beyoncé.

28.2 Sentential connectives

We saw in §26 that FOL sentences can be built upfrom simpler ones using the truth-functionalconnectives that were familiar from TFL. The rulesgoverning these truth-functional connectives areexactly the same as they were when we consideredTFL. Here they are:

Page 392: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 378

A∧B is true in an interpretation iffboth A is true and B is true in that interpretation

A∨B is true in an interpretation iffeither A is true or B is true in that interpretation

¬A is true in an interpretation iffA is false in that interpretation

A→ B is true in an interpretation iffeither A is false or B is true in that interpreta-tion

A↔ B is true in an interpretation iffA has the same truth value as B in that inter-pretationThis presents the very same information as the

characteristic truth tables for the connectives; it justdoes so in a slightly different way. Some exampleswill probably help to illustrate the idea. On ourgo-to interpretation:

• ‘a = a ∧ Pa ’ is true

Page 393: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 379

• ‘Rab ∧ Pb ’ is false because, although ‘Rab ’ istrue, ‘Pb ’ is false

• ‘a = b ∨ Pa ’ is true• ‘¬a = b ’ is true• ‘Pa ∧ ¬(a = b ∧ Rab)’ is true, because ‘Pa ’ istrue and ‘a = b ’ is false

Make sure you understand these examples.

28.3 When the main logicaloperator is a quantifier

The exciting innovation in FOL, though, is the useof quantifiers, but expressing the truth conditionsfor quantified sentences is a bit more fiddly thanone might first expect.

Here is a naïve first thought. We want to saythat ‘∀xFx ’ is true iff ‘Fx ’ is true of everything in thedomain. This should not be too problematic: ourinterpretation will specify directly what ‘Fx ’ is trueof.

Unfortunately, this naïve thought is not general

Page 394: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 380

enough. For example, we want to be able to saythat ‘∀x∃yLxy ’ is true just in case ‘∃yLxy ’ is true ofeverything in the domain. This is problematic, sinceour interpretation does not directly specify what‘∃yLxy ’ is to be true of. Instead, whether or not thisis true of something should follow just from theinterpretation of ‘Lxy ’, the domain, and themeanings of the quantifiers.

So here is a second naïve thought. We might tryto say that ‘∀x∃yLxy ’ is to be true in aninterpretation iff ∃yLay is true for every name a

that we have included in our interpretation.Similarly, we might try to say that ∃yLay is true justin case Lab is true for some name b that we haveincluded in our interpretation.

Unfortunately, this is not right either. To seethis, observe that in our go-to interpretation, wehave only given interpretations for two names, ‘a ’and ‘b ’, but the domain—all people born before theyear 2000ce—contains many more than two people.We have no intention of trying to name all of them!

So here is a third thought. (And this thought is

Page 395: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 381

not naïve, but correct.) Although it is not the casethat we have named everyone, each person couldhave been given a name. So we should focus on thispossibility of extending an interpretation, by addinga new name. We will offer a few examples of howthis might work, centring on our go-to interpretation,and we will then present the formal definition.

In our go-to interpretation, ‘∃xRbx ’ should betrue. After all, in the domain, there is certainlysomeone who was born after Beyoncé. Lady Gagais one of those people. Indeed, if we were to extendour go-to interpretation—temporarily, mind—byadding the name ‘c ’ to refer to Lady Gaga, then‘Rbc ’ would be true on this extended interpretation.This, surely, should suffice to make ‘∃xRbx ’ true onthe original go-to interpretation.

In our go-to interpretation, ‘∃x (Px ∧ Rxa)’should also be true. After all, in the domain, thereis certainly someone who was both a philosopherand born before Aristotle. Socrates is one suchperson. Indeed, if we were to extend our go-tointerpretation by letting a new name, ‘c ’, denote

Page 396: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 382

Socrates, then ‘Wc ∧ Rca ’ would be true on thisextended interpretation. Again, this should surelysuffice to make ‘∃x (Px ∧ Rxa)’ true on the originalgo-to interpretation.

In our go-to interpretation, ‘∀x∃yRxy ’ shouldbe false. After all, consider the last person born inthe year 1999. We don’t know who that was, but ifwe were to extend our go-to interpretation by lettinga new name, ‘d ’, denote that person, then we wouldnot be able to find anyone else in the domain todenote with some further new name, perhaps ‘e ’, insuch a way that ‘Rde ’ would be true. Indeed, nomatter whom we named with ‘e ’, ‘Rde ’ would befalse. This observation is surely sufficient to make‘∃yRdy ’ false in our extended interpretation, whichin turn is surely sufficient to make ‘∀x∃yRxy ’ falseon the original go-to interpretation.

If you have understood these three examples,good. That’s what matters. Strictly speaking,though, we still need to give a precise definition ofthe truth conditions for quantified sentences. Theresult, sadly, is a bit ugly, and requires a few new

Page 397: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 383

definitions. Brace yourself!Suppose that A is a formula containing at least

one instance of the variable x, and that x is free inA. We will write this thus:

A(. . .x . . .x . . .)Suppose also that c is a name. Then we will write:

A(. . . c . . . c . . .)for the formula obtained by replacing everyoccurrence of x in Awith c. The resulting formula iscalled a substitution instance of ∀xA and ∃xA. cis called the instantiating name. So:

∃x (Rex ↔ Fx )

is a substitution instance of∀y∃x (Ryx ↔ Fx )

with the instantiating name ‘e ’.Armed with this notation, the rough idea is as

follows. The sentence ∀xA(. . .x . . .x . . .) will be trueiff A(. . . c . . . c . . .) is true no matter what object (in

Page 398: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 384

the domain) we name with c. Similarly, thesentence ∃xAwill be true iff there is some way toassign the name c to an object that makesA(. . . c . . . c . . .) true. More precisely, we stipulate:

∀xA(. . .x . . .x . . .) is true in an interpretation iffA(. . . c . . . c . . .) is true in every interpretationthat extends the original interpretation by as-signing an object to any name c (without chang-ing the interpretation in any other way).

∃xA(. . .x . . .x . . .) is true in an interpretation iffA(. . . c . . . c . . .) is true in some interpretationthat extends the original interpretation by as-signing an object to some name c (withoutchanging the interpretation in any other way).To be clear: all this is doing is formalizing (very

pedantically) the intuitive idea expressed on theprevious page. The result is a bit ugly, and the finaldefinition might look a bit opaque. Hopefully,though, the spirit of the idea is clear.

Page 399: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 385

Practice exercises

A. Consider the following interpretation:

• The domain comprises only Corwin andBenedict

• ‘Ax ’ is to be true of both Corwin and Benedict• ‘Bx ’ is to be true of Benedict only• ‘Nx ’ is to be true of no one• ‘c ’ is to refer to Corwin

Determine whether each of the following sentencesis true or false in that interpretation:

1. Bc2. Ac ↔ ¬Nc3. Nc → (Ac ∨ Bc)4. ∀xAx5. ∀x¬Bx6. ∃x (Ax ∧ Bx )7. ∃x (Ax → Nx )8. ∀x (Nx ∨ ¬Nx )9. ∃xBx → ∀xAx

Page 400: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 386

B. Consider the following interpretation:• The domain comprises only Lemmy, Courtneyand Eddy

• ‘Gx ’ is to be true of Lemmy, Courtney andEddy.

• ‘Hx ’ is to be true of and only of Courtney• ‘Mx ’ is to be true of and only of Lemmy andEddy

• ‘c ’ is to refer to Courtney• ‘e ’ is to refer to Eddy

Determine whether each of the following sentencesis true or false in that interpretation:1. Hc2. He3. Mc ∨ Me4. Gc ∨ ¬Gc5. Mc → Gc6. ∃xHx7. ∀xHx8. ∃x¬Mx9. ∃x (Hx ∧ Gx )

Page 401: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 387

10. ∃x (Mx ∧ Gx )11. ∀x (Hx ∨ Mx )12. ∃xHx ∧ ∃xMx13. ∀x (Hx ↔ ¬Mx )14. ∃xGx ∧ ∃x¬Gx15. ∀x∃y (Gx ∧ Hy )

C. Following the diagram conventions introduced atthe end of §27, consider the followinginterpretation:

1 2

3 4 5

Determine whether each of the following sentencesis true or false in that interpretation:

1. ∃xRxx2. ∀xRxx3. ∃x∀yRxy4. ∃x∀yRyx

Page 402: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 28. Truth in FOL 388

5. ∀x∀y∀z ((Rxy ∧ Ryz ) → Rxz )6. ∀x∀y∀z ((Rxy ∧ Rxz ) → Ryz )7. ∃x∀y¬Rxy8. ∀x (∃yRxy → ∃yRyx )9. ∃x∃y (¬x = y ∧ Rxy ∧ Ryx )10. ∃x∀y (Rxy ↔ x = y )11. ∃x∀y (Ryx ↔ x = y )12. ∃x∃y (¬x = y ∧ Rxy ∧ ∀z (Rzx ↔ y = z ))

Page 403: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 29

Semanticconcepts

Offering a precise definition of truth in FOL wasmore than a little fiddly, but now that we are done,we can define various central logical notions. Thesewill look very similar to the definitions we offeredfor TFL. However, remember that they concerninterpretations, rather than valuations.

We will use the symbol ‘�’ for FOL much as wedid for TFL. So:

A1 ,A2 , . . . ,An � C

means that there is no interpretation in which all ofA1 ,A2 , . . . ,An are true and in which C is false.

389

Page 404: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 29. Semantic concepts 390

Derivatively,� A

means that A is true in every interpretation.The other logical notions also have

corresponding definitions in FOL:

. An FOL sentence A is a logical truth iff A istrue in every interpretation; i.e., � A.

. A is a contradiction iff A is false in everyinterpretation; i.e., � ¬A.

. A1 ,A2 , . . .An .Û. C is valid in FOL iff there isno interpretation in which all of the premisesare true and the conclusion is false; i.e.,A1 ,A2 , . . .An � C. It is invalid in FOLotherwise.

. Two FOL sentences A and B are logicallyequivalent iff they are true in exactly the sameinterpretations as each other; i.e., both A � B

and B � A.. The FOL sentences A1 ,A2 , . . . ,An are jointlyconsistent iff there is some interpretation in

Page 405: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 29. Semantic concepts 391

which all of the sentences are true. They arejointly inconsistent iff there is no suchinterpretation.

Page 406: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30

Using inter-pretations

30.1 Logical truths andcontradictions

Suppose we want to show that ‘∃xAxx → Bd ’ is nota logical truth. This requires showing that thesentence is not true in every interpretation; i.e.,that it is false in some interpretation. If we canprovide just one interpretation in which thesentence is false, then we will have shown that thesentence is not a logical truth.

In order for ‘∃xAxx → Bd ’ to be false, the392

Page 407: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 393

antecedent (‘∃xAxx ’) must be true, and theconsequent (‘Bd ’) must be false. To construct suchan interpretation, we start by specifying a domain.Keeping the domain small makes it easier to specifywhat the predicates will be true of, so we will startwith a domain that has just one member. Forconcreteness, let’s say it is the city of Paris.

domain: Paris

The name ‘d ’ must refer to something in the domain,so we have no option but:

d : Paris

Recall that we want ‘∃xAxx ’ to be true, so we wantall members of the domain to be paired withthemselves in the extension of ‘A ’. We can justoffer:

Axy : x is identical with y

Now ‘Add ’ is true, so it is surely true that ‘∃xAxx ’.Next, we want ‘Bd ’ to be false, so the referent of ‘d ’

Page 408: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 394

must not be in the extension of ‘B ’. We might simplyoffer:

Bx : x is in Germany

Now we have an interpretation where ‘∃xAxx ’ istrue, but where ‘Bd ’ is false. So there is aninterpretation where ‘∃xAxx → Bd ’ is false. So‘∃xAxx → Bd ’ is not a logical truth.

We can just as easily show that ‘∃xAxx → Bd ’ isnot a contradiction. We need only specify aninterpretation in which ‘∃xAxx → Bd ’ is true; i.e., aninterpretation in which either ‘∃xAxx ’ is false or ‘Bd ’is true. Here is one:

domain: Parisd : Paris

Axy : x is identical with y

Bx : x is in France

This shows that there is an interpretation where‘∃xAxx → Bd ’ is true. So ‘∃xAxx → Bd ’ is not acontradiction.

Page 409: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 395

30.2 Logical equivalence

Suppose we want to show that ‘∀xSx ’ and ‘∃xSx ’are not logically equivalent. We need to constructan interpretation in which the two sentences havedifferent truth values; we want one of them to betrue and the other to be false. We start byspecifying a domain. Again, we make the domainsmall so that we can specify extensions easily. Inthis case, we will need at least two objects. (If wechose a domain with only one member, the twosentences would end up with the same truth value.In order to see why, try constructing some partialinterpretations with one-member domains.) Forconcreteness, let’s take:

domain: Ornette Coleman, Miles Davis

We can make ‘∃xSx ’ true by including something inthe extension of ‘S ’, and we can make ‘∀xSx ’ falseby leaving something out of the extension of ‘S ’. Forconcreteness we will offer:

Sx : x plays saxophone

Page 410: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 396

Now ‘∃xSx ’ is true, because ‘Sx ’ is true of OrnetteColeman. Slightly more precisely, extend ourinterpretation by allowing ‘c ’ to name OrnetteColeman. ‘Sc ’ is true in this extended interpretation,so ‘∃xSx ’ was true in the original interpretation.Similarly, ‘∀xSx ’ is false, because ‘Sx ’ is false ofMiles Davis. Slightly more precisely, extend ourinterpretation by allowing ‘d ’ to name Miles Davis,and ‘Sd ’ is false in this extended interpretation, so‘∀xSx ’ was false in the original interpretation. Wehave provided a counter-interpretation to the claimthat ‘∀xSx ’ and ‘∃xSx ’ are logically equivalent.To show that A is not a logical truth, it sufficesto find an interpretation where A is false.To show that A is not a contradiction, it sufficesto find an interpretation where A is true.To show that A and B are not logically equiva-lent, it suffices to find an interpretation whereone is true and the other is false.

Page 411: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 397

30.3 Validity, entailment andconsistency

To test for validity, entailment, or consistency, wetypically need to produce interpretations thatdetermine the truth value of several sentencessimultaneously.

Consider the following argument in FOL:∃x (Gx → Ga) .Û. ∃xGx → Ga

To show that this is invalid, we must make thepremise true and the conclusion false. Theconclusion is a conditional, so to make it false, theantecedent must be true and the consequent mustbe false. Clearly, our domain must contain twoobjects. Let’s try:

domain: Karl Marx, Ludwig von MisesGx : x hated communisma : Karl Marx

Given that Marx wrote The Communist Manifesto,‘Ga ’ is plainly false in this interpretation. But von

Page 412: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 398

Mises famously hated communism, so ‘∃xGx ’ is truein this interpretation. Hence ‘∃xGx → Ga ’ is false,as required.

Does this interpretation make the premise true?Yes it does! Note that ‘Ga → Ga ’ is true. (Indeed, itis a logical truth.) But then certainly ‘∃x (Gx → Ga)’is true, so the premise is true, and the conclusion isfalse, in this interpretation. The argument istherefore invalid.

In passing, note that we have also shown that‘∃x (Gx → Ga)’ does not entail ‘∃xGx → Ga ’.Equally, we have shown that the sentences‘∃x (Gx → Ga)’ and ‘¬(∃xGx → Ga)’ are jointlyconsistent.

Let’s consider a second example. Consider:∀x∃yLxy .Û. ∃y∀xLxy

Again, we want to show that this is invalid. To dothis, we must make the premises true and theconclusion false. Here is a suggestion:

domain: UK citizens currently in a civil partnership

Page 413: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 399

with another UK citizenLxy : x is in a civil partnership with y

The premise is clearly true on this interpretation.Anyone in the domain is a UK citizen in a civilpartnership with some other UK citizen. That othercitizen will also, then, be in the domain. So foreveryone in the domain, there will be someone(else) in the domain with whom they are in a civilpartnership. Hence ‘∀x∃yLxy ’ is true. However, theconclusion is clearly false, for that would requirethat there is some single person who is in a civilpartnership with everyone in the domain, and thereis no such person, so the argument is invalid. Weobserve immediately that the sentences ‘∀x∃yLxy ’and ‘¬∃y∀xLxy ’ are jointly consistent and that‘∀x∃yLxy ’ does not entail ‘∃y∀xLxy ’.

For our third example, we’ll mix things up a bit.In §27, we described how we can present someinterpretations using diagrams. For example:

Page 414: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 400

1 2

3

Using the conventions employed in §27, the domainof this interpretation is the first three positive wholenumbers, and ‘Rxy ’ is true of x and y just in casethere is an arrow from x to y in our diagram. Hereare some sentences that the interpretation makestrue:

• ‘∀x∃yRyx ’• ‘∃x∀yRxy ’ witness 1• ‘∃x∀y (Ryx ↔ x = y )’ witness 1• ‘∃x∃y∃z ((¬y = z ∧ Rxy ) ∧ Rzx )’ witness 2• ‘∃x∀y¬Rxy ’ witness 3• ‘∃x (∃yRyx ∧ ¬∃yRxy )’ witness 3

This immediately shows that all of the preceding sixsentences are jointly consistent. We can use this

Page 415: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 401

observation to generate invalid arguments, e.g.:∀x∃yRyx , ∃x∀yRxy .Û. ∀x∃yRxy

∃x∀yRxy , ∃x∀y¬Rxy .Û. ¬∃x∃y∃z (¬y = z ∧ (Rxy ∧ Rzx ))and many more besides.To show that A1 ,A2 , . . . ,An .Û. C is invalid, itsuffices to find an interpretation where all ofA1 ,A2 , . . . ,An are true and where C is false.That same interpretation will show thatA1 ,A2 , . . . ,An do not entail C.It will also show that A1 ,A2 , . . . ,An , ¬C arejointly consistent.When you provide an interpretation to refute a

claim—to logical truth, say, or to entailment—this issometimes called providing acounter-interpretation (or providing acounter-model).

Practice exercises

A. Show that each of the following is neither alogical truth nor a contradiction:

Page 416: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 402

1. Da ∧ Db2. ∃xTxh3. Pm ∧ ¬∀xPx4. ∀zJz ↔ ∃yJy5. ∀x (Wxmn ∨ ∃yLxy )6. ∃x (Gx → ∀yMy )7. ∃x (x = h ∧ x = i )

B. Show that the following pairs of sentences arenot logically equivalent.

1. Ja , Ka2. ∃xJx , Jm3. ∀xRxx , ∃xRxx4. ∃xPx → Qc , ∃x (Px → Qc)5. ∀x (Px → ¬Qx ), ∃x (Px ∧ ¬Qx )6. ∃x (Px ∧ Qx ), ∃x (Px → Qx )7. ∀x (Px → Qx ), ∀x (Px ∧ Qx )8. ∀x∃yRxy , ∃x∀yRxy9. ∀x∃yRxy , ∀x∃yRyx

C. Show that the following sentences are jointlyconsistent:

Page 417: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 403

1. Ma , ¬Na , Pa , ¬Qa2. Lee , Leg , ¬Lge , ¬Lgg3. ¬(Ma ∧ ∃xAx ), Ma ∨ Fa , ∀x (Fx → Ax )4. Ma ∨ Mb , Ma → ∀x¬Mx5. ∀yGy , ∀x (Gx → Hx ), ∃y¬Iy6. ∃x (Bx ∨ Ax ), ∀x¬Cx , ∀x [

(Ax ∧ Bx ) → Cx]

7. ∃xXx , ∃xYx , ∀x (Xx ↔ ¬Yx )8. ∀x (Px ∨ Qx ), ∃x¬(Qx ∧ Px )9. ∃z (Nz ∧ Ozz ), ∀x∀y (Oxy → Oyx )10. ¬∃x∀yRxy , ∀x∃yRxy11. ¬Raa , ∀x (x = a ∨ Rxa)12. ∀x∀y∀z [(x = y ∨ y = z ) ∨ x = z ], ∃x∃y ¬x = y13. ∃x∃y ((Zx ∧ Zy ) ∧ x = y ), ¬Zd , d = eD. Show that the following arguments are invalid:1. ∀x (Ax → Bx ) .Û. ∃xBx2. ∀x (Rx → Dx ), ∀x (Rx → Fx ) .Û. ∃x (Dx ∧ Fx )3. ∃x (Px → Qx ) .Û. ∃xPx4. Na ∧ Nb ∧ Nc .Û. ∀xNx5. Rde , ∃xRxd .Û. Red6. ∃x (Ex ∧ Fx ), ∃xFx → ∃xGx .Û. ∃x (Ex ∧ Gx )7. ∀xOxc , ∀xOcx .Û. ∀xOxx8. ∃x (Jx ∧ Kx ), ∃x¬Kx , ∃x¬Jx .Û. ∃x (¬Jx ∧ ¬Kx )

Page 418: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 30. Using interpretations 404

9. Lab → ∀xLxb , ∃xLxb .Û. Lbb10. ∀x (Dx → ∃yTyx ) .Û. ∃y∃z ¬y = z

Page 419: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 31

Reasoningabout all in-terpretations

31.1 Logical truths andcontradictions

We can show that a sentence is not a logical truthjust by providing one carefully specifiedinterpretation: an interpretation in which thesentence is false. To show that something is alogical truth, on the other hand, it would not beenough to construct ten, one hundred, or even a

405

Page 420: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 31. Reasoning about all interpretations 406

thousand interpretations in which the sentence istrue. A sentence is only a logical truth if it is true inevery interpretation, and there are infinitely manyinterpretations. We need to reason about all ofthem, and we cannot do this by dealing with themone by one!

Sometimes, we can reason about allinterpretations fairly easily. For example, we canoffer a relatively simple argument that ‘Raa ↔ Raa ’is a logical truth:

Any relevant interpretation will give ‘Raa ’a truth value. If ‘Raa ’ is true in aninterpretation, then ‘Raa ↔ Raa ’ is true inthat interpretation. If ‘Raa ’ is false in aninterpretation, then ‘Raa ↔ Raa ’ is true inthat interpretation. These are the onlyalternatives. So ‘Raa ↔ Raa ’ is true inevery interpretation. Therefore, it is alogical truth.

This argument is valid, of course, and its conclusionis true. However, it is not an argument in FOL.

Page 421: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 31. Reasoning about all interpretations 407

Rather, it is an argument in English about FOL: it isan argument in the metalanguage.

Note another feature of the argument. Since thesentence in question contained no quantifiers, wedid not need to think about how to interpret ‘a ’ and‘R ’; the point was just that, however we interpretedthem, ‘Raa ’ would have some truth value or other.(We could ultimately have given the same argumentconcerning TFL sentences.)

Here is another bit of reasoning. Consider thesentence ‘∀x (Rxx ↔ Rxx )’. Again, it shouldobviously be a logical truth, but to say preciselywhy is quite a challenge. We cannot say that‘Rxx ↔ Rxx ’ is true in every interpretation, since‘Rxx ↔ Rxx ’ is not even a sentence of FOL(remember that ‘x ’ is a variable, not a name). So wehave to be a bit cleverer.

Consider some arbitrary interpretation.Consider some arbitrary member of thedomain, which, for convenience, we willcall obbie, and suppose we extend our

Page 422: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 31. Reasoning about all interpretations 408

original interpretation by adding a newname, ‘c ’, to name obbie. Then either‘Rcc ’ will be true or it will be false. If‘Rcc ’ is true, then ‘Rcc ↔ Rcc ’ is true. If‘Rcc ’ is false, then ‘Rcc ↔ Rcc ’ will betrue. So either way, ‘Rcc ↔ Rcc ’ is true.Since there was nothing special aboutobbie—we might have chosen anyobject—we see that no matter how weextend our original interpretation byallowing ‘c ’ to name some new object,‘Rcc ↔ Rcc ’ will be true in the newinterpretation. So ‘∀x (Rxx ↔ Rxx )’ wastrue in the original interpretation. But wechose our interpretation arbitrarily, so‘∀x (Rxx ↔ Rxx )’ is true in everyinterpretation. It is therefore a logicaltruth.

This is quite longwinded, but, as things stand, thereis no alternative. In order to show that a sentence isa logical truth, we must reason about allinterpretations.

Page 423: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 31. Reasoning about all interpretations 409

31.2 Other cases

Similar points hold of other cases too. Thus, wemust reason about all interpretations if we want toshow:

• that a sentence is a contradiction; for thisrequires that it is false in every interpretation.

• that two sentences are logically equivalent; forthis requires that they have the same truthvalue in every interpretation.

• that some sentences are jointly inconsistent;for this requires that there is no interpretationin which all of those sentences are truetogether; i.e. that, in every interpretation, atleast one of those sentences is false.

• that an argument is valid; for this requires thatthe conclusion is true in every interpretationwhere the premises are true.

• that some sentences entail another sentence.

The problem is that, with the tools available to youso far, reasoning about all interpretations is aserious challenge! Let’s take just one more

Page 424: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 31. Reasoning about all interpretations 410

example. Here is an argument which is obviouslyvalid:

∀x (Hx ∧ Jx ) .Û. ∀xHxAfter all, if everything is both H and J, theneverything is H. But we can only show that theargument is valid by considering what must be truein every interpretation in which the premise is true.To show this, we would have to reason as follows:

Consider an arbitrary interpretation inwhich the premise ‘∀x (Hx ∧ Jx )’ is true. Itfollows that, however we expand theinterpretation with a new name, forexample ‘c ’, ‘Hc ∧ Jc ’ will be true in thisnew interpretation. ‘Hc ’ will, then, also betrue in this new interpretation. But sincethis held for any way of expanding theinterpretation, it must be that ‘∀xHx ’ istrue in the old interpretation. We’veassumed nothing about the interpretationexcept that it was one in which‘∀x (Hx ∧ Jx )’ is true, so any interpretationin which ‘∀x (Hx ∧ Jx )’ is true is one in

Page 425: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 31. Reasoning about all interpretations 411

which ‘∀xHx ’ is true. The argument isvalid!

Even for a simple argument like this one, thereasoning is somewhat complicated. For longerarguments, the reasoning can be extremelytorturous.

The following table summarises whether asingle (counter-)interpretation suffices, or whetherwe must reason about all interpretations.

Yes Nological truth? all interpretations one counter-interpretationcontradiction? all interpretations one counter-interpretationequivalent? all interpretations one counter-interpretationconsistent? one interpretation all interpretationsvalid? all interpretations one counter-interpretationentailment? all interpretations one counter-interpretation

This might usefully be compared with the tableat the end of §13. The key difference resides in thefact that TFL concerns truth tables, whereas FOL

Page 426: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 31. Reasoning about all interpretations 412

concerns interpretations. This difference is deeplyimportant, since each truth-table only ever hasfinitely many lines, so that a complete truth table isa relatively tractable object. By contrast, there areinfinitely many interpretations for any givensentence(s), so that reasoning about allinterpretations can be a deeply tricky business.

Page 427: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Part VII

Naturaldeduction forFOL

413

Page 428: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32

Basic rulesfor FOL

FOL makes use of all of the connectives of TFL. Soproofs in FOL will use all of the basic and derivedrules from Part IV. We will also use theproof-theoretic notions (particularly, the symbol ‘`’)introduced there. However, we will also need somenew basic rules to govern the quantifiers, and togovern the identity sign.

32.1 Universal elimination

From the claim that everything is F, you can inferthat any particular thing is F. You name it; it’s F. So

414

Page 429: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 415

the following should be fine:

1 ∀xRxxd

2 Raad ∀E 1We obtained line 2 by dropping the universalquantifier and replacing every instance of ‘x ’ with‘a ’. Equally, the following should be allowed:

1 ∀xRxxd

2 Rddd ∀E 1We obtained line 2 here by dropping the universalquantifier and replacing every instance of ‘x ’ with‘d ’. We could have done the same with any othername we wanted.

This motivates the universal elimination rule(∀E):

m ∀xA(. . .x . . .x . . .)A(. . . c . . . c . . .) ∀E m

Page 430: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 416

The notation here was introduced in §28. Thepoint is that you can obtain any substitutioninstance of a universally quantified formula:replace every instance of the quantified variablewith any name you like.

I should emphasize that (as with everyelimination rule) you can only apply the ∀E rulewhen the universal quantifier is the main logicaloperator. Thus the following is outright banned:

1 ∀xBx → Bk

2 Bb → Bk naughtily attempting to invoke ∀E 1This is illegitimate, since ‘∀x ’ is not the main logicaloperator in line 1. (If you need a reminder as to whythis sort of inference should be banned, reread§22.)

32.2 Existential introduction

From the claim that some particular thing is an F,you can infer that something is an F. So we ought to

Page 431: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 417

allow:

1 Raad

2 ∃xRaax ∃I 1Here, we have replaced the name ‘d ’ with a variable‘x ’, and then existentially quantified over it.Equally, we would have allowed:

1 Raad

2 ∃xRxxd ∃I 1Here we have replaced both instances of the name‘a ’ with a variable, and then existentiallygeneralised. But we do not need to replace bothinstances of a name with a variable. (After all, ifNarcissus loves himself, then there is someone wholoves Narcissus.) So we would also allow:

1 Raad

2 ∃xRxad ∃I 1

Page 432: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 418

Here we have replaced one instance of the name ‘a ’with a variable, and then existentially generalised.These observations motivate our introduction rule,although to explain it, we will need to introducesome new notation.

Where A is a sentence containing the name c,we can emphasize this by writing ‘A(. . . c . . . c . . .)’.We will write ‘A(. . .x . . . c . . .)’ to indicate anyformula obtained by replacing some or all of theinstances of the name c with the variable x. Armedwith this, our introduction rule is:

m A(. . . c . . . c . . .)∃xA(. . .x . . . c . . .) ∃I m

x must not occur in A(. . . c . . . c . . .)The constraint is included to guarantee that any

application of the rule yields a sentence of FOL.Thus the following is allowed:

Page 433: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 419

1 Raad

2 ∃xRxad ∃I 13 ∃y∃xRxyd ∃I 2

But this is banned:

1 Raad

2 ∃xRxad ∃I 13 ∃x∃xRxxd naughtily attempting to invoke ∃I 2

since the expression on line 3 contains clashingvariables, and so fails to count as a sentence ofFOL.

32.3 Empty domains

The following proof combines our two new rules forquantifiers:

Page 434: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 420

1 ∀xFx

2 Fa ∀E 13 ∃xFx ∃I 2

Could this be a bad proof? If anything exists at all,then certainly we can infer that something is F, fromthe fact that everything is F. But what if nothingexists at all? Then it is surely vacuously true thateverything is F; however, it does not following thatsomething is F, for there is nothing to be F. So if weclaim that, as a matter of logic alone, ‘∃xFx ’ followsfrom ‘∀xFx ’, then we are claiming that, as a matterof logic alone, there is something rather thannothing. This might strike us as a bit odd.

Actually, we are already committed to thisoddity. In §21, we stipulated that domains in FOLmust have at least one member. We then defined alogical truth (of FOL) as a sentence which is true inevery interpretation. Since ‘∃x x = x ’ will be true inevery interpretation, this also had the effect ofstipulating that it is a matter of logic that there issomething rather than nothing.

Page 435: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 421

Since it is far from clear that logic should tell usthat there must be something rather than nothing,we might well be cheating a bit here.

If we refuse to cheat, though, then we pay ahigh cost. Here are three things that we want tohold on to:

• ∀xFx ` Fa : after all, that was ∀E.• Fa ` ∃xFx : after all, that was ∃I.• the ability to copy-and-paste proofs together:after all, reasoning works by putting lots oflittle steps together into rather big chains.

If we get what we want on all three counts, then wehave to countenance that ∀xFx ` ∃xFx . So, if we getwhat we want on all three counts, the proof systemalone tells us that there is something rather thannothing. And if we refuse to accept that, then wehave to surrender one of the three things that wewant to hold on to!

Before we start thinking about which tosurrender, we might want to ask how much of a

Page 436: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 422

cheat this is. Granted, it may make it harder toengage in theological debates about why there issomething rather than nothing. But the rest of thetime, we will get along just fine. So maybe weshould just regard our proof system (and FOL, moregenerally) as having a very slightly limited purview.If we ever want to allow for the possibility ofnothing, then we will have to cast around for amore complicated proof system. But for as long aswe are content to ignore that possibility, our proofsystem is perfectly in order. (As, similarly, is thestipulation that every domain must contain at leastone object.)

32.4 Universal introduction

Suppose you had shown of each particular thingthat it is F (and that there are no other things toconsider). Then you would be justified in claimingthat everything is F. This would motivate thefollowing proof rule. If you had established eachand every single substitution instance of ‘∀xFx ’,then you can infer ‘∀xFx ’.

Page 437: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 423

Unfortunately, that rule would be utterlyunusable. To establish each and every singlesubstitution instance would require proving ‘Fa ’,‘Fb ’, . . ., ‘Fj2 ’, . . ., ‘Fr79002 ’, . . ., and so on. Indeed,since there are infinitely many names in FOL, thisprocess would never come to an end. So we couldnever apply that rule. We need to be a bit morecunning in coming up with our rule for introducinguniversal quantification.

Our cunning thought will be inspired byconsidering:

∀xFx .Û. ∀yFyThis argument should obviously be valid. After all,alphabetical variation ought to be a matter of taste,and of no logical consequence. But how might ourproof system reflect this? Suppose we begin a proofthus:

1 ∀xFx

2 Fa ∀E 1We have proved ‘Fa ’. And, of course, nothing stops

Page 438: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 424

us from using the same justification to prove ‘Fb ’,‘Fc ’, . . ., ‘Fj2 ’, . . ., ‘Fr79002 , . . ., and so on until werun out of space, time, or patience. But reflecting onthis, we see that there is a way to prove F c, for anyname c. And if we can do it for any thing, we shouldsurely be able to say that ‘F ’ is true of everything.This therefore justifies us in inferring ‘∀yFy ’, thus:

1 ∀xFx

2 Fa ∀E 13 ∀yFy ∀I 2

The crucial thought here is that ‘a ’ was just somearbitrary name. There was nothing special aboutit—we might have chosen any other name—and stillthe proof would be fine. And this crucial thoughtmotivates the universal introduction rule (∀I):

Page 439: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 425

m A(. . . c . . . c . . .)∀xA(. . .x . . .x . . .) ∀I m

c must not occur in any undischarged assump-tionx must not occur in A(. . . c . . . c . . .)A crucial aspect of this rule, though, is bound

up in the first constraint. This constraint ensuresthat we are always reasoning at a sufficientlygeneral level. To see the constraint in action,consider this terrible argument:

Everyone loves Kylie Minogue; thereforeeveryone loves themselves.

We might symbolize this obviously invalid inferencepattern as:

∀xLxk .Û. ∀xLxxNow, suppose we tried to offer a proof thatvindicates this argument:

Page 440: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 426

1 ∀xLxk

2 Lkk ∀E 13 ∀xLxx naughtily attempting to invoke ∀I 2

This is not allowed, because ‘k ’ occurred already inan undischarged assumption, namely, on line 1.The crucial point is that, if we have made anyassumptions about the object we are working with,then we are not reasoning generally enough tolicense ∀I.

Although the name may not occur in anyundischarged assumption, it may occur as adischarged assumption. That is, it may occur in asubproof that we have already closed. For example:

1 Gd

2 Gd R 13 Gd → Gd →I 1–24 ∀z (Gz → Gz ) ∀I 3

Page 441: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 427

This tells us that ‘∀z (Gz → Gz )’ is a theorem. Andthat is as it should be.

32.5 Existential elimination

Suppose we know that something is F. Theproblem is that simply knowing this does not tell uswhich thing is F. So it would seem that from ‘∃xFx ’we cannot immediately conclude ‘Fa ’, ‘Fe23 ’, or anyother substitution instance of the sentence. Whatcan we do?

Suppose we know that something is F, and thateverything which is F is G. In (almost) naturalEnglish, we might reason thus:

Since something is F, there is someparticular thing which is an F. We do notknow anything about it, other than that it’san F, but for convenience, let’s call it‘obbie’. So: obbie is F. Since everythingwhich is F is G, it follows that obbie is G.But since obbie is G, it follows thatsomething is G. And nothing depended on

Page 442: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 428

which object, exactly, obbie was. So,something is G.

We might try to capture this reasoning pattern in aproof as follows:

1 ∃xFx

2 ∀x (Fx → Gx )

3 Fo

4 Fo → Go ∀E 25 Go →E 4, 36 ∃xGx ∃I 57 ∃xGx ∃E 1, 3–6

Breaking this down: we started by writing down ourassumptions. At line 3, we made an additionalassumption: ‘Fo ’. This was just a substitutioninstance of ‘∃xFx ’. On this assumption, weestablished ‘∃xGx ’. Note that we had made nospecial assumptions about the object named by ‘o ’;we had only assumed that it satisfies ‘Fx ’. So

Page 443: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 429

nothing depends upon which object it is. And line 1told us that something satisfies ‘Fx ’, so ourreasoning pattern was perfectly general. We candischarge the specific assumption ‘Fo ’, and simplyinfer ‘∃xGx ’ on its own.

Putting this together, we obtain the existentialelimination rule (∃E):

m ∃xA(. . .x . . .x . . .)i A(. . . c . . . c . . .)j B

B ∃E m , i – jc must not occur in any assumption undis-charged before line ic must not occur in ∃xA(. . .x . . .x . . .)c must not occur in B

As with universal introduction, the constraintsare extremely important. To see why, consider thefollowing terrible argument:

Tim Button is a lecturer. There is

Page 444: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 430

someone who is not a lecturer. So TimButton is both a lecturer and not alecturer.

We might symbolize this obviously invalid inferencepattern as follows:

Lb , ∃x¬Lx .Û. Lb ∧ ¬LbNow, suppose we tried to offer a proof thatvindicates this argument:

1 Lb

2 ∃x¬Lx

3 ¬Lb

4 Lb ∧ ¬Lb ∧I 1, 35 Lb ∧ ¬Lb naughtily attempting to invoke ∃E 2, 3–4

The last line of the proof is not allowed. The namethat we used in our substitution instance for ‘∃x¬Lx ’on line 3, namely ‘b ’, occurs in line 4. The followingproof would be no better:

Page 445: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 431

1 Lb

2 ∃x¬Lx

3 ¬Lb

4 Lb ∧ ¬Lb ∧I 1, 35 ∃x (Lx ∧ ¬Lx ) ∃I 46 ∃x (Lx ∧ ¬Lx ) naughtily attempting to invoke ∃E 2, 3–5

The last line of the proof would still not be allowed.For the name that we used in our substitutioninstance for ‘∃x¬Lx ’, namely ‘b ’, occurs in anundischarged assumption, namely line 1.

The moral of the story is this. If you want tosqueeze information out of an existentialquantifier, choose a new name for yoursubstitution instance. That way, you canguarantee that you meet all the constraints on therule for ∃E.

Page 446: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 432

Practice exercises

A. The following two ‘proofs’ are incorrect. Explainwhy both are incorrect. Also, provide interpretationswhich would invalidate the fallacious argumentforms the ‘proofs’ enshrine:

1 ∀xRxx

2 Raa ∀E 13 ∀yRay ∀I 24 ∀x∀yRxy ∀I 3

1 ∀x∃yRxy

2 ∃yRay ∀E 13 Raa

4 ∃xRxx ∃I 35 ∃xRxx ∃E 2, 3–4

B. The following three proofs are missing theircitations (rule and line numbers). Add them, to turnthem into bona fide proofs.

Page 447: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 433

1 ∀x∃y (Rxy ∨ Ryx )

2 ∀x¬Rmx

3 ∃y (Rmy ∨ Rym)

4 Rma ∨ Ram

5 ¬Rma

6 Ram

7 ∃xRxm

8 ∃xRxm

1 ∀x (∃yLxy → ∀zLzx )

2 Lab

3 ∃yLay → ∀zLza

4 ∃yLay

5 ∀zLza

6 Lca

7 ∃yLcy → ∀zLzc

8 ∃yLcy

9 ∀zLzc

10 Lcc

11 ∀xLxx

Page 448: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 434

1 ∀x (Jx → Kx )

2 ∃x∀yLxy

3 ∀xJx

4 ∀yLay

5 Laa

6 Ja

7 Ja → Ka

8 Ka

9 Ka ∧ Laa

10 ∃x (Kx ∧ Lxx )

11 ∃x (Kx ∧ Lxx )

C. In §22 problem A, we considered fifteensyllogistic figures of Aristotelian logic. Provideproofs for each of the argument forms. NB: You willfind it much easier if you symbolize (for example)‘No F is G’ as ‘∀x (Fx → ¬Gx )’.

Page 449: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 435

D. Aristotle and his successors identified othersyllogistic forms which depended upon ‘existentialimport’. Symbolize each of the following argumentforms in FOL and offer proofs.

• Barbari. Something is H. All G are F. All H areG. So: Some H is F

• Celaront. Something is H. No G are F. All Hare G. So: Some H is not F

• Cesaro. Something is H. No F are G. All H areG. So: Some H is not F.

• Camestros. Something is H. All F are G. No Hare G. So: Some H is not F.

• Felapton. Something is G. No G are F. All Gare H. So: Some H is not F.

• Darapti. Something is G. All G are F. All G areH. So: Some H is F.

• Calemos. Something is H. All F are G. No Gare H. So: Some H is not F.

• Fesapo. Something is G. No F is G. All G areH. So: Some H is not F.

• Bamalip. Something is F. All F are G. All Gare H. So: Some H are F.

Page 450: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 436

E. Provide a proof of each claim.

1. ` ∀xFx ∨ ¬∀xFx2. ` ∀z (Pz ∨ ¬Pz )3. ∀x (Ax → Bx ), ∃xAx ` ∃xBx4. ∀x (Mx ↔ Nx ), Ma ∧ ∃xRxa ` ∃xNx5. ∀x∀yGxy ` ∃xGxx6. ` ∀xRxx → ∃x∃yRxy7. ` ∀y∃x (Qy → Qx )8. Na → ∀x (Mx ↔ Ma), Ma , ¬Mb ` ¬Na9. ∀x∀y (Gxy → Gyx ) ` ∀x∀y (Gxy ↔ Gyx )10. ∀x (¬Mx ∨ Ljx ), ∀x (Bx → Ljx ), ∀x (Mx ∨ Bx ) `

∀xLjx

F. Write a symbolization key for the followingargument, symbolize it, and prove it:

There is someone who likes everyone wholikes everyone that she likes. Therefore,there is someone who likes herself.

G. Show that each pair of sentences is provablyequivalent.

Page 451: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 437

1. ∀x (Ax → ¬Bx ), ¬∃x (Ax ∧ Bx )2. ∀x (¬Ax → Bd ), ∀xAx ∨ Bd3. ∃xPx → Qc , ∀x (Px → Qc)

H. For each of the following pairs of sentences: Ifthey are provably equivalent, give proofs to showthis. If they are not, construct an interpretation toshow that they are not logically equivalent.

1. ∀xPx → Qc , ∀x (Px → Qc)2. ∀x∀y∀zBxyz , ∀xBxxx3. ∀x∀yDxy , ∀y∀xDxy4. ∃x∀yDxy , ∀y∃xDxy5. ∀x (Rca ↔ Rxa), Rca ↔ ∀xRxa

I. For each of the following arguments: If it is validin FOL, give a proof. If it is invalid, construct aninterpretation to show that it is invalid.

1. ∃y∀xRxy .Û. ∀x∃yRxy2. ∀x∃yRxy .Û. ∃y∀xRxy3. ∃x (Px ∧ ¬Qx ) .Û. ∀x (Px → ¬Qx )4. ∀x (Sx → Ta), Sd .Û. Ta

Page 452: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 32. Basic rules for FOL 438

5. ∀x (Ax → Bx ), ∀x (Bx → Cx ) .Û. ∀x (Ax → Cx )6. ∃x (Dx ∨ Ex ), ∀x (Dx → Fx ) .Û. ∃x (Dx ∧ Fx )7. ∀x∀y (Rxy ∨ Ryx ) .Û. Rjj8. ∃x∃y (Rxy ∨ Ryx ) .Û. Rjj9. ∀xPx → ∀xQx , ∃x¬Px .Û. ∃x¬Qx10. ∃xMx → ∃xNx , ¬∃xNx .Û. ∀x¬Mx

Page 453: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 33

Conversion ofquantifiers

In this section, we will add some additional rules tothe basic rules of the previous section. Thesegovern the interaction of quantifiers and negation.

In §21, we noted that ¬∃xA is logicallyequivalent to ∀x¬A. We will add some rules to ourproof system that govern this. In particular, we add:

m ∀x¬A

¬∃xA CQ m

439

Page 454: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 33. Conversion of quantifiers 440

and

m ¬∃xA

∀x¬A CQ m

Equally, we add:

m ∃x¬A

¬∀xA CQ m

and

m ¬∀xA

∃x¬A CQ m

Practice exercises

A. Show in each case that the sentences areprovably inconsistent:

1. Sa → Tm , Tm → Sa , Tm ∧ ¬Sa2. ¬∃xRxa , ∀x∀yRyx3. ¬∃x∃yLxy , Laa

Page 455: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 33. Conversion of quantifiers 441

4. ∀x (Px → Qx ), ∀z (Pz → Rz ), ∀yPy , ¬Qa ∧ ¬Rb

B. Show that each pair of sentences is provablyequivalent:

1. ∀x (Ax → ¬Bx ), ¬∃x (Ax ∧ Bx )2. ∀x (¬Ax → Bd ), ∀xAx ∨ Bd

C. In §22, we considered what happens when wemove quantifiers ‘across’ various logical operators.Show that each pair of sentences is provablyequivalent:

1. ∀x (Fx ∧ Ga), ∀xFx ∧ Ga2. ∃x (Fx ∨ Ga), ∃xFx ∨ Ga3. ∀x (Ga → Fx ), Ga → ∀xFx4. ∀x (Fx → Ga), ∃xFx → Ga5. ∃x (Ga → Fx ), Ga → ∃xFx6. ∃x (Fx → Ga), ∀xFx → Ga

NB: the variable ‘x ’ does not occur in ‘Ga ’.When all the quantifiers occur at the beginning

of a sentence, that sentence is said to be in prenex

Page 456: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 33. Conversion of quantifiers 442

normal form. These equivalences are sometimescalled prenexing rules, since they give us a meansfor putting any sentence into prenex normal form.

Page 457: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 34

Rules foridentity

In §27, we mentioned the philosophicallycontentious thesis of the identity ofindiscernibles. This is the claim that objects whichare indiscernible in every way are, in fact, identicalto each other. It was also mentioned that we willnot subscribe to this thesis. It follows that, nomatter how much you learn about two objects, wecannot prove that they are identical. That is unless,of course, you learn that the two objects are, in fact,identical, but then the proof will hardly be veryilluminating.

443

Page 458: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 34. Rules for identity 444

The consequence of this, for our proof system,is that there are no sentences that do not alreadycontain the identity predicate that could justify theconclusion ‘a = b ’. This means that the identityintroduction rule will not justify ‘a = b ’, or any otheridentity claim containing two different names.

However, every object is identical to itself. Nopremises, then, are required in order to concludethat something is identical to itself. So this will bethe identity introduction rule:

c = c =INotice that this rule does not require referring

to any prior lines of the proof. For any name c, youcan write c = c on any point, with only the =I rule asjustification.

Our elimination rule is more fun. If you haveestablished ‘a = b ’, then anything that is true of theobject named by ‘a ’ must also be true of the objectnamed by ‘b ’. For any sentence with ‘a ’ in it, youcan replace some or all of the occurrences of ‘a ’

Page 459: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 34. Rules for identity 445

with ‘b ’ and produce an equivalent sentence. Forexample, from ‘Raa ’ and ‘a = b ’, you are justified ininferring ‘Rab ’, ‘Rba ’ or ‘Rbb ’. More generally:

m a = b

n A(. . . a . . . a . . .)A(. . . b . . . a . . .) =E m , n

The notation here is as for ∃I. SoA(. . . a . . . a . . .) is a formula containing the name a,and A(. . . b . . . a . . .) is a formula obtained byreplacing one or more instances of the name a withthe name b. Lines m and n can occur in either order,and do not need to be adjacent, but we always citethe statement of identity first. Symmetrically, weallow:

m a = b

n A(. . . b . . . b . . .)A(. . . a . . . b . . .) =E m , n

This rule is sometimes called Leibniz’s Law,

Page 460: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 34. Rules for identity 446

after Gottfried Leibniz.To see the rules in action, we will prove some

quick results. First, we will prove that identity issymmetric:

1 a = b

2 a = a =I3 b = a =E 1, 24 a = b → b = a →I 1–35 ∀y (a = y → y = a) ∀I 46 ∀x∀y (x = y → y = x ) ∀I 5

We obtain line 3 by replacing one instance of ‘a ’ inline 2 with an instance of ‘b ’; this is justified given‘a = b ’.

Second, we will prove that identity istransitive:

Page 461: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 34. Rules for identity 447

1 a = b ∧ b = c

2 a = b ∧E 13 b = c ∧E 14 a = c =E 2, 35 (a = b ∧ b = c) → a = c →I 1–46 ∀z ((a = b ∧ b = z ) → a = z ) ∀I 57 ∀y∀z ((a = y ∧ y = z ) → a = z ) ∀I 68 ∀x∀y∀z ((x = y ∧ y = z ) → x = z ) ∀I 7

We obtain line 4 by replacing ‘b ’ in line 3 with ‘a ’;this is justified given ‘a = b ’.

Practice exercises

A. Provide a proof of each claim.

1. Pa ∨ Qb , Qb → b = c , ¬Pa ` Qc2. m = n ∨ n = o , An ` Am ∨ Ao3. ∀x x = m , Rma ` ∃xRxx4. ∀x∀y (Rxy → x = y ) ` Rab → Rba

Page 462: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 34. Rules for identity 448

5. ¬∃x¬x = m ` ∀x∀y (Px → Py )6. ∃xJx , ∃x¬Jx ` ∃x∃y ¬x = y7. ∀x (x = n ↔ Mx ), ∀x (Ox ∨ ¬Mx ) ` On8. ∃xDx , ∀x (x = p ↔ Dx ) ` Dp9. ∃x [

(Kx ∧ ∀y (Ky → x = y )) ∧ Bx] , Kd ` Bd

10. ` Pa → ∀x (Px ∨ ¬x = a)

B. Show that the following are provably equivalent:

• ∃x ([Fx ∧ ∀y (Fy → x = y )] ∧ x = n

)• Fn ∧ ∀y (Fy → n = y )

And hence that both have a decent claim tosymbolize the English sentence ‘Nick is the F’.

C. In §24, we claimed that the following arelogically equivalent symbolizations of the Englishsentence ‘there is exactly one F’:

• ∃xFx ∧ ∀x∀y [(Fx ∧ Fy ) → x = y

]• ∃x [

Fx ∧ ∀y (Fy → x = y )]

• ∃x∀y (Fy ↔ x = y )

Page 463: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 34. Rules for identity 449

Show that they are all provably equivalent. (Hint: toshow that three claims are provably equivalent, itsuffices to show that the first proves the second, thesecond proves the third and the third proves thefirst; think about why.)

D. Symbolize the following argument

There is exactly one F. There is exactlyone G. Nothing is both F and G. So: thereare exactly two things that are either F orG.

And offer a proof of it.

Page 464: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 35

Derived rules

As in the case of TFL, we first introduced somerules for FOL as basic (in §32), and then addedsome further rules for conversion of quantifiers (in§33). In fact, the CQ rules should be regarded asderived rules, for they can be derived from thebasic rules of §32. (The point here is as in §19.)Here is a justification for the first CQ rule:

450

Page 465: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 35. Derived rules 451

1 ∀x¬Ax

2 ∃xAx

3 Ac

4 ¬Ac ∀E 15 ⊥ ¬E 4, 36 ⊥ ∃E 2, 3–57 ¬∃xAx ¬I 2–6

Here is a justification of the third CQ rule:

1 ∃x¬Ax

2 ∀xAx

3 ¬Ac

4 Ac ∀E 25 ⊥ ¬E 3, 46 ⊥ ∃E 1, 3–57 ¬∀xAx ¬I 2–6

Page 466: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 35. Derived rules 452

This explains why the CQ rules can be treated asderived. Similar justifications can be offered for theother two CQ rules.

Practice exercises

A. Offer proofs which justify the addition of thesecond and fourth CQ rules as derived rules.

Page 467: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 36

Proof-theoretic andsemanticconcepts

We have used two different turnstiles in this book.This:

A1 ,A2 , . . . ,An ` C

means that there is some proof which starts withassumptions A1 ,A2 , . . . ,An and ends with C (and noundischarged assumptions other thanA1 ,A2 , . . . ,An ). This is a proof-theoretic notion.

453

Page 468: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 36. Proof-theoretic and semantic concepts454

By contrast, this:A1 ,A2 , . . . ,An � C

means that there is no valuation (or interpretation)which makes all of A1 ,A2 , . . . ,An true and makes C

false. This concerns assignments of truth andfalsity to sentences. It is a semantic notion.

It cannot be emphasized enough that these aredifferent notions. But we can emphasize it a bitmore: They are different notions.

Once you have internalised this point, continuereading.

Although our semantic and proof-theoreticnotions are different, there is a deep connectionbetween them. To explain this connection,we willstart by considering the relationship betweenlogical truths and theorems.

To show that a sentence is a theorem, you needonly produce a proof. Granted, it may be hard toproduce a twenty line proof, but it is not so hard tocheck each line of the proof and confirm that it islegitimate; and if each line of the proof individually

Page 469: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 36. Proof-theoretic and semantic concepts455

is legitimate, then the whole proof is legitimate.Showing that a sentence is a logical truth, though,requires reasoning about all possibleinterpretations. Given a choice between showingthat a sentence is a theorem and showing that it is alogical truth, it would be easier to show that it is atheorem.

Contrawise, to show that a sentence is not atheorem is hard. We would need to reason about all(possible) proofs. That is very difficult. However, toshow that a sentence is not a logical truth, you needonly construct an interpretation in which thesentence is false. Granted, it may be hard to comeup with the interpretation; but once you have doneso, it is relatively straightforward to check whattruth value it assigns to a sentence. Given a choicebetween showing that a sentence is not a theoremand showing that it is not a logical truth, it would beeasier to show that it is not a logical truth.

Fortunately, a sentence is a theorem if andonly if it is a logical truth. As a result, if weprovide a proof of A on no assumptions, and thus

Page 470: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 36. Proof-theoretic and semantic concepts456

show that A is a theorem, we can legitimately inferthat A is a logical truth; i.e., � A. Similarly, if weconstruct an interpretation in which A is false andthus show that it is not a logical truth, it follows thatA is not a theorem.

More generally, we have the following powerfulresult:

A1 ,A2 , . . . ,An ` B iff A1 ,A2 , . . . ,An � BThis shows that, whilst provability and entailmentare different notions, they are extensionallyequivalent. As such:

• An argument is valid iff the conclusion canbe proved from the premises.

• Two sentences are logically equivalent iffthey are provably equivalent.

• Sentences are provably consistent iff theyare not provably inconsistent.

For this reason, you can pick and choose when tothink in terms of proofs and when to think in terms ofvaluations/interpretations, doing whichever is

Page 471: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 36. Proof-theoretic and semantic concepts457

easier for a given task. The table on the next pagesummarises which is (usually) easier.

It is intuitive that provability and semanticentailment should agree. But—let us repeatthis—do not be fooled by the similarity of thesymbols ‘�’ and ‘`’. These two symbols have verydifferent meanings. The fact that provability andsemantic entailment agree is not an easy result tocome by.

In fact, demonstrating that provability andsemantic entailment agree is, very decisively, thepoint at which introductory logic becomesintermediate logic.

Page 472: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 36. Proof-theoretic and semantic concepts458Yes

No

IsA

alogical

truth?

givea

proofw

hichshow

s`A

givea

ninte

rpreta

tionin

which

Aisf

alse

IsAac

ontradic-

tion?

givea

proofw

hichshow

s`¬A

givea

ninte

rpreta

tionin

which

Aist

rue

AreAand

Bequiv-

alent?

givetwo

proofs

,one

forA`Band

onefor

B`A

givea

ninte

rpreta

tionin

which

Aand

Bhav

ediffe

r-ent

truthv

alues

AreA1,A

2,...,

An

jointly

consis-

tent?

givea

ninte

rpreta

tionin

which

allofA

1,A2,.

..,An

aretrue

prove

acon

tradic

-tion

from

assum

ptions

A1,A

2,...,

An

IsA1,A

2,...,

An.Û.

Cvalid?

givea

proofw

ithass

ump-

tionsA

1,A2,.

..,Anand

conclu

dingw

ithC

give

aninte

rpreta

-tion

inwhich

eachof

A1,A

2,...,

Anist

rueand

Cisf

alse

Page 473: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Part VIII

AdvancedTopics

459

Page 474: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37

Normal formsandexpressivecompleteness

37.1 Disjunctive Normal Form

Sometimes it is useful to consider sentences of aparticularly simple form. For instance, we mightconsider sentences in which ¬ only attaches toatomic sentences, or those which are combinationsof atomic sentences and negated atomic sentencesusing only ∧. A relatively general but still simple

460

Page 475: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness461

form is that where a sentence is a disjunction ofconjunctions of atomic or negated atomicsentences. When such a sentence is constructed,we start with atomic sentences, then (perhaps)attach negations, then (perhaps) combine using ∧,and finally (perhaps) combine using ∨.

Let’s say that a sentence is in disjunctivenormal form iff it meets all of the followingconditions:

(dnf1) No connectives occur in the sentence otherthan negations, conjunctions and disjunctions;

(dnf2) Every occurrence of negation has minimalscope (i.e. any ‘¬’ is immediately followed byan atomic sentence);

(dnf3) No disjunction occurs within the scope ofany conjunction.

So, here are are some sentences in disjunctive

Page 476: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness462

normal form:A

(A ∧ ¬B ∧ C )

(A ∧ B) ∨ (A ∧ ¬B)

(A ∧ B) ∨ (A ∧ B ∧ C ∧ ¬D ∧ ¬E )

A ∨ (C ∧ ¬P234 ∧ P233 ∧ Q ) ∨ ¬B

Note that we have here broken one of the maxims ofthis book and temporarily allowed ourselves toemploy the relaxed bracketing-conventions thatallow conjunctions and disjunctions to be ofarbitrary length. These conventions make it easierto see when a sentence is in disjunctive normalform. We will continue to help ourselves to theserelaxed conventions, without further comment.

To further illustrate the idea of disjunctivenormal form, we will introduce some more notation.We write ‘±A’ to indicate that A is an atomicsentence which may or may not be prefaced with anoccurrence of negation. Then a sentence indisjunctive normal form has the following shape:(±A1∧. . .∧±Ai )∨(±Ai+1∧. . .∧±Aj )∨. . .∨(±Am+1∧. . .∧±An )

Page 477: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness463

We now know what it is for a sentence to be indisjunctive normal form. The result that we areaiming at is:Disjunctive Normal Form Theorem. For anysentence, there is a logically equivalent sen-tence in disjunctive normal form.Henceforth, we will abbreviate ‘Disjunctive

Normal Form’ by ‘DNF’.

37.2 Proof of DNF Theorem viatruth tables

Our first proof of the DNF Theorem employs truthtables. We will first illustrate the technique forfinding an equivalent sentence in DNF, and thenturn this illustration into a rigorous proof.

Let’s suppose we have some sentence, S, whichcontains three atomic sentences, ‘A ’, ‘B ’ and ‘C ’.The very first thing to do is fill out a complete truthtable for S. Maybe we end up with this:

Page 478: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness464

A B C S

T T T TT T F FT F T TT F F FF T T FF T F FF F T TF F F T

As it happens, S is true on four lines of its truthtable, namely lines 1, 3, 7 and 8. Corresponding toeach of those lines, we will write down foursentences, whose only connectives are negationsand conjunctions, where every negation hasminimal scope:

• ‘A ∧ B ∧C ’which is true on line 1 (and only then)• ‘A ∧ ¬B ∧ C ’ which is true on line 3 (and onlythen)

• ‘¬A ∧ ¬B ∧ C ’ which is true on line 7 (and onlythen)

• ‘¬A ∧ ¬B ∧ ¬C ’ which is true on line 8 (and onlythen)

Page 479: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness465

We now combine all of these conjunctions using ∨,like so:(A∧B∧C )∨(A∧¬B∧C )∨(¬A∧¬B∧C )∨(¬A∧¬B∧¬C )

This gives us a sentence in DNF which is true onexactly those lines where one of the disjuncts istrue, i.e. it is true on (and only on) lines 1, 3, 7, and8. So this sentence has exactly the same truth tableas S. So we have a sentence in DNF that is logicallyequivalent to S, which is exactly what we wanted!

Now, the strategy that we just adopted did notdepend on the specifics of S; it is perfectly general.Consequently, we can use it to obtain a simpleproof of the DNF Theorem.

Pick any arbitrary sentence, S, and letA1 , . . . ,An be the atomic sentences that occur in S.To obtain a sentence in DNF that is logicallyequivalent S, we consider S’s truth table. There aretwo cases to consider:

1. S is false on every line of its truth table.Then, S is a contradiction. In that case, the

Page 480: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness466

contradiction (A1 ∧ ¬A1) is in DNF and logicallyequivalent to S.

2. S is true on at least one line of its truthtable. For each line i of the truth table, let Bi

be a conjunction of the form(±A1 ∧ . . . ∧ ±An )

where the following rules determine whether ornot to include a negation in front of eachatomic sentence:Am is a conjunct of Bi iff Am is true on line i¬Am is a conjunct of Bi iff Am is false on line iGiven these rules, Bi is true on (and only on)line i of the truth table which considers allpossible valuations of A1 , . . . ,An (i.e. S’s truthtable).Next, let i1 , i2 , . . . , im be the numbers of thelines of the truth table where S is true. Now letD be the sentence:

Bi1 ∨Bi2 ∨ . . . ∨Bim

Since S is true on at least one line of its truthtable, D is indeed well-defined; and in the

Page 481: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness467

limiting case where S is true on exactly oneline of its truth table, D is just Bi1 , for some i1 .By construction, D is in DNF. Moreover, byconstruction, for each line i of the truth table:S is true on line i of the truth table iff one ofD’s disjuncts (namely, Bi) is true on, and onlyon, line i . Hence S and D have the same truthtable, and so are logically equivalent.

These two cases are exhaustive and, either way, wehave a sentence in DNF that is logically equivalentto S.

So we have proved the DNF Theorem. Beforewe say any more, though, we should immediatelyflag that we are hereby returning to the austeredefinition of a (TFL) sentence, according to whichwe can assume that any conjunction has exactly twoconjuncts, and any disjunction has exactly twodisjuncts.

Page 482: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness468

37.3 Conjunctive Normal Form

So far in this chapter, we have discusseddisjunctive normal form. It may not come as asurprise to hear that there is also such a thing asconjunctive normal form (CNF).

The definition of CNF is exactly analogous tothe definition of DNF. So, a sentence is in CNF iff itmeets all of the following conditions:

(cnf1) No connectives occur in the sentence otherthan negations, conjunctions and disjunctions;

(cnf2) Every occurrence of negation has minimalscope;

(cnf3) No conjunction occurs within the scope ofany disjunction.

Generally, then, a sentence in CNF looks like this(±A1∨. . .∨±Ai )∧(±Ai+1∨. . .∨±Aj )∧. . .∧(±Am+1∨. . .∨±An )where each Ak is an atomic sentence.

We can now prove another normal formtheorem:

Page 483: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness469

Conjunctive Normal Form Theorem. For anysentence, there is a logically equivalent sen-tence in conjunctive normal form.Given a TFL sentence, S, we begin by writing

down the complete truth table for S.If S is true on every line of the truth table, then

S and (A1 ∨ ¬A1) are logically equivalent.If S is false on at least one line of the truth

table then, for every line on the truth table where S

is false, write down a disjunction (±A1 ∨ . . . ∨ ±An )which is false on (and only on) that line. Let C bethe conjunction of all of these disjuncts; byconstruction, C is in CNF and S and C are logicallyequivalent.

Practice exercises

A. Consider the following sentences:

1. (A → ¬B)2. ¬(A ↔ B)

Page 484: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness470

3. (¬A ∨ ¬(A ∧ B))4. (¬(A → B) ∧ (A → C ))5. (¬(A ∨ B) ↔ ((¬C ∧ ¬A) → ¬B))6. ((¬(A ∧ ¬B) → C ) ∧ ¬(A ∧ D ))

For each sentence, find a logically equivalentsentence in DNF and one in CNF.

37.4 The expressive adequacyof TFL

Of our connectives, ¬ attaches to a singlesentences, and the others all combine exactly twosentences. We may also introduce the idea of ann-place connective. For example, we couldconsider a three-place connective, ‘♥’, andstipulate that it is to have the followingcharacteristic truth table:

Page 485: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness471

A B C ♥(A , B , C )T T T FT T F TT F T TT F F FF T T FF T F TF F T FF F F F

Probably this new connective would not correspondwith any natural English expression (at least not inthe way that ‘∧’ corresponds with ‘and’). But aquestion arises: if we wanted to employ aconnective with this characteristic truth table, mustwe add a new connective to TFL? Or can we get bywith the connectives we already have?

Let us make this question more precise. Saythat some connectives are jointly expressivelyadequate iff, for any possible truth table, there is asentence containing only those connectives withthat truth table.

Page 486: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness472

The general point is, when we are armed withsome jointly expressively adequate connectives, nocharacteristic truth table lies beyond our grasp. Andin fact, we are in luck.Expressive Adequacy Theorem. The connec-tives of TFL are jointly expressively adequate.Indeed, the following pairs of connectives arejointly expressively adequate:1. ‘¬’ and ‘∨’2. ‘¬’ and ‘∧’3. ‘¬’ and ‘→’Given any truth table, we can use the method of

proving the DNF Theorem (or the CNF Theorem) viatruth tables, to write down a scheme which has thesame truth table. For example, employing the truthtable method for proving the DNF Theorem, we findthat the following scheme has the samecharacteristic truth table as ♥(A , B , C ), above:

(A ∧ B ∧ ¬C ) ∨ (A ∧ ¬B ∧ C ) ∨ (¬A ∧ B ∧ ¬C )

It follows that the connectives of TFL are jointlyexpressively adequate. We now prove each of thesubsidiary results.

Page 487: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness473

Subsidiary Result 1: expressive adequacyof ‘¬’ and ‘∨’. Observe that the scheme that wegenerate, using the truth table method of provingthe DNF Theorem, will only contain the connectives‘¬’, ‘∧’ and ‘∨’. So it suffices to show that there is anequivalent scheme which contains only ‘¬’ and ‘∨’.To show do this, we simply consider that

(A∧B) and ¬(¬A∨ ¬B)

are logically equivalent.Subsidiary Result 2: expressive adequacy

of ‘¬’ and ‘∧’. Exactly as in Subsidiary Result 1,making use of the fact that

(A∨B) and ¬(¬A∧ ¬B)

are logically equivalent.Subsidiary Result 3: expressive adequacy

of ‘¬’ and ‘→’. Exactly as in Subsidiary Result 1,making use of these equivalences instead:

(A∨B) and (¬A→ B)

(A∧B) and ¬(A→ ¬B)

Page 488: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness474

Alternatively, we could simply rely upon one of theother two subsidiary results, and (repeatedly)invoke only one of these two equivalences.

In short, there is never any need to add newconnectives to TFL. Indeed, there is already someredundancy among the connectives we have: wecould have made do with just two connectives, if wehad been feeling really austere.

37.5 Individually expressivelyadequate connectives

In fact, some two-place connectives areindividually expressively adequate. Theseconnectives are not standardly included in TFL,since they are rather cumbersome to use. But theirexistence shows that, if we had wanted to, we couldhave defined a truth-functional language that wasexpressively adequate, which contained only asingle primitive connective.

The first such connective we will consider is ‘↑’,which has the following characteristic truth table.

Page 489: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness475

A B A↑ B

T T FT F TF T TF F T

This is often called ‘the Sheffer stroke’, after HenrySheffer, who used it to show how to reduce thenumber of logical connectives in Russell andWhitehead’s Principia Mathematica.1 (In fact,Charles Sanders Peirce had anticipated Sheffer byabout 30 years, but never published his results.)2 Itis quite common, as well, to call it ‘nand’, since itscharacteristic truth table is the negation of the truthtable for ‘∧’.‘↑’ is expressively adequate all by itself.The Expressive Adequacy Theorem tells us that

‘¬’ and ‘∨’ are jointly expressively adequate. So it1Sheffer, ‘A Set of Five Independent Postulates for Boolean

Algebras, with application to logical constants,’ (1913, Trans-actions of the American Mathematical Society 14.4)

2See Peirce, ‘A Boolian Algebra with One Constant’, whichdates to c.1880; and Peirce’s Collected Papers, 4.264–5.

Page 490: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness476

suffices to show that, given any scheme whichcontains only those two connectives, we can rewriteit as a logically equivalent scheme which containsonly ‘↑’. As in the proof of the subsidiary cases ofthe Expressive Adequacy Theorem, then, we simplyapply the following equivalences:

¬A and (A↑ A)

(A∨B) and ((A↑ A) ↑ (B ↑ B))

to the Subsidiary Result 1.Similarly, we can consider the connective ‘↓’:

A B A↓ B

T T FT F FF T FF F T

This is sometimes called the ‘Peirce arrow’ (Peircehimself called it ‘ampheck’). More often, though, itis called ‘nor’, since its characteristic truth table isthe negation of ‘∨’, that is, of ‘neither . . . nor . . . ’.

Page 491: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness477

‘↓’ is expressively adequate all by itself.As in the previous result for ↑, although

invoking the equivalences:¬A and (A↓ A)

(A∧B) and ((A↓ A) ↓ (B ↓ B))

and Subsidiary Result 2.

37.6 Failures of expressiveadequacy

In fact, the only two-place connectives which areindividually expressively adequate are ‘↑’ and ‘↓’.But how would we show this? More generally, howcan we show that some connectives are not jointlyexpressively adequate?

The obvious thing to do is to try to find sometruth table which we cannot express, using just thegiven connectives. But there is a bit of an art to this.

To make this concrete, let’s consider thequestion of whether ‘∨’ is expressively adequate all

Page 492: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness478

by itself. After a little reflection, it should be clearthat it is not. In particular, it should be clear thatany scheme which only contains disjunctionscannot have the same truth table as negation, i.e.:

A ¬A

T FF T

The intuitive reason, why this should be so, issimple: the top line of the desired truth table needsto have the value False; but the top line of any truthtable for a scheme which only contains ∨ willalways be True. The same is true for ∧, →, and ↔.‘∨’, ‘∧’, ‘→’, and ‘↔’ are not expressively ade-quate by themselves.In fact, the following is true:The only two-place connectives that are ex-pressively adequate by themselves are ‘↑’ and‘↓’.This is of course harder to prove than for the

primitive connectives. For instance, the “exclusive

Page 493: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Chapter 37. Normal forms and expressive completeness479

or” connective does not have a T in the first line ofits characteristic truth table, and so the methodused above no longer suffices to show that it cannotexpress all truth tables. It is also harder to showthat, e.g., ‘↔’ and ‘¬’ together are not expressivelyadequate.

Page 494: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendices

480

Page 495: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix A

Symbolicnotation

1.1 Alternative nomenclature

Truth-functional logic. TFL goes by othernames. Sometimes it is called sentential logic,because it deals fundamentally with sentences.Sometimes it is called propositional logic, on theidea that it deals fundamentally with propositions.We have stuck with truth-functional logic, toemphasize the fact that it deals only withassignments of truth and falsity to sentences, andthat its connectives are all truth-functional.

481

Page 496: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix A. Symbolic notation 482

First-order logic. FOL goes by other names.Sometimes it is called predicate logic, because itallows us to apply predicates to objects. Sometimesit is called quantified logic, because it makes useof quantifiers.Formulas. Some texts call formulas well-formedformulas. Since ‘well-formed formula’ is such along and cumbersome phrase, they then abbreviatethis as wff. This is both barbarous and unnecessary(such texts do not countenance ‘ill-formedformulas’). We have stuck with ‘formula’.

In §6, we defined sentences of TFL. These arealso sometimes called ‘formulas’ (or ‘well-formedformulas’) since in TFL, unlike FOL, there is nodistinction between a formula and a sentence.Valuations. Some texts call valuationstruth-assignments, or truth-value assignments.Expressive adequacy. Some texts describe TFLas truth-functionally complete, rather thanexpressively adequate.

Page 497: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix A. Symbolic notation 483

n-place predicates. We have chosen to callpredicates ‘one-place’, ‘two-place’, ‘three-place’,etc. Other texts respectively call them ‘monadic’,‘dyadic’, ‘triadic’, etc. Still other texts call them‘unary’, ‘binary’, ‘ternary’, etc.Names. In FOL, we have used ‘a ’, ‘b ’, ‘c ’, fornames. Some texts call these ‘constants’. Othertexts do not mark any difference between namesand variables in the syntax. Those texts focussimply on whether the symbol occurs bound orunbound.Domains. Some texts describe a domain as a‘domain of discourse’, or a ‘universe of discourse’.

1.2 Alternative symbols

In the history of formal logic, different symbolshave been used at different times and by differentauthors. Often, authors were forced to use notationthat their printers could typeset.

This appendix presents some common symbols,

Page 498: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix A. Symbolic notation 484

so that you can recognize them if you encounterthem in an article or in another book.Negation. Two commonly used symbols are thehoe, ‘¬’, and the swung dash or tilda, ‘∼.’ In somemore advanced formal systems it is necessary todistinguish between two kinds of negation; thedistinction is sometimes represented by using both‘¬’ and ‘∼’. Older texts sometimes indicate negationby a line over the formula being negated, e.g.,A ∧ B . Some texts use ‘x , y ’ to abbreviate ‘¬x = y ’.Disjunction. The symbol ‘∨’ is typically used tosymbolize inclusive disjunction. One etymology isfrom the Latin word ‘vel’, meaning ‘or’.Conjunction. Conjunction is often symbolizedwith the ampersand, ‘&’. The ampersand is adecorative form of the Latin word ‘et’, which means‘and’. (Its etymology still lingers in certain fonts,particularly in italic fonts; thus an italic ampersandmight appear as ‘& ’.) This symbol is commonly usedin natural English writing (e.g. ‘Smith & Sons’), andso even though it is a natural choice, many

Page 499: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix A. Symbolic notation 485

logicians use a different symbol to avoid confusionbetween the object and metalanguage: as a symbolin a formal system, the ampersand is not theEnglish word ‘&’. The most common choice now is‘∧’, which is a counterpart to the symbol used fordisjunction. Sometimes a single dot, ‘• ’, is used. Insome older texts, there is no symbol for conjunctionat all; ‘A and B ’ is simply written ‘AB ’.Material Conditional. There are two commonsymbols for the material conditional: the arrow,‘→’, and the hook, ‘⊃’.Material Biconditional. The double-headedarrow, ‘↔’, is used in systems that use the arrow torepresent the material conditional. Systems thatuse the hook for the conditional typically use thetriple bar, ‘≡’, for the biconditional.Quantifiers. The universal quantifier is typicallysymbolized as a rotated ‘A’, and the existentialquantifier as a rotated, ‘E’. In some texts, there isno separate symbol for the universal quantifier.Instead, the variable is just written in parentheses

Page 500: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix A. Symbolic notation 486

in front of the formula that it binds. For example,they might write ‘(x )Px ’ where we would write‘∀x Px ’.

These alternative typographies are summarisedbelow:

negation ¬, ∼conjunction ∧, &, •disjunction ∨

conditional →, ⊃biconditional ↔, ≡

universal quantifier ∀x , (x )

Page 501: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B

Alternativeproof systems

In formulating our natural deduction system, wetreated certain rules of natural deduction as basic,and others as derived. However, we could equallywell have taken various different rules as basic orderived. We will illustrate this point by consideringsome alternative treatments of disjunction,negation, and the quantifiers. We will also explainwhy we have made the choices that we have.

487

Page 502: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 488

2.1 Alternative disjunctionelimination

Some systems take DS as their basic rule fordisjunction elimination. Such systems can thentreat the ∨E rule as a derived rule. For they mightoffer the following proof scheme:

Page 503: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 489

m A∨B

i A

j C

k B

l C

n A→ C →I i – jn + 1 B→ C →I k– ln + 2 ¬C

n + 3 A

n + 4 C →E n + 3, nn + 5 ⊥ ¬E n + 2, n + 4n + 6 ¬A ¬I n + 3–n + 5n + 7 B DS m , n + 6n + 8 C →E n + 7, n + 1n + 9 ⊥ ¬E n + 2, n + 8n + 10 C IP n + 2–n + 9

Page 504: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 490

So why did we choose to take ∨E as basic, ratherthan DS?1 Our reasoning is that DS involves theuse of ‘¬’ in the statement of the rule. It is in somesense ‘cleaner’ for our disjunction elimination ruleto avoid mentioning other connectives.

2.2 Alternative negation rules

Some systems take the following rule as their basicnegation introduction rule:

m A

n − 1 B

n ¬B

¬A ¬I* m–nand a corresponding version of the rule we called IPas their basic negation elimination rule:

1P.D. Magnus’s original version of this book went the otherway.

Page 505: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 491

m ¬A

n − 1 B

n ¬B

A ¬E* m–nUsing these two rules, we could we could haveavoided all use of the symbol ‘⊥’ altogether.2 Theresulting system would have had fewer rules thanours.

Another way to deal with negation is to useeither LEM or DNE as a basic rule and introduce IPas a derived rule. Typically, in such a system therules are given different names, too. E.g.,sometimes what we call ¬E is called ⊥I, and whatwe call X is called ⊥E.3

So why did we chose our rules for negation and2Again, P.D. Magnus’s original version of this book went

the other way.3The version of this book due to Tim Button goes this route

and replaces IP with LEM, which he calls TND, for “tertium nondatur.”

Page 506: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 492

contradiction?Our first reason is that adding the symbol ‘⊥’ to

our natural deduction system makes proofsconsiderably easier to work with. For instance, inour system it’s always clear what the conclusion ofa subproof is: the sentence on the last line, e.g. ⊥in IP or ¬I. In ¬I* and ¬E*, subproofs have twoconclusions, so you can’t check at one glance if anapplication of them is correct.

Our second reason is that a lot of fascinatingphilosophical discussion has focussed on theacceptability or otherwise of indirect proof IP(equivalently, excluded middle, i.e. LEM, or doublenegation elimination DNE) and explosion (i.e. X).By treating these as separate rules in the proofsystem, you will be in a better position to engagewith that philosophical discussion. In particular:having invoked these rules explicitly, it would bemuch easier for us to know what a system whichlacked these rules would look like.

This discussion, and in fact the vast majority ofmathematical study on applications of natural

Page 507: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 493

deduction proofs beyond introductory courses,makes reference to a different version of naturaldeduction. This version was invented by GerhardGentzen in 1935 as refined by Dag Prawitz in 1965.Our set of basic rules coincides with theirs. In otherwords, the rules we use are those that are standardin philosophical and mathematical discussion ofnatural deduction proofs outside of introductorycourses.

2.3 Alternative quantificationrules

An alternative approach to the quantifiers is to takeas basic the rules for ∀I and ∀E from §32, and alsotwo CQ rule which allow us to move from ∀x¬A to¬∃xA and vice versa.4

Taking only these rules as basic, we could havederived the ∃I and ∃E rules provided in §32. Toderive the ∃I rule is fairly simple. Suppose A

4Warren Goldfarb follows this line in Deductive Logic,2003, Hackett Publishing Co.

Page 508: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 494

contains the name c, and contains no instances ofthe variable x, and that we want to do the following:

m A(. . . c . . . c . . .)k ∃xA(. . .x . . . c . . .)

This is not yet permitted, since in this new system,we do not have the ∃I rule. We can, however, offerthe following:

m A(. . . c . . . c . . .)m + 1 ¬∃xA(. . .x . . . c . . .)m + 2 ∀x¬A(. . .x . . . c . . .) CQ m + 1m + 3 ¬A(. . . c . . . c . . .) ∀E m + 2m + 4 ⊥ ¬E m + 3, mm + 5 ∃xA(. . .x . . . c . . .) IP m + 1–m + 4

To derive the ∃E rule is rather more subtle. This isbecause the ∃E rule has an important constraint (as,indeed, does the ∀I rule), and we need to make sure

Page 509: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 495

that we are respecting it. So, suppose we are in asituation where we want to do the following:

m ∃xA(. . .x . . .x . . .)i A(. . . c . . . c . . .)j B

k B

where c does not occur in any undischargedassumptions, or in B, or in ∃xA(. . .x . . .x . . .).Ordinarily, we would be allowed to use the ∃E rule;but we are not here assuming that we have accessto this rule as a basic rule. Nevertheless, we couldoffer the following, more complicated derivation:

Page 510: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 496

m ∃xA(. . .x . . .x . . .)i A(. . . c . . . c . . .)j B

k A(. . . c . . . c . . .) → B →I i – jk + 1 ¬B

k + 2 ¬A(. . . c . . . c . . .) MT k , k + 1k + 3 ∀x¬A(. . .x . . .x . . .) ∀I k + 2k + 4 ¬∃xA(. . .x . . .x . . .) CQ k + 3k + 5 ⊥ ¬E k + 4, mk + 6 B IP k + 1–k + 5

We are permitted to use ∀I on line k + 3 because c

does not occur in any undischarged assumptions orin B. The entries on lines k + 4 and k + 1 contradicteach other, because c does not occur in∃xA(. . .x . . .x . . .).

Armed with these derived rules, we could nowgo on to derive the two remaining CQ rules, exactlyas in §35.

Page 511: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix B. Alternative proof systems 497

So, why did we start with all of the quantifierrules as basic, and then derive the CQ rules?

Our first reason is that it seems more intuitiveto treat the quantifiers as on a par with one another,giving them their own basic rules for introductionand elimination.

Our second reason relates to the discussion ofalternative negation rules. In the derivations of therules of ∃I and ∃E that we have offered in thissection, we invoked IP. But, as we mentionedearlier, IP is a contentious rule. So, if we want tomove to a system which abandons IP, but whichstill allows us to use existential quantifiers, we willwant to take the introduction and elimination rulesfor the quantifiers as basic, and take the CQ rulesas derived. (Indeed, in a system without IP, LEM,and DNE, we will be unable to derive the CQ rulewhich moves from ¬∀xA to ∃x¬A.)

Page 512: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C

Quickreference

3.1 Characteristic Truth TablesA ¬A

T FF T

A B A∧B A∨B A→ B A↔ B

T T T T T TT F F T F FF T F T T FF F F F T T

498

Page 513: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 499

Page 514: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 500

3.2 Symbolization

Sentential Connectives

It is not the case that P ¬PEither P, or Q (P ∨ Q )

Neither P, nor Q ¬(P ∨ Q ) or (¬P ∧ ¬Q )Both P, and Q (P ∧ Q )If P, then Q (P → Q )P only if Q (P → Q )

P if and only if Q (P ↔ Q )P unless Q (P ∨ Q )

Predicates

All Fs are Gs ∀x (Fx → Gx )Some Fs are Gs ∃x (Fx ∧ Gx )Not all Fs are Gs ¬∀x (Fx → Gx ) or ∃x (Fx ∧ ¬Gx )

No Fs are Gs ∀x (Fx → ¬Gx ) or ¬∃x (Fx ∧ Gx )

Identity

Only c is G ∀x (Gx ↔ x = c)Everything besides c is G ∀x (¬x = c → Gx )

The F is G ∃x (Fx ∧ ∀y (Fy → x = y ) ∧ Gx )It is not the case that the F is G ¬∃x (Fx ∧ ∀y (Fy → x = y ) ∧ Gx )

The F is non-G ∃x (Fx ∧ ∀y (Fy → x = y ) ∧ ¬Gx )

Page 515: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 501

3.3 Using identity to symbolizequantities

There are at least Fs.

one: ∃xFxtwo: ∃x1∃x2(Fx1 ∧ Fx2 ∧ ¬x1 = x2)

three: ∃x1∃x2∃x3(Fx1 ∧ Fx2 ∧ Fx3 ∧ ¬x1 =x2 ∧ ¬x1 = x3 ∧ ¬x2 = x3)four: ∃x1∃x2∃x3∃x4(Fx1 ∧ Fx2 ∧ Fx3 ∧ Fx4 ∧

¬x1 = x2 ∧ ¬x1 = x3 ∧ ¬x1 = x4 ∧ ¬x2 = x3 ∧ ¬x2 =x4 ∧ ¬x3 = x4)n : ∃x1 . . . ∃xn (Fx1 ∧ . . . ∧ Fxn ∧ ¬x1 =

x2 ∧ . . . ∧ ¬xn−1 = xn )

There are at most Fs.

One way to say ‘there are at most n Fs’ is to put anegation sign in front of the symbolization for ‘thereare at least n + 1 Fs’. Equivalently, we can offer:

one: ∀x1∀x2[(Fx1 ∧ Fx2) → x1 = x2

]

Page 516: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 502

two: ∀x1∀x2∀x3[(Fx1 ∧ Fx2 ∧ Fx3) → (x1 =

x2 ∨ x1 = x3 ∨ x2 = x3)]

three: ∀x1∀x2∀x3∀x4[(Fx1 ∧ Fx2 ∧ Fx3 ∧ Fx4) →

(x1 = x2 ∨ x1 = x3 ∨ x1 = x4 ∨ x2 = x3 ∨ x2 =x4 ∨ x3 = x4)

]n : ∀x1 . . . ∀xn+1 [(Fx1 ∧ . . . ∧ Fxn+1) → (x1 =

x2 ∨ . . . ∨ xn = xn+1)]There are exactly Fs.

One way to say ‘there are exactly n Fs’ is to conjointwo of the symbolizations above and say ‘there areat least n Fs and there are at most n Fs.’ Thefollowing equivalent formulae are shorter:

zero: ∀x¬Fxone: ∃x [

Fx ∧ ∀y (Fy → x = y )]

two: ∃x1∃x2[Fx1 ∧ Fx2 ∧ ¬x1 = x2 ∧ ∀y (

Fy →(y = x1 ∨ y = x2)) ]

three: ∃x1∃x2∃x3[Fx1 ∧ Fx2 ∧ Fx3 ∧ ¬x1 =

x2 ∧ ¬x1 = x3 ∧ ¬x2 = x3 ∧

∀y (Fy → (y = x1 ∨ y = x2 ∨ y = x3)) ]

Page 517: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 503

n : ∃x1 . . . ∃xn [Fx1 ∧ . . . ∧ Fxn ∧ ¬x1 =x2 ∧ . . . ∧ ¬xn−1 = xn ∧

∀y (Fy → (y = x1 ∨ . . . ∨ y = xn )) ]

Page 518: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 504

3.4 Basic deduction rules forTFL

Conjunction

m A

n B

A∧B ∧I m , n

m A∧B

A ∧E m

m A∧B

B ∧E m

Conditional

i A

j B

A→ B →I i – j

m A→ B

n A

B →E m , n

Page 519: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 505

Negation

i A

j ⊥

¬A ¬I i – j

m ¬A

n A

⊥ ¬E m , n

Indirect proof

i ¬A

j ⊥

A IP i – j

Explosion

m ⊥

A X m

Disjunction

m A

A∨B ∨I m

m A

B∨A ∨I m

m A∨B

i A

j C

k B

l C

C ∨E m , i – j , k– l

Page 520: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 506

Biconditional

i A

j B

k B

l A

A↔ B ↔I i – j , k– l

m A↔ B

n A

B ↔E m , n

m A↔ B

n B

A ↔E m , n

Page 521: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 507

3.5 Derived rules for TFL

Disjunctivesyllogism

m A∨B

n ¬A

B DS m , n

m A∨B

n ¬B

A DS m , n

Reiteration

m A

A R m

Modus Tollens

m A→ B

n ¬B

¬A MT m , n

Double-negationelimination

m ¬¬A

A DNE m

Excluded middle

i A

j B

k ¬A

l B

B LEM i – j , k– l

Page 522: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 508

De Morgan Rules

m ¬(A∨B)

¬A∧ ¬B DeM m

m ¬A∧ ¬B

¬(A∨B) DeM m

m ¬(A∧B)

¬A∨ ¬B DeM m

m ¬A∨ ¬B

¬(A∧B) DeM m

Page 523: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 509

3.6 Basic deduction rules forFOL

Universalelimination

m ∀xA(. . .x . . .x . . .)A(. . . c . . . c . . .) ∀E m

Page 524: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 510

Universalintroduction

m A(. . . c . . . c . . .)∀xA(. . .x . . .x . . .) ∀I m

c must not occur in anyundischargedassumptionx must not occur inA(. . . c . . . c . . .)

Existentialintroduction

m A(. . . c . . . c . . .)∃xA(. . .x . . . c . . .) ∃I m

x must not occur inA(. . . c . . . c . . .)

Existentialelimination

m ∃xA(. . .x . . .x . . .)i A(. . . c . . . c . . .)j B

B ∃E m , i – j

c must not occur in anyundischargedassumption, in∃xA(. . .x . . .x . . .), or inB

Identity introduction

c = c =I

Page 525: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 511

Identity elimination

m a = b

n A(. . . a . . . a . . .)A(. . . b . . . a . . .) =E m , n

m a = b

n A(. . . b . . . b . . .)A(. . . a . . . b . . .) =E m , n

3.7 Derived rules for FOL

m ∀x¬A

¬∃xA CQ m

m ¬∃xA

∀x¬A CQ m

m ∃x¬A

¬∀xA CQ m

m ¬∀xA

∃x¬A CQ m

Page 526: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Appendix C. Quick reference 512

Page 527: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossaryantecedent The sentence on the left side of a

conditional.argument a connected series of sentences, divided

into premises and conclusion.atomic sentence A sentence used to represent a

basic sentence; a single letter in TFL, or apredicate symbol followed by names in FOL.

biconditional The symbol ↔, used to representwords and phrases that function like theEnglish phrase “if and only if”; or a sentenceformed using this connective..

bound variable an occurrence of a variable in aformula which is in the scope of a quantifierfollowed by the same variable.

complete truth table A table that gives all the513

Page 528: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 514

possible truth values for a sentence of TFL orsentences in TFL, with a line for everypossible valuation of all atomic sentences.

completeness A property held by logical systems ifand only if � implies `.

conclusion the last sentence in an argument.conclusion indicator a word or phrase such as

“therefore” used to indicate that what followsis the conclusion of an argument.

conditional The symbol →, used to representwords and phrases that function like theEnglish phrase “if . . . then . . . ”; a sentenceformed by using this symbol.

conjunct A sentence joined to another by aconjunction.

conjunction The symbol ∧, used to representwords and phrases that function like theEnglish word “and”; or a sentence formedusing that symbol.

conjunctive normal form (DNF) a sentence whichis a conjunction of disjunctions of atomicsentences or negated atomic sentences.

connective A logical operator in TFL used to

Page 529: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 515

combine atomic sentences into largersentences.

consequent The sentence on the right side of aconditional.

contingent sentence A sentence that is neither anecessary truth nor a necessary falsehood; asentence that in some situations is true andin others false.

contradiction (of FOL) A sentence of FOL that isfalse in every interpretation.

contradiction (of TFL) A sentence that has only Fsin the column under the main logical operatorof its complete truth table; a sentence that isfalse on every valuation.

disjunct A sentence joined to another by adisjunction.

disjunction The connective ∨, used to representwords and phrases that function like theEnglish word “or” in its inclusive sense; or asentence formed by using this connective.

disjunctive normal form (DNF) a sentence whichis a disjunction of conjunctions of atomicsentences or negated atomic sentences.

Page 530: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 516

domain the collection of objects assumed for asymbolization in FOL, or that gives the rangeof the quantifiers in an interpretation.

empty predicate a predicate that applies to noobject in the domain.

existential quantifier the symbol ∃ of FOL used tosymbolize existence; ∃x Fx is true iff at leastone member of the domain is F .

expressive adequacy property of a collection ofconnectives which holds iff every possibletruth table is the truth table of a sentenceinvolving only those connectives.

formula an expression of FOL built according to therecursive rules in §26.2.

free variable an occurrence of a variable in aformula which is not a bound variable.

interpretation a specification of a domain togetherwith the objects the names pick out andwhich objects the predicates are true of.

invalid A property of arguments that holds when itis possible for the premises to be true

Page 531: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 517

without the conclusion being true; theopposite of valid.

joint possibility A property possessed by somesentences when they can all be true at thesame time.

logical consistency (in FOL) A property held bysentence of FOLs if and only if someinterpretation makes all the sentences true.

logical consistency (in TFL) A property held bysentences if and only if the complete truthtable for those sentences contains one lineon which all the sentences are true, i.e., ifsome valuation makes all the sentences true.

logical equivalence (in FOL) A property held bypairs of sentence of FOLs if and only if thesentences have the same truth value in everyinterpretation..

logical equivalence (in TFL) A property held bypairs of sentences if and only if the completetruth table for those sentences has identicalcolumns under the two main logicaloperators, i.e., if the sentences have thesame truth value on every valuation.

Page 532: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 518

logical truth A sentence of FOL that is true in everyinterpretation.

logical validity (in FOL) A property held byarguments if and only if no interpretationmakes all premises true and the conclusionfalse.

logical validity (in TFL) A property held byarguments if and only if the complete truthtable for the argument contains no rowswhere the premises are all true and theconclusion false, i.e., if no valuation makesall premises true and the conclusion false.

main connective The last connective that you addwhen you assemble a sentence using therecursive definition..

metalanguage The language logicians use to talkabout the object language. In this textbook,the metalanguage is English, supplementedby certain symbols like metavariables andtechnical terms like “valid.”.

metavariables A variable in the metalanguage thatcan represent any sentence in the objectlanguage..

Page 533: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 519

name a symbol of FOL used to pick out an object ofthe domain.

necessary equivalence A property held by a pairof sentences that must always have the sametruth value.

necessary falsehood A sentence that must befalse.

necessary truth A sentence that must be true.negation The symbol ¬, used to represent words

and phrases that function like the Englishword “not”.

object language A language that is constructedand studied by logicians. In this textbook,the object languages are TFL and FOL..

predicate a symbol of FOL used to symbolize aproperty or relation.

premise a sentence in an argument other than theconclusion.

premise indicator a word or phrase such as“because” used to indicate that what followsis the premise of an argument.

provable equivalence A property held by pairs ofstatements if and only if there is a derivation

Page 534: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 520

which takes you from each one to the otherone.

provable inconsistency Sentences are provablyinconsistent iff a contradiction can bederived from them.

scope The sentences that are joined by aconnective. These are the sentences theconnective was applied to when the sentencewas assembled using a recursive definition..

sentence of FOL a formula of FOL which has nobound variables.

sentence of TFL A string of symbols in TFL thatcan be built up according to the recursiverules given on p. 74..

sound A property of arguments that holds if theargument is valid and has all true premises.

soundness A property held by logical systems ifand only if ` implies �.

substitution instance the result of replacing everyoccurrence of a free variable in a formulawith a name.

symbolization key A list that shows which Englishsentences are represented by which atomic

Page 535: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 521

sentences in TFL.tautology A sentence that has only Ts in the

column under the main logical operator of itscomplete truth table; a sentence that is trueon every valuation.

term either a name or a variable.theorem A sentence that can be proved without any

premises.truth value One of the two logical values sentences

can have: True and False.truth-functional connective an operator that

builds larger sentences out of smaller onesand fixes the truth value of the resultingsentence based only on the truth value of thecomponent sentences.

universal quantifier the symbol ∀ of FOL used tosymbolize generality; ∀x Fx is true iff everymember of the domain is F .

valid A property of arguments where it isimpossible for the premises to be true andthe conclusion false.

Page 536: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

Glossary 522

valuation An assignment of truth values toparticular atomic sentence of TFLs.

variable a symbol of FOL used following quantifiersand as placeholders in atomic formulas;lowercase letters between s and z .

Page 537: An Introduction to Formal Logic...rigorous methods. Formal logic provides such methods. In computer science, formal logic is applied to describe the state and behaviours of computational

In the Introduction to his volumeSymbolic Logic, Charles LutwidgeDodson advised: “When you come toany passage you don’t understand,read it again: if you still don’t un-derstand it, read it again: if you fail,even after three readings, very likelyyour brain is getting a little tired. Inthat case, put the book away, andtake to other occupations, and nextday, when you come to it fresh, youwill very likely find that it is quiteeasy.”The same might be said for this vol-ume, although readers are forgivenif they take a break for snacks aftertwo readings.