Stanford Researchers Develop AI Tool For Formal Verification
Stanford researchers created an AI tool that can complete engineering projects quickly and cheaply, potentially revolutionizing the field of formal verification. This development may make it more practical for companies to use math to prove their software is bug-free.
Original reporting · wired.com
Original: “The ‘Pain in the Ass’ Math That Could Save Vibe Coding From Itself”
Read “The ‘Pain in the Ass’ Math That Could Save Vibe Coding From Itself” at WIRED AI →
How this was written. Diagnosis Forward wrote this article with a language model from WIRED AI’s reporting (model: @cf/meta/llama-3.3-70b-instruct-fp8-fast); it describes that reporting rather than adding to it. The original, linked above, is the full story.
Key points from WIRED AI’s report
- Stanford researchers developed an AI tool that can complete engineering projects quickly and cheaply, potentially revolutionizing the field of formal verification.
- Several startups, including &Truth and Harmonic, are betting that generative AI will make formal software verification both practical and essential.
- The potential benefits of formal verification include catching errors that other testing methods may miss, and ensuring the reliability and security of critical systems.
- The technology is still in the prototyping stage, and it is unclear how much customers are willing to pay for it.
- Some experts are skeptical about the ability of formal verification to catch errors stemming from user error and hardware breakdowns.
Formal verification, a process that uses math to prove software is error-free, has been a goal for developers for decades. According to WIRED AI, this process has been too time-consuming and expensive for widespread use. However, recent advancements in AI technology may change this.
A team of computer scientists, led by Stanford researcher Chuyue Sun, developed an AI tool that can complete engineering projects in less than half a day for under $500. In contrast, the same project took three highly skilled experts five months to complete manually. This dramatic reduction in time and cost is among the early results that are generating interest in formal verification.
WIRED AI reported that several startups, including &Truth and Harmonic, are betting that generative AI will make formal software verification both practical and essential. These companies aim to use AI to automate the verification process, making it faster and more affordable for companies to ensure their software is reliable and secure.
The potential benefits of formal verification are significant, as it can catch errors that other testing methods may miss. For example, &Truth used AI to verify part of the code that encrypts conversations in the messaging app Signal. This technology may be particularly important for critical systems, such as those used in aerospace and finance.
Despite the promise of formal verification, there are still challenges to overcome. The technology is still in the prototyping stage, and it is unclear how much customers are willing to pay for it. Additionally, some experts are skeptical about the ability of formal verification to catch errors stemming from user error and hardware breakdowns.
Some companies, such as Boeing and Apple, have already begun using formal verification for certain aspects of their software. However, the process is typically limited to security-related code, and vulnerabilities in this code could cause serious harm if exploited. As the technology advances, it may become more widely adopted, potentially leading to more reliable and secure software.
The use of AI in formal verification may also raise concerns about trust in the results. Some experts worry that AI-generated specifications could inspire unjustified trust in the results, and that human verifiers may be needed to ensure the accuracy of the verification process.
Questions and answers
What is formal verification?
Formal verification is a process that uses math to prove software is error-free.
How can AI be used in formal verification?
AI can be used to automate the verification process, making it faster and more affordable for companies to ensure their software is reliable and secure.
What are the potential benefits of formal verification?
The potential benefits of formal verification include catching errors that other testing methods may miss, and ensuring the reliability and security of critical systems.



