The painstaking process of formalization to verify proofs is starting to surge thanks to AI. That could radically change the way people do math.