From the linked post: 'A "computer algebra system" would have accomplished a similar goal, but been much slower and much more complicated'
Reusing an existing one? Maybe not.
Yes, it would likely be slower, but is a 1ms vs. 10ms response time in the calculator app really such a big deal? entering a correct calculation / formula on the smartphone likely takes much longer.