Skip to content

Commit 5080b4d

Browse files
authored
Merge pull request #27 from rocq-community/mc1415
Adapt to math-comp/math-comp#1415
2 parents 00b4c27 + 6529d27 commit 5080b4d

File tree

9 files changed

+19
-37
lines changed

9 files changed

+19
-37
lines changed

src/extraction/axioms16.v

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
From Coq
2-
Require Import ZArith.ZArith Extraction.
3-
Require Import mathcomp.ssreflect.ssreflect.
4-
From mathcomp Require Import ssrbool eqtype ssrnat seq fintype ssrfun tuple.
5-
From Bits
6-
Require Import bits.
1+
From Coq Require Import ZArith.ZArith Extraction.
2+
From mathcomp Require Import ssreflect ssrfun ssrbool.
3+
From mathcomp Require Import eqtype ssrnat seq fintype tuple.
4+
From Bits Require Import bits.
75

86
(* TODO:
97
* Complete missing lemmas

src/extraction/axioms32.v

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
From Coq
2-
Require Import ZArith.ZArith Extraction.
3-
Require Import mathcomp.ssreflect.ssreflect.
4-
From mathcomp Require Import ssrbool eqtype ssrnat seq fintype ssrfun tuple.
5-
From Bits
6-
Require Import bits.
1+
From Coq Require Import ZArith.ZArith Extraction.
2+
From mathcomp Require Import ssreflect ssrfun ssrbool.
3+
From mathcomp Require Import eqtype ssrnat seq fintype tuple.
4+
From Bits Require Import bits.
75

86
(* TODO:
97
* Complete missing lemmas

src/extraction/axioms8.v

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
From Coq
2-
Require Import ZArith.ZArith Extraction.
3-
Require Import mathcomp.ssreflect.ssreflect.
4-
From mathcomp Require Import ssrbool eqtype ssrnat seq fintype ssrfun tuple.
5-
From Bits
6-
Require Import bits.
1+
From Coq Require Import ZArith.ZArith Extraction.
2+
From mathcomp Require Import ssreflect ssrfun ssrbool.
3+
From mathcomp Require Import eqtype ssrnat seq fintype tuple.
4+
From Bits Require Import bits.
75

86
(* TODO:
97
* Complete missing lemmas

src/spec/operations.v

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
For proofs of properties of operations see bitsopsprops.v
44
===========================================================================*)
55

6-
Require Import mathcomp.ssreflect.ssreflect.
7-
8-
From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq tuple.
6+
From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq tuple.
97
Require Import spec.
108

119
Set Implicit Arguments.

src/spec/operations/properties.v

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
===========================================================================*)
44
From Coq Require Import Ring_theory.
55
From HB Require Import structures.
6-
Require Import mathcomp.ssreflect.ssreflect.
7-
8-
From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div.
6+
From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div.
97
Require Import ssrextra.tuple ssrextra.nat.
108
Require Import spec spec.properties operations.
119

src/spec/spec.v

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@
1212
Proofs of properties of operations can be found in bitsopsprops.v
1313
===========================================================================*)
1414

15-
From Coq
16-
Require Import ZArith.ZArith Strings.String.
17-
Require Import mathcomp.ssreflect.ssreflect.
18-
From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp.
15+
From Coq Require Import ZArith.ZArith Strings.String.
16+
From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp.
1917

2018
(* We represent n-bit words by a tuple of booleans, least-significant
2119
bit at the head DWORDorBYTE is especially useful for multi-mode

src/spec/spec/properties.v

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
===========================================================================*)
44
From Coq Require Import ZArith.ZArith.
55
(*Require Import common.tuplehelp common.nathelp.*)
6-
From mathcomp Require Import ssreflect.
7-
8-
From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq fintype tuple div zmodp ssralg.
6+
From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq fintype tuple div zmodp ssralg.
97
From mathcomp Require Import ring.
108
Require Import ssrextra.nat ssrextra.tuple.
119
Require Import spec.spec.

src/ssrextra/nat.v

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
(*---------------------------------------------------------------------------
22
Various helpers for halving, double and powers of 2
33
---------------------------------------------------------------------------*)
4-
Require Import mathcomp.ssreflect.ssreflect.
5-
6-
From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div.
4+
From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div.
75

86
Set Implicit Arguments.
97
Unset Strict Implicit.

src/ssrextra/tuple.v

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(* Additional lemmas about tuples *)
22
From Coq Require Import Setoid.
3-
Require Import mathcomp.ssreflect.ssreflect.
4-
5-
From mathcomp Require Import ssrbool ssrnat eqtype seq fintype tuple.
3+
From mathcomp Require Import ssreflect ssrfun ssrbool ssrnat eqtype seq fintype tuple.
64

75
Lemma mapCons {n A B} (f: A -> B) b (p: n.-tuple A) :
86
map_tuple f [tuple of b :: p] = [tuple of f b :: map_tuple f p].

0 commit comments

Comments
 (0)