adding patterns to help quantifier instantiation