Skip to content

Commit 70dfc56

Browse files
committed
prepare for 8.20 release
1 parent 8451c0c commit 70dfc56

File tree

9 files changed

+41
-33
lines changed

9 files changed

+41
-33
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
coq_version:
15-
- 'dev'
15+
- '8.20'
1616
ocaml_version:
1717
- '4.14-flambda'
1818
fail-fast: true

README.md

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
# Manual installation for Coq
2-
3-
```
4-
opam switch create coq-library-undecidability --packages=ocaml-variants.4.14.1+options,ocaml-option-flambda
5-
eval $(opam env)
6-
opam pin add -k git coq-core.dev "https://github.com/coq/coq.git#master"
7-
opam pin add -k git coq-stdlib.dev "https://github.com/coq/coq.git#master"
8-
opam pin add -k git coqide-server.dev "https://github.com/coq/coq.git#master"
9-
opam pin add -k git coq.dev "https://github.com/coq/coq.git#master"
10-
opam pin add -k git coq-equations.dev "https://github.com/mattam82/Coq-Equations.git#main"
11-
opam pin add -k git coq-metacoq-utils.dev "https://github.com/MetaCoq/metacoq.git#main"
12-
opam pin add -k git coq-metacoq-common.dev "https://github.com/MetaCoq/metacoq.git#main"
13-
opam pin add -k git coq-metacoq-template.dev "https://github.com/MetaCoq/metacoq.git#main"
14-
```
15-
161
# Coq Library of Undecidability Proofs
172

183
[![CI](https://github.com/uds-psl/coq-library-undecidability/workflows/CI/badge.svg?branch=master)](https://github.com/uds-psl/coq-library-undecidability/actions)
@@ -117,19 +102,37 @@ An equivalence proof that most of the mentioned models of computation compute th
117102

118103
## Manual Installation Instructions
119104

120-
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:
105+
If you can use `opam 2` on your system, you can follow the instructions here.
106+
107+
### Install from git via opam
108+
109+
You can use `opam` to install the current state of this branch as follows.
110+
111+
We recommend creating a fresh opam switch:
112+
113+
```
114+
opam switch create coq-library-undecidability --packages=ocaml-variants.4.14.1+options,ocaml-option-flambda
115+
eval $(opam env)
116+
```
117+
118+
Then the following commands install the library:
119+
120+
```
121+
opam repo add coq-released https://coq.inria.fr/opam/released
122+
opam update
123+
opam pin add coq-library-undecidability.dev+8.20 "https://github.com/uds-psl/coq-library-undecidability.git#coq-8.20"
124+
```
125+
126+
### Manual installation
127+
128+
You need `Coq 8.20` 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:
121129

122130
```
123131
opam switch create coq-library-undecidability --packages=ocaml-variants.4.14.1+options,ocaml-option-flambda
124132
eval $(opam env)
125-
opam pin add -k git coq-core.dev "https://github.com/coq/coq.git#master"
126-
opam pin add -k git coq-stdlib.dev "https://github.com/coq/coq.git#master"
127-
opam pin add -k git coqide-server.dev "https://github.com/coq/coq.git#master"
128-
opam pin add -k git coq.dev "https://github.com/coq/coq.git#master"
129-
opam pin add -k git coq-equations.dev "https://github.com/mattam82/Coq-Equations.git#main"
130-
opam pin add -k git coq-metacoq-utils.dev "https://github.com/MetaCoq/metacoq.git#main"
131-
opam pin add -k git coq-metacoq-common.dev "https://github.com/MetaCoq/metacoq.git#main"
132-
opam pin add -k git coq-metacoq-template.dev "https://github.com/MetaCoq/metacoq.git#main"
133+
opam repo add coq-released https://coq.inria.fr/opam/released
134+
opam update
135+
opam install . --deps-only
133136
```
134137

135138
#### Building the undecidability library
@@ -150,7 +153,7 @@ The library is compatible with Coq's compiled interfaces ([`vos`](https://coq.in
150153

151154
#### Coq version
152155

153-
Be careful that this branch only compiles under `Coq 8.16`. If you want to use a different Coq version you have to change to a different branch.
156+
Be careful that this branch only compiles under `Coq 8.20`. If you want to use a different Coq version you have to change to a different branch.
154157
Due to compatibility issues, not every branch contains exactly the same problems.
155158
We recommend to use the newest branch if possible.
156159

opam

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
opam-version: "2.0"
2-
version: "dev+8.16"
2+
version: "dev+8.20"
33
maintainer: "[email protected]"
44
homepage: "https://github.com/uds-psl/coq-library-undecidability/"
55
dev-repo: "git+https://github.com/uds-psl/coq-library-undecidability/"
@@ -26,12 +26,12 @@ install: [
2626
[make "install"]
2727
]
2828
depends: [
29-
"coq" {= "dev"}
29+
"coq" {>= "8.20" & < "8.21~"}
3030
"ocaml"
31-
"coq-metacoq-template" {= "dev"}
31+
"coq-metacoq-template"
3232
]
3333

3434
synopsis: "A Coq Library of Undecidability Proofs"
3535
url {
36-
git: "https://github.com/uds-psl/coq-library-undecidability.git#coq-8.16"
36+
git: "https://github.com/uds-psl/coq-library-undecidability.git#coq-8.20"
3737
}

theories/FOL/Arithmetics/Signature.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ From Undecidability.Synthetic Require Import EnumerabilityFacts ListEnumerabilit
66
Import Vector.VectorNotations.
77
Require Import List.
88

9+
Unset Automatic Proposition Inductives.
10+
911
(* ** Signature for PA axiomatisation, containing function symbols for set operations *)
1012

1113
#[global]

theories/FOL/Semantics/FiniteTarski/DoubleNegation.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ From Coq Require Import Arith Lia List.
88
From Undecidability.Shared.Libs.DLW.Wf Require Import wf_finite.
99
From Undecidability.Synthetic Require Import Definitions.
1010

11+
Unset Automatic Proposition Inductives.
12+
1113
Set Default Goal Selector "!".
1214
Set Mangle Names.
1315
Inductive syms_func : Type := .

theories/FOL/Syntax/Core.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Import ListAutomationNotations.
88
Import Coq.Vectors.Vector.
99
Local Notation vec := t.
1010

11-
11+
Unset Automatic Proposition Inductives.
1212

1313
Inductive peirce := class | intu.
1414
Existing Class peirce.

theories/SOL/PA2.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Require Import Undecidability.SOL.SOL.
44
Require Import Vector.
55
Import VectorNotations SOLNotations.
66

7+
Unset Automatic Proposition Inductives.
78

89
(* ** Signature of PA2 *)
910

theories/Shared/Libs/DLW/Utils/sorting.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ End sum_bounded_permutation.
387387

388388
Section sum_bijection.
389389

390-
Inductive bijection n g h : Type :=
390+
Inductive bijection n g h : Prop :=
391391
| in_bij : (forall i, i < n -> g i < n)
392392
-> (forall i, i < n -> h i < n)
393393
-> (forall i, i < n -> g (h i) = i)

theories/_CoqProject

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-Q . Undecidability
22

3-
-arg -w -arg -notation-overridden,-stdlib-vector,-notation-incompatible-prefix
3+
-arg -w -arg -notation-overridden,-stdlib-vector,-notation-incompatible-prefix,-postfix-notation-not-level-1,-closed-notation-not-level-0
44
-arg "-set" -arg "'Default Proof Using = Type'"
55
COQDOCFLAGS = "--charset utf-8 -s --with-header ../website/resources/header.html --with-footer ../website/resources/footer.html --index indexpage"
66

0 commit comments

Comments
 (0)