MoSeL: A general, extensible modal framework for interactive proofs in separation logic

Robbert Krebbers, Jacques Henri Jourdan, Ralf Jung, Joseph Tassarotti, Jan Oliver Kaiser, Amin Timany, Arthur Chargueraud, Derek Dreyer

Research output: Contribution to journalArticlepeer-review


A number of tools have been developed for carrying out separation-logic proofs mechanically using an interactive proof assistant. One of the most advanced such tools is the Iris Proof Mode (IPM) for Coq, which offers a rich set of tactics for making separation-logic proofs look and feel like ordinary Coq proofs. However, IPM is tied to a particular separation logic (namely, Iris), thus limiting its applicability. In this paper, we propose MoSeL, a general and extensible Coq framework that brings the benefits of IPM to a much larger class of separation logics. Unlike IPM, MoSeL is applicable to both affine and linear separation logics (and combinations thereof), and provides generic tactics that can be easily extended to account for the bespoke connectives of the logics with which it is instantiated. To demonstrate the effectiveness of MoSeL, we have instantiated it to provide effective tactical support for interactive and semi-automated proofs in six very different separation logics.

Original languageEnglish (US)
Article number3236772
JournalProceedings of the ACM on Programming Languages
Issue numberICFP
StatePublished - Sep 2018


  • Coq Proof Assistant
  • Interactive Theorem Proving
  • Logic Of Bunched Implications
  • Modal Logic
  • Separation Logic

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality

Cite this