A DECISION PROCEDURE FOR A CLASS OF FORMULAS OF FIRST ORDER PREDICATE CALCULUS