wrong result: `nonlinsolve([(x*y - x)/(x - 1) - y], [x, y])`
Author: 11350613Created Sep 16, 2026Updated Sep 18, 2026
sympy commit hash: 117eaf45237de39c9d4518a3b7c715f0484ccea9 (current master) python version: 3.12.3 OS: Ubuntu 24.04.4 LTS
In [1]: x, y = symbols('x y', real=True)
In [2]: nonlinsolve([(x*y - x)/(x - 1) - y], [x, y])
Out[2]: {(y, y)}expected result:
{\{(a, a)\mid a\in\mathbb R,\ a\ne 1\}}Source: sympy/sympy