Misalignment of AI in mathematics