Skip to content


Repository files navigation

The PCM library

Docker CI

The PCM library provides a formalisation of Partial Commutative Monoids (PCMs), a common algebraic structure used in separation logic for verification of pointer-manipulating sequential and concurrent programs.

The library provides lemmas for mechanised and automated reasoning about PCMs in the abstract, but also supports concrete common PCM instances, such as heaps, histories, and mutexes.

This library relies on propositional and functional extentionality axioms.


Building and installation instructions

The easiest way to install the latest released version of The PCM library is via OPAM:

opam repo add coq-released
opam install coq-fcsl-pcm

To instead build and install manually, do:

git clone
cd fcsl-pcm
make   # or make -j <number-of-cores-on-your-machine> 
make install

Getting help

If you need assistance or would like to report a bug, drop us an email: or open an issue.

History and context

More information can be obtained via the FCSL web page.

An earlier version of this library was developed as a part of Hoare type theory, which is now rebased on FCSL-PCM. The original version of HTT can be found here.