simplify Integral.is_number routine