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))
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.) 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...
Using the midpoint formula, be able to determine the elasticity along a curve. P Q 7...
Using the midpoint formula, be able to determine the elasticity along a curve. P Q 7 0 6 5 5 10 4 15 3 20 2 25 1 30 Calculate the elasticity from $5 to $4 Calculate the elasticity from $4 to $3 Calculate the elasticity from $3 to $2
Consider a market for a good characterized by an inverse market demand P(Q) = 200−Q. There...
Consider a market for a good characterized by an inverse market demand P(Q) = 200−Q. There are two firms, firm 1 and firm 2, which produce a homogeneous output with a cost function C(q) =q2+ 2q+ 10. 1. What are the profits that each firm makes in this market? 2. Suppose an advertising consultant approaches firm 1 and offers to increase consumers’ value for the good by $10. He offers this in exchange for payment of $200. Should the firm...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT