feat: add `grind_pattern` constraint annotations (#11193)

This PR uses the new `grind_pattern` constraints to fix cases where an
unbounded number of theorem instantiations would be generated for
certain theorems in the standard library.
10 files changed