Question

In: Advanced Math

Consider a formula of propositional logic consisting of a conjunction of clauses of the form (±p⊕±q),...

Consider a formula of propositional logic consisting of a conjunction of clauses of the form (±p⊕±q), where p and q are propositional variables (not necessarily distinct) and ±p stands for either p or ¬p. Consider the graph in which the vertices include p and ¬p for all propositional variables p appearing in the formula, and in which there is an edge (1) connecting p and ¬p for each variable p, and (2) connecting two literals if their exclusive-or is a clause of the formula. Prove that the formula is satisfiable if and only if the graph is 2-colorable.

Solutions

Expert Solution

Consider a formula of propositional logic consisting of a conjunction of clauses of the form.

It contains a path from to then it also contains a path from to .

That is the path from to be ->p1->p2->.......->pk-> now by construction of G if there is an edge (p,q) then there is also an edge ( q, p).

Therefore the edges ( , pk),(pk,pk-1) .........(p2,p),(p,) hence there is a path from to .

2-colorable formula P ia a satisfable if there exists a variable p

There exist path from p to p in the graph.

There exist path from p to p in the graph by cotradiction.

If there are paths p to p and p to p for some variable p in G,but there also exists a unsatisfiable assignment p(p1,p2.......pn) be such that X=False.

Now the path  p to p be p->.............->->p->.......->p

p->->->p

f f t t

Here by constuction there is an edge between A to B in G .if and only if there is a clause (A v B) in the edge from A to B represents that if A is True then B must be True now since P is True.

This results an edge between and with = False and  =True consequency the clause ( v ) becomes False.

Contradicting our a assumption is wrong that there exist a satisfying assignment p(p1,p2,.....pn)for  .


Related Solutions

Propositional Logic Is the following formula in Conjunctive Normal Form? Why? Why not? (¬A) n (A...
Propositional Logic Is the following formula in Conjunctive Normal Form? Why? Why not? (¬A) n (A u B) n ¬(A u B) where A and B are propositional variables.
Two compound propositions p and q in propositional logic are logically equivalent if . . ..
Complete the following statements.Two compound propositions p and q in propositional logic are logically equivalent if . . ..An argument form in propositional logic is valid if . . ..A theorem is a statement that . . ..A statement that is assumed to be true is called a(n) . . ..A proof is a valid argument that . . ..
Prove the validity using laws of propositional logic and rules of inference: ∀x(P(x) → (Q(x) ∧...
Prove the validity using laws of propositional logic and rules of inference: ∀x(P(x) → (Q(x) ∧ S(x))) ∃x(P(x) ∧ R(x)) − − − − − − − − − − − − − ∴ ∃x(R(x) ∧ S(x))
Consider the following propositional formula: (((A ^ B) -> C) ^ ((A ^ C) -> D))...
Consider the following propositional formula: (((A ^ B) -> C) ^ ((A ^ C) -> D)) -> ((A ^ B) -> D) Perform the following tasks for this formula: Convert this formula into CNF form and write a numbered list of all clauses obtained from this formula.
4. Prove that the universal quantifier distributes over conjunction, using constructive logic, (∀x : A, P...
4. Prove that the universal quantifier distributes over conjunction, using constructive logic, (∀x : A, P x ∧ Qx) ⇐⇒ (∀x : A, P x) ∧ (∀x : A, Qx) . 6. We would like to prove the following statement by contraposition, For all natural numbers x and y, if x + y is odd, then x is odd or y is odd. a. Translate the statement into a statement of predicate logic. b. Provide the antecedent required for a...
1. Let p, q, r, and s be propositional variables. Which of the following expressions would...
1. Let p, q, r, and s be propositional variables. Which of the following expressions would not be formulas in conjunctive normal form? Why? (a) p ∨ p ∨ p (b) p ∧q ∧ r (c) (p ∧ q) ∨ (p ∧ r) (d) ¬p ∧¬p ∧¬p (e) p ∧ q→ p (f) ¬p ∨¬p ∨¬p (g) s (h) ¬(p ∨ q ∨ r) (i) ¬p ∨ q ∨ r (j) (p ∨¬q) ∧ (¬q ∨r) ∧ (¬p ∨s) ∧...
1.) Suppose that the statement form ((p ∧ ∼ q)∨(p ∧ ∼ r))∧(∼ p ∨ ∼...
1.) Suppose that the statement form ((p ∧ ∼ q)∨(p ∧ ∼ r))∧(∼ p ∨ ∼ s) is true. What can you conclude about the truth values of the variables p, q, r and s? Explain your reasoning 2.Use the Laws of Logical Equivalence (provided in class and in the textbook page 35 of edition 4 and page 49 of edition 5) to show that: ((∼ (p ∨ ∼ q) ∨ (∼ p ∧ ∼ r)) ∧ s) ≡ ((r...
1)  Recall, a truth table for a proposition involving propositional symbols p and q uses four rows...
1)  Recall, a truth table for a proposition involving propositional symbols p and q uses four rows for the cases p true, q true, p true, q false, p false, q true and p false, q false (in that order). For example  the outcome for p v ¬q  is  T, T, F, T  since the expression is only false when q is true but p is false. Of course, we have the same outcome for any logically equivalent proposition including ¬(¬p ∧ q), (¬p ∧...
Consider a market with a demand curve given (in inverse form) by P(Q)=50−0.25QP(Q)=50−0.25Q, where QQ is...
Consider a market with a demand curve given (in inverse form) by P(Q)=50−0.25QP(Q)=50−0.25Q, where QQ is total market output and PP is the price of the good. Two firms compete in this market by sequentially choosing quantities q1q1 and q2q2 (where q1+q2=Qq1+q2=Q). This is an example of: Choose one: A. Cournot competition. B. Bertrand competition. C. perfect competition. D. Stackelberg competition. Part 2(4 pts) Now suppose the cost of production is constant at $20.00 per unit (and is the same...
Part A Consider two identical dipoles, each consisting of charges +q and ?q separated by a...
Part A Consider two identical dipoles, each consisting of charges +q and ?q separated by a distance d and oriented as shown in the figure (Figure 1)a. Calculate the electric potential energy, expressed in terms of the electric dipole moment p=qd, for the situation where r?d. Ignore the potential energy involved in forming each individual molecule Express your answer in terms of the variables p, r, and appropriate constants. Part C Repeat part A for the orientation of the dipoles...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT