AI Safety Compendium

Theory: the maths of agents and goals

Aligned modelsAlso: Evaluating

Guaranteed-safe AI and formal verification

Build systems with mathematical proofs of safe behaviour, not just tests.

Open in the compendium

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

Open problems

See all open problems in this group

Criticisms

Who works on it

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

Related approaches

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).