/usr/share/gap/lib/rwsgrp.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 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | #############################################################################
##
#W rwsgrp.gd GAP Library Frank Celler
##
##
#Y Copyright (C) 1996, 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 the operations for groups defined by rewriting
## systems.
##
## `GroupByRws' tries to convert a rewriting system into a group. The
## generic method requires that the underlying structure is a group.
## Rewriting system constructors should set the rewriting system feature
## `IsBuiltFromGroup' in this case.
##
#############################################################################
##
#C IsElementsFamilyByRws . category of elements family constructed with RWS
##
DeclareCategory(
"IsElementsFamilyByRws",
IsFamily );
#############################################################################
##
#O MultiplicativeElementsWithInversesFamilyByRws( <rws> ) . . . this family
##
## <ManSection>
## <Oper Name="MultiplicativeElementsWithInversesFamilyByRws" Arg='rws'/>
##
## <Description>
## </Description>
## </ManSection>
##
DeclareOperation(
"MultiplicativeElementsWithInversesFamilyByRws",
[ IsRewritingSystem ] );
#############################################################################
##
#C IsMultiplicativeElementWithInverseByRws . . . category of these elements
##
DeclareCategory(
"IsMultiplicativeElementWithInverseByRws",
IsMultiplicativeElementWithInverse );
#############################################################################
##
#O ElementByRws( <fam>, <elm> ) . . . . . . . . . construct such an element
##
## <ManSection>
## <Oper Name="ElementByRws" Arg='fam, elm'/>
##
## <Description>
## </Description>
## </ManSection>
##
DeclareOperation(
"ElementByRws",
[ IsElementsFamilyByRws, IsObject ] );
#############################################################################
##
#O GroupByRws( <rws> ) . . . . . . . . . . . . construct a group from a RWS
##
## <ManSection>
## <Oper Name="GroupByRws" Arg='rws'/>
##
## <Description>
## </Description>
## </ManSection>
##
DeclareOperation(
"GroupByRws",
[ IsRewritingSystem ] );
#############################################################################
##
#O GroupByRwsNC( <rws> ) . . . . . . . . . . . construct a group from a RWS
##
## <ManSection>
## <Oper Name="GroupByRwsNC" Arg='rws'/>
##
## <Description>
## </Description>
## </ManSection>
##
DeclareOperation(
"GroupByRwsNC",
[ IsRewritingSystem ] );
#############################################################################
##
#E
|