https://github.com/logsem/modal-weakestpre
A modal weakest precondition theory for the Iris program logic framework
https://github.com/logsem/modal-weakestpre
Last synced: about 1 year ago
JSON representation
A modal weakest precondition theory for the Iris program logic framework
- Host: GitHub
- URL: https://github.com/logsem/modal-weakestpre
- Owner: logsem
- License: bsd-3-clause
- Created: 2020-10-05T07:20:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-04T14:11:58.000Z (about 5 years ago)
- Last Synced: 2025-01-30T03:28:08.093Z (over 1 year ago)
- Language: Coq
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Modal Weakest Precondition
[](https://travis-ci.com/logsem/modal-weakestpre)
A modality-parametric weakest precondition theory for the
[Iris](https://gitlab.mpi-sws.org/iris/iris/) program logic framework in Coq.
## Building the theory
The project can be built locally or by using the provided
[Dockerfile](Dockerfile), see the [Using Docker](/#using-docker) section for
details on the latter.
### Prerequisites
The project is known to compile with:
- Coq 8.13.0
- Versions of [Iris](https://gitlab.mpi-sws.org/iris/iris/) and
[std++](https://gitlab.mpi-sws.org/iris/stdpp) as specified in the
[modal-weakestpre.opam](modal-weakestpre.opam) file
The dependencies can be obtained using opam; see [this
guide](https://opam.ocaml.org/doc/Install.html) for how to install opam. To
obtain the dependencies, you have to add the following repositories to the opam
registry by invoking
opam repo add coq-released https://coq.inria.fr/opam/released
opam repo add iris-dev https://gitlab.mpi-sws.org/iris/opam.git
opam update
Once you got opam set up, run `make build-dep` to install the right versions of
the dependencies.
### Building
Run `make -jN` to build the full development, where `N` is the number of CPU
cores on your machine.
### Installing
Run `make install` to install the development as a local Coq package for use in
your own developments.
### Using Docker
The development can be built using
[Docker](https://docs.docker.com/get-docker/).
Run `make docker-build` to build [Dockerfile](Dockerfile) and the development.
## Documentation
Documentation can be generated using
[coqdoc](https://coq.inria.fr/refman/using/tools/coqdoc.html) by running `make
html`. Afterwards, a [table of contents](html/toc.html) is generated from which
the documentation can be accessed.