Hi, i got a "report a problem" comment about how
simplify/full_simplify works. I think this could be sent to maxima
upstream?

Well, here is the (rather educational) example:

sage: a=(sqrt(6)-sqrt(5))^-1

sage: a
-1/(sqrt(5) - sqrt(6))

sage: a.full_simplify()
1/(sqrt(2)*sqrt(3) - sqrt(5))

sage: a.simplify()
-1/(sqrt(5) - sqrt(6))

----

yet, sympy which gives what the reporter expected:

In [3]: a=(sqrt(6)-sqrt(5))**-1

In [4]: a
Out[4]: 1/(6**(1/2) - 5**(1/2))

In [5]: simplify(a)
Out[5]: 5**(1/2) + 6**(1/2)

In [7]: pprint simplify(a)
------> pprint(simplify(a))
    ⎽⎽⎽      ⎽⎽⎽
╲╱ 5  + ╲╱ 6

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to