On 2013-04-23, Lorenzo Ricciardi <
lorenzo.a...@gmail.com> wrote:
> Basically, I've been performing various matrix operations, with
> symbolic elements.
> The final result is very complex, but I can see patterns within it,
> so i wanted to rename those patterns with new variable names. That
> way, I can express the final result in terms of these new variables only.
The Maxima function 'optimize' replaces common subexpressions with
made-up variables, and the result is an expression which can be
evaluated to give the same result as the original (ignoring
order-of-evaluation effects). Dunno what might be available in Sage
proper.
best
Robert Dodier