Skip to content

Commit b22bc09

Browse files
committed
Require MC >= 2.4.0
1 parent a645da6 commit b22bc09

11 files changed

Lines changed: 20 additions & 2398 deletions

.github/workflows/nix-action-8.20-2.3.0.yml

Lines changed: 0 additions & 713 deletions
This file was deleted.

.nix/config.nix

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ in {
5252
## When generating GitHub Action CI, one workflow file
5353
## will be created per bundle
5454

55-
bundles."8.20-2.3.0".coqPackages = common-bundle // {
56-
coq.override.version = "8.20";
57-
mathcomp.override.version = "2.3.0";
58-
};
59-
6055
bundles."8.20-2.4.0".coqPackages = common-bundle // {
6156
coq.override.version = "8.20";
6257
mathcomp.override.version = "2.4.0";

CHANGELOG_UNRELEASED.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@
8080

8181
### Removed
8282

83+
- file `interval_inference.v` (now in MathComp)
84+
85+
- in file `all_reals.v`
86+
+ export of `interval_inference` (now in mathcomp-algebra, but not automatically exported)
87+
8388
### Infrastructure
8489

8590
### Misc

INSTALL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Requirements
44

55
- [The Coq Proof Assistant version ≥ 8.20 / Rocq Prover version ≥ 9.0](https://rocq-prover.org)
6-
- [Mathematical Components version ≥ 2.3.0](https://github.com/math-comp/math-comp)
6+
- [Mathematical Components version ≥ 2.4.0](https://github.com/math-comp/math-comp)
77
- [Finmap library version ≥ 2.1.0](https://github.com/math-comp/finmap)
88
- [Hierarchy builder version ≥ 1.8.0](https://github.com/math-comp/hierarchy-builder)
99
- [bigenough ≥ 1.0.0](https://github.com/math-comp/bigenough)
@@ -73,7 +73,7 @@ using [proof general for emacs](https://github.com/ProofGeneral/PG)
7373

7474
## Break-down of phase 3 of the installation procedure step by step
7575

76-
With the example of Coq 8.20.1 and MathComp 2.3.0. For other versions, update the
76+
With the example of Coq 8.20.1 and MathComp 2.4.0. For other versions, update the
7777
version numbers accordingly.
7878

7979
1. Install Coq 8.20.1
@@ -82,11 +82,11 @@ $ opam install coq.8.20.1
8282
```
8383
2. Install the Mathematical Components
8484
```
85-
$ opam install coq-mathcomp-ssreflect.2.3.0
86-
$ opam install coq-mathcomp-fingroup.2.3.0
87-
$ opam install coq-mathcomp-algebra.2.3.0
88-
$ opam install coq-mathcomp-solvable.2.3.0
89-
$ opam install coq-mathcomp-field.2.3.0
85+
$ opam install coq-mathcomp-ssreflect.2.4.0
86+
$ opam install coq-mathcomp-fingroup.2.4.0
87+
$ opam install coq-mathcomp-algebra.2.4.0
88+
$ opam install coq-mathcomp-solvable.2.4.0
89+
$ opam install coq-mathcomp-field.2.4.0
9090
```
9191
3. Install the Finite maps library
9292
```

Makefile.common

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,6 @@ all: config build
4545
.PHONY: pre-makefile
4646

4747
Makefile.coq: pre-makefile $(COQPROJECT) Makefile
48-
(echo "From mathcomp.algebra Require Import interval_inference." > test_interval_inference.v \
49-
&& ($(COQC) test_interval_inference.v > /dev/null 2>&1) \
50-
&& test -f interval_inference.v -o -f reals/interval_inference.v \
51-
&& touch rm_interval_inference) || true
52-
$(RM) test_interval_inference.v
53-
test -f rm_interval_inference \
54-
&& sed -i.bak '/interval_inference/ d' $(COQPROJECT) \
55-
&& $(RM) $(COQPROJECT).bak || true
56-
test -f rm_interval_inference \
57-
&& sed -i.bak '/interval_inference/ d' all_reals.v \
58-
&& $(RM) all_reals.v.bak || true
59-
test -f rm_interval_inference \
60-
&& sed -i.bak '/interval_inference/ d' reals/all_reals.v \
61-
&& $(RM) reals/all_reals.v.bak || true
62-
test -f rm_interval_inference && $(RM) interval_inference.v || true
63-
test -f rm_interval_inference && $(RM) reals/interval_inference.v || true
64-
$(RM) rm_interval_inference
65-
# Remove everything above when requiring mathcomp >= 2.4.0
66-
# (also remove file reals/interval_inference.v and references to it)
6748
$(COQMAKEFILE) $(COQMAKEFILEOPTIONS) -f $(COQPROJECT) -o Makefile.coq
6849

6950
# Global config, build, clean and distclean --------------------------
@@ -142,6 +123,5 @@ html: build $(DOCDIR)/dependency_graph.dot
142123
-hierarchy-graph $(DOCDIR)/hierarchy_graph.dot \
143124
-index-blacklist etc/rocqnavi_index-blacklist \
144125
-show-type-information-using-coqtop-process \
145-
-external https://math-comp.github.io/htmldoc_2_3_0/ mathcomp.ssreflect \
146-
-external https://math-comp.github.io/htmldoc_2_3_0/ mathcomp.algebra
147-
126+
-external https://math-comp.github.io/htmldoc_2_4_0/ mathcomp.ssreflect \
127+
-external https://math-comp.github.io/htmldoc_2_4_0/ mathcomp.algebra

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ In terms of [opam](https://opam.ocaml.org/doc/Install.html), it comes as the fol
2626
- License: [CeCILL-C](LICENSE)
2727
- Compatible Rocq versions: Coq 8.20, Rocq 9.0 (or dev)
2828
- Additional dependencies:
29-
- [MathComp ssreflect 2.3.0 or later](https://math-comp.github.io)
30-
- [MathComp fingroup 2.3.0 or later](https://math-comp.github.io)
31-
- [MathComp algebra 2.3.0 or later](https://math-comp.github.io)
32-
- [MathComp solvable 2.3.0 or later](https://math-comp.github.io)
33-
- [MathComp field 2.3.0 or later](https://math-comp.github.io)
29+
- [MathComp ssreflect 2.4.0 or later](https://math-comp.github.io)
30+
- [MathComp fingroup 2.4.0 or later](https://math-comp.github.io)
31+
- [MathComp algebra 2.4.0 or later](https://math-comp.github.io)
32+
- [MathComp solvable 2.4.0 or later](https://math-comp.github.io)
33+
- [MathComp field 2.4.0 or later](https://math-comp.github.io)
3434
- [MathComp finmap 2.1.0](https://github.com/math-comp/finmap)
3535
- [MathComp bigenough 1.0.0](https://github.com/math-comp/bigenough)
3636
- [Hierarchy Builder 1.8.0 or later](https://github.com/math-comp/hierarchy-builder)

_CoqProject

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ reals/constructive_ereal.v
3030
reals/reals.v
3131
reals/real_interval.v
3232
reals/signed.v
33-
reals/interval_inference.v
3433
reals/prodnormedzmodule.v
3534
reals/all_reals.v
3635
experimental_reals/xfinmap.v

coq-mathcomp-classical.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ install: [make "-C" "classical" "install"]
1717
depends: [
1818
("coq" {>= "8.20" & < "8.21~"}
1919
| "coq-core" { (>= "9.0" & < "9.1~") | (= "dev") })
20-
"coq-mathcomp-ssreflect" { (>= "2.3.0" & < "2.5~") | (= "dev") }
20+
"coq-mathcomp-ssreflect" { (>= "2.4.0" & < "2.5~") | (= "dev") }
2121
"coq-mathcomp-fingroup"
2222
"coq-mathcomp-algebra"
2323
"coq-mathcomp-finmap" { (>= "2.1.0") }

reals/Make

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ constructive_ereal.v
1111
reals.v
1212
real_interval.v
1313
signed.v
14-
interval_inference.v
1514
prodnormedzmodule.v
1615
all_reals.v

reals/all_reals.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
From mathcomp Require Export interval_inference.
21
From mathcomp Require Export constructive_ereal.
32
From mathcomp Require Export reals.
43
From mathcomp Require Export real_interval.

0 commit comments

Comments
 (0)