teach yourself logic 9-2

Upload: nurburg

Post on 14-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 Teach Yourself Logic 9-2

    1/66

    Teach Yourself Logic: a Study Guide

    Peter Smith

    1 September 2013

    Version 9.2

    Pass it on, .... Thats the game I want you to learn. Pass it on.Alan Bennett, The History Boys

    The latest version of this Guide can always be downloaded fromlogicmatters.net/students/tyl/

    URLs in blue are live links to external web-pages or PDF documents. Internalcross-references to sections etc. are also live: but to avoid the text being entirely

    covered in ugly red rashes these internal links are not coloured your cursor thoughshould change as you hover over such live links.

    http://www.logicmatters.net/students/tyl/http://www.logicmatters.net/students/tyl/http://www.logicmatters.net/http://www.logicmatters.net/http://www.logicmatters.net/students/tyl/http://www.logicmatters.net/students/tyl/
  • 7/27/2019 Teach Yourself Logic 9-2

    2/66

    Contents

    Version history iii

    0 Introduction 10.1 Why this Guide for philosophers? . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2 Why this Guide perhaps for mathematicians too? . . . . . . . . . . . . . . . . . . 10.3 Choices, choices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20.4 The shape of the Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    0.5 A general reading strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40.6 Other preliminary points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    1 Before we start 61.1 Logical geography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.2 Assumed background: baby logic . . . . . . . . . . . . . . . . . . . . . . . . . . 81.3 Do you really need more? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91.4 How to prove it . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

    2 The Basics 112.1 Getting to grips with first-order logic . . . . . . . . . . . . . . . . . . . . . . . . . 112.2 Getting started with modal logic . . . . . . . . . . . . . . . . . . . . . . . . . . . 142.3 Second-order logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

    2.4 Other classical extensions and variants . . . . . . . . . . . . . . . . . . . . . . . . 172.4.1 Plural logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172.4.2 Free Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

    2.5 Non-classical variants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182.5.1 Intuitionist logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182.5.2 Relevance logics (and wilder logics too) . . . . . . . . . . . . . . . . . . . 19

    2.6 From first-order logic to elementary model theory . . . . . . . . . . . . . . . . . . 202.7 Computability and Godelian incompleteness . . . . . . . . . . . . . . . . . . . . . 212.8 Beginning set theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

    3 Exploring Further 263.1 How to use this chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.2 Next steps beyond the modal basics . . . . . . . . . . . . . . . . . . . . . . . . . 273.3 Proof theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283.4 Beyond the model-theoretic basics . . . . . . . . . . . . . . . . . . . . . . . . . . 30

    3.4.1 Standard model theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303.4.2 A digression on finite model theory . . . . . . . . . . . . . . . . . . . . . . 31

    3.5 Computability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323.5.1 Computable functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323.5.2 Computational complexity . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

    3.6 Godelian incompleteness again . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343.7 Theories of arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353.8 Serious set theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

    3.8.1 ZFC, with all the bells and whistles . . . . . . . . . . . . . . . . . . . . . 373.8.2 The Axiom of Choice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

    3.8.3 Alternative set theories . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

    i

  • 7/27/2019 Teach Yourself Logic 9-2

    3/66

    3.9 Constructivism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433.10 Category theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

    A The Big Books on Mathematical Logic (work in progress) 46A.1 Kleene, 1952 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46A.2 Mendelson, 1964, 2009 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47A.3 Shoenfield, 1967 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49A.4 Kleene, 1967 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50A.5 Robbin, 1969 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51A.6 Enderton, 1972, 2002 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52A.7 Ebbinghaus, Flum and Thomas, 1978, 1994 . . . . . . . . . . . . . . . . . . . . . 53A.8 Van Dalen, 1980, 2012 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55A.9 Goldstern and Judah, 1995 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56A.10 Leary, 2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58A.11 Hedman, 2004 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59A.12 Chiswell and Hodges, 2007 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

    ii

  • 7/27/2019 Teach Yourself Logic 9-2

    4/66

    Version history

    I realize that it does seem a bit pretentious to talk of a version history! But on theother hand, if you have seen some earlier incarnation(s) of this Guide, you might wantto know whats changed so you can skim through the new bits. Starting with Version8.0, then, Ill keep some notes here of how things are evolving. New readers should justgo straight to the Introduction.

    Version 9.2: September 2013 External links in the PDF are now coloured blue (in-

    ternal cross-references are live links too, but for aesthetic reasons arent alsocoloured). Apart from minor tidying, and a brief new note on Tourlakiss Theory ofComputation (2012), the main changes are entries in the Big Books Appendix onvan Dalen (1980/2012) and Hedman (2004), and some consequent earlier changes.

    Version 9.1: June 2013 There are minor revisions in phrasing scattered throughout.

    1.2 has been rearranged and a suggestion added: 1.4 on Vellemans book is new.Substantial entries have been added to the Big Books Appendix on Enderton(1972, 2002), Leary (2000) and Chiswell and Hodges (2007). These new entrieshave in turn led to a number of changes earlier, in particular in 2.1 where thosebooks are initially mentioned. There are brief new entries too in 2.5.2, 3.3, 3.8.1.

    Version 9.0: April 2013 The Guide has been significantly restructured, hence thejump in Version number. The old Introduction has been split into a shorter Intro-duction and a new Chapter 1, which now has a section mapping out how the fieldof logic divides into areas and also has an expanded section on the baby logicwhich the rest of the Guide assumes philosophers will already know.

    Chapter 2, on the basics, is largely unchanged. The order of the next two seg-ments of the Guide has been inverted: The Big Books chapter now comes last,relabelled as an Appendix (but otherwise also unchanged in this version). But Ex-ploring further, now Chapter 3, has been greatly expanded by about 15 pages andis in its first reasonably complete(?) form.

    Links to external web-pages are now live.

    Version 8.1: March 2013 The only significant change is the addition of three newsections to the chapter on the Big Books, discussing Little Kleene, on Ebbinghaus,Flum and Thomas, and on Goldstern and Judah.

    Version 8.0: February 2013 The Introduction and the Chapter on The Basics arenow hopefully in a more stable state. There has been only minor editing of thoseparts. So the major change is that a small start is made on writing sections forthe new Chapter on some of the more general Big Books on mathematical logic(starting with Kleene, Mendelson, Shoenfield, Robbin). A section on model theoryhas been added to the final chapter.

    iii

  • 7/27/2019 Teach Yourself Logic 9-2

    5/66

    Chapter 0

    Introduction

    Note If you are hoping for help with really introductory logic (e.g. as encountered byphilosophers in their first-year courses), then Im afraid this Guide isnt designed foryou. The only section that pertains to baby logic is 1.2; all the rest is about rathermore advanced material.

    0.1 Why this Guide for philosophers?

    It is an odd phenomenon, and a rather depressing one too. Serious logic is seeminglytaught less and less, at least in UK philosophy departments, even at graduate level. Yetlogic itself is, of course, no less exciting and intrinsically rewarding a subject than itever was, and the amount of good formally-informed work in philosophy is if anythingever greater. And surely, logic is far too important to be left entirely to the mercies oftechnicians from maths or computer science departments with different agendas (who

    often reveal an insouciant casualness about conceptual details that will matter to thephilosophical reader).

    So how is a competence in logic to be passed on if there are not enough courses, ornone at all? It seems that many beginning graduate students in philosophy if they arenot to be quite dismally uneducated in logic and so be cut off from working in some ofthe most exciting areas of their discipline will need to teach themselves from books,either solo or (much better) by organizing their own study groups. Thats perhaps noreal hardship, as there are some wonderful books out there. But what to read? Logicbooks can have a very long shelf life, and one shouldnt at all dismiss older books: sotheres more than a fifty year span of publications to select from. I have just countedsome three hundred formal logic books of one kind or another on my own shelves and

    of course these are only a selection.Philosophy students evidently need a Study Guide if they are to find their way around

    the available literature old and new: this is my (on-going, still developing) attempt toprovide one.

    0.2 Why this Guide perhaps for mathematicians too?

    The situation of logic teaching in mathematics departments can also be pretty dire.Indeed there are full university maths courses in good UK universities with preciselyzero courses on logic or set theory (let alone e.g. category theory), and I believe that the

    1

  • 7/27/2019 Teach Yourself Logic 9-2

    6/66

    situation is equally patchy in many other places.So again, if you want to teach yourself some logic, where should you start? What are

    the topics you might want to cover? What textbooks are likely to prove accessible andtolerably enjoyable and rewarding to work through? Again, this Guide or at least, thesections on the core mathematical logic curriculum will give you some pointers.

    True enough, this is written by someone who has apart from a few guest mini-

    courses taught in a philosophy department, and who is certainly no research math-ematician. Which no doubt gives a distinctive tone to the Guide, and explains why itranges into areas of logic of special interest to philosophers. Still, mathematics remainsa first love, and a large number of the books I recommend are very definitely paradigmmathematics texts: so I shouldnt be leading you astray.

    0.3 Choices, choices

    So what has guided my choices of what to recommend in this Guide?

    Different people find different expository styles congenial. For example, what is agree-ably discursive for one reader is irritatingly verbose and slow-moving for another. Formyself, I do particularly like books that are good on conceptual details and good atexplaining the motivation for the technicalities while avoiding needless complications ormisplaced rigour, though I do like elegance too. Given the choice, I tend to prefer atreatment that doesnt rush too fast to become too general, too abstract, and therebyobscures underlying ideas.

    The following recommendations of books reflect these tastes. But overall, I hopethat I havent been downright idiosyncratic. Nearly all the books I recommend will verywidely be agreed to have significant virtues (even if some logicians would have differentpreference-orderings).

    0.4 The shape of the Guide

    My conception of the character and shape of the Guide is still evolving (or at least, itsmutating) as I go along, and it does show signs of continuing to grow rather alarmingly.The latest version can always be found at www.logicmatters.net/students/tyl.

    The Guide is currently divided into three main Chapters and an Appendix:

    The short Chapter 1 says something introductory about the lie of the land, indi-cating the various subfields of logic comprising both the traditional mathematical

    logic curriculum and also noting other areas such as modal logic which are perhapsof special interest to some philosophers. This initial map of the territory explainswhy Chapter 2 is structured as it is.

    Chapter 1 also suggests some preliminary reading aimed at philosophers withlittle or no mathematical background reading which may indeed be enough fortheir purposes. I think that any philosopher should know this little amount, butthese modest preliminaries are not really the topic of this Guide. Our concern iswith the serious stuff that lies beyond, of somewhat more specialized interest.

    Chapter 2 on The Basics is the core chapter of the Guide. It looks at more-or-less-introductory readings on each of the basic subfields of logic (at, roughlyspeaking, an advanced undergraduate or perhaps beginning graduate student level

    2

  • 7/27/2019 Teach Yourself Logic 9-2

    7/66

    for philosophers, or equivalently at a middling-to-upper undergraduate level formathematicians).

    This chapter will probably take many readers as far as they want to go. And ifyou do want to take things further, there are probably already more than enoughpointers given in the books already mentioned in Chapter 2 to put you in a positionto explore solo, without much additional need of guidance from me. Still, this Guide

    does continue . . .

    Chapter 3 presses on with suggestions for narrow-focus forays deeper into varioussubfields, Exploring Further by looking at more advanced work, or at work ontopics outside the basic menu. This is probably mostly for specialist graduatestudents (among philosophers) and final year undergraduate/beginning graduatestudents (among mathematicians).

    Appendix A is by way of a supplement, considering some of The Big Books onmathematical logic. These are typically broader-focus books that cover more thanone subfield at around the level reached in the Chapter 2 readings or going perhaps

    rather beyond. Sensibly choosing among them, some of these books can providevery useful consolidating/amplifying reading.This final chapter is starting to grow into what will probably become a rather

    long list of mini-reviews. Partly it is written for my own satisfaction, as I re-visitsome old friends and take a closer look at other books that have sat unregardedon my shelves. But Ive also been spurred on by readers: initial versions of thisGuide prompted quite a few enquiries of the kind Do you recommend X?, or Weare using Y as a course text: I dont like it that much, what do you think?. TheAppendix is often much more critical in tone than the previous chapters.

    Now, 1.1 on logical geography, together with the table of contents, should give youa reasonable sense of how I am chunking up the broad field of logic into subfields (in a

    fairly conventional way) in Chapters 2 and 3. Of course, even the horizontal divisions intodifferent areas within those chapters can in places be a little arbitrary. And the verticaldivision between the entry-level readings in Chapter 2 and the further explorations inChapter 3 is evidently going to be a lot more arbitrary. I think that everyone willagree (at least in retrospect!) that e.g. the elementary theory of ordinals and cardinalsbelongs to the basics of set theory, while explorations of large cardinals or independenceproofs via forcing are decidedly advanced. But in most areas, there are far fewer naturaldemarcation lines between The Basics and advanced work.

    Still, it is surely very much better to have some such structuring than to heapeverything together. And I hope the vertical division between the Chapters will help tomake the size of this ever-growing Guide seem a bit less daunting.

    In fact, you should stick to Chapter 2 at the outset it covers the sorts of logicaltopics that should be readily accessible to the enthusiastic logic-minded philosophy un-dergraduate or beginning graduate student, and accessible a year or two earlier in theireducation to mathematicians.

    You can then proceed in two ways. As indicated, Chapter 3 is there in case youfind yourself captivated by some particular topic(s) in logic, and want to pursue thingsfurther (or investigate new topics). But not an exclusive alternative, of course! youmight well want to review and consolidate some of the earlier material by looking attwo or three of the big single (or jointly) authored multi-topic books which aim to coversome or all of the basic standard menu of courses in mathematical logic: Appendix Areviews some of the options (and mentions a few other books besides).

    3

  • 7/27/2019 Teach Yourself Logic 9-2

    8/66

    Within sections in Chapters 2 and 3, I have put the main recommendations intowhat strikes me as a sensible reading order of increasing difficulty (without of coursesupposing you will want to read everything!). And some further books are listed in asidesor postscripts. Again, the fine details of the orderings, and the decisions about what toput in asides or postscripts, can all no doubt be warmly debated: people do get quiteheated about this kind of thing.

    0.5 A general reading strategy

    I very strongly recommend tackling an area of logic (or indeed any new area of mathe-matics) by reading a series of books which overlap in level (with the next one coveringsome of the same ground and then pushing on from the previous one), rather than tryingto proceed by big leaps.

    In fact, I probably cant stress this advice too much (which is why I am highlightingit in this separate section). For this approach will really help to reinforce and deepen

    understanding as you re-encounter the same material from different angles, with dif-ferent emphases. The multiple overlaps in coverage in the lists below are therefore fullyintended, and this explains why the lists are longer rather than shorter. You will certainlymiss a lot if in the end you dont read around quite widely.

    0.6 Other preliminary points

    (a) Mathematics is not merely a spectator sport: you should try some of the exercisesin the books as you read along to check and reinforce comprehension. On the otherhand, dont obsess about doing exercises understanding proof ideas is very much the

    crucial thing at least for philosophers, not the ability to roll-your-own proofs. And evenmathematicians shouldnt get too hung up on routine exercises (unless you have specificexams to prepare for!): concentrate on the exercises that look interesting and/or mightdeepen understanding.

    Do note however that some authors have the irritating(?) habit of burying importantresults in the exercises, so it is often worth skimming through the exercises even if youdont plan to tackle many of them.

    (b) Nearly all the books mentioned here should be held by any university library whichhas been paying reasonable attention to maintaining a core collection in the area oflogic (and any book should be borrowable through your interlibrary loans system). But

    certainly, if some recommended books from Chapter 2 on The Basics are not on theshelves, do make sure your library orders them (in my experience, university librarians overwhelmed by the number of publications, strapped for cash, and too familiar withthe never-borrowed purchase are only too happy to get informed recommendations ofbooks which are reliably warranted actually to be useful).

    Since Im not assuming you will be buying personal copies, I have not made costor even being currently in print a consideration for inclusion: indeed it has to be saidthat the list price of some of the books is just ridiculous. (Though second-hand copies ofsome books at better prices might be available via Amazon sellers or from abebooks.com.)However, I have marked with one star* books that are available at a reasonable price(or at least are unusually good value for the length and/or importance of the book), and

    marked with two stars** those books for which e-copies are freely (and legally!) available

    4

  • 7/27/2019 Teach Yourself Logic 9-2

    9/66

  • 7/27/2019 Teach Yourself Logic 9-2

    10/66

    Chapter 1

    Before we start

    1.1 Logical geography

    Logic is a big field. It is of concern to philosophers, mathematicians and computer sci-entists. Different constituencies will be particularly interested in different areas and givedifferent emphases. For example, modal logic is of considerable interest to some philoso-phers, but also parts of this sub-discipline are of concern to computer scientists too.Set theory (which falls within the purview of mathematical logic, broadly understood)is an active area of research interest in mathematics, but because of its (supposed)foundational status is of interest to philosophers too. Finite model theory is of interestto mathematicians and computer scientists, but perhaps not so much to philosophers.Type theory started off as a device of philosophy-minded logicians looking to avoid theparadoxes: it has become primarily the playground of computer scientists. And so itgoes.

    In this Guide, Im going to have to let the computer scientists largely look afterthemselves! Our focus is going to be the areas of logic of most interest to philosophersand mathematicians, if only because thats what I know a little about. Here, then, is avery rough-and-ready initial map to the ground surveyed in Chapter 2 on the basics. Westart with fundamentals at the top. Then the left hand branch highlights some areas thatare likely to be of interest to philosophers and (mostly) not so much to mathematicians:the right hand part covers the traditional Mathematical Logic curriculum in advanced(graduate level?) philosophy courses and not-so-advanced mathematics courses.

    (Assumed background: Baby logic)

    First order logic

    Modal logic

    Classical variations

    Non-classical variations

    Second order logic More model theory

    Computability, incompleteness

    Beginning set theory

    6

  • 7/27/2019 Teach Yourself Logic 9-2

    11/66

    The dashed lines between the three blocks on the left indicate that they are roughly onthe same level and can be tackled in any order; likewise for the three blocks on the right.

    In a bit more detail (though dont worry if at this stage you dont understand all thejargon):

    By Baby logic, which I say just a little more about in the next section of this

    chapter, I mean the sort of thing that is in elementary formal logic courses forphilosophers: truth-functional logic (the truth-table test for validity, usually a firstlook at some formal proof system as well), a first look at the logic of quanti-fiers (at least a familiarity with translation to and from quantified wffs and aninformal initial understanding of the semantics for quantifiers), and perhaps alsoan introduction to set theoretic notation and the ideas of relations, functions, etc.Mathematicians will probably have picked up a fair amount of all this from variousnon-logic courses, e.g. on discrete mathematics.

    First-order logic means a reasonably rigorous treatment of quantification theory,studying both a proof-system (or two) for classical logic, and the standard classicalsemantics, getting as far as a soundness and completeness proof for your favouriteproof system, and perhaps taking a first look at e.g. the Lowenheim-Skolem theo-rems, etc.

    Moving on to the left-hand column of logic-for-philosophers: even before encoun-tering a full-on-treatment of first-order logic, philosophers are often introduced tomodal logic (the logic of necessity and possibility) and to its possible world se-mantics. You can indeed do an amount of propositional modal logic with littlemore than baby logic as background.

    Further down that left-hand column we meet some variations/extensions of stan-dard logic which are of conceptual interest but which are still classical in favour

    (e.g. free logic, plural logic). One such extension, second-order logic, is worth high-lighting as particularly significant (and of interest to mathematicians), and gets itsown box on the map.

    Then there are non-classical variations, of which perhaps the most important isintuitionist logic (which drops the law of excluded middle, motivated by a non-classical understanding of the significance of the logical operators). We could alsomention e.g. relevant logics which drop the classical rule that a contradiction entailsanything.

    Now we go to the right-hand column, to take in the three substantial elements(after core first-order logic) which go in various proportions to make up the

    traditional Mathematical Logic curriculum. First, and pretty continuous with ourinitial study of first-order logic, there is just a little more model theory, i.e. a littlemore exploration of the fit between formal theories and the structures they aresupposed to be about.

    Next theres an introduction to the ideas of mechanical computability and decid-ability, and proofs of epochal results such as Godels incompleteness theorems.(This is perhaps the most readily approachable area of mathematical logic.)

    Finally, we start work on set theory.

    To repeat, dont be alarmed if (some of) those descriptions are at the moment pretty

    opaque to you: we will be explaining everything as we go through. And as I said, you

    7

  • 7/27/2019 Teach Yourself Logic 9-2

    12/66

    probably shouldnt take the way our map divides logic into its fields too seriously. Still,the map should be a helpful guide to the structure of the next chapter of this Guide.

    1.2 Assumed background: baby logic

    If you are a mathematician, you should probably just dive straight into the next chapteron the basics without further ado (you will very easily be able to cope with the slighterfaster-track (re)presentation of the elements of baby logic that you get again at thebeginning of slightly more advanced books).

    If you are a philosopher without a mathematical background, however, you will al-most certainly need to have already done some formal logic if you are going to cope.And if you have only taken a course using some really, really, elementary text booklike Sam Guttenplans The Languages of Logic, Howard Kahanes Logic and Philosophy,or Patrick Hurleys Concise Introduction to Logic, then you might well struggle. If youdont have much of a mathematical background, then it could be a very good idea to

    work through some more substantial but still introductory book before pursuing thingsany further with serious logic.Here then are couple of initial suggestions of books that start from scratch again but

    do go far enough to provide a good foundation for further work:

    1. My Introduction to Formal Logic* (CUP 2003, corrected reprint 2009: for moredetails see www.logicmatters.net/ifl, where there are also answers to the exercises).This is intended for beginners, and was the first year text in Cambridge for adecade. It was written as an accessible teach-yourself book, covering propositionaland predicate logic by trees. But it gets as far as a completeness proof for thetree system of predicate logic without identity.

    2. Paul Tellers A Modern Formal Logic Primer** (Prentice Hall 1989) predates mybook, is now out of print, but is freely available online at tellerprimer.ucdavis.edu,which makes it unbeatable value! It is quite excellent, and had I known about itat the time (or listened to Pauls good advice, when I got to know him, about howlong it takes to write an intro book), Im not sure that Id have written my ownbook, full of good things though it is! As well as introducing trees, Teller also coversa version of Fitch-style natural deduction (I didnt have the page allowance to dothis, regrettably). Like me, he also gets as far as a completeness proof. Notablyuser-friendly. Answers to exercises are available at the website.

    Of course, those are just two possibilities from very many. I have not latterly kept upwith the seemingly never-ending flow of books on logic at the introductory level, someof which are no doubt excellent too (though there are also some poor books out there mathematicians should be warned that some of the books on discrete mathematicscover elementary logic pretty badly; and there are also more books like Guttenplans thatwill probably not get philosophers to the starting line as far as this Guide is concerned).However, this is certainly not the place to discuss all the other options for elementarytexts. But I will mention here just two other books:

    3. I have been asked a number of times about Jon Barwise and John Etchemendyswidely used Language, Proof and Logic (CSLI Publications, 1999; 2nd edition 2011 for more details, see http://ggweb.stanford.edu/lpl/toc). The unique selling pointfor the book is that it comes with a CD of programs, including a famous one by

    the authors called Tarskis World in which you build model worlds and can query

    8

    http://www.logicmatters.net/iflhttp://tellerprimer.ucdavis.edu/http://ggweb.stanford.edu/lpl/tochttp://ggweb.stanford.edu/lpl/tochttp://tellerprimer.ucdavis.edu/http://www.logicmatters.net/ifl
  • 7/27/2019 Teach Yourself Logic 9-2

    13/66

    whether various first-order sentences are true of them. Some students really likeit, and but at least equally many dont find this kind of thing particularly useful.And I believe that the CD cant be registered to a second owner, so you have tobuy the book new to get the full advantage.

    On the positive side, this is another book which is in many respects user-friendly,goes slowly, and does Fitch-style natural deduction. It is a respectable option. But

    Teller is rather snappier, and no less clear, and wins on price!

    4. Nicholas Smiths recent Logic: The Laws of Truth (Princeton UP 2012) looks tobe very clearly written and to have many virtues. The first two parts of the bookoverlap very largely with mine (it too introduces logic by trees). But the thirdpart ranges wider, including natural deduction indeed the coverage goes as far asBostocks book, mentioned below in 2.1. It seems a particularly readable additionto the introductory literature. Answers to exercises can be found at http://www-personal.usyd.edu.au/njjsmith/lawsoftruth/

    1.3 Do you really need more?

    It is perhaps worth pausing to ask philosophical readers if they are really sure especiallyif they already worked through a book like mine or Paul Tellers whether they really dowant or need to pursue things much further, at least in a detailed, formal, way. Far be itfrom me to put people off doing more logic: perish the thought! But for many purposes,philosophers can get by just reading the likes of

    1. David Papineau, Philosophical Devices: Proofs, Probabilities, Possibilities, and Sets(OUP 2012). From the publishers description: This book is designed to explainthe technical ideas that are taken for granted in much contemporary philosophicalwriting. . . . The first section is about sets and numbers, starting with the member-ship relation and ending with the generalized continuum hypothesis. The secondis about analyticity, a prioricity, and necessity. The third is about probability, out-lining the difference between objective and subjective probability and exploringaspects of conditionalization and correlation. The fourth deals with metalogic, fo-cusing on the contrast between syntax and semantics, and finishing with a sketchof Godels theorem.

    2. Eric Steinhart, More Precisely: The Math You Need to Do Philosophy (Broadview2009) The author writes: The topics presented . . . include: basic set theory; rela-tions and functions; machines; probability; formal semantics; utilitarianism; and

    infinity. The chapters on sets, relations, and functions provide you with all youneed to know to apply set theory in any branch of philosophy. The chapter ofmachines includes finite state machines, networks of machines, the game of life,and Turing machines. The chapter on formal semantics includes both extensionalsemantics, Kripkean possible worlds semantics, and Lewisian counterpart theory.The chapter on probability covers basic probability, conditional probability, Bayestheorem, and various applications of Bayes theorem in philosophy. The chapter onutilitarianism covers act utilitarianism, applications involving utility and probabil-ity (expected utility), and applications involving possible worlds and utility. Thechapters on infinity cover recursive definitions, limits, countable infinity, Cantorsdiagonal and power set arguments, uncountable infinities, the aleph and beth num-

    bers, and definitions by transfinite recursion. More Precisely is designed both as a

    9

    http://www-personal.usyd.edu.au/~njjsmith/lawsoftruth/http://www-personal.usyd.edu.au/~njjsmith/lawsoftruth/http://www-personal.usyd.edu.au/~njjsmith/lawsoftruth/http://www-personal.usyd.edu.au/~njjsmith/lawsoftruth/
  • 7/27/2019 Teach Yourself Logic 9-2

    14/66

    text book and reference book to meet the needs of upper level undergraduates andgraduate students. It is also useful as a reference book for any philosopher workingtoday.

    Both books are in fact admirable, and will give many philosophers a handle on sometechnical ideas going beyond baby logic and which they really should know just a little

    about, without the hard work of doing a real logic course. Whats not to like?

    1.4 How to prove it

    Assuming you do want to learn more logic, before getting down to business in the nextchapter, let me mention one other rather different book:

    Daniel J. Velleman, How to Prove It: A Structured Approach (CUP, 2nd edition,2006). From the Preface: Students of mathematics . . . often have trouble the firsttime that theyre asked to work seriously with mathematical proofs, because they

    dont know the rules of the game. What is expected of you if you are asked toprove something? What distinguishes a correct proof from an incorrect one? Thisbook is intended to help students learn the answers to these questions by spellingout the underlying principles involved in the construction of proofs.

    There are chapters on the propositional connectives and quantifiers, and informal proof-strategies for using them, and chapters on relations and functions, a chapter on mathe-matical induction, and a final chapter on infinite sets (countable vs. uncountable sets).This truly excellent student text could well be of use both to some (many?) philosophersand to some mathematicians reading this Guide.

    True, if you are a mathematics student who has got to the point of embarking on an

    upper level undergraduate course in some area of mathematical logic, you should cer-tainly have already mastered nearly all the content of Vellemans book. But an afternoonskimming through this book (except for the very final section), pausing over anythingthat doesnt look very comfortably familiar, could still be time really well spent.

    What if you are a philosophy student who (as we are assuming) has done some babylogic? Well, experience shows that being able to handle formal tree-proofs or naturaldeduction proofs doesnt always translate into being able to construct good informalproofs. For example, one of the few meta-theoretic results usually met in a baby logiccourse is the expressive completeness of the set of formal connectives t^,_,u. The(informal!) proof of this result is easy. But many students who can ace the part of theend-of-course exam asking for quite complex formal proofs are all at sea when asked

    to replicate this informal bookwork proof. Another example: it is only too familiar tofind philosophy students introduced to set notation not even being able to make a starton a good informal proof that ttau, ta, buu tta1u, ta1, b1uu if and only if a a1 andb b1. Well, if you are one of those students who jumped through the formal hoops butwere unclear about how to set out elementary mathematical proofs (from meta-theoryor baby set theory), then again working through Vellemans book from the beginningcould be just what you need to get you prepared for the serious study of logic. And evenif you were one of those comfortable with the informal proofs, you will probably stillprofit from reading at least the chapter on mathematical induction.

    10

  • 7/27/2019 Teach Yourself Logic 9-2

    15/66

    Chapter 2

    The Basics

    And so, at long last, down to work! This chapter is divided into three main parts (comparethe map in 1.1):

    2.1 The fundamentals of first-order logic (up to and including the completeness proof ).

    2.22.5 Extensions and variations of first-order logic, some of particular interest ofphilosophers (modal logics, free logic), others of rather wider interest (second-orderlogic, intuitionism).

    2.62.8 Beginning the traditional core Mathematical Logic curriculum: (i) the el-ements of model theory, (ii) formal arithmetic, theory of computation, G odelsincompleteness theorems, (iii) elements of set theory.

    If you are a mathematician (or a philosopher with interests mainly in the philosophyof maths), you could initially skip past the sections on modal logic and classical/non-classical variations, and go straight from the introduction to first-order logic to thecore Math. Logic part, returning later to catch up on intuitionism. But some otherphilosophers might want to dwell on topics like modal logic and may not care much e.g.about set theory (beyond, perhaps, getting the most elementary familiarity with somenotation and very elementary concepts that they should have picked up in their babylogic course).

    As explained in 0.5, I do warmly recommend reading a series of books on a topicwhich overlap in coverage and difficulty, rather than leaping immediately from an entrylevel text to an advanced one. You dont have to follow this advice, of course! ButI mention it again here to remind you just why the list of recommendations in mostsections is quite extensive: this level of logic really isnt as daunting as the length of this

    chapter might superficially suggest. Promise!

    2.1 Getting to grips with first-order logic

    To start with the indispensable core. The first aim is to get a more solid understandingof the syntax and semantics of first-order logic.

    i. On the syntactic side, you need to know about first-order languages, and aboutold-school axiomatic proof-systems. You should also know about natural deductionproof-systems (in either a Gentzen/Prawitz form or Fitch-style). It is also good at

    an early stage to meet a tree (tableau) system if you havent already done so.

    11

  • 7/27/2019 Teach Yourself Logic 9-2

    16/66

    ii. On the semantic side, you need to understand the idea of first-order structures andthe idea of truth-in-a-structure, with the bells and whistles needed to cope withquantifiers, leading up to the notion of semantic entailment.

    iii. And then you should know how to prove a soundness and a completeness theoremfor your favourite deductive system for first-order logic (theres a deduction in

    your system of a conclusion from given premisses if and only if the inference issemantically valid).

    iv. As an optional bonus at this stage, it could be good to have a first glimpse of theLowenheim-Skolem Theorems and the compactness theorem, i.e. to have an initialengagement with the very beginnings of model theory.

    So where to begin? The following book is by a philosopher with philosophy studentsparticularly in mind, as a just-past-baby-logic text that can be used as bridge takingyou onwards to more mathematical texts:

    1. David Bostock, Intermediate Logic (OUP 1997). From the preface: The book is

    confined to . . . what is called first-order predicate logic, but it aims to treat thissubject in very much more detail than a standard introductory text. In partic-ular, whereas an introductory text will pursue just one style of semantics, justone method of proof, and so on, this book aims to create a wider and a deeperunderstanding by showing how several alternative approaches are possible, andby introducing comparisons between them. So this book definitely ranges rathermore widely than either Paul Tellers introductory text or my own (mentioned in1.2). For example, Bostock does indeed usefully introduce you to tableaux (trees)and an Hilbert-style axiomatic proof system and natural deduction and a sequentcalculus as well (it is good to understand what is going on in these different kindsof proof-system). And he touches on issues of philosophical interest such as free

    logic not always dealt with in other books at this level. Still, the discussions remainat much the same level of conceptual/mathematical difficulty as the later parts ofTellers book and my own. So this book should be, as intended, particularly acces-sible to philosophers who havent done much formal logic before and should, as Isaid, help ease the transition to more advanced work.

    Non-philosophers, however, or those who waltzed easily through their baby logiccourse, might well prefer to start with the following text which while only a smallnotch up in actual difficulty has a notably more mathematical look and feel (beingwritten by mathematicians) while still remaining friendly and approachable. It is alsoconsiderably shorter than Bostocks book, though lacking the latters wide range.

    2. Ian Chiswell and Wilfrid Hodges, Mathematical Logic (OUP 2007). Despite thetitle, this is particularly accessible, very nicely written, and should be very man-ageable even at this early stage. Indeed if you cant cope with this lovely book,then I fear that serious logic might not be for you!

    The headline news is that authors explore a (Gentzen-style) natural deductionsystem. And by building things up in stages over three chapters, they make proofsof e.g. the completeness theorem for first-order logic quite unusually manageable.For a more detailed description of the book, see A.12.

    Very warmly recommended for beginning the serious study of first-order logic.(The book has brisk solutions to some exercises. A demerit mark to OUP for notpublishing it cheaper.)

    12

  • 7/27/2019 Teach Yourself Logic 9-2

    17/66

    Of course, there are very many alternative introductory treatments of first-order logicavailable for reading instead of/or just half a step up from Chiswell and Hodges (though,trust me, that is particularly good as an entry-level text). Ill mention just three at thispoint, in chronological order of first publication:

    3. Herbert Endertons A Mathematical Introduction to Logic (Academic Press 1972,

    2002), which focuses on a Hilbert-style axiomatic system, is regarded as a classicof exposition. It does strike me, however, as somewhat more difficult than Chiswelland Hodges or Learys book mentioned just below (so Im not surprised that somereport finding it quite challenging as a student if used as a first text). It is a verysolid piece of work, however. If you give it a try maybe as consolidatory readingafter C&H read up to and including 2.5 or 2.6 at this stage. Later, you canfinish the rest of that chapter to take you a bit further into model theory. Thereis more about this book in the Appendix, A.6.

    4. Dirk van Dalens Logic and Structure* (Springer, 1980; 5th edition 2012) is anothermodern classic, a natural-deduction-based text which is admired and widely used.

    Its half-a-notch up from C&H in terms of mathematical style/difficulty. Read upto and including 3.2. The book isnt without its quirks and flaws, however, and Ithink it would be quite tough going if taken from a standing start. Still, its morerigorous mode of presentation should be quite manageable after reading C&H asa first pass through this material and the combination of these two books wouldmake for an excellent foundation in logic. For a more extended review of the wholebook, see Appendix A.8.

    5. Although it uses an axiomatic system of logic rather than natural deduction, theresa great deal to like about Christopher Learys A Friendly Introduction to Mathe-matical Logic (Prentice Hall 2000: currently out of print, but a slightly expandednew edition is being planned). Chs. 13 do indeed make a very friendly and helpful

    introduction to first-order logic in under 125 pages. This is written by a math-ematician for a mostly mathematical audience so some illustrations of ideas canpresuppose a smattering of elementary background mathematical knowledge; butit can still be read with great profit even if you occasionally have to skip an exam-ple. I like the tone very much indeed, and say more about this admirable book inA.10.

    Note, if you have already carefully read and mastered the whole of e.g. Tellers intro-ductory book, the recommended reading in this section so far wont in fact teach youvery many more basic ideas or major new results (other than some entry-level model-theoretic notions like compactness and the L-S theorems). However, you will get to see

    this material re-presented in the sort of rigorous mathematical style youll encountermore and more as you progress in logic, and which you very much need to start feelingentirely comfortable with at an early stage. (Im not saying this style is entirely a goodthing! But you have to learn to live with it.)

    Postcript For another classic presentation of logic via natural deduction, written for philoso-phers, see

    Neil Tennant, Natural Logic** (Edinburgh UP 1978, 1990). Now out of print, but freelyavailable from http://people.cohums.ohio-state.edu/tennant9/Natural Logic.pdf. Credit toTennant for the first textbook at its level which does Gentzen-style ND. He thinks thatthis approach to logic is philosophically highly significant, and it shows. This isnt always an

    easy read, despite the books being intended as a more introductory text: but philosophers

    13

    http://people.cohums.ohio-state.edu/tennant9/Natural_Logic.pdfhttp://people.cohums.ohio-state.edu/tennant9/Natural_Logic.pdfhttp://people.cohums.ohio-state.edu/tennant9/Natural_Logic.pdf
  • 7/27/2019 Teach Yourself Logic 9-2

    18/66

    in particular should find that it will extend and deepen their understanding of ND afterreading Chiswell and Hodges.

    It could also be worth extending your knowledge of proof systems by learning about resolutionand unification. Theres quite a nice presentation in

    Shawn Hedman, A First Course in Logic (OUP 2004): 1.8, 3.43.5.

    If you have so far concentrated on a one-track book (ND or axiomatic) youd better pauseto widen your focus. I recommended Bostock for, inter alia, telling you about different styles ofproof-system, and if you didnt read it but went straight to C&H you could now usefully skimand skip that book to fill the gaps in your knowledge. Or for a much brisker introduction todifferent proof-styles, though written for someone who already knows about tree-proofs (as ine.g. my Introduction to Formal Logic), you could read these seminar notes of mine:

    http://www.logicmatters.net/resources/pdfs/ProofSystems.pdf.

    I wrote those notes as back-up for students who were starting to read

    John L. Bell, David DeVidi and Graham Solomons Logical Options: An Introduction toClassical and Alternative Logics (Broadview Press 2001). For the moment look at Chs 1and 2, and note in particular 1.5 for discussion of different styles of proof-system other

    than trees for the propositional calculus. The book covers a lot pretty snappily, and a fewyears ago I used it as a text for second-year seminar for undergraduates who had used myown tree-based book for their first year course. To be honest, some of the not-so-logicalstudents found it harder going: but it could well be very useful as supplementary/parallelreading if you have already read another book at this sort of level.

    A number of times I have been asked But what about Mendelson, Chs. 1 and 2? Well, ElliotMendelsons Introduction to Mathematical Logic (Chapman and Hall/CRC 5th edn 2009) wasfirst published in 1964 when I was a student and the world was a lot younger. I owe the book alot for getting me through tripos. But despite that sentimental link, it has to be said that thebook is often terse to the point of unfriendliness, and the basic look-and-feel of the book hasntchanged as it has run through successive editions. Nearly fifty years on, there are many moreaccessible alternatives. (I say more about this book in A.2).

    If we arelooking back at textbooks from the sixties or seventies, then Id suggest instead usingGeoffrey Hunters Metalogic (first published in 1971, still in print from University of CaliforniaPress). Read Parts One to Three at this stage. And if you are enjoying it, then do continueto finish the book, where it treats a formal theory of arithmetic and proves the undecidabilityof first-order logic, topics we revisit in 2.7. Unfortunately, the typography from pre-LATEXdays isnt at all pretty to look at: this can make the book appear rather unappealing. But thetreatment, albeit (like Mendelsons) of an axiomatic system of logic, is in fact very clear andaccessible.

    And while talking of old books, heres a definite recommendation for enthusiasts. Terse butpacked with good things, theres

    Raymond Smullyan, First-Order Logic* (Springer 1968, Dover Publications 1995).

    Read Parts I and II at this stage. Those with a taste for mathematical neatness should be ableto cope by this point, and appreciate its elegance. This beautiful little book is the source of so

    many modern tree-based treatments of logic.

    2.2 Getting started with modal logic

    The ordering of some of the sections from now on is necessarily going to be a little bitarbitrary. But Im putting this one next for two reasons. First, the basics of modal logicdont involve anything mathematically more sophisticated than the elementary first-order logic covered in Chiswell and Hodges (indeed to make a start on modal logic you

    14

    http://www.logicmatters.net/resources/pdfs/ProofSystems.pdfhttp://www.logicmatters.net/resources/pdfs/ProofSystems.pdf
  • 7/27/2019 Teach Yourself Logic 9-2

    19/66

    dont even need as much as that). Second, and more much importantly, philosophersworking in many areas surely ought to know a little modal logic, even if they can stoptheir logical education and manage without knowing too much about some of the fancierareas of logic we are going to be looking at later.

    Basic modal logic is the logic of the operators l and (read it is necessarily truethat and it is possibly true that); it adopts principles like l and , and

    investigates more disputable principles like l. The place to start is clear, Ithink:

    1. Rod Girle, Modal Logics and Philosophy (Acumen 2000, 2009), Part I. Girles logiccourses in Auckland, his enthusiasm and abilities as a teacher, are justly famous.Part I of this book provides a particularly lucid introduction, which in 136 pagesexplains the basics, covering both trees and natural deduction for some proposi-tional modal logics, and extending to the beginnings of quantified modal logic.Philosophers may well want to go on to read Part II of the book, on applicationsof modal logic.

    Also pretty introductory, though perhaps a little brisker than Girle at the outset, is

    2. Graham Priest, An Introduction to Non-Classical Logic* (CUP, much expanded2nd edition 2008): read Chs 24 for propositional modal logics, Chs 1418 forquantified logics. This book which is a terrific achievement and enviably clear andwell-organized systematically explores logics of a wide variety of kinds, using treesthroughout in a way that can be very illuminating indeed. (Although it starts fromscratch, however, it would be better to come to the book with a prior familiaritywith logic via trees, as in my IFL). We will be mentioning this book again in latersections for its excellent coverage of non-classical themes.

    If you do start with Priests book, then at some point you will need to supplement it by

    looking at a treatment of natural deduction proof systems for modal logics. One optionis to dip into Tony Roys comprehensive Natural Derivations for Priest, An Introductionto Non-Classical Logic which presents natural deduction systems corresponding to thepropositional logics presented in tree form in the first edition of Priest (so the first half ofthe new edition). This can be downloaded at http://philosophy.unimelb.edu.au/ajl/2006/.Another possible way in to ND modal systems would be via the opening chapters of

    3. James Garson, Modal Logic for Philosophers* (CUP, 2006). This again is cer-tainly intended as a gentle introductory book: it deals with both ND and semantictableaux (trees), and covers quantified modal logic. It is reasonably accessible, butnot I think as attractive as Girle.

    We now go a step up in sophistication:

    4. Melvin Fitting and Richard L. Mendelsohn, First-Order Modal Logic (Kluwer1998). This book starts again from scratch, but then does go rather more snappily,with greater mathematical elegance (though it should certainly be accessible toanyone who is modestly on top of non-modal first-order logic, as in the previoussection). It still also includes a good amount of philosophically interesting material.Recommended.

    And we can for the moment stop here. Getting as far as Fitting and Mendelsohn willgive most philosophers a good enough grounding in basic modal logic. But for more(including additional reading relevant to Timothy Williamsons 2013 book on modal

    metaphysics), see 3.2.

    15

    http://philosophy.unimelb.edu.au/ajl/2006/http://philosophy.unimelb.edu.au/ajl/2006/
  • 7/27/2019 Teach Yourself Logic 9-2

    20/66

    Postscript Old hands learnt their modal logic from G. E. Hughes and M. J. Cresswell AnIntroduction to Modal Logic (Methuen, 1968). This was at the time of original publication aunique book, enormously helpfully bringing together a wealth of early work on modal logic in anapproachable way.

    Nearly thirty years later, the authors wrote a heavily revised and updated version, A New

    Introduction to Modal Logic (Routledge, 1996). This newer version like the original one concen-trates on axiomatic versions of modal logic, which doesnt make it always the most attractive

    introduction from a modern point of view. But it is still an admirable book at an introductory

    level (and going beyond), that enthusiasts will learn from.

    2.3 Second-order logic

    Standard modal logics are, in an obvious sense, extensions of familiar classical logic. In

    this section and the next, we look at two more extensions of classical first-order logic,and a variant logic which is still classical in basic motivation.First then and this is arguably important enough to warrant its having a box of its

    own in our map of the logical landscape lets take a look at second-order logic, wherewe allow generalizations which quantify into predicate position. Consider, for example,the intuitive principle of arithmetical induction. Take any property X; if 0 has it, and forany n it is passed down from n to n` 1, then all numbers must have X. It is temptingto regiment this as follows:

    @XrpX0 ^ @npXn Xpn` 1q s @nXns

    where the second-order quantifier quantifiers into predicate position and supposedly

    runs over all properties of numbers. But this is illegitimate in standard first-order logic.What to do?

    One option is to go set-theoretic and write the induction principle as

    @Xrp0 P X^ @npn P X pn` 1q P Xs @nn P Xs

    where the variable X is now a sorted first-ordervariable running over sets. But arguablythis changes the subject (our ordinary principle of arithmetical induction doesnt seemto be about sets), and there are other issues too. So why not take things at face value andallow that the natural logic of informal mathematical discourse often deploys second-order quantifiers that range over properties (expressed by predicates) as well as first-order

    quantifiers that range over objects (denoted by names), i.e. why not allow quantificationinto predicate position as well as into name position?A number of books already mentioned have sections introducing second-order logic.

    But probably as good as any place to get a brief overview is the article

    1. Herbert Enderton, Second-order and Higher-order Logic, The Stanford Encyclo-pedia of Philosophy. http://plato.stanford.edu/entries/logic-higher-order/

    Follow that up with

    2. John L. Bell, David DeVidi and Graham Solomons Logical Options: An Introduc-tion to Classical and Alternative Logics (Broadview Press 2001), 3.3.

    You could then try e.g.

    16

    http://plato.stanford.edu/entries/logic-higher-order/http://plato.stanford.edu/entries/logic-higher-order/
  • 7/27/2019 Teach Yourself Logic 9-2

    21/66

    3. Dirk van Dalen, Logic and Structure, Ch. 4,

    though you could well find it a bit terse if you are not already familiar with van Dalensbook. It would be even better, having got this far, to dive into the terrific

    4. Stewart Shapiro, Foundations without Foundationalism: A Case for Second-OrderLogic, Oxford Logic Guides 17 (Clarendon Press, 1991), Chs. 35.

    And it would be a pity, while you have Shapiros book in your hands, to skip the initialphilosophical/methodological discussion in the first two chapters here. This whole bookis a modern classic, and remarkably accessible.

    2.4 Other classical extensions and variants

    We next look at what happens if you stay first-order in the sense of keeping your variablesrunning over objects, but allow plural referring terms and plural variables. Then weconsider one other variation of the classical paradigm which remains very much in the

    spirit of classical logic (i.e. this is a variation that doesnt change the real significanceof logical operators and/or challenge such fundamental logical laws as the law of non-contradiction): this is free logic, where we allow terms which fail to refer.

    2.4.1 Plural logic

    In ordinary mathematical English we cheerfully use plural denoting terms such as 2,4, 6, and 8, the natural numbers, the real numbers between 0 and 1, the complexsolutions ofz2 `z` 1 0, the points where line L intersects curve C, the sets that arenot members of themselves, and the like. Such locutions are entirely familiar, and weuse them all the time without any sense of strain or logical impropriety. We also often

    generalize by using plural quantifiers like any natural numbers or some reals togetherwith linked plural pronouns such as they and them. For example, here is a version ofthe Least Number Principle: given any natural numbers, one of them must be the least.By contrast, there are some reals e.g. those strictly between 0 and 1 such that noone of them is the least.

    Plural terms and plural quantifications appear all over the place in mathematicalargument. It is surely a project of great interest to logicians to regiment and evaluatesuch informal modes of argument. Hence the business of plural logic, a topic of muchrecent discussion. For an introduction, see

    1. ystein Linnebo, Plural Quantification, The Stanford Encyclopedia of Philosophy.http://plato.stanford.edu/entries/plural-quant/

    And do read at least two of the key papers listed in Linnebos expansive bibliography:

    2. Alex Oliver and Timothy Smiley, Strategies for a Logic of Plurals, PhilosophicalQuarterly (2001) pp. 289306.

    3. George Boolos, To Be Is To Be a Value of a Variable (or to Be Some Values ofSome Variables), Journal of Philosophy (1984) pp. 43050. Reprinted in Boolos,Logic, Logic, and Logic (Harvard University Press, 1998).

    (Oliver and Smiley give reasons why there is indeed a real subject here: you cant readilyeliminate plural talk in favour e.g. of singular talk about sets. Booloss classic will tellyou something about the possible relation between plural logic and second-order logic.)

    Then, for much more about plurals, you could look at

    17

    http://plato.stanford.edu/entries/plural-quant/http://plato.stanford.edu/entries/plural-quant/
  • 7/27/2019 Teach Yourself Logic 9-2

    22/66

    4. Thomas McKay, Plural Predication (OUP 2006),

    which is clear and approachable. Real enthusiasts for plural logic will want to dive intothe long-awaited (though perhaps rather idiosyncratic)

    5. Alex Oliver and Timothy Smiley, Plural Logic (OUP 2013).

    2.4.2 Free Logic

    Classical logic assumes that any term denotes an object in the domain of quantification,and in particular assumes that all functions are total, i.e. defined for every argument soan expression like fpcq always denotes. But mathematics cheerfully countenances partialfunctions, which may lack a value for some arguments. Should our logic accommodatethis, by allowing terms to be free of existential commitment? In which case, what wouldsuch a free logic look like?

    Again, we can start from a useful overview article from the Stanford Encyclopedia(what would philosophers do without that?):

    1. John Nolt, Free Logic, The Stanford Encyclopedia of Philosophy.http://plato.stanford.edu/entries/logic-free/

    Then for a very accessible brief formal treatment, in the framework of logic-by-trees, see

    2. Graham Priest, An Introduction to Non-Classical Logic* (CUP, 2nd edition 2008),Ch. 13.

    For more details (though going rather beyond the basics), you could make a start on

    3. Ermanno Bencivenga, Free Logics, in D. Gabbay and F. Guenthner (eds.), Hand-book of Philosophical Logic, vol. III: Alternatives to Classical Logic (Reidel, 1986).

    Reprinted in D. Gabbay and F. Guenthner (eds.), Handbook of Philosophical Logic,2nd edition, vol. 5 (Kluwer, 2002).

    Postscript Rolf Schocks Logics without Existence Assumptions (Almqvist & Wiskell, Stock-

    holm 1968) is still well worth looking at on free logic after all this time. And for a much more

    recent collection of articles around and about the topic of free logic, see Karel Lambert, Free

    Logic: Selected Essays (CUP 2003).

    2.5 Non-classical variants

    In this section we turn to consider more radical departures from the classical paradigm.First both historically and in terms of philosophical importance we look at intuitionisticlogic. We then consider relevance logic which suppresses the classical (and intuitionistic)rule that a contradiction implies anything and we lso note some wilder deviancies!

    2.5.1 Intuitionist logic

    Could there be domains (mathematics, for example) where truth is a matter of provability-in-principle, and falsehood a matter of refutability-in-principle? If so, must every propo-sition from such a domain be either provable or refutable? Perhaps we shouldnt endorsethe principle that _ is always true. (Maybe the principle, even when it does hold

    for some domain, doesnt hold as a matter of logic but as a matter of metaphysics.)

    18

    http://plato.stanford.edu/entries/logic-free/http://plato.stanford.edu/entries/logic-free/
  • 7/27/2019 Teach Yourself Logic 9-2

    23/66

    Thoughts like this give rise to one kind of challenge to classical two-valued logic, whichof course does assume excluded middle across the board. For more on the intuitionistchallenge, see

    1. John L. Bell, David DeVidi and Graham Solomons Logical Options: An Introduc-tion to Classical and Alternative Logics (Broadview Press 2001), 5.2, 5.3. Gives

    an elementary explanation of the constructivist motivation for intuitionist logic,and then explains a tree-based proof system for both propositional and predicatelogic.

    2. Graham Priest, An Introduction to Non-Classical Logic* (CUP, much expanded2nd edition 2008), Chs. 6, 20. These chapters of course flow on naturally fromPriests treatment in that book of modal logics, first propositional and then pred-icate. (There is, in fact, a close relation between intuitionistic logic and a certainmodal logic.)

    Theres a snappy treatment but again manageable if you have tackled earlier chaptersin van Dalens book, so you are familiar with the style in

    3. Dirk van Dalen, Logic and Structure* (Springer, 4th edition 2004), 5.15.3.

    Or you could dive straight in to the more expansive and detailed treatment providedaccessibly by

    4. Melvin Fitting, Intuitionistic Logic, Model Theory, and Forcing (North Holland,1969). The first part of the book Chs 16 is a particularly clear stand-alone in-troduction to the semantics and a proof-system for intuitionist logic (the secondpart of the book concerns an application of this to a construction in set theory,but dont let that put you off the first part!).

    We will return briefly in 3.9 to note some further explorations of intuitionism.

    Aside One theme not highlighted in these initial readings is that intuitionistic logic seemingly

    has a certain naturalness compared with classical logic. We can perhaps think of the natural

    deduction introduction rule for a logical operator as fixing the meaning of the operator; then the

    corresponding elimination rules ought to be in harmony with the introduction rule, in the sense of

    just undoing its effect. For the idea of harmony see Neil Tennants Natural Logic** (Edinburgh

    UP 1978, 1990) http://people.cohums.ohio-state.edu/tennant9/Natural Logic.pdf, 4.12. From this

    perspective the characteristic classical excluded middle rule is seemingly not harmonious.

    Theres a significant literature on this idea: for some discussion, and pointers to other discus-

    sions, you could start with Peter Milne, Classical harmony: rules of inference and the meaning

    of the logical constants, Synthese vol. 100 (1994), pp. 4994.

    2.5.2 Relevance logics (and wilder logics too)

    The inference P,P6 Q is classically valid. But doesnt it commit a fallacy of relevance?Classically, if $ , then , $ (irrelevant premisses can be added without mak-

    ing a valid inference invalid). And if, $ then $ (thats the ConditionalProof rule in action). Presumably we have p $ p. So we have p, q$ p, whence p $ q p.It seems then that classical logics carefree attitude to questions of relevance in deductionand its dubious version of the conditional are tied closely together.

    Can we do better? What does a more relevance-aware logic look like? For useful

    introductory reading, see

    19

    http://people.cohums.ohio-state.edu/tennant9/Natural_Logic.pdfhttp://people.cohums.ohio-state.edu/tennant9/Natural_Logic.pdfhttp://people.cohums.ohio-state.edu/tennant9/Natural_Logic.pdf
  • 7/27/2019 Teach Yourself Logic 9-2

    24/66

    1. Edwin Mares, Relevance Logic, The Stanford Encyclopedia of Philosophyhttp://plato.stanford.edu/entries/logic-relevance/.

    2. Graham Priest, Koji Tanaka, Zach Weber, Paraconsistent logic, The StanfordEncyclopedia of Philosophy http://plato.stanford.edu/entries/logic-paraconsistent/.

    I can then be very lazy and just refer the beginner (once again!) to the wonderful

    3. Graham Priest, An Introduction to Non-Classical Logic* (CUP, much expanded2nd edition 2008). Look at Chs. 710 for a treatment of propositional logics ofvarious deviant kinds, including relevance logics. Priest goes on to also treat logicswhere there are truth-value gaps, and more wildly logics where a propositioncan be both true and false (theres a truth-value glut), Then, if this excites you,carry on to look at Chs. 2124 where the corresponding quantificational logics arepresented. This book really is a wonderful resource.

    If you then want to read one more work on relevant logic, the obvious place to go is

    4. Edwin Mares, Relevant Logic: A Philosophical Interpretation (CUP 2004). As the

    title suggests, this book has very extensive conceptual discussion alongside themore formal parts.

    Also relevant here is

    5. J. C. Beall and Bas van Fraassens Possibilities and Paradox (OUP 2003) is anintroduction to modal and many-valued logics, discussing inter alia the liarparadox, vagueness (truth-value gaps), and paraconsistent reasoning from incon-sistent premisses (touching on truth-value gluts again).

    You can then follow up some of the references in those two SEP encyclopaedia entries.

    2.6 From first-order logic to elementary model theory

    Weve being glancing at modal logic and other extensions of classical logic, and also atmore radical deviations from the classical paradigm. But now we return to the classicalcore, and continue exploring the mainstream menu of a first Mathematical Logic course.

    We take things under three headings: first, there is introductory model theory (inthis section, picking up the story from 2.1); next, arithmetic and the theory of com-putable functions; and then thirdly set theory. Things predictably do get rather moremathematical, but hopefully in not too scary a way at the outset. (Note, you can tacklethe topics of these next three sections in any order that takes your fancy.)

    So what should you read if you want to move on just a little from those first intima-tions of classical model theory in some of the readings we mentioned in 2.1?

    Aside There is a short old book, the very first volume in the Oxford Logic Guides series,

    Jane Bridges Beginning Model Theory: The Completeness Theorem and Some Consequences

    (Clarendon Press, 1977) which neatly takes on the story just a few steps. But very sadly, the

    book was printed in that brief period when publishers thought it a bright idea to save money

    by photographically printing work produced on electric typewriters. Accustomed as we now are

    to mathematical texts beautifully LATEXed, the look of Bridgess book is really quite horribly

    off-putting, and the books virtues do not outweigh that sad handicap. Lets set it aside.

    Here are two good places to start; read both as they complement each other nicely.

    20

    http://plato.stanford.edu/entries/logic-relevance/http://plato.stanford.edu/entries/logic-paraconsistent/http://plato.stanford.edu/entries/logic-paraconsistent/http://plato.stanford.edu/entries/logic-relevance/
  • 7/27/2019 Teach Yourself Logic 9-2

    25/66

    1. Wilfrid Hodgess Elementary Predicate Logic, in the Handbook of PhilosophicalLogic, Vol. 1, ed. by D. Gabbay and F. Guenthner, (Kluwer 2nd edition 2001).This is a slightly expanded version of the essay in the first edition of the Handbook(read that earlier version if this one isnt available), and is written with Hodgessusual enviable clarity. Over a hundred pages long, this serves both as an insightfuland fresh overview course on basic first-order logic (more revision!), and as an

    illuminating introduction to some ideas from model theory.

    2. Dirk van Dalens Logic and Structure* (Springer, 1980; 5th edition 2012). In 2.1 ofthis Guide I recommended reading this text up to and including van Dalens 3.2,for coverage of basic first-order logic and some first steps in model theory. Now tryreading the whole of his Chapter 3, for a bit of revision and then some more modeltheory. There are a number of mathematical illustrations which could pass somereaders by at this stage, so feel very free to skip if/when the going temporarilygets tough.

    Still, van Dalen does go pretty speedily. For a more expansive treatment (though not

    increasing the level of difficulty, nor indeed covering everything touched on in Hodgessessay) here is a still reasonably elementary textbook:

    3. Maria Manzano, Model Theory, Oxford Logic Guides 37 (OUP, 1999). I seem torecall, from a reading group where we looked at this book, that the translationcan leave something to be desired. However, the coverage as far as it goes is rathergood, and the treatment gentle and accessible. I particularly like the way it startsoff by talking about relationships among structures in general before talking aboutstructures-as-models-of-theories (an approach that philosophers who havent donea pure maths course will probably find rather helpful).

    And this might already be about as far as many philosophers may want/need to go. Math-

    ematicians, however, will be eager to take up the story again in 3.4. (Sadly, Hodgessessay is in an extensive multi-volume set that some libraries wont have: and Manzanosbook is out of print: however, you may find PDFs floating around . . . )

    Postscript Many of the Big Books surveying Mathematical Logic have chapters on first-order

    logic introducing some model theory, and Ill say more about these in Appendix A. Among recent

    books, there is a quite a bit of model theory in Shawn Hedmans A First Course in Logic (OUP

    2004), Chs 2 and 4 make a start.

    2.7 Computability and Godelian incompletenessThe standard mathematical logic curriculum, as well as looking at some elementary gen-eral results about formalized theories and their models, looks at two particular instancesof non-trivial, rigorously formalized, axiomatic systems arithmetic (a paradigm theoryof finite whatnots) and set theory (a paradigm theory of infinite whatnots). Well takearithmetic first.

    In more detail, there are three inter-related topics here: (a) an introduction to for-mal theories of arithmetic, (b) the elementary theory of arithmetic computations andof computability more generally, leading up to (c) Godels epoch-making proof of theincompleteness of any nice enough theory that can do enough arithmetic (a result of

    profound interest to philosophers).

    21

  • 7/27/2019 Teach Yourself Logic 9-2

    26/66

    Now, Godels 1931 proof of his incompleteness theorem uses facts in particular aboutso-called primitive recursive functions: these functions are a subclass of the computablenumerical functions, i.e. a subclass of the functions which a suitably programmed com-puter could evaluate (abstracting from practical considerations of time and availablememory). A more general treatment of the effectively computable functions (arguablycapturing all of them) was developed a few years later, and this in turn throws more

    light on the incompleteness phenomenon.So, if you are going to take your first steps into this area, theres a choice to be

    made. Do you look at things in roughly the historical order, introducing theories offormal arithmetic and learning how to prove initial versions of Godels incompletenesstheorem before moving on to look at the general treatment of computable functions? Ordo you do some of the general theory of computation first, turning to the incompletenesstheorems later?

    Here then are two introductory books which take the two different routes:

    1. Peter Smith, An Introduction to Godels Theorems* (CUP 2007, 2nd edition 2013)does things in the historical order. Mathematicians: dont be put off by the series

    title Cambridge Introductions to Philosophy: putting it in that series was theprice I paid for cheap paperback publication. This is still quite a meaty logic book,with a lot of theorems and a lot of proofs, but I hope rendered very accessibly. Thebooks website is at http://godelbook.net, where there are supplementary materialsof various kinds.

    2. Richard Epstein and Walter Carnielli, Computability: Computable Functions, Logic,and the Foundations of Mathematics (Wadsworth 2nd edn. 2000) does computabil-ity theory first. This is a nicely introductory book, clearly done, with lots of inter-esting historical information too in Epsteins 28 page timeline on Computabilityand Undecidability at the end of the book.

    As youll already see from these two books, this really is a delightful area. Elementarycomputability theory is conceptually very neat and natural, and the early Big Resultsare proved in quite remarkably straightforward ways (just get the hang of the basicdiagonalization construction, the idea of Godel-style coding, and one or two other tricksand off you go ...).

    Just half a notch up in difficulty, heres another book that focuses first on the generaltheory of computation before turning to questions of logic and arithmetic:

    3. George Boolos, John Burgess, Richard Jeffrey, Computability and Logic (CUP 5thedn. 2007). This is the latest edition of an absolute classic. The first version (justby Boolos and Jeffrey) was published in 1974; and theres in fact a great dealto be said for regarding their 1990 third edition as being the best. The last twoversions have been done by Burgess and have grown considerably and perhaps inthe process lost elegance and some of the individuality. But whichever edition youget hold of, this is still great stuff. Taking the divisions in the last two editions,you will want to read the first two parts of the book at an early stage, perhapsbeing more selective when it comes to the last part, Further Topics.

    Well return to say a quite a lot more about these topics in Ch. 3.

    Postscript There are many other introductory treatments covering computability and/or in-completeness. Here are two more I particularly like:

    I have already recommended Christopher Learys A Friendly Introduction to Mathematical

    Logic (Prentice Hall, 2000) for its coverage of first-order logic. The final chapter has a

    22

    http://godelbook.net/http://godelbook.net/http://godelbook.net/
  • 7/27/2019 Teach Yourself Logic 9-2

    27/66

    nice treatment of incompleteness, and one that doesnt overtly go via computability. (Inheadline terms you will only understand in retrospect, instead of showing that certainsyntactic properties are (primitive) recursive and showing that such properties can berepresented in theories like PA, Leary relies on more directly showing that syntacticproperties can be represented.)

    A. Shen and N. K. Vereshchagin, Computable Functions, (American Math. Soc., 2003). This

    is a lovely, elegant, little book in the AMAs Student Mathematical Library the openingchapters can be recommended for giving a differently-structured quick tour through someof the Big Ideas, and hinting at ideas to come.

    Finally, I suppose (if only because Ive been asked about it a good number of times) I shouldalso mention

    Douglas Hofstadter, Godel, Escher, Bach (Penguin, first published 1979). When studentsenquire about this, I helpfully say that it is the sort of book that you might well like ifyou like that kind of book, and you wont if you dont. It is, to say the least, quirky anddistinctive. As I far as I recall, though, the parts of the book which deal with techie logicalthings are pretty reliable and wont lead you astray.

    2.8 Beginning set theory

    Lets say that the elements of set theory the beginnings that any logician really oughtto know about will comprise enough to explain how numbers (natural, rational, real)are constructed in set theory (so enough to give us a glimmer of understanding aboutwhy it is said that set theory provides a foundation for mathematics). The elements alsoinclude the basic arithmetic of infinite cardinals, the development of ordinal numbersand transfinite induction over ordinals, and something about the role of the axiom(s) ofchoice. These initial ideas and constructions can (and perhaps should) be presented fairly

    informally: but something else that also belongs here at the beginning is an account of thedevelopment of ZFC as the now standard way of formally encapsulating and regimentingthe key principles involved in the informal development of set theory.

    Going beyond these elements we have e.g. the exploration of large cardinals, proofsof the consistency and independence of e.g. the Continuum Hypothesis, and a lot morebesides. But readings on these further delights are for Chapter 3: this present section is,as advertised, about the first steps for beginners in set theory. Even here, however, thereare many books to choose from, so an annotated Guide should be particularly welcome.

    I can start off, though, pretty confidently recommending a couple of entry leveltreatments:

    1. Herbert B. Enderton, The Elements of Set Theory (Academic Press, 1977) hasexactly the right coverage. But more than that, it is particularly clear in markingoff the informal development of the theory of sets, cardinals, ordinals etc. (guidedby the conception of sets as constructed in a cumulative hierarchy) and the formalaxiomatization of ZFC. It is also particularly good and non-confusing about whatis involved in (apparent) talk of classes which are too big to be sets somethingthat can mystify beginners. It is written with a certain lightness of touch andproofs are often presented in particularly well-signposted stages. The last coupleof chapters or so perhaps do get a bit tougher, but overall this really is quiteexemplary exposition.

    2. Derek Goldrei, Classic Set Theory (Chapman & Hall/CRC 1996) is written by

    a staff tutor at the Open University in the UK and has the subtitle For guided

    23

  • 7/27/2019 Teach Yourself Logic 9-2

    28/66

    independent study. It is as you might expect extremely clear, it is quite attractivelywritten (as set theory books go!), and is indeed very well-structured for independentreading. The coverage is very similar to Endertons, and either book makes a fineintroduction (but for what it is worth, I prefer Enderton ).

    Still starting from scratch, and initially only half a notch or so up in sophistication, we

    find two more really nice books:

    3. Karel Hrbacek and Thomas Jech, Introduction to Set Theory (Marcel Dekker, 3rdedition 1999). This goes a bit further than Enderton or Goldrei (more so in the3rd edition than earlier ones), and you could on a first reading skip some ofthe later material. Though do look at the final chapter which gives a remarkablyaccessible glimpse ahead towards large cardinal axioms and independence proofs.Again this is a very nicely put together book, and recommended if you want toconsolidate your understanding by reading another presentation of the basics andwant then to push on just a bit. (Jech is of course a major author on set theory,and Hrbacek once won a AMA prize for maths writing.)

    4. Yiannis Moschovakis, Notes on Set Theory (Springer, 2nd edition 2006). A slightlymore individual path through the material than the previously books mentioned,again with glimpses ahead and again attractively written.

    All these books are in print, though none are cheap (indeed, Endertons is quite absurdlyexpensive): all are musts for any university library. Id strongly advise reading one ofthe first pair and then one of the second pair.

    My next recommendation might come as a bit of surprise, as it is something of ablast from the past. But we shouldnt ignore old classics they can have a lot to teachus even if we have read the modern books.

    5. Abraham Fraenkel, Yehoshua Bar-Hillel and Azriel Levy, Foundations of Set-Theory (North-Holland, 2nd edition 1973). Both philosophers and mathematiciansshould appreciate the way this puts the development of our canonical ZFC settheory into some context, and also discusses alternative approaches. It really isattractively readable, and should be very largely accessible at this early stage. Imnot an enthusiast for history for historys sake: but it is very much worth knowingthe stories that unfold here.

    One intriguing feature of that last book is that it doesnt at all emphasize the cumulativehierarchy the picture of the universe of sets as built up in a hierarchy of stages orlevels, each level containing all the sets at previous levels plus new ones (so the levelsare cumulative). This picture is nowadays familiar to every beginner: you will find it

    e.g. in the opening pages of Joseph Shoenfield The axioms of set theory, Handbook ofmathematical logic, ed. J. Barwise, (North-Holland, 1977) pp. 321344. The picture isalso brought to the foreground again in

    6. Michael Potter, Set Theory and Its Philosophy (OUP, 2004). For philosophers(and for mathematicians concerned with foundational issues) this surely is atsome stage a must read, a unique blend of mathematical exposition (mostlyabout the level of Enderton, with a few glimpses beyond) and extensive conceptualcommentary. Potter is presenting not straight ZFC but a very attractive variant dueto Dana Scott whose axioms more directly encapsulate the idea of the cumulativehierarchy of sets. However, it has to be said that there are passages which are pretty

    hard going, sometimes because of the philosophical ideas involved, but sometimes

    24

  • 7/27/2019 Teach Yourself Logic 9-2

    29/66

    because of unnecessary expositional compression. In particular, at the key pointat p. 41 where a trick is used to avoid treating the notion of a level (i.e. a level inthe hierarchy) as a primitive, the definitions are presented too quickly, and I knowthat relative beginners can get lost. However, if you have already read one or twoset theory books from earlier in the list, you should be fairly easily be able to workout what is going on and read on past this stumbling block.

    It is a nice question how much more technical knowledge of results in set theory aphilosophy student interested in logic and the philosophy of maths needs (if she is notspecializing in the technical philosophy of set theory). But getting this far will certainlybe a useful start, so lets pause here.

    Postscript Books by Ciesielski and by Hajnal and Hamburger, although in LMS Student Textseries and starting from scratch, are not really suitable for this list (they go too far and probablytoo fast). But the following three genuinely introductory books each have things to recommendthem:

    Winfried Just and Martin Weese, Discovering Modern Set Theory I: The Basics (American

    Mathematical Society, 1996). This covers overlapping ground to Enderton, patchily butperhaps more zestfully and with a l