By typing C-c C-f, you get a search prompt. You can search for (a combination of) several things:

Example

Given the goal

  length (l1 @ l2) = length l1 + length l2

searching for “_ @ _” and intro each yield a list of theorems that fit. Combining both, i.e. searching for “_ @ _” intro, yields exactly the theorem wanted.