| 1 | # The Rocq Prover |
| 2 | |
| 3 | [![GitLab CI][gitlab-badge]][gitlab-link] |
| 4 | [![GitHub CI][gh-badge]][gh-link] |
| 5 | [![Zulip][zulip-badge]][zulip-link] |
| 6 | [![Discourse][discourse-badge]][discourse-link] |
| 7 | [![DOI][doi-badge]][doi-link] |
| 8 | |
| 9 | [gitlab-badge]: https://gitlab.inria.fr/coq/coq/badges/master/pipeline.svg |
| 10 | [gitlab-link]: https://gitlab.inria.fr/coq/coq/commits/master |
| 11 | |
| 12 | [gh-badge]: https://github.com/rocq-prover/rocq/actions/workflows/ci-github.yml/badge.svg |
| 13 | [gh-link]: https://github.com/rocq-prover/rocq/actions/workflows/ci-github.yml |
| 14 | |
| 15 | [discourse-badge]: https://img.shields.io/badge/Discourse-forum-informational.svg |
| 16 | [discourse-link]: https://discourse.rocq-prover.org/ |
| 17 | |
| 18 | [zulip-badge]: https://img.shields.io/badge/Zulip-chat-informational.svg |
| 19 | [zulip-link]: https://rocq-prover.zulipchat.com/ |
| 20 | |
| 21 | [doi-badge]: https://zenodo.org/badge/DOI/10.5281/zenodo.15149628.svg |
| 22 | [doi-link]: https://doi.org/10.5281/zenodo.15149628 |
| 23 | |
| 24 | The Rocq Prover is an interactive theorem prover, or proof assistant. It provides a formal language to write |
| 25 | mathematical definitions, executable algorithms and theorems together with an |
| 26 | environment for semi-interactive development of machine-checked proofs. |
| 27 | |
| 28 | ## Installation |
| 29 | |
| 30 | [![latest packaged version(s)][repology-badge]][repology-link] |
| 31 | |
| 32 | [![Docker Hub package][dockerhub-badge]][dockerhub-link] |
| 33 | [![latest dockerized version][docker-rocq-badge]][docker-rocq-link] |
| 34 | |
| 35 | [repology-badge]: https://repology.org/badge/latest-versions/coq.svg |
| 36 | [repology-link]: https://repology.org/metapackage/coq/versions |
| 37 | |
| 38 | [dockerhub-badge]: https://img.shields.io/badge/images%20on-Docker%20Hub-blue.svg |
| 39 | [dockerhub-link]: https://hub.docker.com/r/rocq/rocq-prover#supported-tags "Supported tags on Docker Hub" |
| 40 | |
| 41 | [docker-rocq-badge]: https://img.shields.io/docker/v/rocq/rocq-prover/latest |
| 42 | [docker-rocq-link]: https://github.com/rocq-community/docker-coq/wiki#docker-coq-images "rocq/rocq-prover:latest" |
| 43 | |
| 44 | Please see https://rocq-prover.org/install. |
| 45 | Information on how to build and install from sources can be found in |
| 46 | [`INSTALL.md`](INSTALL.md). |
| 47 | |
| 48 | ## Documentation |
| 49 | |
| 50 | The sources of the documentation can be found in directory [`doc`](doc). |
| 51 | See [`doc/README.md`](/doc/README.md) to learn more about the documentation, |
| 52 | in particular how to build it. The |
| 53 | documentation of the last released version is available on the Rocq |
| 54 | web site at [rocq-prover.org/docs](https://rocq-prover.org/docs). |
| 55 | See also [the Rocq wiki](https://github.com/rocq-prover/rocq/wiki), |
| 56 | and the [Rocq FAQ](https://github.com/rocq-prover/rocq/wiki/The-Rocq-FAQ), |
| 57 | for additional user-contributed documentation. |
| 58 | |
| 59 | The documentation of the master branch is continuously deployed. See: |
| 60 | - [Reference Manual (master)][refman-master] |
| 61 | - [Documentation of the standard library (master)][stdlib-master] |
| 62 | - [Documentation of the ML API (master)][api-master] |
| 63 | |
| 64 | [api-master]: https://rocq-prover.org/doc/master/api/ |
| 65 | [refman-master]: https://rocq-prover.org/doc/master/refman/ |
| 66 | [stdlib-master]: https://rocq-prover.org/doc/master/stdlib/ |
| 67 | |
| 68 | ## Changes |
| 69 | |
| 70 | The [Recent |
| 71 | changes](https://rocq-prover.org/doc/master/refman/changes.html) chapter |
| 72 | of the reference manual explains the differences and the |
| 73 | incompatibilities of each new version of the Rocq Prover. If you upgrade Rocq, |
| 74 | please read it carefully as it contains important advice on how to |
| 75 | approach some problems you may encounter. |
| 76 | |
| 77 | ## Questions and discussion |
| 78 | |
| 79 | We have a number of channels to reach the user community and the |
| 80 | development team: |
| 81 | |
| 82 | - Our [Zulip chat][zulip-link], for casual and high traffic discussions. |
| 83 | - Our [Discourse forum][discourse-link], for more structured and easily browsable discussions and Q&A. |
| 84 | |
| 85 | See also [rocq-prover.org/community](https://rocq-prover.org/community), which |
| 86 | lists several other active platforms. |
| 87 | |
| 88 | ## Bug reports |
| 89 | |
| 90 | Please report any bug / feature request in [our issue tracker](https://github.com/rocq-prover/rocq/issues). |
| 91 | |
| 92 | To be effective, bug reports should mention the OCaml version used |
| 93 | to compile and run Rocq, the Rocq version (`coqtop -v` or `rocq -v`), the configuration |
| 94 | used, and include a complete source example leading to the bug. |
| 95 | |
| 96 | ## Contributing to Rocq |
| 97 | |
| 98 | Guidelines for contributing to Rocq in various ways are listed in the [contributor's guide](CONTRIBUTING.md). |
| 99 | |
| 100 | Information about release plans is at https://github.com/rocq-prover/rocq/wiki/Release-Plan |
| 101 | |
| 102 | ## Supporting Rocq |
| 103 | |
| 104 | Help the Rocq community grow and prosper by becoming a sponsor! The [Rocq |
| 105 | Consortium](https://rocq-prover.org/consortium) can establish sponsorship contracts |
| 106 | or receive donations. If you want to take an active role in shaping Rocq's |
| 107 | future, you can also become a Consortium member. If you are interested, please |
| 108 | get in touch! |