Skip to content

Commit c6b4cd2

Browse files
authored
Merge pull request #3354 from proux01/mathcomp-stdlib
[extra-dev] Remove Stdlib dep in mathcomp
2 parents 0206f8e + 704fb55 commit c6b4cd2

File tree

10 files changed

+94
-31
lines changed
  • extra-dev/packages
    • coq-fourcolor/coq-fourcolor.dev
    • coq-fourcolor-reals/coq-fourcolor-reals.dev
    • coq-hierarchy-builder/coq-hierarchy-builder.dev
    • coq-mathcomp-classical/coq-mathcomp-classical.dev
    • coq-mathcomp-finmap/coq-mathcomp-finmap.dev
    • coq-mathcomp-multinomials/coq-mathcomp-multinomials.dev
    • coq-mathcomp-real-closed/coq-mathcomp-real-closed.dev
    • coq-mathcomp-reals-stdlib/coq-mathcomp-reals-stdlib.dev
    • coq-mathcomp-ssreflect/coq-mathcomp-ssreflect.dev
    • coq-mathcomp-tarjan/coq-mathcomp-tarjan.dev

10 files changed

+94
-31
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
4+
homepage: "https://github.com/coq-community/fourcolor"
5+
dev-repo: "git+https://github.com/coq-community/fourcolor.git"
6+
bug-reports: "https://github.com/coq-community/fourcolor/issues"
7+
license: "CECILL-B"
8+
9+
synopsis: "Interface for real numbers used in the Four Color Theorem"
10+
description: """
11+
An axiomatization of the setoid of classical real numbers, along
12+
with proofs of properties such as categoricity."""
13+
14+
build: [make "-C" "theories/reals" "-j%{jobs}%"]
15+
install: [make "-C" "theories/reals" "install"]
16+
depends: [
17+
("coq" {>= "8.18" & < "8.21~"}
18+
| "rocq-core" { (>= "9.0" & < "9.1~") | (= "dev") })
19+
"coq-mathcomp-ssreflect" {>= "2.1.0"}
20+
"coq-mathcomp-algebra"
21+
"coq-hierarchy-builder" {>= "1.5.0"}
22+
]
23+
24+
tags: [
25+
"category:Mathematics/Real Calculus and Topology"
26+
"keyword:real numbers"
27+
"logpath:fourcolor.reals"
28+
]
29+
authors: [
30+
"Georges Gonthier"
31+
]
32+
33+
url {
34+
src: "git+https://github.com/coq-community/fourcolor.git"
35+
}

extra-dev/packages/coq-fourcolor/coq-fourcolor.dev/opam

+4-6
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,18 @@ along with the theories needed to support stating and then proving the Theorem.
1313
This includes an axiomatization of the setoid of classical real numbers,
1414
basic plane topology definitions, and a theory of combinatorial hypermaps."""
1515

16-
build: [make "-j%{jobs}%"]
17-
install: [make "install"]
16+
build: [make "-C" "theories/proof" "-j%{jobs}%"]
17+
install: [make "-C" "theories/proof" "install"]
1818
depends: [
19-
"coq" {>= "8.16"}
20-
"coq-mathcomp-ssreflect" {>= "2.0"}
21-
"coq-mathcomp-algebra"
19+
"coq-fourcolor-reals" {= version}
2220
]
2321

2422
tags: [
2523
"category:Mathematics/Combinatorics and Graph Theory"
2624
"keyword:Four color theorem"
2725
"keyword:small scale reflection"
2826
"keyword:Mathematical Components"
29-
"logpath:fourcolor"
27+
"logpath:fourcolor.proof"
3028
]
3129
authors: [
3230
"Georges Gonthier"

extra-dev/packages/coq-hierarchy-builder/coq-hierarchy-builder.dev/opam

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ bug-reports: "https://github.com/math-comp/hierarchy-builder/issues"
77
dev-repo: "git+https://github.com/math-comp/hierarchy-builder"
88

99
build: [ [ make "build"]
10-
[ make "test-suite" ] {with-test}
10+
[ make "test-suite" ] {with-test & rocq-core:installed}
1111
]
1212
install: [ make "install" ]
13-
depends: [ "coq-elpi" {>= "1.15"} "coq" {= "dev"} ]
13+
depends: [
14+
("coq" {>= "8.18" & < "8.20~"} & "coq-elpi" {>= "2.0"}
15+
| "coq" {>= "8.20" & < "8.21~"} & "coq-elpi" {>= "2.4" | = "dev"}
16+
| "rocq-core" {>= "9.0" | = "dev"} & "coq-elpi" {>= "2.4" | = "dev"})
17+
]
1418
depexts: [
1519
[ "wdiff" ] {os-family = "debian" & with-test}
1620
]

extra-dev/packages/coq-mathcomp-classical/coq-mathcomp-classical.dev/opam

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ the Coq proof-assistant and using the Mathematical Components library."""
1414
build: [make "-C" "classical" "-j%{jobs}%"]
1515
install: [make "-C" "classical" "install"]
1616
depends: [
17-
"coq" { (>= "8.19") }
17+
("coq" {>= "8.19" & < "8.21~"}
18+
| "rocq-core" { (>= "9.0" & < "9.1~") | (= "dev") })
1819
"coq-mathcomp-ssreflect" { (>= "2.1.0") }
1920
"coq-mathcomp-fingroup"
2021
"coq-mathcomp-algebra"
@@ -25,7 +26,6 @@ depends: [
2526
tags: [
2627
"category:Mathematics/Logic/Classical logic"
2728
"keyword:classical logic"
28-
"keyword:classical"
2929
"keyword:logic"
3030
"keyword:sets"
3131
"keyword:set theory"

extra-dev/packages/coq-mathcomp-finmap/coq-mathcomp-finmap.dev/opam

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ maintainer: "Cyril Cohen <[email protected]>"
44
homepage: "https://github.com/math-comp/finmap"
55
dev-repo: "git+https://github.com/math-comp/finmap.git"
66
bug-reports: "https://github.com/math-comp/finmap/issues"
7-
license: "CeCILL-B"
7+
license: "CECILL-B"
88

99
synopsis: "Finite sets, finite maps, finitely supported functions"
1010
description: """
@@ -14,11 +14,12 @@ types). This includes support for functions with finite support and
1414
multisets. The library also contains a generic order and set libary,
1515
which will be used to subsume notations for finite sets, eventually."""
1616

17-
build: [make "-j%{jobs}%" "COQEXTRAFLAGS+=-native-compiler yes" {coq-native:installed & coq:version < "8.13~" } ]
17+
build: [make "-j%{jobs}%"]
1818
install: [make "install"]
1919
depends: [
20-
"coq" {>= "8.10"}
21-
"coq-mathcomp-ssreflect" {>= "1.11.0"}
20+
("coq" {>= "8.18" & < "8.21~"}
21+
| "rocq-core" {>= "9.0" | = "dev"})
22+
"coq-mathcomp-ssreflect" { >= "2.0" | = "dev" }
2223
]
2324

2425
tags: [

extra-dev/packages/coq-mathcomp-multinomials/coq-mathcomp-multinomials.dev/opam

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ maintainer: "[email protected]"
33
homepage: "https://github.com/math-comp/multinomials"
44
bug-reports: "https://github.com/math-comp/multinomials/issues"
55
dev-repo: "git+https://github.com/math-comp/multinomials.git"
6-
license: "CeCILL-B"
6+
license: "CECILL-B"
77
authors: ["Pierre-Yves Strub"]
88
build: [make "-j%{jobs}%"]
99
install: [make "install"]
1010
depends: [
11-
"coq" {>= "8.16"}
11+
("coq" {>= "8.18" & < "8.21~"}
12+
| "rocq-core" {>= "9.0" | = "dev"})
1213
"coq-mathcomp-ssreflect" {>= "2.0"}
1314
"coq-mathcomp-algebra"
1415
"coq-mathcomp-bigenough" {>= "1.0"}
@@ -17,9 +18,9 @@ depends: [
1718
tags: [
1819
"keyword:multinomials"
1920
"keyword:monoid algebra"
20-
"category:Math/Algebra/Multinomials"
21-
"category:Math/Algebra/Monoid algebra"
22-
"logpath:SsrMultinomials"
21+
"category:Mathematics/Algebra/Multinomials"
22+
"category:Mathematics/Algebra/Monoid algebra"
23+
"logpath:mathcomp.multinomials"
2324
]
2425
synopsis: "A Multivariate polynomial Library for the Mathematical Components Library"
2526
url {

extra-dev/packages/coq-mathcomp-real-closed/coq-mathcomp-real-closed.dev/opam

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ maintainer: "Cyril Cohen <[email protected]>"
44
homepage: "https://github.com/math-comp/real-closed"
55
dev-repo: "git+https://github.com/math-comp/real-closed.git"
66
bug-reports: "https://github.com/math-comp/real-closed/issues"
7-
license: "CeCILL-B"
7+
license: "CECILL-B"
88

99
synopsis: "Mathematical Components Library on real closed fields"
1010
description: """
@@ -14,11 +14,12 @@ closure (including a proof of the fundamental theorem of
1414
algebra). It also contains a proof of decidability of the first
1515
order theory of real closed field, through quantifier elimination."""
1616

17-
build: [make "-j%{jobs}%" ]
17+
build: [make "-j%{jobs}%"]
1818
install: [make "install"]
1919
depends: [
20-
"coq" {>= "8.16"}
21-
"coq-mathcomp-ssreflect" {>= "2.0.0"}
20+
("coq" {>= "8.18" & < "8.21~"}
21+
| "rocq-core" { >= "9.0" | = "dev" })
22+
"coq-mathcomp-ssreflect" {>= "2.1"}
2223
"coq-mathcomp-algebra"
2324
"coq-mathcomp-field"
2425
"coq-mathcomp-bigenough" {>= "1.0.0"}

extra-dev/packages/coq-mathcomp-reals-stdlib/coq-mathcomp-reals-stdlib.dev/opam

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ the Coq proof-assistant using the Mathematical Components library and Stdlib."""
1414
build: [make "-C" "reals_stdlib" "-j%{jobs}%"]
1515
install: [make "-C" "reals_stdlib" "install"]
1616
depends: [
17+
("coq" {< "8.21~"}
18+
| "rocq-stdlib" { >= "9.0" | = "dev" })
1719
"coq-mathcomp-reals" { = version}
1820
]
1921

extra-dev/packages/coq-mathcomp-ssreflect/coq-mathcomp-ssreflect.dev/opam

+27-7
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,39 @@ maintainer: "Mathematical Components <[email protected]>"
55
homepage: "https://math-comp.github.io/"
66
bug-reports: "https://github.com/math-comp/math-comp/issues"
77
dev-repo: "git+https://github.com/math-comp/math-comp.git"
8-
license: "CeCILL-B"
8+
license: "CECILL-B"
99

1010
build: [ make "-C" "ssreflect" "-j" "%{jobs}%" ]
1111
install: [ make "-C" "ssreflect" "install" ]
1212
depends: [
13-
( ( "coq" {>= "8.16" & < "8.17~"} & "elpi" {>= "1.16.5"} ) |
14-
# The line above can be removed at the time support for 8.16 is dropped
15-
( "coq" {>= "8.17"}
16-
& "elpi" {>= "1.17.0"} ) )
17-
"coq-hierarchy-builder" {>= "1.5.0"}
13+
("coq" {>= "8.19" & < "8.21~"}
14+
| "rocq-core" {>= "9.0" | = "dev"})
15+
# Please keep the "dev" above as it is required for the coq-dev Docker images
16+
"elpi" {>= "1.17.0"}
17+
"coq-hierarchy-builder" { >= "1.7.0"}
1818
]
1919

20-
tags: [ "keyword:small scale reflection" "keyword:mathematical components" "keyword:odd order theorem" "logpath:mathcomp.ssreflect" ]
20+
tags: [
21+
"keyword:small scale reflection"
22+
"keyword:mathematical components"
23+
"keyword:bigop"
24+
"keyword:big operators"
25+
"keyword:biomial coefficient"
26+
"keyword:integer division theory"
27+
"keyword:finite sets"
28+
"keyword:functions with finite domain"
29+
"keyword:finite graphs"
30+
"keyword:quotient types"
31+
"keyword:order theory"
32+
"keyword:partial order"
33+
"keyword:lattices"
34+
"keyword:lists"
35+
"keyword:ordering and sorting lists"
36+
"keyword:prime numbers"
37+
"keyword:tuples"
38+
"keyword:bounded lists"
39+
"logpath:mathcomp.ssreflect"
40+
]
2141
authors: [ "The Mathematical Components team" ]
2242

2343
synopsis: "Small Scale Reflection"

extra-dev/packages/coq-mathcomp-tarjan/coq-mathcomp-tarjan.dev/opam

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ sorting with extended guarantees for acyclic graphs."""
1616
build: [make "-j%{jobs}%"]
1717
install: [make "install"]
1818
depends: [
19-
"coq" {>= "8.16"}
19+
("coq" {>= "8.16" & < "8.21~"}
20+
| "rocq-core" { >= "9.0" | = "dev" })
2021
"coq-mathcomp-ssreflect" {>= "2.0"}
2122
"coq-mathcomp-fingroup"
2223
"coq-hierarchy-builder" {>= "1.4.0"}

0 commit comments

Comments
 (0)