Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your original expressions have a problem :

sage: e1.operator()
<function add_vararg at 0x7f1ddc9dddc0>
sage: e1.operands()[1]
xi(Y, x)
sage: e2.operator()
<function add_vararg at 0x7f1ddc9dddc0>
sage: e2.operands()[1]
xi(Y, x)

We might as well work on the first operands :

sage: e10=e1.operands()[0]
sage: e10.operator()
<function mul_vararg at 0x7f1ddc9dde50>

so far so good. But :

sage: e10.operands()[0].denominator()
0

Your e10 is a fraction of null denominator. No wonder Maxima gags on it. BTW :

sage: e2.operands()[0].operands()[0].denominator()
0

e2 has the same problem.

How did you derive e1 and e2 ? The root of your problem is there...

HTH,