From 7c47bab45686e90ee50e6c7eaae3230cb7ce9e53 Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Fri, 20 Nov 2020 03:10:59 +0100 Subject: Using Arguments / to deal with volatile definitions --- mathcomp/solvable/gfunctor.v | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mathcomp/solvable') 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. -- cgit v1.2.3