You’d have to formalize all the properties you want to hold for the software in question. This is in principle possible, but highly nontrivial, and you’d also end up doing a lot of coding in Lean for that.