Won't it be possible to de-slopify it incrementally?
E.g. as long as you have compatible definitions, you can literally go theorem by theorem. That should be easier than refactoring software because you don't need agreement on things like state management and concurrency.
Regarding funding, I think quite likely AI labs would be interested to pay for better proof formalization as that can help to train models to make less slop. Isn't that better than make taxpayers fund this work?