One real problem with depending on Lean is that if there are any real bugs, then sufficiently-large swarms of agents are guaranteed to eventually come up with proofs that depend on the bug.
This comes up frequently in threads but it's actually a much less impactful issue than you might think. There are actually several entirely disjoint implementations of Lean, each with different bugs; it is incredibly unlikely an agent would be able to exercise the same bug in every single implementation.
You trivially could through the principle of explosion.
That said at least one version is itself formally verified, at the machine code level if I understood correctly. It might still make mistakes but you're starting to get to a point that those mistakes become quite unlikely.
It's still a pretty tricky endeavor but we should know soonish, with some confidence if it is correct or not.
I’ve heard it argued that equality has a bug. In real life it’s a lossy comparision as almost nothing is truly equal (except maybe atomic and subatomic particles?)
I doubt that any of them are closed-source, so the clankers probably already know all their bugs. Who says they all don't share a similar bug that is necessary for the proof to work? No one is going to review 1.3GB of anything by hand, even if they could understand it all in a single lifetime.
I found a bug in Lean a couple of weeks ago with an LLM, in fact, but it was in its 'macro' system that expands code into statements, not the actual proof system. It wouldn't have proven anything false, but it could have produced statements that aren't what you intended.