/usr/share/gap/lib/mgmhom.gd is in gap-libs 4r7p9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87  | #############################################################################
##
#W  mgmhom.gd                    GAP library                  Andrew Solomon
##
##
#Y  Copyright (C)  1997,  Lehrstuhl D für Mathematik,  RWTH Aachen,  Germany
#Y  (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland
#Y  Copyright (C) 2002 The GAP Group
##
##  This file contains declarations for magma homomorphisms.
##
#############################################################################
##
#P  IsMagmaHomomorphism( <mapp> )
##
##  <#GAPDoc Label="IsMagmaHomomorphism">
##  <ManSection>
##  <Prop Name="IsMagmaHomomorphism" Arg='mapp'/>
##
##  <Description>
##  A <E>magma homomorphism</E> is a total single valued mapping
##  which respects  multiplication.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareSynonymAttr( "IsMagmaHomomorphism",
	IsMapping and RespectsMultiplication );
#############################################################################
##
#F  MagmaHomomorphismByFunctionNC( <G>, <H>, <fn> ) 
##
##  <#GAPDoc Label="MagmaHomomorphismByFunctionNC">
##  <ManSection>
##  <Func Name="MagmaHomomorphismByFunctionNC" Arg='G, H, fn'/>
##
##  <Description>
##  Creates the homomorphism from <A>G</A> to <A>H</A> without checking
##  that <A>fn</A> is a homomorphism.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalFunction( "MagmaHomomorphismByFunctionNC");
#############################################################################
##
#F  MagmaIsomorphismByFunctionsNC( <G>, <H>, <fn>, <inv> ) 
##
##  <ManSection>
##  <Func Name="MagmaIsomorphismByFunctionsNC" Arg='G, H, fn, inv'/>
##
##  <Description>
##  Creates the isomorphism from <A>G</A> to <A>H</A> without checking
##  that <A>fn</A> or <A>inv</A> are homomorphisms or bijective or inverse.
##  </Description>
##  </ManSection>
##
DeclareGlobalFunction( "MagmaIsomorphismByFunctionsNC");
############################################################################
##
#O  NaturalHomomorphismByGenerators( <f>, <s> )
##
##  <#GAPDoc Label="NaturalHomomorphismByGenerators">
##  <ManSection>
##  <Oper Name="NaturalHomomorphismByGenerators" Arg='f, s'/>
##
##  <Description>
##  returns a mapping from the magma <A>f</A> with <M>n</M> generators to the
##  magma <A>s</A> with <M>n</M> generators,
##  which maps the <M>i</M>-th generator of <A>f</A> to the 
##  <M>i</M>-th generator of <A>s</A>.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareOperation("NaturalHomomorphismByGenerators",[IsMagma, IsMagma]);
#############################################################################
##
#E
 |