aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/solvable
diff options
context:
space:
mode:
authoraffeldt-aist2020-11-20 17:55:19 +0900
committerGitHub2020-11-20 17:55:19 +0900
commitb4cdd47bcd7f2b2f9033ee00b7412570b07b8808 (patch)
tree63eaf93913a44ffc2d21c705640af01cdd3bbd17 /mathcomp/solvable
parent3bb1ccc63170e3e71ef9d5b62758b6fdb1c4371c (diff)
parent7c47bab45686e90ee50e6c7eaae3230cb7ce9e53 (diff)
Merge pull request #663 from CohenCyril/clean_head
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.