Review of Propositional Logic
Review of Propositional Logic
John MacFarlane
Semantics Defining truth in a model (and, derivatively, logical consequence and related notions).
1 Grammar
• ⊥ is a formula.
• If p and q are formulas, then (p ∨ q), (p ∧ q), (p ⊃ q), (p ≡ q), and ¬p are formulas.
You might have used different symbols in your logic class: for conjunction, & or ·, for negation,
∼ or –, for the conditional, →, for the biconditional, ↔. If you want to use the symbols with which
you’re familiar in this class, we won’t complain, but be consistent. You might not have seen ⊥
(“bottom” or “das Absurde”): we will explain its meaning shortly.
Note: (p ∨ q) is not a formula (since p and q are not capital letters). It is, rather, a formula
schema: a pattern that many different formulas can “fit” or “instantiate.” p and q are not themselves
propositional constants; they serve to mark places where an arbitrary formula may be inserted into
a schema. Here are some instances of the schema:
• ((A ∧ B) ∨ ¬A)
• ((A ∨ B) ∨ (A ∨ C))
In the first case, we substituted the formula (A∧B) for the letter p in the schema, and we substituted
the formula ¬A for q. In the second case, we substituted (A ∨ C) for q. Note that the following
formulas are not instances of (p ∨ q):
• (A ∧ (B ∨ C))
• ¬(A ∨ B)
Convention for parentheses: The parentheses can get a bit bothersome, so we will adopt the
following conventions:
• Outer parentheses may be dropped: so, for example, A ∨ B is an abbreviation for (A ∨ B).
1
2 Semantics
Logicians don’t normally concern themselves much with truth simpliciter. Instead, they use a rel-
ativized notion of truth: truth in a model. You may not be familiar with this terminology, but you
certainly understand the idea of truth in a row of a truth table, and in (classical) propositional logic,
that is basically what truth in a model amounts to.
A model is something that provides enough information to determine truth values for all of
the formulas in a language. How much information is required depends on the language. In the
simple propositional language we’re considering, we have a very limited vocabulary—propositional
constants and a few truth-functional connectives—and that allows us to use very simple models.
When we add quantifiers, and, later, modal operators, we will need more complex models.
What does it mean to say that a connective is truth-functional? It means that the only infor-
mation we need to determine the truth value of a compound formula formed with one of these
connectives is the truth values of the formulas it connects. Thus, for example, all we need to know
to determine the truth value of ¬B ∧ C are the truth values of ¬B and C. And all we need to know to
determine the truth value of ¬B is the truth value of B. No further information about the meaning
of B is needed.
Because all of our connectives are truth functional, once the truth values of the propositional
constants are fixed, the truth values of all the formulas in the language are fixed as a result. Because
of this, a model for classical propositional logic is just an assignment of truth values (True or False)
to each propositional constant.
Although there are infinitely many propositional constants, usually we only need to concern
ourselves with a few of them—those that occur in the arguments we’re analyzing. Suppose the
formulas we’re looking at contain the constants A, B, and C. Then we can describe two different
models (M1 and M2) by describing the truth values they give to these constants:
This notation is a bit tedious, though. We can present the same information in tabular form:
A B C
M1 T F F
M2 F F T
• An argument is valid iff there is no model in which all of its premises are True and its conclu-
sion False. In this case the conclusion is said to be a consequence of the premises.
• A formula p implies another formula q iff there is no model in which p is True and q is False.
• Two formulas are equivalent iff they have the same truth value in every model.
• A set of formulas is consistent iff there is a model in which all are True.
1
“Basically,” because in fact a row of a truth table represents infinitely many models that agree on their assignments
to the propositional constants represented in the table, but disagree on their assignments to propositional constants
not listed. We can safely ignore this subtlety for most purposes.
2
• A formula p is a logical truth if it is True in every model, a logical contradiction or logical
falsehood if it is False in every model, and logically contingent if it is neither a tautology nor a
contradiction.
Sometimes the terms defined above are qualified to indicate the kind of models we are considering.
For example, when we are considering only models of classical propositional logic, where all the
connectives are truth-functional, we can talk of “truth-functional validity,” “truth-functional equiv-
alence,” and so on, to make that clear. The term tautology is sometimes used for truth-functional
logical truth.
As we’ve seen, in classical propositional logic, a model is just a row of a truth table. So, in
classical propositional logic, a tautology is a formula that is true on all rows of a truth table; two
formulas are equivalent iff they are true on all the same rows of a truth table, and so on.
Exercises:
(a) P ∨ ¬(R ≡ S)
(b) Q ∨ (¬(¬Q ∧ ¬R))
(a) P ⊃ (⊥ ⊃ ¬P )
(b) P ∨ (Q ∧ (¬P ∨ ¬Q))
P ⊃ Q, Q ⊃ S, ¬S ⊃ ¬P
5. What does it mean to say that two formulas are logically equivalent? Give
an (interesting) example of two logically equivalent formulas of proposi-
tional logic.
3
3 Proofs
There are many different proof systems for propositional logic. You probably learned some kind
of natural deduction system. I favor natural deduction systems that keep track of undischarged
assumptions using vertical lines, rather than numbers. This kind of system is sometimes called
a “Fitch-style system,” after F. B Fitch, who invented it in his Symbolic Logic, 1952. I learned it
from Fitch’s student Nuel Belnap, and my presentation here draws on his unpublished manuscript
Notes on the Art of Logic.2 However, the system we’ll use here comes from Jon Barwise and John
Etchemendy, Language, Proof, and Logic (CSLI, 1999).
“Structural rules” are so called because they do not involve any specific connectives or quantifiers.
Instead, they have to do with structural aspects of proofs.
3.1.1 Hypothesis
Any formula may be written down at any time, above a horizontal line. The justification may be
written “hyp,” or the justification may simply be omitted, since it is clear from the horizontal line.
Alternatively, several formulas may be simultaneously hypothesized, one per line, with a horizontal
line below them.
Each hypothesis begins a subproof, which we signify by a vertical line to the left of the for-
mulas. Subsequent steps in the subproof are considered to be proved “under” the hypothesis (or
hypotheses), not proved outright; that is, they are asserted as true under the supposition that the
hypothesis is true, not as categorically true.
Example:
1 S ∧T hyp.
2 Q hyp.
..
3 .
..
4 .
5 R hyp.
..
6 .
.. (1)
7 .
..
8 .
9 P hyp.
..
10 .
..
11 .
..
12 .
2
http://www.pitt.edu/~belnap/nal.pdf. Highly recommended!
4
3.1.2 Availability
A formula p may be used as a premise for an inference at a particular point x in a proof just in case
• p occurs either
Pictorially: you may use as premises formulas that occur above your present position in the proof
and either on the same vertical line or on a vertical line to its left. For example, in proof (1) above,
at line 11 you could use formulas in lines 1-4 and 8-10, but not formulas in lines 5-7 (since they
belong to a subproof that does not contain the subproof to which 11 belongs).
4 ¬S Taut Con 2, 3
Notes:
1. It would have been legal to get line 4 directly from line 1 by Taut Con. But it is often helpful
to break up reasoning into bite-sized chunks.
2. When “standard” tautological eliminations are used, it is often helpful to provide descriptive
names for them, in addition to “Taut Con.” For example, line 2 might be annotated “Taut Con
(∧ Elim), 1,” and line 4 might be annotated “Taut Con (MT), 2, 3.” (“MT” for “Modus tollens.”)
But this is not required: “Taut Con” by itself is the official justification.
Note that if a formula is a tautology, it may be put down on any line of a proof with the justifica-
tion “Taut Con,” and no line number. This is because a tautology is a truth-functional consequence
of every set of formulas, including the empty set! Alternatively, you may write “Tautology.”
If a proof contains a subproof with a single hypothesis p and last line q, you may close the subproof
and write, as the very next line, the conditional p ⊃ q, with the justification “⊃ Intro” (citing the
lines of the subproof).
5
Example:
1 ¬P ∧ (P ∨ R)
2 ¬P Taut Con 1
4 R Taut Con 2, 3
Note that the vertical line indicating the subproof ends just before the line containing the condi-
tional conclusion (5). The hypothesis has been “discharged,” and the conditional is no longer being
asserted merely “under the hypothesis” stated in line 1.
Be careful to add parentheses around the antecedent and consequent of the conditional when
needed to avoid ambiguity.
You prove a biconditional by combining two conditional proof subproofs, one in each direction:
1 p
..
2 .
3 q
4 q (4)
..
5 .
6 p
If a formula p and its negation ¬p are both available for use as premises, you may write down ⊥
with justification “⊥ Intro.”
If ⊥ is available as a premise, you may write down any formula, with justification “⊥ Elim.”
The basic idea: “the absurd” proves anything (why?), and can be derived directly from any pair
of explicitly contradictory formulas.
If a proof contains a subproof with hypothesis p and last line ⊥, you may close off the subproof and
write, as the very next line, ¬p, with the justification “¬ Intro” (citing the lines of the subproof).
Example:
6
1 Q ..
2 ¬(P ∨ Q)
5 ⊥ Taut Con 1, 4
7 P ∨Q Taut Con 6
Notes:
1. We could have gotten line 5 directly from 1 and 2 by Taut Con. But it doesn’t hurt to break
down the steps.
2. We can’t get line 7 directly by ¬ Intro, because it is not the negation of the hypothesis (though
it is equivalent to the negation of the hypothesis). The extra step of double-negation elimina-
tion is needed.
1 p∨q
2 p
..
3 .
4 r
(6)
5 q
..
6 .
7 r
8 r ∨ Elim, 1–7
Once we have a semantics and a proof system for our logic, we can ask questions about how they
are related. Ideally, we’d like to have the following two properties:
Soundness If q can be proved from hypotheses p1 , . . . , pn in our proof system, then q is a logical
consequence of p1 , . . . , pn ; that is, there is no model on which p1 , . . . , pn are true and q false.
7
In fact, our proof system does have both these properties relative to our semantics. But this is
not just obvious. It is something that has to be proved. (If you take Philosophy 140A, you can find
out how this is done.)
Exercises:
2. For each of the following arguments, either show that it is valid by giving
a proof, or show that it is invalid by describing a model on which the
premises are true and the conclusion false:
(a) A, B ⊃ (A ⊃ B)/ ∴ B
(b) A ≡ (B ∨ C), A ∨ B, A ∨ C/ ∴ A
(c) A ∨ (B ⊃ C), B/ ∴ A ∨ C
Your proofs should make use of subproofs. Don’t just give a one-line proof
with justification “Taut Con.”