artificial intelligence mathematics