


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Horn formula: A CNF Boolean formula in which every clause has at most one positive literal.
Each clause viewed as an implication.
A polynomial time algorithm to decide the satisfiability for Horn Formulas:
Step 1.1: In all clauses containing just one literal, assign truth values to the variables appearing in these clauses to make the clauses true. If this results in an inconsitent truth assigment then the formula is not satisfiable. Halt. Step 1.2: Simplify the formula using this new assignment.
In Step 2, every clause contains at least one negative literal.
Reduction from 3CNFSAT: replace each occurence of a variable by the required number of new variables; for each variable x in the original formula, create new clauses to constrain x and all the new variables of x to take the same truth value.