One part of the verification is that the proof is checked by multiple independent implementations of LEAN. A bug in the software would have to be one that has to be present in all of them to not be caught. There absolutely have been bugs before that were caught this way. But this time they seem to agree.
Calling it 17 million lines of unreadable puke is also not justified. There is a structure to it and part of the reason why it’s so much is that the AI was not allowed to introduce assumptions and went into incredible detail to prove every last little thing that went into the proof. When people make fun of things like it containing a separate proof for real numbers that are not 1/2 to be either less or greater than 1/2, realize that the alternative where the AI is allowed to just write this sort of thing down as an obvious truth like a human would means there is a list of such assumptions that have to be verified individually. So this is not a sign of slop but a tactic to make the proof easier to verify.