Kevin Buzzard is a prominent mathematician who's been working on formalising FLT in Lean (https://github.com/ImperialCollegeLondon/FLT). There's a _lot_ of groundwork to build. But it's getting easier now of course.
I would argue it needs something like content-addressed code/"packages" like the newish programming language unison. But it also needs more than that even. I would argue that a (cubical)-HoTT language/environment/proof-assistant is probably better for the future of mathematical research because it does not have "proof irrelevance" and does not treat different proofs as equals because they often take different "paths" and those paths are often interesting and analysable in themselves. I also would argue that it needs to have a sort of decentralised way of certifying computations of proofs that goes beyond the ad-hoc way they are currently done in lean/mathlib.
These are all not original points by me but have often been stated as a sort of criticism of lean/math-lib(although I acknowledge them as a massively successful and admirable engineering feats) by other people way more knowledgable than me.
Ideally they sholuld be able to just do a `import riemann_hypothesis;` from a verified registry and then build on that.