Introduction To Logic
Introduction To Logic
Introduction to Logic
In this course, you will learn the syntax, semantics and proof theories of three logics: L1 (aka
propositional logic), L2 (aka predicate logic), and L= (aka predicate logic with identity). You
will also learn how to analyse natural language arguments by formalising them in these logical
languages.
The set text for this course is Volker Halbach’s The Logic Manual. You should bring a copy of
it to every class. The university puts on lectures on the material in The Logic Manual in
Michaelmas term every year – you should go to them.
We will meet twice a week: Tuesdays 3-4 and Fridays 1.30-3.30. For the Tuesday class,
you are required to read the relevant section of the Logic Manual and come prepared to ask
any questions. For the Friday class, you should complete that week’s exercises. Please hand
your solutions in at your tutor’s college by the end of Thursday.
There are many resources, including additional questions and worked examples, available
here: http://logicmanual.philosophy.ox.ac.uk.
Good luck!
Introduction to Logic Alex Kaiserman
Exercises
Q. 1 For each of the following arguments, say whether they are (i) modally valid; (ii)
formally valid. (Just as important, explain why, in as much detail as is necessary (but no more)
to explain to your reader.)
(a) All unicorns are beautiful. Orcs hate anything beautiful. So orcs hate all unicorns.
(b) Diamond is hard. So diamond is not soft.
(c) 8 is a prime number. Therefore, all frogs are pink.
(d) All Balliol students are clever. Brunhilda is a Balliol student. So Brunhilda is clever.
(e) Everything is coloured red all over. So nothing is coloured blue all over.
(f) All cows are green. All cows are not green. So all pigs are purple.
From now on where you see the word ‘valid’, you should take it to mean ‘formally valid’.
It is true that David is a philosopher, and false that he is a werewolf. So the argument which goes
“David is a philosopher. All philosophers are werewolves. Therefore David is a werewolf” is invalid
in this possible world. But there is a possible world in which all philosophers – including David –
are werewolves. In that world, the argument is valid.
What exactly has Mangler has got wrong? Be as brief as possible, but no briefer.
Introduction to Logic Alex Kaiserman
Let S be the set with the chemical elements Hydrogen, Oxygen, Mercury and Nitrogen as (set-
theoretic) elements. Determine for each of the relations (i)–(iv)
Q. 5 (a) Specify a relation that is symmetric but not transitive. Try to find such a relation with
a minimal number of elements.
(b) Specify a relation and a set S such that the relation is reflexive on S and asymmetric.
(c) Is the relation {⟨Paris, London⟩, ⟨London, Rome⟩, ⟨London, the capital of Italy⟩} a function?
Q. 6 Consider the relation containing the ordered pairs ⟨Germany, Italy⟩, ⟨Germany,
Germany⟩, ⟨Italy, Italy⟩, ⟨France, France⟩ but no other pairs.
(i) the set of all ordered pairs ⟨d, e⟩ such that d is taller than e.
(ii) {⟨d, e⟩∶ d loves e}
(iii) the relation with all ordered pairs ⟨d, e⟩ as members such that d is the father of e.
(iv) the relation with all ordered pairs ⟨d, e⟩ as members such that e is the father of d.
(v) the relation of being of a similar age.
Determine for each of these relations whether it is (a) symmetric, (b) transitive, and (c) a
function.
Introduction to Logic Alex Kaiserman
Exercises
Q. 1 Add quotation marks to the following sentences so that true English sentences are
obtained. In some cases there is more than one solution – try to find all solutions.
Q. 3 The following expressions are abbreviations of L1-sentences. Restore the brackets that
have been dropped in accordance with the Bracketing Conventions of Section 2.3.
(i) ¬P ∧ Q
(ii) P ∧ ¬Q ∧ R ↔ ¬P3 ∨ P ∨ R5
(iii) ¬¬¬(P → Q) ↔ P
Introduction to Logic Alex Kaiserman
Q. 4 Drop as many brackets as possible from the following L1-sentences by applying the
Bracketing Conventions from Section 2.3.
Q. 5 For each of the following sentences, specify the scope of the highlighted symbol:
(i) (¬R Q)
(ii) (¬R Q)
(iii) ¬(R Q)
(iv) ¬¬Q
(v) ((P Q) (¬P Q))
(vi) ((P Q) (¬P Q))
Q. 6 Show that the following sentences are tautologies. You may use partial truth tables.
(i) P∧P
(ii) ((P → Q) → R) ↔ (P → (Q → R))
(iii) (P ↔ (Q ↔ R)) ↔ ((P ↔ Q) ↔ R)
(iv) ¬(P → Q) ↔ (P ∧ ¬Q)
that indicate the conditions under which non-atomic sentences are false. The first clause (for
¬) is as follows:
Exercises
Q. 1 Use (full) truth-tables to test the truth of the following statements. Give
counterexample structures where the statement is false.
(i) ¬P |= (P Q)
(ii) ¬Q |= (P Q)
(iii) P, ¬P |= P
(iv) P, ¬P |= Q
(v) |= (P ∨ Q)
(vi) P, Q |= ¬(P Q)
(vii) (P Q), (R ∨ ¬Q) |= (Q (P R))
(viii) (P Q) |= ((P R) (Q R))
(ix) ((P Q) Q) |= (P Q)
(x) |= ((P (Q R)) ↔ (R (Q P)))
Q. 2 Use partial truth-tables to test the truth of the following statements. Give
counterexample structures where the statement is false.
(i) (P (Q ∨ R)), (Q R) |= (P R)
Q. 3 Where φ and all elements of Γ are L1-sentences, prove that Γ ⊧ φ if and only if the set
containing all sentences in Γ and ¬φ is semantically inconsistent.
Q. 4 How many different possible truth tables are there for sentences of L1 containing one
sentence letter? How many for sentences containing two sentence letters? Three sentence
letters? n sentence letters? Explain your reasoning.
Introduction to Logic Alex Kaiserman
Q. 5 Establish the following claims by producing proofs in Natural Deduction. At least for
this week, it’s compulsory to note which rules you are applying, e.g.
P
-------- vIntro
(P Q)
(i) ├ (P → (R P))
(ii) (Q R) ├ (R Q)
(iii) (P → Q) ├ (¬Q → ¬P)
(iv) (P ↔ Q), ¬Q ├ ¬P
(v) ((P Q) → R) ├ (P → (Q → R))
(vi) ¬ P ├ (P → Q)
(vii) ├ ((P → ¬P) → ¬P)
(viii)├ (P ↔ ¬¬P)
(ix) (P → Q), (Q → R), (R → P1) ├ (P → P1)
(x) ├ (P → ((P Q) ↔ Q))
(xi) ├ (P (P → Q))
(xii) (P → (Q R)), (Q → R), ¬R ├ ¬P
(xiii) (P → Q) ├ (¬P Q)
Introduction to Logic Alex Kaiserman
Exercises
Q. 1 By drawing truth-tables showing the result of substituting ‘A’ and ‘B’ for true or false
English sentences in the expressions below, determine whether the corresponding English
connectives are truth-functional. Explain your answers. Some of these are controversial.
Q. 2 For each of the following sentences, if it can be formalised with reasonable accuracy
using , provide the formalisation (don’t forget to include a dictionary!). Otherwise, explain
briefly why this cannot be done:
(i) If God can create the soul without the body, then soul and body are different.
(ii) The rise in interest rates is a sufficient reason for a house price crash.
(iii) The boy and the general are the same person, only if the general can remember what
he did as a boy.
(iv) My believing that the wall is yellow is a necessary condition for my knowing that the
wall is yellow.
(v) He said that if you come he will be happy.
(vi) If Oswald didn’t kill JFK, somebody else did.
(vii) If Oswald hadn’t killed JFK, somebody else would have.
If Jones arrives at the airport after the scheduled departure time, the plane will wait
for him. Therefore, if Jones arrives at the airport after the scheduled departure time
and nobody notices that he arrives at the airport after the scheduled departure time,
the plane will wait for Jones.
Q. 5 Show that the following argument becomes propositionally valid after adding
assumptions upon which the speaker might naturally be expected to be relying. You should do
this by formalizing the argument and proving that it is propositionally valid using either a
partial truth table or a proof in natural deduction (preferably both). At every stage, note any
difficulties or points of interest.
Reading
Exercises
Q. 1 Determine whether the following expressions are formulae of L2 and say which of those
are also sentences of L2. Add the omitted arity indices to all predicate letters and mark all free
occurrences of variables. Bracketing conventions are not applied.
Q. 2 The following expressions are abbreviations of formulae of L2. Supply all brackets and
indices that have been omitted according to the notational conventions and mark all free
occurrences of variables.
Q. 3 Consider an L2-structure S with the domain DS and the following semantical values of a,
b, P, and R:
DS ={1, 2, 3}
∣a∣S = 1
∣b∣S = 3
∣P1∣S = {2}
∣R2∣S ={<1, 2>,<2, 3>,<1, 3>}
Introduction to Logic Alex Kaiserman
Are the following sentences true or false in this structure? Provide proofs of your
answers.
(i) Pa
(ii) Rab
(iii) Rba
(iv) Rab ↔ Rba
(v) Rbb ∨ (¬Pa ∧ ¬Raa)
(vi) ∃x Rax
(vii) ∃x (Rax ∧ Rxb)
(viii) Pb ∨ ∃x Rxx
(ix) ∀x ∃y Rxy
(x) ∀x (Px → (∃y Ryx ∧ ∃y Rxy))
(xi) ∀x (Px → ∃y (Ryx ∧ Rxy))
3 ∉ {2}
∣b∣S ∉ ∣P1∣S
∣Pb∣S = F
In the next step I prove ∣∃x Rxx∣S = F. Let α be a variable assignment over S. Then ∣x∣Sα is 1 or
2 or 3. But neither <1, 1> nor <2, 2> nor <3, 3> is in ∣R∣S , that is, in {<1, 2>, <2, 3>, <1, 3>}.
Therefore, there following holds:
∣ Rxx ∣Sα = F
∣∃xRxx∣S = F
The last line holds because ∃x Rxx is false if and only if Rxx is satisfied by no variable
assignment. Since ∣Pb∣S = F and ∣∃x Rxx∣S = F, it follows that ∣Pb ∨ ∃x Rxx∣S = F.
Q. 4 (i) Provide a sentence that contains no other than unary predicate letters and that is true
in some structure with a domain containing at least three elements, but that is not true in any
structure with a domain containing less than three elements.
(ii) Provide a sentence containing no constants and predicate letters other than R2 that is true
in some structure with a domain containing at least two objects but that is not true in any
Introduction to Logic Alex Kaiserman
(iii) Provide a sentence containing no constants and predicate letters other than R2 that is true
in some structure with a domain containing at least three objects but that is not true in any
structure with a domain containing less than three objects.
(iv) Provide a sentence that is true in some structure with an infinite domain but not in any
structure with a finite domain.
Introduction to Logic Alex Kaiserman
Exercises
Q. 1 Justify the following claims by providing counterexamples. You do not have to prove that
your structures are actually counterexamples, that is, you do not have to prove that the
premisses are true and the conclusions false in the respective structures.
Q. 2 Construct proofs in Natural Deduction to show the following claims are correct.
Q. 3 Are the following claims true or false? Justify your answers by providing a
counterexample or a proof in natural deduction, as appropriate.
Reading
Exercises
Designators: a: Harry
b: Hermione
c: Ron
a 1: Snape
Q. 2 Reveal the ambiguities in the following sentences by formalizing each sentence in two (or
more) different ways:
Q. 3 The following exercise deals with a paradox that shows that certain assumptions about
sets and properties lead to a contradiction.
R: ... is an element of __
(iii) In Q.3 (xi) last week, we asked for a proof of the following claim:
∃x ∀y (Ryx ¬Ryy) ⊢ P.
Show that any set of sentences containing the sentence ∃x ∀y (Ryx ¬Ryy) is syntactically
inconsistent.
(iv) The expression {x∶ A} is used as an abbreviation for ‘the set of all x such that A’, where A
is a claim about x. What is the problem of defining sets in this way?
Q. 4 Formalise each of the following arguments in L2. (In each case assume that the relation
is implicitly restricted to the background domain). Say whether the claim in question is
correct. If it is, prove it using ND. If it isn’t, provide a counterexample structure.
Q. 4 (a) Using the dictionary provided, and implicitly assuming the domain is the set of
sentences of L1, formalise the following (valid) argument in the language of L=:
Introduction to Logic Alex Kaiserman
Dictionary:
Tx: x is a tautology
Exy: x semantically entails y
Argument:
A sentence is a tautology if and only if it is entailed by every sentence. Entailment is a
transitive relation. Hence any sentence entailed by a tautology is a tautology.
(b) Use Natural Deduction to show that the argument you formalised in (a) is valid.
(c) Are the premises of the argument true? Explain your answer.
Introduction to Logic Alex Kaiserman
Exercises
Q. 1 Add the brackets that have been omitted in accordance with the bracketing
conventions to the following sentence:
You do not have to show that the premisses are true and the conclusions are false in the
models. Specifying the counterexample will suffice.
(i) ⊢ ∃y y=y
(ii) ∃x Px, ∃x ¬Px ⊢ ∃x ∃y ¬x=y
Q. 4 Show that the following two sentences are logically equivalent in predicate logic with
identity:
Prove the equivalence by constructing a proof in Natural Deduction of (i) using (ii) as a
premise and a proof in Natural Deduction of (ii) using (i) as a premise.
P: ... is clever
Q: ... is a tutor
Q1: ... is a philosophy student
R: ... is better than ...
Introduction to Logic Alex Kaiserman
Paolo is a philosopher.
(i) Pa
(ii) ∃x (x=a ∧ Px)
Formalisation (ii) is arrived at by reasoning as follows: The ‘is’ in the original sentence can be
replaced by ‘is identical to’, so the logical form of the sentence is: