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.
It is based on the Coq proof assistant, SSReflect proof language, and Mathcomp library.
The PCM library can be installed via OPAM package manager:
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-fcsl-pcm
If you need assistance or would like to report a bug, drop us an email: [email protected] or open an issue.
More information can be obtained via the FCSL web page. An earlier version of this library was developed as part of Hoare type theory.