A Correctness Approach for Modern Systems Software

5 points by gregnavis


jschuster

This leaves a lot of details out that would be useful to know. For example, how much input did Marc actually have into the process? He describes a particular API, specific properties and assumptions, a protocol, etc. Did he come up with those himself? Did Kiro? Were these things already part of the previous library he referred to in the first prompt?

I would guess that the API design and spec both came mostly from Marc (maybe inspired by previous libraries), and the verification approach came from a dialogue between him and Kiro.

But if that's the case, then I think he oversells the extent you could get by with very little expertise. Being able to create that spec and then judge Kiro's output both sound like tasks requiring a fair bit of formal methods knowledge. He says "You don’t need to be able to read or write Lean, or even really know what terms like proof and bounded model checking mean exactly.". Maybe I'm reading too much into this, but if someone came to me and said "My program is totally correct! It comes with bounded model checking! I don't know what that is, but it sounds good, so it must be right!" I would seriously doubt that person's judgment.

This is still cool work, and I agree with him that the skills needed are very learnable by someone working in that space. But I do think there's quite a bit of expertise needed before the average programmer could derive the same confidence in this library as Marc does.

ahelwer

It's a throwaway mention but interesting that Marc thinks Verus doesn't work well for reasoning about global properties of distributed systems.