logoalt Hacker News

gravypod • today at 2:24 PM • 1 reply • view on HN

Does anyone have practical experience with using LLMs + formal methods to verify software they ship that is not a research / prototype?


Replies

medler • today at 2:38 PM

Yes, I have been using Specular (https://github.com/specular-org/Specular) and it has helped me find a zillion subtle bugs in my existing production codebase. The caveat is that even though formal methods are involved, I’m just finding bugs, not proving correctness.

I see specular has been submitted to HN a few times but has gotten zero discussion, which is a shame. (For the record I am not affiliated with specular at all, not even as a contributor. Just a happy user).

TFA opens by saying that LLMs are causing software quality to decline, but using Specular has convinced me the opposite is going to be true. If you use these tools properly your risk of shipping buggy code drops precipitously

➕ show 2 replies