Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imdea-software/fcsl-pcm

Partial Commutative Monoids
https://github.com/imdea-software/fcsl-pcm

concurrency coq coq-library partial-commutative-monoid separation-logic

Last synced: 29 days ago
JSON representation

Partial Commutative Monoids

Awesome Lists containing this project

README

        

# The PCM library

[![Docker CI][docker-action-shield]][docker-action-link]

[docker-action-shield]: https://github.com/imdea-software/fcsl-pcm/actions/workflows/docker-action.yml/badge.svg?branch=master
[docker-action-link]: https://github.com/imdea-software/fcsl-pcm/actions/workflows/docker-action.yml

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.

## Meta

- Author(s):
- Aleksandar Nanevski (initial)
- Anton Trunov
- Alexander Gryzlov
- License: [Apache-2.0](LICENSE)
- Compatible Coq versions: Coq 8.19 to 8.20
- Additional dependencies:
- [MathComp ssreflect 2.2](https://math-comp.github.io)
- [MathComp algebra](https://math-comp.github.io)
- Coq namespace: `pcm`
- Related publication(s): none

## Building and installation instructions

The easiest way to install the latest released version of The PCM library
is via [OPAM](https://opam.ocaml.org/doc/Install.html):

```shell
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-fcsl-pcm
```

To instead build and install manually, do:

``` shell
git clone https://github.com/imdea-software/fcsl-pcm.git
cd fcsl-pcm
make # or make -j
make install
```

## Getting help

If you need assistance or would like to report a bug, drop us an email:
or open an [issue](https://github.com/imdea-software/fcsl-pcm/issues).

## History and context

More information can be obtained via the [FCSL web page](https://software.imdea.org/fcsl/).

An earlier version of this library was developed as a part of [Hoare type
theory](https://github.com/imdea-software/htt), which is now rebased on FCSL-PCM. The original
version of HTT can be found [here](https://software.imdea.org/~aleks/htt/).