logic computation

Definition

Horn Formula

A Horn formula is a conjunction of Horn clauses.

Simplification

Naturally, Horn formulas can be simplified using unit propagation:

Definition

Unit Propagation

Unit propagation is a procedure of iteratively simplifying a formula in conjunctive normal form by identifying unit clauses . Since such a clause would be false unless is true, the procedure assigns , then removes all clauses containing and deletes from all remaining clauses. This may create new unit clauses, which are processed recursively until no unit clauses remain.

Example: Consider the formula

The clause is a unit clause, so we assign :

In step I, is assigned true, eliminating the clause containing and removing from the third clause. In step II, this creates a new unit clause , which propagates to yield the simplified formula III.

Link to original

Tractability

Horn formulas form a sub-class of SAT that is efficiently solvable.