# Revision history [back]

### solve_ineq returns strange output

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"?

### solve_ineq returns strange output

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?

print type(s[0][0])

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