'Returns True if range of values attained by `self` AccumulationBounds
object is greater than the range of values attained by `other`,
where other may be any value of type AccumulationBounds object or
extended real number value, False is returned if `other` satisfies
the same property, None if the values attained by AccumulationBounds
object intersect.
Examples
>>> from sympy import AccumBounds, oo
>>> AccumBounds(1, 3) > AccumBounds(4, oo)
False
>>> AccumBounds(1, 4) > AccumBounds(3, 4)
>>> AccumBounds(1, oo) > -1
True'

def __gt__(self, other):

    other = _sympify(other)
    if isinstance(other, AccumBounds):
        if (self.min > other.max):
            return True
        if (self.max <= other.min):
            return False
        return
    if (not (other.is_real or (other is S.Infinity) or (other is S.NegativeInfinity))):
        raise TypeError(('Invalid    comparison    of    %s    %s' % (type(other), other)))
    if other.is_comparable:
        if (self.min > other):
            return True
        if (self.max <= other):
            return False
    return None
