Is there a way to perform incremental search that filters out all non-math environments (i.e., only searches within $...$,
$$...$$
, and if possible other relevant \begin{..}..\end{..}
environments)?
Note: a similar question provided an answer without the incremental part.