|
1 | 1 | [![GitHub CI][gh-badge]][gh-link] |
2 | 2 |
|
3 | | -[gh-badge]: https://github.com/uds-psl/coq-library-undecidability/actions/workflows/build.yml/badge.svg?branch=master |
| 3 | +[gh-badge]: https://github.com/uds-psl/coq-library-undecidability/actions/workflows/build.yml/badge.svg?branch=rocq-9.0 |
4 | 4 | [gh-link]: https://github.com/uds-psl/coq-library-undecidability/actions/workflows/build.yml |
5 | 5 |
|
6 | | -# Manual installation for Rocq |
7 | | - |
8 | | -``` |
9 | | -opam switch create coq-library-undecidability --packages=ocaml-variants.4.14.1+options,ocaml-option-flambda |
10 | | -eval $(opam env) |
11 | | -opam pin add -k git rocq-runtime.dev "https://github.com/coq/coq.git#master" |
12 | | -opam pin add -k git rocq-core.dev "https://github.com/coq/coq.git#master" |
13 | | -opam pin add -k git rocq-stdlib.dev "https://github.com/coq/stdlib.git#master" |
14 | | -opam pin add -k git rocq-prover.dev "https://github.com/coq/coq.git#master" |
15 | | -``` |
16 | | - |
17 | 6 | # Coq Library of Undecidability Proofs |
18 | 7 |
|
19 | 8 | [](https://github.com/uds-psl/coq-library-undecidability/actions) |
@@ -116,17 +105,40 @@ An equivalence proof that most of the mentioned models of computation compute th |
116 | 105 | - Halting problem for the call-by-value lambda-calculus (`HaltL` in [`L/L.v`](theories/L/L.v)) |
117 | 106 | - Validity, provability, and satisfiability in First-Order Logic (all problems in [`FOL/FOL.v`](theories/FOL/FOL.v)) |
118 | 107 |
|
| 108 | + |
119 | 109 | ## Manual Installation Instructions |
120 | 110 |
|
121 | | -You need the `master` branch of `Coq` built on OCAML `>= 4.09.1`, and the Template-Coq (part of [MetaCoq](https://metacoq.github.io/)) package for Coq. If you are using opam 2 you can use the following commands to install the dependencies on a new switch: |
| 111 | +If you can use `opam 2` on your system, you can follow the instructions here. |
| 112 | + |
| 113 | +### Install from git via opam |
| 114 | + |
| 115 | +You can use `opam` to install the current state of this branch as follows. |
| 116 | + |
| 117 | +We recommend creating a fresh opam switch: |
| 118 | + |
| 119 | +``` |
| 120 | +opam switch create coq-library-undecidability --packages=ocaml-variants.4.14.1+options,ocaml-option-flambda |
| 121 | +eval $(opam env) |
| 122 | +``` |
| 123 | + |
| 124 | +Then the following commands install the library: |
| 125 | + |
| 126 | +``` |
| 127 | +opam repo add coq-released https://coq.inria.fr/opam/released |
| 128 | +opam update |
| 129 | +opam pin add coq-library-undecidability.dev+9.0 "https://github.com/uds-psl/coq-library-undecidability.git#rocq-9.0" |
| 130 | +``` |
| 131 | + |
| 132 | +### Manual installation |
| 133 | + |
| 134 | +You need `Rocq 9.0` built on OCAML `>= 4.09.1` (but we recommend and test OCaml version `4.14.1+flambda`) and the Template-Coq part of the [MetaCoq](https://metacoq.github.io/) package for Coq. If you are using `opam 2` you can use the following commands to install the dependencies on a new switch: |
122 | 135 |
|
123 | 136 | ``` |
124 | 137 | opam switch create coq-library-undecidability --packages=ocaml-variants.4.14.1+options,ocaml-option-flambda |
125 | 138 | eval $(opam env) |
126 | | -opam pin add -k git rocq-runtime.dev "https://github.com/coq/coq.git#master" |
127 | | -opam pin add -k git rocq-core.dev "https://github.com/coq/coq.git#master" |
128 | | -opam pin add -k git rocq-stdlib.dev "https://github.com/coq/stdlib.git#master" |
129 | | -opam pin add -k git rocq.dev "https://github.com/coq/coq.git#master" |
| 139 | +opam repo add rocq-released https://rocq-prover.org/opam/released |
| 140 | +opam update |
| 141 | +opam install . --deps-only |
130 | 142 | ``` |
131 | 143 |
|
132 | 144 | #### Building the undecidability library |
|
0 commit comments