Theory: the maths of agents and goals
Guaranteed-safe AI and formal verification
Build systems with mathematical proofs of safe behaviour, not just tests.
Guaranteed-safe AI aims to back safety claims with mathematical proof rather than testing alone. Testing can show that a system failed in the cases tried; a proof can show that it cannot fail in a defined way, within a stated model. The UK's Advanced Research and Invention Agency (ARIA) funds a £59 million programme in this area, called Safeguarded AI.
How it works
Formal verification is an old idea from software and chip design. Engineers write a precise statement of what a program must do, called a specification, and a computer checks a proof that the program meets it. Guaranteed-safe AI extends this to AI systems. A May 2024 paper by David "davidad" Dalrymple, Yoshua Bengio, Stuart Russell, Max Tegmark and others named three parts. A world model is a mathematical description of how the AI's actions affect the world. A safety specification says which effects are acceptable. A verifier produces a proof, checkable by others, that the AI meets the specification within the world model.
Say a powerful AI designs a controller for a power grid. Instead of trusting the AI, the designers require it to hand over the controller together with a proof that, under the grid model, voltage never leaves a safe range. A small, trusted checker verifies the proof. The AI can be clever and opaque; only its output has to be checked.
A near-term version is "vericoding": language models write code together with machine-checkable proofs that the code meets a formal specification, in verification languages such as Dafny, Verus (for Rust) and Lean.
Where research stands
The approach is well funded but early. In November 2025 ARIA shifted the programme's emphasis toward a broader verification toolkit, citing fast frontier AI progress. In February 2026 it moved one technical area's focus to cybersecurity and cancelled a planned call for cyber-physical systems. In April 2026 Nora Ammann became programme director, and founding director davidad moved to technical adviser.
Progress is clearest in software. A September 2025 benchmark of 12,504 formal specifications found off-the-shelf language models could write verified code for 82% of Dafny problems, 44% of Verus problems and 27% of Lean problems. On the easier task of proving existing Dafny code correct, success rose from 68% to 96% in a year.
Proving safety for AI acting in the physical world is harder. Critics argue that proofs cover only simplified models, and that the world, people and biology cannot be modelled precisely enough. Supporters reply that models need only be sound over-approximations (they may be too cautious, never too permissive), that runtime monitoring can catch model errors, and that the target is narrow domains such as infrastructure and cybersecurity, not full alignment. The 2025 Shallow Review estimates 10 to 100 full-time researchers on this agenda.
Key results
- Guaranteed-safe AI was defined as a family of approaches built on a world model, a safety specification and a verifier that issues auditable proof certificates. David "davidad" Dalrymple, Joar Skalse, Yoshua Bengio, Stuart Russell, Max Tegmark et al., 2024
- Off-the-shelf language models produced formally verified code for 82% of Dafny, 44% of Verus/Rust and 27% of Lean specifications in a 12,504-problem benchmark. Sergiu Bursuc, Theodore Ehrenborg, Shaowei Lin et al. (13 authors, incl. Max Tegmark), 2025
- A plan of 12 projects for AI-assisted tools to specify, synthesise and verify code estimated that a bare-minimum prototype of each tool would take about 21 work-years and cost just over $6 million. Shaowei Lin, Evan Miyazono, Daniel Windham, 2025
- Proposers argued that systems carrying proofs of human-specified requirements are the only path to controllable AGI, and listed challenge problems. Max Tegmark, Steve Omohundro, 2023
Open problems
- Build world models of physical and social systems that are sound enough for proofs about them to mean something. source
- Write safety specifications that capture what matters without being so narrow they miss the real risk. source
- Tie a proof to the specific hardware and software actually deployed. source
- Raise AI success at writing verified code in expressive proof languages such as Lean, now well below Dafny. source
See all open problems in this group
Criticisms
- Proofs cover symbol systems, not the world; the main physical and social threats are far too complex to model, so near-term guarantees for deployed AI will be weak. Andrew Dickson
- Supporters concede it is not a panacea or a solution to ambitious alignment, and argue only that it deserves serious investment for containing systems in narrow domains. Nora Ammann
Who works on it
- Advanced Research and Invention Agency (ARIA): Runs the £59m Safeguarded AI programme, now focused on a broader verification toolkit and cybersecurity uses. Safeguarded AI programme page (2026)
- Beneficial AI Foundation: Nine of the 13 authors of a vericoding benchmark, which its authors call the largest, are affiliated with it. A benchmark for vericoding: formally verified program synthesis (2025)
- Massachusetts Institute of Technology (Max Tegmark's group): Co-authored the provably-safe-systems agenda and the vericoding benchmark. Provably safe systems: the only path to controllable AGI (2023)
- Atlas Computing: Published a roadmap of AI-assisted formal verification tools for critical software. A Toolchain for AI-Assisted Code Specification, Synthesis and Verification (2025)
- Topos Institute: Its researcher Shaowei Lin co-authored the Atlas toolchain roadmap. A Toolchain for AI-Assisted Code Specification, Synthesis and Verification (2025)
Status
Funded at scale. ARIA now frames the programme as using fleets of AI agents to model and verify critical cyber and cyber-physical systems. In late 2025 and early 2026 it pivoted toward a broader verification toolkit and cybersecurity uses, citing faster-than-expected frontier AI progress.
Start reading
- Towards Guaranteed Safe AI, David "davidad" Dalrymple et al. (2024). The defining framework paper.
- Limitations on Formal Verification for AI Safety, Andrew Dickson (2024). A detailed critique built on concrete examples.
- In response to critiques of Guaranteed Safe AI, Nora Ammann (2025). The supporters' reply, and a clear statement of the approach's narrower aims.
- ARIA Safeguarded AI programme, ARIA (2026). Current scope, funding and the 2025-2026 changes of direction.
- A benchmark for vericoding, Sergiu Bursuc et al. (2025). A large benchmark of how well AI writes provably correct code; its authors call it the largest of its kind.
Related approaches
- Constrained reinforcement learning and shielding shielding gives runtime safety guarantees
- Safety cases proofs as evidence in safety cases
- Hardening society's defences verified software for cyber defence
- Defence acceleration (d/acc) defensive technology first
- Agreement verification technology verification of international agreements
In their own words
In this paper, we will introduce and define a family of approaches to AI safety, which we will refer to as guaranteed safe (GS) AI. The core feature of these approaches is that they aim to produce AI systems which are equipped with high-assurance quantitative safety guarantees.
David "davidad" Dalrymple, Joar Skalse, Yoshua Bengio, Stuart Russell, Max Tegmark, Sanjit Seshia, Steve Omohundro, Christian Szegedy, Ben Goldhaber, Nora Ammann, Alessandro Abate, Joe Halpern, Clark Barrett, Ding Zhao, Tan Zhi-Xuan, Jeannette Wing, Joshua Tenenbaum, Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systems, 2024
This is achieved by the interplay of three core components: a world model (which provides a mathematical description of how the AI system affects the outside world), a safety specification (which is a mathematical description of what effects are acceptable), and a verifier (which provides an auditable proof certificate that the AI satisfies the safety specification relative to the world model).
David "davidad" Dalrymple, Joar Skalse, Yoshua Bengio, Stuart Russell, Max Tegmark et al., Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systems, 2024
Suggest a correction Something wrong, out of date or missing, such as an organisation? Opens a GitHub issue (free account needed).