Skip to content

Commit 9cd60df

Browse files
committed
Update to MathComp 2.5
1 parent b3da841 commit 9cd60df

55 files changed

Lines changed: 149 additions & 160 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## # GNU Lesser General Public License Version 2.1 ##
88
## # (see LICENSE file for the text of the license) ##
99
##########################################################################
10-
## GNUMakefile for Rocq 9.0.0
10+
## GNUMakefile for Rocq 9.0.1
1111

1212
# For debugging purposes (must stay here, don't move below)
1313
INITIAL_VARS := $(.VARIABLES)
@@ -278,7 +278,7 @@ COQDOCLIBS?=$(COQLIBS_NOML)
278278
# generated this makefile
279279
# NB --print-version is not in the rocq shim
280280
COQ_VERSION:=$(shell $(ROCQ) c --print-version | cut -d " " -f 1)
281-
COQMAKEFILE_VERSION:=9.0.0
281+
COQMAKEFILE_VERSION:=9.0.1
282282

283283
# COQ_SRC_SUBDIRS is for user-overriding, usually to add
284284
# `user-contrib/Foo` to the includes, we keep COQCORE_SRC_SUBDIRS for
@@ -682,8 +682,8 @@ clean::
682682
$(HIDE)rm -f $(VOFILES)
683683
$(HIDE)rm -f $(VOFILES:.vo=.vos)
684684
$(HIDE)rm -f $(VOFILES:.vo=.vok)
685-
$(HIDE)rm -f $(VOFILES:.vo=.v.prof.json)
686-
$(HIDE)rm -f $(VOFILES:.vo=.v.prof.json.gz)
685+
$(HIDE)rm -f $(VOFILES:.vo=.vo.prof.json)
686+
$(HIDE)rm -f $(VOFILES:.vo=.vo.prof.json.gz)
687687
$(HIDE)rm -f $(BEAUTYFILES) $(VFILES:=.old)
688688
$(HIDE)rm -f all.ps all-gal.ps all.pdf all-gal.pdf all.glob all-mli.tex
689689
$(HIDE)rm -f $(VFILES:.v=.glob)

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -168,20 +168,22 @@ Installation
168168
This library is based on
169169

170170
* [SSReflect/MathComp 2](https://github.com/math-comp/math-comp)
171-
Library version 2.4.0 or more recent.
172-
* This branch is *not* compatible with version MathComp 2.3.0.
171+
Library version 2.5.0 or more recent.
172+
* This branch is *not* compatible with version MathComp 2.4.0.
173+
174+
* For MathComp 2.4.0, use the [MathComp-2.4.0](https://github.com/math-comp/Coq-Combi/tree/MathComp-2.4.0) branch.
173175

174176
* For MathComp 2.3.0, use the [MathComp-2.3.0](https://github.com/math-comp/Coq-Combi/tree/MathComp-2.3.0) branch.
175177

176178
* For MathComp 2.2.0, use the [MathComp-2.2.0](https://github.com/math-comp/Coq-Combi/tree/MathComp-2.2.0) branch.
177179

178180
Here are the Opam packages I'm using
179181
```
180-
coq-hierarchy-builder 1.9.0
181-
coq-mathcomp-ssreflect 2.4.0
182-
coq-mathcomp-algebra 2.4.0
183-
coq-mathcomp-field 2.4.0
184-
coq-mathcomp-fingroup 2.4.0
185-
coq-mathcomp-character 2.4.0
186-
coq-mathcomp-multinomials 2.4.0
182+
coq-hierarchy-builder 1.9.1
183+
coq-mathcomp-ssreflect 2.5.0
184+
coq-mathcomp-algebra 2.5.0
185+
coq-mathcomp-field 2.5.0
186+
coq-mathcomp-fingroup 2.5.0
187+
coq-mathcomp-character 2.5.0
188+
coq-mathcomp-multinomials 2.5.0
187189
```

theories/Basic/combclass.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ways, three from a list (see [sub_subFinType], [sub_uniq_subFinType] and
2222
constructed subfintypes (see [union_subFinType] below). *)
2323

2424
From HB Require Import structures.
25-
From mathcomp Require Import all_ssreflect.
25+
From mathcomp Require Import all_boot.
2626
Require Import tools.
2727

2828
Set Implicit Arguments.

theories/Basic/congr.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ the congruence transitive closure of rule. The main results here are
6868
preserved along the rewriting rule holds for classes. *)
6969
(******************************************************************************)
7070
From HB Require Import structures.
71-
From mathcomp Require Import all_ssreflect.
71+
From mathcomp Require Import all_boot.
7272
From Stdlib Require Import Recdef.
7373
Require Import permcomp permuted multinomial vectNK.
7474

theories/Basic/ordtype.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Cover relation:
4040
[finPOrderType].
4141
********)
4242
From HB Require Import structures.
43-
From mathcomp Require Import all_ssreflect.
43+
From mathcomp Require Import all_boot.
4444
From mathcomp Require Import order.
4545
Require Import tools.
4646

theories/Basic/unitriginv.v

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ therefore invertible. Moreover Lemma [Minv_unitrig] says that the inverse
3030
is unitriangular too.
3131
*******)
3232
From Corelib Require Import Setoid.
33-
Require Import mathcomp.ssreflect.ssreflect.
34-
From mathcomp Require Import ssrfun ssrbool eqtype ssrnat order.
33+
From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat order.
3534
From mathcomp Require Import fintype bigop ssralg.
3635
From mathcomp Require Import finset fingroup perm matrix.
3736

theories/Combi/Dyckword.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ rotation trick: there is a (n+1) to 1 map from balanced words to Dyck words.
6767
have the same cardinality n+1.
6868
*********************)
6969
From HB Require Import structures.
70-
From mathcomp Require Import all_ssreflect.
70+
From mathcomp Require Import all_boot order.
7171
From mathcomp Require Import div ssralg ssrint ssrnum binomial.
7272
Require Import tools combclass bintree.
7373

@@ -730,7 +730,7 @@ apply/Dyck_wordP; rewrite height_take_leq; split => [n|].
730730
rewrite height_simpl take_takel; last exact: ltnW.
731731
move: Hbal1; rewrite -{1}(cat_take_drop pfminh w) height_simpl => /eqP.
732732
rewrite -subr_eq0 opprK [height _ + _]addrC -addrA addr_eq0 => /eqP ->.
733-
rewrite addrC subr_ge0 lezD1.
733+
rewrite [- _ + _]addrC subr_ge0 lezD1.
734734
by rewrite pfminhP pfminh_min.
735735
- have : height (rot pfminh w) = -1.
736736
by rewrite /rot height_cat addrC -height_cat cat_take_drop.

theories/Combi/Yamanouchi.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Sigma types for Yamanouchi words:
5151
5252
******)
5353
From HB Require Import structures.
54-
From mathcomp Require Import all_ssreflect.
54+
From mathcomp Require Import all_boot.
5555
Require Import tools combclass partition.
5656

5757
Set Implicit Arguments.

theories/Combi/bintree.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Tamari Lattice:
8181
- [t1 /\T t2] == the join of [t1] and [t2] in the Tamari lattice.
8282
*********************)
8383
From HB Require Import structures.
84-
From mathcomp Require Import all_ssreflect.
84+
From mathcomp Require Import all_boot order.
8585
Require Import tools combclass ordtype.
8686

8787
Set Implicit Arguments.

theories/Combi/composition.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Compositions and partitions:
4848
[c : intcompn n]
4949
******)
5050
From HB Require Import structures.
51-
From mathcomp Require Import all_ssreflect.
51+
From mathcomp Require Import all_boot order.
5252
Require Import tools combclass sorted partition subseq ordtype.
5353

5454
Set Implicit Arguments.

0 commit comments

Comments
 (0)