Generate predicate tasks