Score: 0

Reasoning about concurrent loops and recursion with rely-guarantee rules

Published: December 6, 2025 | arXiv ID: 2512.06242v1

By: Ian J. Hayes, Larissa A. Meinicke, Cliff B. Jones

Potential Business Impact:

Helps computers check tricky programs safely.

Business Areas:
Robotics Hardware, Science and Engineering, Software

The objective of this paper is to present general, mechanically verified, refinement rules for reasoning about recursive programs and while loops in the context of concurrency. Unlike many approaches to concurrency, we do not assume that expression evaluation is atomic. We make use of the rely-guarantee approach to concurrency that facilitates reasoning about interference from concurrent threads in a compositional manner. Recursive programs can be defined as fixed points over a lattice of commands and hence we develop laws for reasoning about fixed points. Loops can be defined in terms of fixed points and hence the laws for recursion can be applied to develop laws for loops.

Page Count
21 pages

Category
Computer Science:
Logic in Computer Science