That's not true. You can take any single piece of that lean code, and it tells you exactly how to prove it.
It's just that no single human understands the whole. But we had proofs like that before.
Btw, see also the infamous proof of the 4 colour theorem, which faced similar hurdles.