On 3/25/09, Jaime Villate <villate at fe.up.pt> wrote:
> (%i4) rest(a+b+c+d+e);
> (%o4) d + c + b + a
>
> How can I prevent the simplification of the sum in %i4 in order to get
> b+c+d+e in %o4?
"+" expressions are displayed in the reverse of the canonical order
by default. You can change that via the global flag powerdisp.
powerdisp : true;
a+b+c+d+e;
=> a + b + c + d + e
rest (%);
=> b + c + d + e
powerdisp is only a display flag; it doesn't affect simplification.
best
Robert Dodier