Mathlib was certainly an enabler, but Lean was/is still too unwieldy even for mathematicians to use manually as a productivity tool. In the absence of LLMs it would mostly been a second step after fleshing out your argument informally. And even for that, the timelines would not have been anywhere near what we're seeing now. Kevin Buzzard's project not to formalize all of FLT, but only reduce it to some yet-to-be formalized results from the 80's and before would still have taken years on its original timeline. Now we not only have a complete formalization (admittedly much less elegant than what Buzzard was working on) of FLT, we even have a formalization of genuinely novel results like GHT. This is a veritably different timeline than having only deterministic tools like Lean.