reduction to conjunctive nomal form and disjunctive nomal form