MT S05a
MT S05a
1
3. (18 pts.) Propositional logic
(a) (9) Which of the following are entailed by the sentence (A ∨ B) ∧ (¬C ∨ ¬D ∨ E)?
i. (A ∨ B)
ENTAILED: simple AND-elimination.
ii. (A ∨ B ∨ C) ∧ (B ∧ C ∧ D ⇒ E)
ENTAILED: (B ∧ C ∧ D ⇒ E) is equivalent to (¬B ∨ ¬C ∨ ¬D ∨ E), so this simply weakens the clause
by introducing another disjunct.
iii. (A ∨ B) ∧ (¬D ∨ E)
NOT ENTAILED: this removes the ¬C literal, which strengthens the clause.
(b) (3) True/False: Every nonempty propositional clause, by itself, is satisfiable.
TRUE: a clause is a disjunction of literals, and its models are the union of the sets of models of the literals.
Note that F alse is unsatisfiable, but it is really another name for the empty clause. Also A∧¬A is unsatisfiable,
but that’s two clauses not one.
(c) (6) True/False: Every set of five 3SAT clauses is satisfiable, provided that each clause mentions exactly
three distinct variables.
TRUE: a 3SAT clause rules out 1/8 of all possible models, so five clauses can rule out no more than 5/8 of
the models.
2
5. (24 pts.) Game playing
Imagine that, in Q.2, one of the friends wants to avoid the other. The problem then becomes a two-player
pursuit-evasion game. We assume now that the players take turns moving. The game ends only when the
players are on the same node; the terminal payoff to the pursuer is minus the total time taken. (The evader
“wins” by never losing.) Consider the following simple map, where the cost of every arc is 1 and initially the
pursuer P is at node b and the evader E is at node d.
e
a b c d
P E
f
Here is a partially constructed game tree for this map. Each node is labelled with the P, E positions. P moves
first. The values of the leaves marked “?” are currently unknown.
bd
−4
cd ad
−4 <=−6
ce −4 cf −4 cc −2 ae af ac
<=−6 <=−6 <=−4
de −4 be df −4 bf
<=−6 <=−6
dd −4 dd −4
3
CROSS OUT those that need not be considered at all.
See figure; notice that once the right child is known to have a value below –6, the remaining successors need
not be considered.
(f) (10 extra credit) Can you say anything precise about who wins the game on a map that is a tree?
The pursuer always wins if the tree is finite. To prove this, let the tree be rooted as the pursuer’s current node.
(I.e., pick up the tree by that node and dangle all the other branches down.) The evader must either be at
the root, in which case the pursuer has won, or in some subtree. The pursuer takes the branch leading to that
subtree. This process repeats at most d times, where d is the maximum depth of the original subtree, until the
pursuer either catches the evader or reaches a leaf node. Since the leaf has no subtrees, the evader must be at
that node.