handout4

# handout4 - Handout Transformation of a formula A to a...

This preview shows pages 1–2. Sign up to view the full content.

Handout Transformation of a formula A to a formula B in conjunctive normal form, so that A is satisifable iff B is satisfiable. Given a formula A , consider its parse tree T A . To each node a of T A associate a proposi- tional variable p a , so that: i) If a is terminal, then p a = p , where p is the propositional variable occurring at a ; ii) If a is a non-terminal node, p a is different from all the propositional variables occurring in A ; iii) To distinct nodes we assign distinct variables. For each node a which is not terminal, we have one of the following five possibilities b a B ¬ B b B a ( B C ) C c b B a ( B C ) C c b B a ( B C ) C c b B a ( B C ) C c In the first case, associate to a the formula: p a ⇔ ¬ p b (1) In the second, associate to a the formula: p a ( p b p c ) (2) In the third case, the formula: p a ( p b p c ) (3) In the fourth case, the formula p a ( p b p c ) (4) and in the fifth, the formula p a ( p b p c ) (5)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern