The value of model checking in distributed protocols design | Protocols Made Fun #24
Replies: 4 comments
-
|
You can leave a comment by authorizing giscus to your github, or by interacting with Github discussions directly. |
Beta Was this translation helpful? Give feedback.
-
|
Great post, touching multiple important aspects! Really enjoyed it! |
Beta Was this translation helpful? Give feedback.
-
|
My maxim is that applying Formal Methods is always beneficial. One immediate idea is that one can try to reduce the cost of applying F/Ms, i.e. using (or inventing) lightweight Formal Methods. However, I think that starting with a lightweight F/M can be beneficial too. In fact, I prefer to do some formal modeling first (even proving some lemmas), before starting to generate massive amounts of tests. For me, the main benefit here is better understanding of the requirements and figuring out, how to decompose the problem.
I think we do need. The world is changing and there arise new problem domains, where cost of bugs can be huge, while applying F/Ms can be relatively straightforward. One example is SNARK circuits, where the most dangerous and easy to introduce bugs are under-constrained bugs. While they are relatively easy to deal with. It's also the case where one cannot be really satisfied even with huge amount of testing. Do we need better generic model checkers? Probably, yes. I think I'd personally prefer custom proof automation. They can be still great to have for general audience. |
Beta Was this translation helpful? Give feedback.
-
From my experience, efficient proof engineering is an extremely rare skill. So, I'd rather follow a lighter-weight approach like model checking, perhaps assisted by LLMs (e.g. they can learn from user-provided examples and generate inductive lemmas, or help with converting prose to lemmas/properties). Some modern SMT solvers can output proofs, which can be converted to ITP proofs with some effort. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The value of model checking in distributed protocols design | Protocols Made Fun
Author: Igor Konnov
https://protocols-made-fun.com/modelchecking/2025/04/08/value.html
Beta Was this translation helpful? Give feedback.
All reactions