Ask Your Question

Revision history [back]

Unfortunately, the Sage's assumptions are not passed to sympy and conversely, see trac ticket 24334 and trac ticket 24078.

What you can do as a workaround is to directly pass sympy assumptions, see : https://docs.sympy.org/latest/modules/assumptions/assume.html