As a developer, I fall very near the total perfectionist end of the spectrum in my preferences, but what you’re asking for would probably mean ~nothing ever ships.
It’s not that provably correct code is impossible, it’s that the economies of software (even free/open/labors of love) and physics (time) impose tradeoffs for the vast vast majority of software people write outside a research context.
I too wish software quality was substantially better. I put a lot of effort into not only making it better, but making it easier to make better software in the first place. But the level of perfection you’re describing is unrealistic.