Peter O'Hearn

University College London · Meta (United States)
6 previous affiliations
    • Professor of Computer Science · Since 2012
    • Full Professor · 2013–2026
    • Researcher · 2024–2026
    • Engineer/ Researcher · 2013–2021
  • Lacework2021–2024
    • Engineer / Researcher · 2021–2024
  • Monoidics Ltd2009–2013
    • Co-founder, · 2009–2013
    • PhD+MSc, Computer Science · 1985–1991
    • BSc, Computer Science · 1981–1985
104Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Peter O'Hearn focuses on formal methods, programming language semantics, and static program analysis. His foundational work established separation logic and incorrectness logic to reason about memory, concurrency, and software bugs at industrial scale. Recently, his research explores the intersection of large language models and formal constraint solvers to enhance automated reasoning.

Research Trajectory

The trajectory begins in the mid-1990s with foundational investigations into programming language semantics. Early work explored the mathematical properties of state and scope, as seen in Parametricity and Local Variables. This theoretical grounding led to the development of The logic of bunched implications in 1999, which introduced a novel framework (BI) where multiplicative (linear) and additive (intuitionistic) implications coexist side-by-side. By analyzing the proof-theoretic relationship between conjunction and implication, this work established a categorical model that freely combined the semantics of propositional intuitionistic logic and multiplicative intuitionistic linear logic.

Building on these logical foundations, the focus shifted toward reasoning about mutable state and data structures. In 2001, Local Reasoning about Programs that Alter Data Structures laid the groundwork for separation logic, a resource-oriented logic designed to simplify the verification of programs with pointers and shared memory. This paradigm was extended to concurrent execution in Resources, Concurrency and Local Reasoning, demonstrating how separation logic could effectively model and verify resource usage across parallel threads. Subsequent collaborative efforts applied these principles to automated verification, including participation in the development of Compositional shape analysis by means of bi-abduction, which enabled scalable, compositional analysis of complex memory states.

During the 2010s, the research transitioned from theoretical logic to the practical deployment of formal methods at industrial scale. This era is characterized by the integration of static analysis into continuous software engineering environments. Experience Developing and Deploying Concurrency Analysis at Facebook details the creation of RacerD, a production-grade static analyzer for detecting data races. The paper highlights the tension between theoretical principles and the engineering compromises necessary to deploy advanced static analysis in a rapidly changing codebase. This philosophy of integrating verification directly into the developer workflow was further articulated in Continuous Reasoning: Scaling the impact of formal methods and Scaling static analyses at Facebook. In 2019, a comprehensive retrospective on the evolution and impact of these techniques was published in Separation logic.

In 2020, a major paradigm shift occurred with the introduction of Incorrectness logic. While separation logic and traditional Hoare logic focus on over-approximate reasoning to prove the absence of bugs, incorrectness logic provides an under-approximate foundation designed specifically to prove the presence of bugs, ensuring no false positives. This theoretical breakthrough was rapidly operationalized to detect software defects in massive codebases, as detailed in Finding real bugs in big programs with incorrectness logic.

The incorrectness logic framework was subsequently expanded to handle parallel execution in Concurrent incorrectness separation logic. This line of inquiry culminated in A General Approach to Under-Approximate Reasoning About Concurrent Programs, which introduced Concurrent Adversarial Separation Logic (CASL). CASL advanced the area of deterministic execution and verification of concurrent systems by detecting complex, data-dependent concurrency bugs and software exploits. The application of under-approximate reasoning was also extended to liveness properties, demonstrated by the development of techniques for Non-termination Proving at Scale.

Current Directions

The most recent papers in the evidence address the intersection of artificial intelligence and formal verification. Recent work investigates methods for decoupling linguistic interpretation from symbolic reasoning, as well as stepwise verification for robust multi-step reasoning. Specifically, Logic.py: Bridging the Gap between LLMs and Constraint Solvers explores the use of human-readable domain-specific languages to connect large language models with formal constraint solvers. By offloading complex logical deductions to specialized solvers, this approach significantly improves the accuracy of language models on intricate reasoning tasks, pointing toward a hybrid future for automated verification and AI.

Profile updated

See something wrong? Report a mistake