You are given the following logical expression (+ representing the logical OR, concatenation representing the logical AND): (x + w)(w + z) (a) Is this expression (already) in conjunctive normal form (CNF)? If not, use the procedure described on the lectures to put it in CNF. (b) Use the procedure described on the lectures -- by introducing new logical variables transform the given expression into a 3-CNF expression that is satisfiable if and only if the given expression is satisfiable. (c) Construct an undirected graph from the 3-CNF expression that you constructed in (b) (following the procedure described on the lectures) and find one of the minimal node covers of that graph. What is the budget k?
You are given the following logical expression (+ representing the logical OR, concatenation representing the logical AND):
(x + w)(w + z)
(a) Is this expression (already) in conjunctive normal form (CNF)?
If not, use the procedure described on the lectures to put it in CNF.
(b) Use the procedure described on the lectures -- by introducing new logical variables transform the given expression into a 3-CNF expression that is satisfiable if and only if the given expression is satisfiable.
(c) Construct an undirected graph from the 3-CNF expression that you constructed in (b) (following the procedure described on the lectures) and find one of the minimal node covers of that graph. What is the budget k?
Instructions:
Read the homework text carefully - the homework consists of 3 assignments [(a), (b), and (c)] each of which should be solved.
Step by step
Solved in 4 steps