I have tried to preserve sentence structure of sentences with math in them a bit. The current solution is not very good, but it reduces errors thrown by Grammarly a lot. I replaced math environments by the word "noun", and verb symbols (such as =, <, \in) by "verbs noun". Examples:
Then $P$ is non-degenerate. -> Then noun is non-degenerate.
So $x \in P$. -> So noun verbs noun.
I have tried to preserve sentence structure of sentences with math in them a bit. The current solution is not very good, but it reduces errors thrown by Grammarly a lot. I replaced math environments by the word "noun", and verb symbols (such as =, <, \in) by "verbs noun". Examples:
Then $P$ is non-degenerate. -> Then noun is non-degenerate. So $x \in P$. -> So noun verbs noun.