We need secure, stable, modular components and platforms but I don't see how formal verification will help with this.
The problem with formal verification is that it only lets you validate the solution against the spec, but it doesn't do anything in terms of validating the spec against reality. The spec can have a lot of conflicts. Also, as the complexity of the code grows, the contradictions and conflicts in the spec increase.
A few weeks ago, Claude wrote me a short formal proof which proved that formal proofs cannot guarantee protection from software bugs or vulnerabilities in most realistic settings; especially when software requirements change too frequently. It made some assumptions about non-salvageability which I didn't ask for a proof for but it gave me some anecdotes from formally verified projects like SeL4 where letters from collaborators hinted that small changes to the code would sometimes require rewriting large parts of the proof.
Unfortunately, we can't stop software from changing until we've developed platforms which provide optimal modularity.
Optimally modular software has the property that code in dependencies (the leaves) has to be modified less frequently and less substantially than code of the dependents (the branches and trunk) in response to requirements changes. A useful measure may be the ratio of code changes dependent_code_delta/dependency_code_delta (over some period of time) where a high ratio is good and a low ratio is bad.
The problem with formal verification is that it only lets you validate the solution against the spec, but it doesn't do anything in terms of validating the spec against reality. The spec can have a lot of conflicts. Also, as the complexity of the code grows, the contradictions and conflicts in the spec increase.
A few weeks ago, Claude wrote me a short formal proof which proved that formal proofs cannot guarantee protection from software bugs or vulnerabilities in most realistic settings; especially when software requirements change too frequently. It made some assumptions about non-salvageability which I didn't ask for a proof for but it gave me some anecdotes from formally verified projects like SeL4 where letters from collaborators hinted that small changes to the code would sometimes require rewriting large parts of the proof.
Unfortunately, we can't stop software from changing until we've developed platforms which provide optimal modularity.
Optimally modular software has the property that code in dependencies (the leaves) has to be modified less frequently and less substantially than code of the dependents (the branches and trunk) in response to requirements changes. A useful measure may be the ratio of code changes dependent_code_delta/dependency_code_delta (over some period of time) where a high ratio is good and a low ratio is bad.