Mathematicians issue warning as AI rapidly gains ground