From the technical point of view, anything is fine with me, as long as it works
and it's efficient.
But is it possible to use the current easy to understand structure in
sympy, i.e.
Add, Mul, Pow, Function, ....
classes?
I.e. is it just an implementation detail, how Add/Mul/Pow classes work
internally?
Or is it necessary to change this paradigm completely?
Ondrej
And also a general note:
You have already investigated quite a lot of approaches. Please
document them all in the wiki.
We should also investigate how other CAS systems are doing this.
In sympy, we just did the simplest possible approach, so no
investigation was necessary, but now,
when we try to optimize it, we need to know the "state of the art".
Ondrej