Philosophy 150: Mathematical Logic

Dave Barker-Plummer (dbp@stanford.edu)
Cordura 213 (723-9030)

You can download a copy of this syllabus in PDF format here.

Welcome to Mathematical Logic. In this course you will be introduced to the concepts and techniques used in mathematical logic. We will start right from the beginning, assuming no prior exposure to this or similar material, and progress through discussions of the proof and model theories of propositional and first-order logic.

The ability to reason is fundamental to human beings. Whatever the discipline or discourse it is important to be able to distinguish correct reasoning from incorrect reasoning. The consequences of incorrect reasoning can be minor, like getting lost on the way to a birthday party, or more significant, for example launching nuclear missiles at a flock of ducks, or permanently losing contact with a space craft.

The fundamental question that we will address in this course is "when does one statement necessarily follow from another" --- or in the terminology of the course, "when is one statement a logical consequence of another". This is an issue of some importance, since an answer to the question would allow us to examine an argument presented in an article, for example, and to decide whether it really demonstrates the truth of the conclusion of the argument. Our own reasoning might also improve, since we would also be able to analyze our own arguments to see whether they really do demonstrate their conclusions.

We will proceed by giving a theory of truth, and of logical consequence, based on a formal language called FOL (the language of First-Order Logic). We adopt a formal language for making statements, since natural languages (like English, for example) are far to vague and ambiguous for us to analyze sufficiently. Armed with the formal language, we will be able to model the notions of truth, proof and consequence, among others.

While mathematical logic is technical in nature, the key concepts in the course will be developed by considering natural English statements, and we will focus the relationships between such statements and their FOL counterparts. The goal of the course is to show how natural English statements and arguments can be formalized and analyzed for correctness and truthfullness for example.

Course Outline

The course will divided into four sections:
  1. Propositional Logic (Part I of the text)
    1. Atomic sentences
    2. Boolean connectives
    3. Conditionals

    This section develops a simple theory of truth and proof that we will later extend to full first-order logic. The focus here is on simple English statements involving words like and, or, not and constructions like if...then... and ...unless.... We will also examine arguments whose validity depends on the meanings of these words and introduce rules for determining which arguments are valid and which invalid.

  2. First-Order Logic (Part II of the text)
    1. Quantification
    2. Quantifier alternation and scope,
    3. Numerical quantifiers

    Here we extend propositional logic to the full theory of first-order logic. This will allow us to formalize English words like every, some, most and the and constructions like at least seventeen, more than twelve. As we will see, first-order logic is not capable of expressing every construction in English though. We will examine some such constructions and why first-order logic cannot capture them. We will introduce formal rules for determining the validity of reasoning using first-order logic sentencs.

  3. Further Topics (Part III of the text)
    1. Set Theory
    2. Mathematical Induction
    3. Completeness and Soundness (possibly).

    In this section of the course we will look at some applications of first-order logic. We will show how some basic mathematical concepts can be expressed in first-order logic. We will also continue our examination of the theory that we have developed, and outline some of its strengths and limitations.

  4. Glimpses Beyond
    1. Modal Logic
    2. Diagrammatic Logic

    In this section of the course we will look beyond first-order logic to investigate logics which allow us to account for a wider selection of arguments. Modal logic is concerned with sentences in natural languages which involve modal operators such as \emph{always}, \emph{should} and \emph{obligatory}. Diagrammatic logic recognizes that information is frequently represented in non-textual forms. Everyday reasoning can involve the use of spreadsheets, tables, circuit diagrams or Venn diagrams for example, and accounts of logic based only on sentences will be unable to capture this type of reasoning.

Textbook and Software

We will be using the courseware package Language, Proof and Logic, by Barwise and Etchemendy in collaboration with Allwein, Barker-Plummer and Liu. The website for the text is http://lpl.stanford.edu. LPL is published by CSLI Publications. This package consists of a text and four pieces of software, called The software runs on Windows, Macintosh and Linux computers.

The Grade Grinder

Many exercises from the LPL text can be automatically assessed by an automated TA, available 24/7, called the Grade Grinder. To do this you use the Submit to select the files to be graded, enter some information to identify yourself to the system, and then submit the files. The files are transmitted over the Internet to the Grade Grinder which grades the files and returns a grade report to you via email. When you are satisfied that you can do no better on the assignment (because your work is perfect, or the deadline is here) you can resubmit the files, specifying your instructor's email address and have grade report automatically sent to that address as well. To use the Grade Grinder you need to have You will receive a book ID when you purchase the book. You are required to know your book ID in order to submit work in your name. To ensure that your grade report goes to us for grading you also need Access to the Grade Grinder requires a unique key, printed on the face of the CD which comes with the courseware package. These keys are non-transferable. To use the Grade Grinder, which is required for this course, you must purchase a new unused copy of the text. No, I do not receive royalties on text book sales. We require users of the Grade Grinder service to purchase new books so that we can continue to support the development of excellent educational software.

Organization

The class meets MWF at 9am in 200-205. Attendance at lectures is required.

Teaching Assistants will lead discussion sections for the class. The times and locations of discussion sections are posted on the Coursework web site. Attendance at sections is optional but recommended.

My office hours are 11am--noon on Mondays and 2--3pm on Thursdays. I will also try to be available immediately after classes. My office is in Cordura Hall, number 213. You can also call 723-9030 for an appointment outside these times, or drop by and take the chance that I am available.

Assessment

The course will be assessed by assignments and midterm and final exams, in the following proportions: There will be a total of five assignments, at approximately two week intervals throughout the course. The lowest score on any assignment will not be considered. Missing assignments will be scored zero. Late assignments will score 10% less per day late.

Students Enrolled in Philosophy 150X

Students Enrolled in Philosophy 150X will join the class on 10/26, at which point the class will be at the end of Part II of the course, studying complex uses for the quantifiers. My assumption is that you will either already know, or be able to quickly to get up to speed with, the material from the earlier parts of the course.

Students will complete the final two assignments, due on (11/20 and 12/4) and the final exam. The assignments will both be counted, and comprise 35% of your final grade, while the final will comprise the remaining 65%.

Previous instructors of 150/150X have observed that 150X students do worse on average than their 150 counterparts. The suggestion is that this is because it can be quite difficult to essentially pick up a new course in the middle of the quarter, from a scheduling/workload point of view. I hope that you will bear this in mind when you join us in November.

Students with Documented Disabilities

Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Student Disability Resource Center (SDRC) located within the Office of Accessible Education (OAE). SDRC staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is being made. Students should contact the SDRC as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone: 723-1066)

Reading Assignments