Is it possible to change the code so that it gives you the steps taken to find a derivative?
Potentially could get some output like this, but as it really just works by replacing elements of the expression tree with the relevant differentiation rules, would probably be limited to just that.
The implementation works, but is relatively simplistic so you will almost definitely get much better/useful output from something like https://www.wolframalpha.com/
The thing is I would really like to apply this to an app I have in mind but I would need the app to be able to give the steps. I was thinking that I could create a list where the steps are being stored as they are computed and then make a pull request.
Sure, go for it