Lec11 Pred Intro Nosol
Lec11 Pred Intro Nosol
Lecture 11
Learning goals
Learning goals
Learning goals
A domain is
▶ a non-empty set of objects/individuals.
▶ a world that our statement is situated within.
Examples: natural numbers, people, animals, etc.
Examples:
▶ Define 𝑆(𝑥) to mean “𝑥 is a student”. (unary predicate)
▶ Bob is a student: 𝑆(𝐵𝑜𝑏)
▶ Micky Mouse is not a student: (¬𝑆(Micky Mouse))
▶ 𝑢 is a student: 𝑆(𝑢)
▶ Define 𝑌 (𝑥, 𝑦) to mean “𝑥 is younger than 𝑦”. (binary
predicate)
▶ Alex is younger than Sam: 𝑌 (Alex, Sam)
▶ 𝑢 is younger than 𝑣: 𝑌 (𝑢, 𝑣)
Learning goals
Let the domain be the set of animals. 𝐻(𝑥) means that 𝑥 likes
honey. 𝐵(𝑥) means that 𝑥 is a bear.
Let the domain be the set of animals. 𝐻(𝑥) means that 𝑥 likes
honey. 𝐵(𝑥) means that 𝑥 is a bear.
Let the domain be the set of people. Let 𝐿(𝑥, 𝑦) mean that person
𝑥 likes person 𝑦.
Translate the following formulas into English.
1. ∀𝑥 (∀𝑦 𝐿(𝑥, 𝑦))
2. ∃𝑥 (∃𝑦 𝐿(𝑥, 𝑦))
3. ∀𝑥 (∃𝑦 𝐿(𝑥, 𝑦))
4. ∃𝑦 (∀𝑥 𝐿(𝑥, 𝑦))
Translate the sentence “some student has not taken any course.”
into a predicate formula.
Let 𝑥 refer to a student and let 𝑦 refer to a course.
What quantifiers should we use for 𝑥 and 𝑦?
(A) ∀𝑥 and ∀𝑦
(B) ∀𝑥 and ∃𝑦
(C) ∃𝑥 and ∀𝑦
(D) ∃𝑥 and ∃𝑦
Let the domain contain the set of all students and courses.
Define the following predicates: 𝑆(𝑥): 𝑥 is a student.
𝐶(𝑦): 𝑦 is a course. 𝑇 (𝑥, 𝑦): student 𝑥 has taken course 𝑦.
Translate the sentence “some student has not taken any course.”
into a predicate formula.
Which of the following is a correct translation?
(A) ∃𝑥 (𝑆(𝑥) → (∀𝑦 𝐶(𝑦) → ¬𝑇 (𝑥, 𝑦)))
(B) ∃𝑥 (𝑆(𝑥) → (∀𝑦 𝐶(𝑦) ∧ (¬𝑇 (𝑥, 𝑦)))
(C) ∃𝑥 (𝑆(𝑥) ∧ (∀𝑦 𝐶(𝑦) → ¬𝑇 (𝑥, 𝑦)))
(D) ∃𝑥 (𝑆(𝑥) ∧ (∀𝑦 𝐶(𝑦) ∧ ¬𝑇 (𝑥, 𝑦)))
Let the domain contain the set of all students and courses.
Define the following predicates: 𝑆(𝑥): 𝑥 is a student.
𝐶(𝑦): 𝑦 is a course. 𝑇 (𝑥, 𝑦): student 𝑥 has taken course 𝑦.
Learning goals
∃ is a big OR:
Learning goals
▶ Every/All/Each/Any
∀𝑥
▶ Some/At least one/There exists a/There is a
∃𝑥
▶ None/No x
¬(∃𝑥 … )
▶ Not every/Not all
¬(∀𝑥 … )
▶ Every P-ish x has property Q
∀𝑥 𝑃 (𝑥) → 𝑄(𝑥)
▶ Some P-ish x has property Q
∃𝑥 𝑃 (𝑥) ∧ 𝑄(𝑥)
Learning goals
Let the domain be the set of animals. Let 𝐵(𝑥) be that 𝑥 is a bear.
1. There are at least two bears.
2. There are at most one bear.
3. There are exactly one bear.