aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/solvable
diff options
context:
space:
mode:
authorCyril Cohen2020-11-20 03:10:59 +0100
committerCyril Cohen2020-11-20 03:10:59 +0100
commit7c47bab45686e90ee50e6c7eaae3230cb7ce9e53 (patch)
tree3e90f47d229669b376a967c63b3aa9bb6ad89beb /mathcomp/solvable
parent676a9266ad77232ab198c86a6a3a3f3f6ba53cc0 (diff)
Using Arguments / to deal with volatile definitions
Diffstat (limited to 'mathcomp/solvable')
-rw-r--r--mathcomp/solvable/gfunctor.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/mathcomp/solvable/gfunctor.v b/mathcomp/solvable/gfunctor.v
index 2fcb8ac..1f8c26f 100644
--- a/mathcomp/solvable/gfunctor.v
+++ b/mathcomp/solvable/gfunctor.v
@@ -148,7 +148,7 @@ Definition monotonic :=
Variables (k : unit) (F1 F2 : object_map).
-Definition comp_head : object_map := fun gT A => let: tt := k in F1 (F2 A).
+Definition comp : object_map := fun gT A => F1 (F2 A).
Definition modulo : object_map :=
fun gT A => coset (F2 A) @*^-1 (F1 (A / (F2 A))).
@@ -244,7 +244,8 @@ Export GFunctor.Exports.
Bind Scope gFun_scope with GFunctor.object_map.
-Notation "F1 \o F2" := (GFunctor.comp_head tt F1 F2) : gFun_scope.
+Arguments GFunctor.comp F1 F2 _ /.
+Notation "F1 \o F2" := (GFunctor.comp F1 F2) : gFun_scope.
Notation "F1 %% F2" := (GFunctor.modulo F1 F2) : gFun_scope.
Section FunctorGroup.