On 10/11/2023 10:26 AM,
[email protected] wrote:
Perhaps Maple operates in a similar way.
Martin.
May be. I've been using Maple for long time, and I just
noticed this only now, when I was looking at some
result and noticed
ln(x) = ln(x) + .... etc...
Even thought I did simplify on the equation before.
So I had to change all my code which simplifies
equations, by first rewriting the equation as
lhs(eq)-rhs(eq)=0 and only then call simplify.
I think Mathematica's way is more natural. But may be
there is a good reason why Maple does not simplify it,
and that is why I asked.
btw, sympy also does it like Mathematica:
--------------------------------
python
Python 3.11.3 (main, Apr 5 2023, 15:52:25) [GCC 12.2.1 20230201] on linux
from sympy import *
a,x = symbols('a x')
eq=Eq(a,a-x)
eq
Eq(a, a - x)
simplify(eq)
Eq(x, 0)
-------------------
--Nasser
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)