Discrete Sheet 1
Discrete Sheet 1
1) Which of these are propositions? What are the truth values of those that are
propositions?
a) Do not pass go.
b) What time is it?
c) There are no black flies in Maine.
d) 4 + x = 5.
e) The moon is made of green cheese.
f) 2 n ≥ 100.
6) Let P (x) be the statement “the word x contains the letter a.” What are these
truth values?
a) P(orange)
b) P(true)
c) P(false)
7) Translate these statements into English, where R(x) is “x is a rabbit” and H (x)
is “x hops” and the domain consists of all animals.
a) ∀x(R(x) → H (x))
b) ∀x(R(x) ∧ H (x))
c) ∃x(R(x) → H (x))
d) ∃x(R(x) ∧ H (x))
8) Let C(x) be the statement “x has a cat,” let D(x) be the statement “x has a
dog,” and let F (x) be the statement “x has a ferret.” Express each of these
statements in terms of C(x), D(x), F (x), quantifiers, and logical connectives.
Let the domain consist of all students in your class.
9) Translate in two ways each of these statements into logical expressions using
predicates, quantifiers, and logical connectives. First, let the domain consist of
the students in your class and second, let it consist of all people.
10) Express each of these system specifications using predicates, quantifiers and
logical connectives.
a) The system mailbox can be accessed by everyone in the group if the file
system is locked.
b) At least one router is functioning normally if the throughput is between 100
kbps and 500 kbps and the proxy server is not in diagnostic mode.
11) Let Q(x, y) be the statement “student x has been a contestant on quiz show
y.” Express each of these sentences in terms of Q(x, y), quantifiers, and
logical connectives, where the domain for x consists of all students at your
school and for y consists of all quiz shows on television.
12) Rewrite each of these statements so that negations appear only within
predicates (that is, so that no negation is outside a quantifier or an expression
involving logical connectives).
a) ¬∃y∃xP (x, y)
b) ¬∀x∃yP (x, y)
c) ¬∃y(Q(y) ∧ ∀x¬R(x, y))