Hi,
I posted about this on GitHub but haven't gotten much of a response. Right now there are two seemingly mathematically equivalent notions of positive and negative infinity on the real line:
-The singleton sympy.core.numbers.Infinity, also known as "oo"
-Float("inf"), also known as "+inf"
When trying to compare one of these to the other, we get inconsistent results, e.g.
-oo < -inf
will be left unevaluated but
-inf > -oo
returns False.
I guess both of these should be False. However, we also have
oo == x is False, but
x == oo is True.
Which of these is correct? Both of them?