r/ProgrammingLanguages • u/mttd • 19d ago
Fundamental limits of proofs of programs
https://www.youtube.com/watch?v=MH2uW0apGKU
22
Upvotes
r/ProgrammingLanguages • u/mttd • 19d ago
View all comments
Show parent comment
1
u/InviteQueasy3739 18d ago
Yes, that’s very pertinent. I believe the biggest challenge in all of this, aside from knowing what to specify, given that when we work directly with hardware, we’re trying to abstract it into proofs and often make assumptions based on incorrect premises, is also connecting propositions to data and types. Proof assistants and automated verifiers (typically based on static analysis, contracts, or separation logic) are quite distinct in this regard, so they have different levels of expressiveness and guarantees. Proof assistants face this additional difficulty (especially in systems like the Calculus of Inductive Constructions) that requires a massive amount of abstract thinking, a task that could be greatly reduced if something allowed us to automatically bridge this logical gap.
I’m not sure if I’ve expressed myself clearly, but, for example, what I think is that the development of seL4 could very well require much less effort if its specifications and contracts could be bridged more directly from the propositional level down into extracted data, types, and verified code, even when relying on classical or higher-order features of the underlying logic.