'Return the relationship with sides (and sign) reversed.
Examples
>>> from sympy import Eq
>>> from sympy.abc import x
>>> Eq(x, 1)
Eq(x, 1)
>>> _.reversed
Eq(1, x)
>>> x < 1
x < 1
>>> _.reversed
1 > x'

@property
def reversed(self):

    ops = {Gt: Lt, Ge: Le, Lt: Gt, Le: Ge}
    (a, b) = self.args
    return ops.get(self.func, self.func)(b, a, evaluate=False)
