Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

The length of a clause is the number of literals in the clause. The length of a CNF formula is the sum of the length of its clauses. The number of excess literals in a CNF formula is the length of the formula minus the number of clauses in the formula. (a) Show that if an unsatisfiable set \(S\) of clauses contains only clauses of length 0 and 1 , it has a resolution refutation. (Hint: Prove the following: If \(S\) contains a clause of length 0 , it has [trivially] a resolution refutation. If, for some proposition letter \(p, S\) contains both \(p\) and \(\neg p,\) then \(S\) has a resolution refutation. Otherwise, \(S\) is satisfiable.) (b) Show that if a set \(\left\\{\lambda_{1} \vee \lambda_{2} \vee \ldots \vee \lambda_{k} \vee \lambda_{k+1}+\cup S(k \geq 1)\right.\) of clauses is un- satisfiable, so are \(\left\\{\lambda_{1} \vee \lambda_{2} \vee \lambda_{k}\right\\} \cup S\) and \(\left\\{\lambda_{k+1}\right\\} \cup S\). (Hint: For the first half, prove that if an interpretation \(I\) satisfies \(\left\\{\lambda_{1} \vee \lambda_{2} \vee \ldots \vee \lambda_{k}\right\\} \cup S,\) it also satisfies \(\left.\left\\{\lambda_{1} \vee \lambda_{2} \vee \cdots \vee \lambda_{k} \vee \lambda_{k+1}\right\\} \cup S_{.}\right)\) (c) Show that for \(k \geq 1,\) the number of excess literals in \(\left\\{\lambda_{1} \vee \lambda_{2} \vee \cdots \vee \lambda_{k}\right\\} \cup S\) and the number of excess literals in \(\left\\{\lambda_{k+1}\right\\} \cup S\) are both less than the number of excess literals in \(\left\\{\lambda_{1} \vee \lambda_{2} \vee \ldots \vee \lambda_{k} \vee \lambda_{k+1}\right\\} \cup S\). (d) A resolution derivation of a clause \(r_{k}\) from a set \(S\) of clauses is a sequence \(r_{0}, r_{1}, r_{2}, \ldots, r_{k}\) of clauses where each \(r_{l}\) is either an element of \(S\) or a resolvant of two previous \(r\) 's. (Thus, resolution refutation of \(S\) is just a resolution derivation of \(F\) from \(S .\) ) Show that if there is a resolution derivation of \(\lambda\) from \(S\) and a resolution refutation of \(S \cup\\{\lambda\\},\) then there is a resolution refutation of \(S .\) (e) Prove that if there is a resolution refutation \(\rho\) of \(\left\\{\lambda_{1} \vee \lambda_{2} \vee \ldots \vee \lambda_{k}\right\\} \cup S,\) then either (i) there is a resolution refutation of \(\left.\mid \lambda_{1} \vee \lambda_{2} \vee \cdots \vee \lambda_{k} \vee \lambda_{k+1}\right\\} \cup S\) or (ii) there is a resolution derivation of \(\lambda_{k+1}\) from \(\lambda_{1} \vee \lambda_{2} \vee \ldots \vee \lambda_{k} \vee \lambda_{k+1} \cup S\). (Hint: Prove this by induction on the length \(\rho\). You will have to add \(\lambda_{k+1}\) as a disjunct to some of the clauses in \(\rho\). It is not true in general that if \(S \models \lambda\), then there is a resolution derivation of \(\lambda\) from \(S .\) ) (f) Prove that resolution refutation is complete.

Short Answer

Expert verified
Resolution refutation is complete for unsatisfiable clause sets.

Step by step solution

01

Understanding Clause Length and Excess Literals

Consider a CNF formula consisting of clauses. Each clause has a certain number of literals, and the length of the formula is the sum of the lengths of all its clauses. The number of excess literals is the length of the formula minus the number of its clauses. Understanding these definitions will help in solving the given problem.
02

Resolution Refutation for Clauses of Length 0 and 1

Any clause of length 0 (i.e., \(\bot\) or false) in a set of clauses leads to the entire set being unsatisfiable, as there is no interpretation that can satisfy it. If the set contains a clause like \(p\) and its negation \(eg p\), resolution between them produces a null clause (false), leading to unsatisfiability.
03

Showing Unsatisfiability When a Clause is Split

Given the unsatisfiable CNF formula \( \{ \lambda_{1} \vee \lambda_{2} \vee \ldots \vee \lambda_{k} \vee \lambda_{k+1} \} \cup S \,\), breaking it into two parts \( (\{ \lambda_{1} \vee \lambda_{2} \vee \ldots \vee \lambda_{k} \} \cup S) \) and \( (\{ \lambda_{k+1} \} \cup S) \) must also be unsatisfiable. Any interpretation that satisfies these parts also satisfies the original clause when combined, proving them unsatisfiable too.
04

Comparing Excess Literals Between Different Splits

If \(k \geq 1\), the split into \( \{ \lambda_{1} \vee \ldots \vee \lambda_{k} \} \) and \( \{ \lambda_{k+1} \} \) decreases the combined length because you reallocated one literal to a separate clause, reducing excess literals compared to the original set.
05

Resolution Derivation of a Clause and its Effects

If you can derive a clause \( \lambda\) from a set \( S \,\) and a resolution refutation of \( S \cup\{ \lambda \}\), you perform a sequence of resolutions leading to a false clause within the original set \( S \,\) thus proving \( S \) itself is unsatisfiable by resolution.
06

Using Induction to Prove Refutation Completeness

Applying induction on the length of the refutation sequence \( \rho\) demonstrates that, given \( \{ \lambda_{1} \vee \ldots \vee \lambda_{k} \} \cup S\), adding \( \lambda_{k+1} \) creates a refutation path ensuring either a larger clause remains unsatisfiable or a derivation occurs for \( \lambda_{k+1} \) demonstrating the completeness of the resolution refutation.
07

Resolution Refutation Completeness Proof

The completeness of resolution is shown by demonstrating any unsatisfiable CNF can be resolved into a contradiction through finite logical implications, ensuring that resolution refutation can effectively demonstrate unsatisfiability.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

Key Concepts

These are the key concepts you need to understand to accurately answer the question.

Clause Length
In the realm of logic and computing, a clause is a fundamental part of a Boolean formula expressed in Conjunctive Normal Form (CNF). The length of a clause is essentially the count of literals contained within that clause. For instance, if you have a clause like \( p \vee q \vee eg r \), its length is 3, as there are three literals involved.

Similarly, the length of a CNF formula is calculated by adding together the lengths of its constituent clauses. Imagine a formula comprised of several clauses: the formula length would be the total number of literals across all these clauses. The concept of clause length is crucial as it significantly affects the complexity and structure of logical proofs, like resolution refutation.
Excess Literals
The notion of excess literals arises when analyzing CNF formulas. The term 'excess literals' refers to the difference between the total number of literals in the formula and the number of clauses within that formula. In simple terms, you calculate it by subtracting the number of clauses from the total length of the formula.

Let's say you have a formula with a length of 10 and it consists of 4 clauses. The number of excess literals would be \(10 - 4 = 6 \). This metric helps in assessing how the literals are distributed across the clauses. It is particularly useful when determining the potential for simplification and checking unsatisfiability of a formula through resolution refutation.
Unsatisfiability
The concept of unsatisfiability hinges on whether a set of logical clauses can be simultaneously satisfied. A set is considered unsatisfiable if no interpretation of the variables within those clauses makes them all true simultaneously.

Consider a scenario where you have clauses such as \(p \) and \( eg p \). Clearly, there is no possible interpretation that can satisfy both, hence the set is unsatisfiable. When a CNF formula is unsatisfiable, it implies that through logical deductions and operations, we will find contradictions. This unsatisfiability can be systematically verified using methods like resolution refutation, which involves deriving contradictions from the available clauses.
Complete Proof of Resolution Refutation
Resolution refutation is an effective logical method used to demonstrate the unsatisfiability of a CNF formula. It involves using a series of logical operations to derive a contradiction, thus proving that the formula cannot be true under any interpretation.

To achieve a complete proof of resolution refutation, you start by applying resolution steps iteratively. If at any point you produce an empty clause, equivalent to false in logical terms, the original formula is unsatisfiable. This method is 'complete', meaning it is guaranteed to find a contradiction if one exists.
  • First, identify a pair of clauses where one contains a literal \(p\) and another contains \(eg p\).
  • Use these clauses to generate a new clause that omits \(p\) and \(eg p\).
  • Continue resolving until an empty clause is obtained.
Hence, resolution refutation serves as a robust tool for confirming the unsatisfiability of logical formulas.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

1\. Let \(X\) be the set of all students at a university. Let \(A\) be the set of students who are firstyear students, \(B\) the set of students who are second- year students, \(C\) the set of students who are in a discrete mathematics course, \(D\) the set of students who are international relations majors, \(E\) the set of students who went to a concert on Monday night, and \(F\) the set of students who studied until 2 AM on Tuesday. Express in set theoretic notation the following sets of students: (a) All second-year students in the discrete mathematics course. Sample Solution. \(\mid x \in X: x \in B\) and \(x \in C\\} .\) (b) All first-year students who studied until 2 AM on Tuesday. (c) All students who are international relations majors and went to the concert on Monday night. (d) All students who studied until 2 AM on Tuesday, are second-year students, and are not international relations majors. (e) All first- and second-year students who did not go to the concert on Monday night but are intemational relations majors. (f) All students who are first-year international relations majors or who studied until 2 AM on Tuesday. (g) All students who are first-or second-year students who went to a concert on Monday night. (h) All first-year students who are intemational relations majors or went to a concert on Monday night.

(a) The conjunction of \(n\) formulas \(p_{1}, p_{2}, \ldots, p_{n}\) is defined to be the formula \(\left(\ldots\left(\left(p_{1} \wedge p_{2}\right) \wedge p_{3}\right) \wedge \ldots\right) \wedge p_{n} .\) For \(n=0,\) there is a special case: The conjunction of zero formulas is defined to be \(T\). For \(n=1\), that conjunction simplifies to \(p_{1}\). Let \(\phi\) be the conjunction of \(p_{1}, p_{2}, \ldots, p_{n} .\) Prove that for any interpretation \(I, I(\phi)=T\) if and only if \(I\left(p_{i}\right)=T\) for each \(i\) such that \(1 \leq i \leq n .\) (Hint: Use induction.) (b) Let \(\phi\) be the formula $$ \left(\ldots\left(\left(p_{1} \leftrightarrow p_{2}\right) \leftrightarrow p_{3}\right) \leftrightarrow \ldots\right) \leftrightarrow p_{n} $$ for \(n \geq 1 .\) For what interpretations \(I\) is \(I(\phi)=T ?\) (Hint: The answer involves counting how many of the \(p_{i}\) 's are true in \(I\). Prove the result by induction on \(n\).)

(a) Show that the following formula in CNF is unsatisfiable: $$ (p \vee q) \wedge(p \vee \neg q) \wedge(\neg p \vee q) \wedge(\neg p \vee \neg q) $$ (b) Show that the following formula in CNF is unsatisfiable: $$ \begin{array}{c} (p \vee q \vee r) \wedge(p \vee \neg q \vee r) \wedge(\neg p \vee q \vee r) \wedge(\neg p \vee \neg q \vee r) \\ \wedge(p \vee q \vee \neg r) \wedge(p \vee \neg q \vee \neg r) \wedge(\neg p \vee q \vee \neg r) \wedge(\neg p \vee \neg q \vee \neg r) \end{array} $$ Can you find an easier argument than just writing the entire truth table? (c) Generalize the above to some class of CNF formulas on an arbitrary number \(n \geq 1\) of proposition letters, and prove it by induction on \(n\).

Translate each of the following quantified formulas into an English sentence where the universal set is \(\mathbb{R}\). Label each as true or false. (a) \(\forall x(\exists y(x y=x))\) (b) \(\forall y(\exists x(x y=x))\) (c) \(\forall x(\exists y(x y=1))\) (d) \(\exists y(\forall x \neq 0(x y=1))\) (e) \(\exists x(\forall y(x y=x))\) (f) \((\forall x(x \neq 0 \rightarrow \exists y(x y=1))\)

(a) Show that every formula containing only \(k\) (different) proposition letters is equivalent to a \(k-\mathrm{DNF}\) formula. (b) Show that \(p \leftrightarrow q\) is not equivalent to any 1 -DNF formula. (c) Show that for every natural number \(k\) (including 0 ), there is a formula containing only \(k+1\) (different) proposition letters that is not equivalent to any \(k-D N F\) formula.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free