# From Formal Methods to Fuzzing and Back

DevFeed: [From Formal Methods to Fuzzing and Back](<https://devfeed.tech/articles/from-formal-methods-to-fuzzing-and-back-127266.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.12338>)

Author: Alastair F. Donaldson

Published: 2026-11-10T05:00:00Z

Content type: opinion

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Formal methods](<https://devfeed.tech/topics/formal-methods.md>), [Fuzzing/Fuzz testing](<https://devfeed.tech/topics/fuzzing.md>), [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [fuzzing](<https://devfeed.tech/tags/fuzzing.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [keystone](<https://devfeed.tech/tags/keystone.md>), [scale](<https://devfeed.tech/tags/scale.md>), [software](<https://devfeed.tech/tags/software.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

The author's experience suggests fuzzing can find real bugs in very large systems where formal methods have been difficult to scale, while formal methods remain useful for targeted work. The account traces this shift through GPUVerify, which verifies GPU kernels, and GraphicsFuzz, which uses randomized testing on GPU compilers. It presents the oracle problem as a link between the approaches, describes work at their boundary, and considers whether generative AI could help formal methods scale. The author plans to explore that question through the Keystone project; the abstract states this as an aim, not a demonstrated result.

## Source excerpt

arXiv:2611.12338v1 Announce Type: new Abstract: For the first twelve years of my career in computer science I mainly worked on formal methods. I had been drawn to the field as an undergraduate by its promise of a way to build software with strong, mathematically based correctness guarantees. But after many years of struggling to make formal methods scale, I was seduced by randomised testing---also known as fuzzing. Fuzzing is much less principled than formal methods, but it just works: it can be readily applied to very large systems, and it is extremely effective at finding real bugs that developers care about and fix. In this personal account I trace my path from formal methods to fuzzing, by way of the GPUVerify project on verifying GPU kernels and the GraphicsFuzz project on randomised testing of GPU compilers. I argue that the oracle problem provides an intellectual link between fuzzing and formal methods, describe my continuing, targeted uses of formal methods in the domain of GPU programming language design, and discuss work at the boundary between formal methods and fuzzing. Finally, I reflect on whether generative AI might be the missing ingredient that allows formal methods to scale, and set out my plans for large-scale formal methods via the Keystone project, through which my collaborators and I aim to find out how much of that promise can be realised in practice.