International Symposium on Leveraging Applications of Formal Methods, Verification, and Validation • Kos, Greece
Time: Tuesday, 27.10
Room: Room 1
Authors: David Dill
Abstract: Researchers have been working since (at least) the 1950’s on the problem of how to prove software and hardware correct (formal verification). Despite brilliant work and many breakthroughs, the number of design errors in systems at all levels only increases. Formal verification is used in specific areas of system design, but it is not pervasive. The dream of systems that are guaranteed to be correct before they are deployed is mostly unrealized. That’s because formal verification is very difficult. One huge problem is the need to define “correctness” for a system. In the best case, specification is additional work beyond conventional system design. It requires knowledge of logic, the ability to think very precisely, and somehow, the ability to interpret ambiguous natural language documents (if they exist). The other extreme challenge is the computational difficulty of the problems that arise. For most of these problems, straightforward approaches often clearly would not complete during a human lifetime. After pulling out all the stops to make software, tools as efficient was we can, we have worked around the computational difficulty by using cleverness and expert knowledge. For both reasons, formal verification requires clever, skilled practitioners to do a lot of detailed work for limited impact. But modern AI may be the key to breaking through these barriers. Modern coding agents can act as a team of experts “in a box”. They can be made to apply the full range of verification methods much faster than a human – basically acting like a team of experts in a box. They seem to be very smart and fast, but it’s a challenge to get them to work systematically and display good judgement. The problems of formal verification are similar in some ways to coding, a task at which AI agents excel, but formal verification has both advantages and disadvantages over coding as an AI-driven task.