def relu(I1):
    """Calculate the relu of an interval as another interval

    Keyword arguments:
    I1 -- the interval given as a tuple (a, b)
    """
    (from1, to1) = I1
    return (max(from1,  0), max(to1, 0))