constraint validity. herbrand unification