Work

Modular verification of liveness properties in higher-order concurrent languages

Year: 2026
Type: dissertation
Abstract: Concurrent software is central to modern computing, powering systems such as operating systems, databases, and distributed applications. Ensuring its correctness is crucial, yet inherently difficult due to unpredictable interactions between concurrently executing threads. Among correctness guarantees, liveness properties—such as termination or non-blocking progress—are particularly challenging. Unlike safety properties, which deal with finite execution prefixes and can be tested for, liveness properties concern potentially infinite behaviors and therefore require a different approach. Formal verification provides a way to establish such guarantees by modeling programs mathematically and reasoning about all their possible executions. However, verifying liveness properties of concurrent programs faces a major challenge of modularity. Ideally, one verifies complex programs by separately verifying their individual components and composing the results. While this is well-developed for safety, achieving similar modularity for liveness is difficult due to complex dependencies between components and their environment, including the scheduler. Capturing these dependencies in reusable specifications has been a non-trivial task. Moreover, the reasoning methods used in verifying safety of higher-order programs are not directly applicable to verifying liveness. This thesis proposes a solution for modular verification of liveness properties in higher-order concurrent languages. The approach combines two key ideas. First, it builds on a refinement-based Trillium framework which enables reasoning about liveness in a higher-order setting. Second, it incorporates the abstractions of obligations (inspired by Sassy) to specify and verify liveness behavior compositionally. Together, these techniques yield the Lawyer program logic that supports modular reasoning about liveness, in a way analogous to established approaches for safety. The entire development is mechanized in the Rocq proof assistant on top of the Iris framework, ensuring a high degree of trust in the results. I use the Lawyer logic for verifying two kinds of properties. First, I establish termination of closed programs under different scheduling assumptions. Second, I show that certain specifications imply wait-freedom of individual operations, even in unknown higher-order contexts. Thus, the thesis established by this work is: Refinement-based program logic, combined with obligations-based reasoning, allows one to modularly verify liveness properties of blocking and non-blocking higher-order concurrent programs.
Institution: Aarhus University
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W7204740084
Cites: 99
Cited by:
Related to: 10