-----maxima-bounces at math.utexas.edu wrote: -----
>"(if?x?<?1?then?42?else?-42)?+?(if?x?<?1?then?-42?else?42)?-->?0."
>Why?not?extend?the?logic?for?(the?undocumented)?%if?and?use?it.
To simplify sums containing conditionals (either if or %if), the
function simplus would need to be patched, not the simplification
of the conditional.
There should be documentation for %if in
maxima/share/contrib/topoly-user-doc.html
Let me know if it's missing; from the documentation:
Status: The operator %if is experimental; its specifications might change
and its functionality
might be merged into other Maxima functions.
Barton