Peter O'Hearn
Also known as Peter W O'Hearn, Peter William O'Hearn
Peter O'Hearn is a computer scientist whose logics for reasoning about programs became industrial bug-finding tools, and who now works on language models and code reasoning at Meta. He earned a PhD at Queen's University in 1991, held posts at Syracuse University and Queen Mary University of London, and developed bunched logic with David Pym. He co-founded Monoidics in 2009, and after Facebook acquired the startup in 2013, he and colleagues open-sourced the Infer static analyzer in 2015. He shared the 2016 Gödel Prize with Stephen Brookes for Concurrent Separation Logic, became a Fellow of the Royal Society in 2018 and an ACM Fellow in 2024. After leading Code Security development at Lacework from 2021 to 2024, he returned to Meta's AI team in 2024; he is a researcher at Meta Superintelligence Labs and a professor at University College London.
Timeline
-
1985–1999
Degrees, Syracuse and Queen Mary
He earns a BSc in computer science from Dalhousie University in 1985, then an MSc in 1987 and a PhD in 1991 at Queen's University in Kingston, Ontario, with Robert D. Tennent as his doctoral advisor. From 1990 to 1995, he is an assistant professor at Syracuse University, and from 1996 to 1999 he is a reader in computer science at Queen Mary University of London.
-
2001–2012
Bunched logic and a UCL chair
In 2001, he and Samin Ishtiaq present BI as an Assertion Language for Mutable Data Structures at POPL, linking the bunched logic he developed with David Pym in the 1990s to the problem of programs misusing memory. POPL gives the paper its Most Influential Paper award in 2011. In 2012, he receives the Royal Academy of Engineering/Microsoft Research Chair at University College London.
-
2009–2015
Monoidics and Facebook Infer
He co-founds the software company Monoidics in 2009, which develops the Infer static analyzer, and he takes a position at Facebook in 2013 when Facebook acquires it. In June 2015, he, Dino Distefano and Cristiano Calcagno open-source Facebook Infer, a static program analyzer that finds bugs such as null pointer access and resource and memory leaks in mobile code before it ships.
-
2016–2018
Gödel Prize and Royal Society
In 2016, he and Stephen Brookes receive the Gödel Prize for their invention of Concurrent Separation Logic, and he is elected a Fellow of the Royal Academy of Engineering. In 2018, he is elected a Fellow of the Royal Society.
-
2021–2024
Code security at Lacework
After Facebook, where he works from 2013 to 2021, he moves to the cybersecurity company Lacework and leads development of its Code Security product until 2024.
-
2024
An ACM Fellow
ACM names him a Fellow in its 2024 class for contributions to the science and engineering of reasoning about programs.
-
2024–2026
LLM reasoning work at Meta
He returns to Meta in 2024 to join its AI team. In February 2025, he coauthors Logic.py with Pascal Kesseli and Ricardo Silveira Cabral: a language model formalises each logic puzzle in a domain-specific language and a constraint solver solves it, a 65% absolute improvement over Llama 3.1 70B alone, to over 90% accuracy on ZebraLogicBench. With Mark Harman and Shubho Sengupta, he gives the FSE 2025 keynote on LLM-based software testing, and in January 2026 he coauthors a study in which GPT-5 and Claude Sonnet 4.5 score comparably to top-ranked verification tools on program termination, with test-time scaling.
-
As of October 2026
Meta Superintelligence Labs and UCL
He is a researcher at Meta Superintelligence Labs and a professor at University College London, with interests in reasoning for code and for other-than-code. He is a member of the Royal Society's Sectional Committee for computer sciences from September 2025 to September 2028.
Career
- Since 2012University College LondonProfessor
- NowMeta Superintelligence LabsResearcher
- 2021–2024LaceworkCode Security development lead
- 2013–2021Meta
- 2009–2013MonoidicsCo-founder
- 2002–2009University of London
- 1996–1999Queen Mary University of LondonReader in Computer Science
- 1990–1995Syracuse UniversityAssistant Professor
Education
- 1991Queen's UniversityPhD
- 1987Queen's UniversityMSc
- 1985Dalhousie UniversityBSc in computer science
Most-cited works
Sources and credits
Photo: We have no published photo of Peter O'Hearn yet. Send us a free-licensed photo.
- Peter O'Hearn - Wikipedia
- Computer Science professor wins prestigious award - Queen Mary University of London
- Introducing Dal's honorary degree recipients for Spring Convocation 2018 - Dalhousie University
- Professor Peter O'Hearn FREng FRS - Royal Society
- Open-sourcing Facebook Infer: Identify bugs before you ship - Engineering at Meta
- 2016 Gödel Prize - EATCS
- Keynote: Underapproximate Reasoning at Scale - Science of Security Virtual Organization
- Logic.py: Bridging the Gap between LLMs and Constraint Solvers - arXiv
- Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challenges - arXiv
- LLMs versus the Halting Problem: Characterizing Program Termination Reasoning - arXiv
- Peter O'Hearn - UCL Computer Science


