I ask:

```
var("x y")
ineq = [x==y, y<=0]
solve_ineq(ineq,[x])
```

and get:

```
[[x == y, y], [x == y, -y > 0]]
```

I understand the second set, but not the first. What does it mean when the inequality is just "**y**"?

1 | initial version |

I ask:

```
var("x y")
ineq = [x==y, y<=0]
solve_ineq(ineq,[x])
```

and get:

```
[[x == y, y], [x == y, -y > 0]]
```

I understand the second set, but not the first. What does it mean when the inequality is just "**y**"?

2 | No.2 Revision |

I ask:

```
var("x y")
ineq = [x==y, y<=0]
```~~solve_ineq(ineq,[x])
~~s = solve_ineq(ineq,[x])
s

and get:

```
[[x == y, y], [x == y, -y > 0]]
```

I understand the second set, but not the first. What does it mean when the inequality is just "**y**"?

A related question: how do I differentiate between inequalities with "==" or ">" and inequalities without?

Currently, when I ask:

```
print type(s[0][0])
print type(s[0][1])
```

I get the same result:

```
<type 'sage.symbolic.expression.Expression'>
<type 'sage.symbolic.expression.Expression'>
```

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.