Chapter 7: Q12E (page 323)
Call graphs isomorphic if the nodes of may be reordered so that it is identical to .
Let Show that .
Short Answer
Therefore, the solution is .
Chapter 7: Q12E (page 323)
Call graphs isomorphic if the nodes of may be reordered so that it is identical to .
Let Show that .
Therefore, the solution is .
All the tools & learning materials you need for study success - in one app.
Get started for freeConsider the following scheduling problem. You are given a list of final exams to be scheduled, and a list of students . Each student is taking some specified subset of these exams. You must schedule these exams into slots so that no student is required to take two exams in the same slot. The problem is to determine if such a schedule exists that uses only slots. Formulate this problem as a language and show that this language is.
This problem investigates resolution, a method for proving the unsatisfiability of cnf-formulas. Let be a formula in cnf, where the are its clauses. Let . In a resolution step, we take two clauses and in C, which both have some variable occurring positively in one of the clauses and negatively in the other. Thus, and , where the and are literals. We form the new clause and remove repeated literals. Add this new clause to C. Repeat the resolution steps until no additional clauses can be obtained. If the empty clause ( ) is in C, then declare unsatisfiable. Say that resolution is sound if it never declares satisfiable formulas to be unsatisfiable. Say that resolution is complete if all unsatisfiable formulas are declared to be unsatisfiable.
a. Show that resolution is sound and complete.
b. Use part (a) to show that .
Let ? be a 3cnf-formula. An ≠-assignment to the variables of ? is one where each clause contains two literals with unequal truth values. In other words, an ≠ -assignment satisfies ? without assigning three true literals in any clause.
a. Show that the negation of any ≠ -assignment to ? is also an ≠ -assignment.
b. Let ≠ SAT be the collection of 3cnf-formulas that have an ≠ -assignment. Show that we obtain a polynomial time reduction from 3SAT to ≠ SAT by replacing each clause ci
$$
with the two clauses
Where is a new variable for each clause, and b is a single additional new variable.
c. Conclude that -complete.
Let G represent an undirected graph. Also let
a) Show that SPATH? P.
b) Show that LPATH is NP-complete.
Show that is closed under the star operation
What do you think about this solution?
We value your feedback to improve our textbook solutions.