What version of sympy did you use? I use sympy 1.11.
Отправлено из мобильной Почты Mail.ru четверг, 16 марта 2023 г., 18:43 +0300 от [email protected] <[email protected]>: >I get a worse result: > >>>> simplify(asinh(2)+sqrt(5)-oo) >0 >>>> simplify(asinh(2)+sqrt(5)+oo) >oo > >On Sunday, March 12, 2023 at 6:55:50AM UTC-5 [email protected] wrote: >>Hi, i have an expression: >>expr = sympify("asinh(2)+sqrt(5)-oo") >>When i try to simplify this expression: >>expr_simplified = simplify(expr) >>I get: >>print(expr_simplified) >>// -oo+asinh(2) >>However, if i use the expression: >>"asinh(2)+sqrt(5)+oo" >>after simplification, i get: >>"oo" - as it should be. >>I think there is an error in sympy code, simplify function doesn't simplify >>expression to the end. >>What you think about it? >-- >You received this message because you are subscribed to the Google Groups >"sympy" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected] . >To view this discussion on the web visit >https://groups.google.com/d/msgid/sympy/6d36a024-e28f-4233-8555-e4eb561dfc5fn%40googlegroups.com > . -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/1678999183.734953062%40f707.i.mail.ru.
