| 1 |
(lang dune 3.8) |
| 2 |
(name rocq-prover) |
| 3 |
|
| 4 |
; We use directory targets in documentation |
| 5 |
(using directory-targets 0.1) |
| 6 |
|
| 7 |
; We need this for when we use the dune.disabled files instead of our rule_gen |
| 8 |
(using coq 0.8) |
| 9 |
|
| 10 |
(formatting |
| 11 |
(enabled_for ocaml)) |
| 12 |
|
| 13 |
(generate_opam_files true) |
| 14 |
|
| 15 |
(license LGPL-2.1-only) |
| 16 |
(maintainers "The Rocq development team <[email protected]>") |
| 17 |
(authors "The Rocq development team, INRIA, CNRS, and contributors") |
| 18 |
; This generates bug-reports and dev-repo |
| 19 |
(source (github rocq-prover/rocq)) |
| 20 |
(homepage https://rocq-prover.org/) |
| 21 |
(documentation "https://rocq-prover.org/docs/") |
| 22 |
(version dev) |
| 23 |
|
| 24 |
; Note that we use rocq-runtime.opam.template to have dune add the correct opam |
| 25 |
; prefix for configure |
| 26 |
(package |
| 27 |
(name rocq-runtime) |
| 28 |
(depends |
| 29 |
(ocaml (>= 4.14.0)) |
| 30 |
(ocamlfind (and (>= 1.9.1) (or (>= 1.9.8) (<> :os-family "windows")))) |
| 31 |
(zarith (>= 1.11)) |
| 32 |
(conf-linux-libc-dev (= :os "linux"))) |
| 33 |
(conflicts |
| 34 |
(coq (< 8.17)) |
| 35 |
(coq-core (< 8.21))) |
| 36 |
(depopts rocq-native memprof-limits memtrace) |
| 37 |
(synopsis "The Rocq Prover -- Core Binaries and Tools") |
| 38 |
(description "The Rocq Prover is an interactive theorem prover, or proof assistant. It provides |
| 39 |
a formal language to write mathematical definitions, executable |
| 40 |
algorithms and theorems together with an environment for |
| 41 |
semi-interactive development of machine-checked proofs. |
| 42 |
|
| 43 |
Typical applications include the certification of properties of |
| 44 |
programming languages (e.g. the CompCert compiler certification |
| 45 |
project, or the Bedrock verified low-level programming library), the |
| 46 |
formalization of mathematics (e.g. the full formalization of the |
| 47 |
Feit-Thompson theorem or homotopy type theory) and teaching. |
| 48 |
|
| 49 |
This package includes the Rocq Prover core binaries, plugins, and tools, but |
| 50 |
not the vernacular standard library. |
| 51 |
|
| 52 |
Note that in this setup, Rocq needs to be started with the -boot and |
| 53 |
-noinit options, as will otherwise fail to find the regular Rocq |
| 54 |
prelude, now living in the rocq-core package.")) |
| 55 |
|
| 56 |
(package |
| 57 |
(name rocq-devtools) |
| 58 |
(depends |
| 59 |
(rocq-runtime (= :version)) |
| 60 |
(yojson (>= 2.0)) |
| 61 |
camlzip) |
| 62 |
(synopsis "Development tools for Rocq") |
| 63 |
(description "The Rocq Prover is an interactive theorem prover, or proof assistant. It provides |
| 64 |
a formal language to write mathematical definitions, executable |
| 65 |
algorithms and theorems together with an environment for |
| 66 |
semi-interactive development of machine-checked proofs. |
| 67 |
|
| 68 |
Typical applications include the certification of properties of |
| 69 |
programming languages (e.g. the CompCert compiler certification |
| 70 |
project, or the Bedrock verified low-level programming library), the |
| 71 |
formalization of mathematics (e.g. the full formalization of the |
| 72 |
Feit-Thompson theorem or homotopy type theory) and teaching. |
| 73 |
|
| 74 |
This package includes tools to help when developing Rocq projects |
| 75 |
(timelog2html).")) |
| 76 |
|
| 77 |
(package |
| 78 |
(name coq-core) |
| 79 |
(depends |
| 80 |
(rocq-runtime (= :version))) |
| 81 |
(synopsis "Compatibility binaries for Coq after the Rocq renaming") |
| 82 |
(description "The Rocq Prover is an interactive theorem prover, or proof assistant. It provides |
| 83 |
a formal language to write mathematical definitions, executable |
| 84 |
algorithms and theorems together with an environment for |
| 85 |
semi-interactive development of machine-checked proofs. |
| 86 |
|
| 87 |
Typical applications include the certification of properties of |
| 88 |
programming languages (e.g. the CompCert compiler certification |
| 89 |
project, or the Bedrock verified low-level programming library), the |
| 90 |
formalization of mathematics (e.g. the full formalization of the |
| 91 |
Feit-Thompson theorem or homotopy type theory) and teaching. |
| 92 |
|
| 93 |
This package includes compatibility binaries to call Rocq |
| 94 |
through previous Coq commands like coqc coqtop,...")) |
| 95 |
|
| 96 |
(package |
| 97 |
(name rocq-core) |
| 98 |
(depends |
| 99 |
(rocq-runtime (= :version))) |
| 100 |
(synopsis "The Rocq Prover with its prelude") |
| 101 |
(description "The Rocq Prover is an interactive theorem prover, or proof assistant. It provides |
| 102 |
a formal language to write mathematical definitions, executable |
| 103 |
algorithms and theorems together with an environment for |
| 104 |
semi-interactive development of machine-checked proofs. |
| 105 |
|
| 106 |
Typical applications include the certification of properties of |
| 107 |
programming languages (e.g. the CompCert compiler certification |
| 108 |
project, or the Bedrock verified low-level programming library), the |
| 109 |
formalization of mathematics (e.g. the full formalization of the |
| 110 |
Feit-Thompson theorem or homotopy type theory) and teaching. |
| 111 |
|
| 112 |
This package includes the Rocq prelude, that is loaded automatically |
| 113 |
by Rocq in every .v file, as well as other modules bound to the |
| 114 |
Corelib.* and Ltac2.* namespaces.")) |
| 115 |
|
| 116 |
(package |
| 117 |
(name coqide-server) |
| 118 |
(depends |
| 119 |
(rocq-runtime (= :version))) |
| 120 |
(synopsis "The Rocq Prover, XML protocol server") |
| 121 |
(description "The Rocq Prover is an interactive theorem prover, or proof assistant. It provides |
| 122 |
a formal language to write mathematical definitions, executable |
| 123 |
algorithms and theorems together with an environment for |
| 124 |
semi-interactive development of machine-checked proofs. |
| 125 |
|
| 126 |
This package provides the `coqidetop` language server, an |
| 127 |
implementation of Rocq's [XML protocol](https://github.com/rocq-prover/rocq/blob/master/dev/doc/xml-protocol.md) |
| 128 |
which allows clients, such as RocqIDE, to interact with the Rocq Prover in a |
| 129 |
structured way.")) |
| 130 |
|
| 131 |
(package |
| 132 |
(name rocqide) |
| 133 |
(depends |
| 134 |
(ocamlfind :build) |
| 135 |
(conf-findutils :build) |
| 136 |
conf-adwaita-icon-theme |
| 137 |
(coqide-server (= :version)) |
| 138 |
(cairo2 (>= 0.6.4)) |
| 139 |
(lablgtk3-sourceview3 (and (>= 3.1.2) (or (>= 3.1.5) (<> :os-family "windows"))))) |
| 140 |
(synopsis "The Rocq Prover --- GTK3 IDE") |
| 141 |
(description "The Rocq Prover is an interactive theorem prover, or proof assistant. It provides |
| 142 |
a formal language to write mathematical definitions, executable |
| 143 |
algorithms and theorems together with an environment for |
| 144 |
semi-interactive development of machine-checked proofs. |
| 145 |
|
| 146 |
This package provides the RocqIDE, a graphical user interface for the |
| 147 |
development of interactive proofs.")) |
| 148 |
|
| 149 |
(package |
| 150 |
(name rocq-test-suite) |
| 151 |
(depends |
| 152 |
(rocq-core (= :version)) |
| 153 |
coqide-server |
| 154 |
ounit2 |
| 155 |
conf-python-3 |
| 156 |
conf-time) |
| 157 |
(synopsis "The Rocq Prover test suite") |
| 158 |
(description "The Rocq Prover is an interactive theorem prover, or proof assistant. It provides |
| 159 |
a formal language to write mathematical definitions, executable |
| 160 |
algorithms and theorems together with an environment for |
| 161 |
semi-interactive development of machine-checked proofs. |
| 162 |
|
| 163 |
Typical applications include the certification of properties of |
| 164 |
programming languages (e.g. the CompCert compiler certification |
| 165 |
project, or the Bedrock verified low-level programming library), the |
| 166 |
formalization of mathematics (e.g. the full formalization of the |
| 167 |
Feit-Thompson theorem or homotopy type theory) and teaching. |
| 168 |
|
| 169 |
This package runs the test suite.")) |