Provably Safe AI: Causality, Formal Methods and Neurosymbolic Systems
🔒 This course requires registration
To access this course and all our learning materials, please register for the AI Fluency programme.
Register Now →Guarantees are back on the agenda. This course covers what it takes to move an AI system from tested to proved, using causality, formal methods and neurosymbolic architecture.
It runs from Pearl’s ladder and the theorem that robust agents must learn causal world models, through Prolog, Datalog and closed-world checking, to machine-checked proof, constrained decoding and runtime verification, and it is honest about the specification gap that limits all of it.
15 lessons with a graded quiz on every lesson. Free and open to access.
What you will learn
- Place any safety claim on Pearl’s ladder of association, intervention and counterfactuals
- Represent world models as causal structures and event graphs you can check
- Understand ARIA’s Safeguarded AI gatekeeper architecture in detail
- Use logic programming and closed-world checking as a reasoning organ for an LLM
- Assemble the stack from constrained decoding to runtime monitors, and see where it breaks
Course curriculum
15 lessons, each with a graded quiz.
Module 1: Why guarantees returned
The shift from testing to proof, and what changed to make it plausible.
Module 2: Causality as the foundation
Pearl’s ladder, the causal world model theorem, representing world models, and causal verification.
- Pearl’s ladder: association, intervention, counterfactuals
- The theorem: robust agents learn causal world models
- Representing world models: from causal learning to event graphs
- Causal verification: checking what an agent actually did
Module 3: Logic and the neurosymbolic middle
The Safeguarded AI gatekeeper, the Prolog resurgence, Datalog and ontologies at scale, and neurosymbolic momentum.
- The gatekeeper in detail: ARIA’s Safeguarded AI
- The Prolog resurgence: logic as the LLM’s reasoning organ
- Datalog, ontologies and closed-world checking at scale
- Neurosymbolic momentum: the third summer’s middle path
Module 4: Proof, decoding and runtime
Machine-checked proof with Lean and open provers, constrained decoding, and runtime monitors and shields.
- Machine-checked proof: Lean, AlphaProof and open provers
- Constrained decoding: guarantees at the token boundary
- Runtime verification: monitors, shields and verified runtimes
Module 5: The stack and its limits
The assembled stack, the specification gap, and where to start working on it.
- The assembled stack: from grammar to proof
- Limits and objections: the specification gap
- Working the frontier: problems, programmes and a starting kit
Frequently asked questions
What does provably safe mean?
It means a property of the system is established by proof or by an enforcement mechanism, rather than inferred from test results. The course is explicit about which properties can be proved and which cannot.
Is this only theory?
No. It covers deployed and funded work, including ARIA’s Safeguarded AI programme, Lean and open provers, constrained decoding and runtime verification.
What is the specification gap?
A proof only guarantees what was specified. If the specification does not capture what you actually wanted, the proof is sound and the system is still unsafe. Lesson 14 treats this directly.