EX_predicate_logic
EX_predicate_logic
Instruction: Type your answers to the following questions provided by LaTeX and submit a zipped file
(included .pdf and .tex files) to E-learning by group (only 4-5 members in each group). Only team leader will
submit it. One page per problem. Please use the solution template provided.
Problem 1. [10pts] Let F (x, y) be the statement ”x can fool y”, where the domain consists of all people in
the world. Use quantifiers to express each of these statements.
9. There is someone who can fool exactly one person besides himself or herself.
Solution: ∃x∃y(F (x, y) ∧ (∀z(F (x, z) → y = z))
1
DISCRETE STRUCTURE (CO1007) — Homework 02 — PREDICATE LOGIC & PROOF
Problem 2. [15pts] Use rules of inference to show that if ∀x(P (x) ∨ Q(x)), ∀x(¬Q(x) ∨ S(x)), ∀x(R(x) →
¬S(x)) and ∃x¬P (x) are true, then ∃x¬R(x) is true.
2
DISCRETE STRUCTURE (CO1007) — Homework 02 — PREDICATE LOGIC & PROOF
Problem 3. [10pts] Let L(x, y) be the statement x loves y, where the domain for both x and y consists of
all people in the world. Translate the following predicate logic into English:
3
DISCRETE STRUCTURE (CO1007) — Homework 02 — PREDICATE LOGIC & PROOF
Problem 4. [10pts] For each of these arguments determine whether the argument is correct or incorrect
and explain why.
1. Everyone enrolled in the university has lived in a dormitory. Mia has never lived in a dormitory.
Therefore, Mia is not enrolled in the university.
The argument is correct. It is an application of universal modus tollens.
2. A convertible car is fun to drive. Isaacs car is not a convertible. Therefore, Isaacs car is not fun to
drive.
The argument is not correct. It is an instance of the fallacy of denying the hypothesis.
3. Quincy likes all action movies. Quincy likes the movie Eight Men Out. Therefore, Eight Men Out is
an action movie.
This argument is not correct. Its a variant of the fallacy of affirming the conclusion. Indeed, it is quite
possible that Quincy likes also some movies that are not action movies.
4. All lobstermen set a least a dozen traps. Hamilton is a lobsterman. Therefore, Hamilton sets at least
a dozen traps.
This argument is correct. It is an application of universal instantiation.
4
DISCRETE STRUCTURE (CO1007) — Homework 02 — PREDICATE LOGIC & PROOF
Problem 5. [10pts] Express each of these mathematical statements using predicates, quantifiers, logical
connectives, and mathematical operators, where the domain consists of all integers.
5
DISCRETE STRUCTURE (CO1007) — Homework 02 — PREDICATE LOGIC & PROOF
Problem 6. [15pts] Express each of these statements using quantifiers. Then form the negation of the
statement so that no negation is to the left of a quantifier. Next, express the negation in simple English.
6
DISCRETE STRUCTURE (CO1007) — Homework 02 — PREDICATE LOGIC & PROOF
1.¬t ∨ u Premise
2.r → (s ∨ t) Premise
3.(¬p ∨ q) → r Premise
4.¬(s ∨ u) Premise
5.¬s ∧ ¬u De Morgan ’s law from (4)
6.¬u ∧ ¬s Commutative law from (5)
7.¬s Simplification from (5)
8.¬u Simplification from (6)
9.u ∨ ¬t Commutative law from (1)
10.¬t Disjunctive syllogism from (8) and (9)
11.¬s ∧ ¬t Conjunction from (7) and (10)
12.¬(s ∨ t) De Morgan ’s law from (11)
13.(¬p ∨ q) → (s ∨ t) Hypothetical syllogism from (2) and (3)
14.¬(¬p ∨ q) Modus tollen from (12) and (13)
15.p ∧ ¬q De Morgan ’s law and double negation law from (14)
16.p Simplification from (15)
7
DISCRETE STRUCTURE (CO1007) — Homework 02 — PREDICATE LOGIC & PROOF
Problem 8. [10pts] Use the rules of inference for quantified statements to prove that:
∀x ∈ R (P (x) ∨ Q(x)) (1)
∀x ∈ R (¬P (x) ∧ Q(x) → T (x)) (2)
∴ ∀x ∈ R (¬T (x) → P (x))
Solution:
Step Reason
1 ∀x ∈ R (¬P (x) ∧ (Q(x) → T (x))) Premise
2 ¬P (c) ∧ (Q(c) → T (c)) Universal instantiation from (1)
3 ¬P (c) Simplification
4 Q(c) → T (c) Simplification
5 ∀x ∈ R (P (x) ∨ Q(x)) Premise
6 P (c) ∨ Q(c) Universal instantiation from (5)
7 Q(c) Disjunctive syllogism using (3) and (6)
8 T (c) Modus ponens using (4) and (7)
9 T (c) ∨ ¬P (c) Addition
10 ¬T (c) → P (c) Logical Equivalence using Conditional Statements
11 ∀x ∈ R (¬T (x) → P (x)) Universal Generalization from (10)
8
DISCRETE STRUCTURE (CO1007) — Homework 02 — PREDICATE LOGIC & PROOF
Problem 9. [Bonus]Solve as much as you can the exercises in Sections 1.4, 1.5, 1.6 in Rosens book, 7th ed.
The following are recommended:
Solution: ...