Artificial Intelligence, Formal Methods, and Mathematical Reasoning