aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/field
diff options
context:
space:
mode:
authorCyril Cohen2020-11-19 21:37:27 +0100
committerGitHub2020-11-19 21:37:27 +0100
commit0dbefe01e54a467b7932a514355f0435b4cfb978 (patch)
tree20f7b58ca7d379faf4cc4ddeb435744e7d87a3a6 /mathcomp/field
parent75da4dbbf2fa6ca6ee150d272d3a793bff63c931 (diff)
parentc83609826d97afda6b11b227207f461cf077a0d5 (diff)
Merge pull request #656 from affeldt-aist/declare_scopes
add declare scopes
Diffstat (limited to 'mathcomp/field')
-rw-r--r--mathcomp/field/Make2
-rw-r--r--mathcomp/field/algC.v4
-rw-r--r--mathcomp/field/algnum.v3
-rw-r--r--mathcomp/field/falgebra.v4
4 files changed, 12 insertions, 1 deletions
diff --git a/mathcomp/field/Make b/mathcomp/field/Make
index cc0cd90..c906bd9 100644
--- a/mathcomp/field/Make
+++ b/mathcomp/field/Make
@@ -17,4 +17,4 @@ separable.v
-arg -w -arg -notation-overridden
-arg -w -arg -duplicate-clear
-arg -w -arg -ambiguous-paths
--arg -w -arg -undeclared-scope \ No newline at end of file
+-arg -w -arg +undeclared-scope \ No newline at end of file
diff --git a/mathcomp/field/algC.v b/mathcomp/field/algC.v
index cd0a886..815bfba 100644
--- a/mathcomp/field/algC.v
+++ b/mathcomp/field/algC.v
@@ -53,6 +53,10 @@ Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
+Declare Scope C_scope.
+Declare Scope C_core_scope.
+Declare Scope C_expanded_scope.
+
Import Order.TTheory GRing.Theory Num.Theory.
Local Open Scope ring_scope.
diff --git a/mathcomp/field/algnum.v b/mathcomp/field/algnum.v
index 821a21e..bed8e71 100644
--- a/mathcomp/field/algnum.v
+++ b/mathcomp/field/algnum.v
@@ -41,6 +41,9 @@ Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
+Declare Scope algC_scope.
+Declare Scope algC_expanded_scope.
+
Import GRing.Theory Num.Theory.
Local Open Scope ring_scope.
diff --git a/mathcomp/field/falgebra.v b/mathcomp/field/falgebra.v
index db235fe..9069818 100644
--- a/mathcomp/field/falgebra.v
+++ b/mathcomp/field/falgebra.v
@@ -77,6 +77,10 @@ From mathcomp Require Import finalg zmodp matrix vector poly.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
+
+Declare Scope aspace_scope.
+Declare Scope lrfun_scope.
+
Local Open Scope ring_scope.
Reserved Notation "{ 'aspace' T }" (at level 0, format "{ 'aspace' T }").