> The only way forward is to fully embrace formal verification, all the way down to the foundations ... But that's easier said than done. Existing formal verification tools suffer from massive usability and understandability problems, and have failed to make any kind of noticeable impact ...
This is sort of a counterpart to my own opinion of formal verification, since first learning about it 30 years ago.
Firstly, if there's no direct link between the written code (or perhaps even the program code post-compilation) and the verification algebra, what are you really verifying?
And secondly if we can 'get by' without it very well for the most part, then justifying the extra effort is very hard.
And I would argue in contrast to the author that we have achieved a hell of a lot without using it particularly widely. Much like that late-90s obsession, the semantic web, it illustrates a major disconnect between assumptions in the halls of academia about how the world should work, and real world industry practice.
So if there is value in formal verification then the author is right, if must be applicable directly to the program code under verification, and I would argue it must be low friction if it's going to get adoption. And I think LLMs can probably help us deliver that last part.
I believe that that link already exists in tools like Liquid Haskell, Dafny and Verus: the spec sits on the function itself, and if the code doesn't match it, it doesn't compile.
This is sort of a counterpart to my own opinion of formal verification, since first learning about it 30 years ago.
Firstly, if there's no direct link between the written code (or perhaps even the program code post-compilation) and the verification algebra, what are you really verifying? And secondly if we can 'get by' without it very well for the most part, then justifying the extra effort is very hard.
And I would argue in contrast to the author that we have achieved a hell of a lot without using it particularly widely. Much like that late-90s obsession, the semantic web, it illustrates a major disconnect between assumptions in the halls of academia about how the world should work, and real world industry practice.
So if there is value in formal verification then the author is right, if must be applicable directly to the program code under verification, and I would argue it must be low friction if it's going to get adoption. And I think LLMs can probably help us deliver that last part.
Replies (2)
I think this problem is functionally a subset of same the issue that FP has with modelling stuff at it's boundaries like IO
The work around algebraic effects and handlers is some of the more relevant prior art here