I checked Clojure's core with Lean and found unreported bugs (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
To be fair this is true in more traditional verification too but Systemverilog is designed to model digital logic with multiple levels of abstraction.
My first thought in reading the title is how likely is it they got their models right?
Modeling mathematical theorems is probably much more natural in lean, but even there it seems like flawed models are a huge risk. I think it’s mitigated by a greater set of peers skilled in validating these sorts of models. I m skeptical that is true of software or chip designs.
Now, during the design and architecture stage I imagine there can be a lot of value in proving a model before you commit to a design.
Replies (2)
Replies (1)
That said, I think the issue of model fidelity and spec/property correctness will still exist in a reduced form. Also, simpler solutions/tools may be better suited for certain classes of properties.
As for how this exercise worked, my guess is that the agent models both the SUT and the environment, encodes the property based on property templates, and checks the model for bugs (w/ counterexample) or correctness proof using a set of tactics; see https://github.com/hirosassa/lean-verify/blob/main/skills/le.... I hope the author or others can provide a better explanation.