Skip to content

Commit 7eef14c

Browse files
authored
Merge pull request #1852 from proux01/rocq
Compatibility with Rocq (without coq shims)
2 parents 4e41c2f + 6f56e99 commit 7eef14c

File tree

125 files changed

+430
-183
lines changed

Some content is hidden

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

125 files changed

+430
-183
lines changed

Makefile.common

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ COQMAKE = $(MAKE) -f Makefile.coq $(COQMAKEOPTIONS)
2828
BRANCH_coq:= $(shell $(COQBIN)coqtop -v | head -1 | grep -E '(trunk|master)' \
2929
| wc -l | sed 's/ *//g')
3030

31-
# coq version:
32-
ifneq "$(BRANCH_coq)" "0"
33-
COQVVV:= dev
34-
else
35-
COQVVV:=$(shell $(COQBIN)coqtop --print-version | cut -d" " -f1)
36-
endif
37-
38-
COQV:= $(shell echo $(COQVVV) | cut -d"." -f1)
39-
COQVV:= $(shell echo $(COQVVV) | cut -d"." -f1-2)
40-
4131
# all: ---------------------------------------------------------------
4232
all: config build
4333

_CoqProject

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
classical/all_classical.v
1616
classical/internal_Eqdep_dec.v
17+
classical/all_ssreflect_compat.v
1718
classical/boolp.v
1819
classical/contra.v
1920
classical/wochoice.v

analysis_stdlib/Rstruct_topology.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Require Import Rdefinitions Raxioms RIneq Rbasic_fun Zwf.
88
Require Import Epsilon FunctionalExtensionality Ranalysis1 Rsqrt_def.
99
Require Import Rtrigo1 Reals.
1010
From HB Require Import structures.
11-
From mathcomp Require Import all_ssreflect ssralg ssrnum archimedean.
11+
From mathcomp Require Import all_ssreflect_compat ssralg ssrnum archimedean.
1212
From mathcomp Require Import boolp classical_sets reals interval_inference.
1313
From mathcomp Require Export Rstruct.
1414
From mathcomp Require Import topology.

classical/Make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
-arg -w -arg -projection-no-head-constant
99

1010
internal_Eqdep_dec.v
11+
all_ssreflect_compat.v
1112
boolp.v
1213
contra.v
1314
wochoice.v

classical/all_ssreflect_compat.v

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
(* Remove this file and use all_boot/all_order when requiring MC >= 2.5.0 *)
2+
From mathcomp Require Export ssreflect.
3+
From mathcomp Require Export ssrbool.
4+
From mathcomp Require Export ssrfun.
5+
From mathcomp Require Export eqtype.
6+
From mathcomp Require Export ssrnat.
7+
From mathcomp Require Export seq.
8+
From mathcomp Require Export choice.
9+
From mathcomp Require Export path.
10+
From mathcomp Require Export div.
11+
From mathcomp Require Export fintype.
12+
From mathcomp Require Export fingraph.
13+
From mathcomp Require Export tuple.
14+
From mathcomp Require Export finfun.
15+
From mathcomp Require Export bigop.
16+
From mathcomp Require Export prime.
17+
From mathcomp Require Export finset.
18+
From mathcomp Require Export binomial.
19+
From mathcomp Require Export generic_quotient.
20+
From mathcomp Require Export ssrAC.
21+
From mathcomp Require Export order.

classical/boolp.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
(* Copyright (c) - 2016--2018 - Polytechnique *)
66
(* -------------------------------------------------------------------- *)
77
From HB Require Import structures.
8-
From mathcomp Require Import all_ssreflect.
8+
From mathcomp Require Import all_ssreflect_compat.
99
From mathcomp Require Import mathcomp_extra.
1010
From mathcomp Require internal_Eqdep_dec.
1111

classical/cardinality.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* mathcomp analysis (c) 2026 Inria and AIST. License: CeCILL-C. *)
22
From HB Require Import structures.
3-
From mathcomp Require Import all_ssreflect finmap ssralg ssrnum ssrint rat.
3+
From mathcomp Require Import all_ssreflect_compat finmap ssralg ssrnum ssrint rat.
44
From mathcomp Require Import mathcomp_extra boolp classical_sets functions.
55

66
(**md**************************************************************************)

classical/classical_orders.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From mathcomp Require Import all_ssreflect ssralg ssrnum interval.
1+
From mathcomp Require Import all_ssreflect_compat ssralg ssrnum interval.
22
From mathcomp Require Import mathcomp_extra boolp classical_sets.
33
From HB Require Import structures.
44
From mathcomp Require Import functions set_interval.

classical/classical_sets.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* mathcomp analysis (c) 2025 Inria and AIST. License: CeCILL-C. *)
22
From HB Require Import structures.
3-
From mathcomp Require Import all_ssreflect ssralg matrix finmap ssrnum.
3+
From mathcomp Require Import all_ssreflect_compat ssralg matrix finmap ssrnum.
44
From mathcomp Require Import ssrint rat interval.
55
From mathcomp Require Import mathcomp_extra boolp wochoice.
66

classical/filter.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* mathcomp analysis (c) 2017 Inria and AIST. License: CeCILL-C. *)
22
From HB Require Import structures.
3-
From mathcomp Require Import all_ssreflect all_algebra finmap.
3+
From mathcomp Require Import all_ssreflect_compat all_algebra finmap.
44
From mathcomp Require Import boolp classical_sets functions wochoice.
55
From mathcomp Require Import cardinality mathcomp_extra fsbigop set_interval.
66

0 commit comments

Comments
 (0)