deprecated MathSolver to find out where it is used so we can replace
that with the new syntax tree pattern implementation