Iris in Lean

📅 2026-09-21
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
该研究使用Lean的灵活元编程和商类型简化了Iris框架的设计与使用,提高了性能,并通过集成Mathlib库增强了数学依赖任务的处理能力。
📝 Abstract
The Iris framework for concurrent separation logic has been widely used for program verification research. An important factor contributing to the framework's adoption is its high-quality mechanization in Rocq. This mechanization uses a number of Rocq features in sophisticated ways, including a carefully constructed algebraic hierarchy for modeling separation logic resources, and a proof mode for embedded separation logic proofs, which combines custom Ltac with extensible typeclasses. The library has been developed for over a decade with dozens of contributors, with an emphasis on modularity and maintainability. We explore how Lean features like flexible metaprogramming and quotient types can simplify the design and usage of Iris. Using these features, we provide a novel implementation of the Iris proof mode with improved performance, simplify the handling of equivalences through quotient types, build a variant of Diaframe proof automation, and provide convenience features like automatic construction of Iris fixed points. Building on Lean lets us integrate with the extensive Mathlib library, allowing us to re-use results from this library for program verification tasks that have heavy mathematical dependencies, as we demonstrate with an application to probabilistic program verification.
Problem

Research questions and friction points this paper is trying to address.

concurrent separation logic
program verification
metaprogramming
quotient types
Innovation

Methods, ideas, or system contributions that make the work stand out.

flexible metaprogramming
quotient types
proof mode
Diaframe proof automation
Mathlib integration
🔎 Similar Papers
M
Markus de Medeiros
New York University
Sergei Stepanenko
Sergei Stepanenko
Aarhus University
Zongyuan Liu
Zongyuan Liu
Aarhus University
O
Oliver Soeser
ETH Zurich
F
Fernando Leal
ENS Paris-Saclay
A
Alvin Tang
Institute of Science and Technology Austria (ISTA)
M
Max Vistrup
ETH Zurich
Ralf Jung
Ralf Jung
ETH Zurich
M
Mario Carneiro
Chalmers
J
Joseph Tassarotti
New York University
Michael Sammler
Michael Sammler
Institute of Science and Technology Austria (ISTA)
Lars Birkedal
Lars Birkedal
Dept. of Computer Science, Aarhus University
Computer ScienceProgrammingLogicSemantics