This file is indexed.

/usr/share/gap/lib/solmxgrp.gd is in gap-libs 4r7p5-2.

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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
#############################################################################
##
#W  solmxgrp.gd			GAP Library		       Gene Cooperman
#W							     and Scott Murray
##
##
#Y  Copyright (C)  1996,  Lehrstuhl D für Mathematik,  RWTH Aachen,  Germany
#Y  (C) 1999 School Math and Comp. Sci., University of St Andrews, Scotland
#Y  Copyright (C) 2002 The GAP Group
##
##  Computing with soluble matrix groups, as described in 
##  E. Luks, Computing in Solvable Matrix Groups, FOCS/STOC.
##
##  Note:  This code is incomplete (in fact we only deal with nilpotent 
##  groups) and should be considered experimental.
##


#############################################################################
##
#F  SetIsCyclicWithSize( <G>, <gen>, <size> )
##
##  IMPORTANT:  Never SetIsCylic() without also setting size.
##
DeclareGlobalFunction( "SetIsCyclicWithSize", 
    [ IsGroup, IsAssociativeElement, IsInt ] );

#############################################################################
##
#F  ConjugateMatrixActionToLinearAction( <g> )
##
##  Action on Span( G ), for G a matrix group.
##  Given d x d matrix acting by conj., g, return d^2 x d^2 matrix acting 
##  linearly.
##  Could probably be done better via GAP with something like (not correct
##  here):
##   hom := OperationAlgebraHomomorphism( AsAlgebra(G), GF(q)^(d^2), x->x^g)
##   ImageElm( hom, g );
##
DeclareGlobalFunction( "ConjugateMatrixActionToLinearAction",
    [ IsAssociativeElement ] );

#############################################################################
##
#F  ConjugateMatrixGroupToLinearAction( <G> )
##
DeclareGlobalFunction( "ConjugateMatrixGroupToLinearAction",
    [ IsFFEMatrixGroup ] );

#############################################################################
##
#O  MakeHomChain( <G> )
##
##  Computes a chain of subgroups for the group <G> which are kernels of 
##  homomorphisms.
##  Currently only implemented for nilpotent groups.  We use the algorithm of
##  E. Luks, Computing in Solvable Matrix Groups, FOCS/STOC.
##
DeclareOperation( "MakeHomChain", [ IsGroup ] );

##  DeclareOperation( "MakeHomChain",
##      [ IsFFEMatrixGroup and IsAbelian and IsPGroup ] );

#############################################################################
##
#A  BasisOfHomCosetAddMatrixGroup( <G> )
##
##  We'll do Gaussian elimination ourselves.
##  GAP has V := VectorSpace(FieldOfMatrixGroup(quo), GeneratorsOfGroup(quo));
##     but GAP wants to know Dimension(V) and Basis(V) first, and
##     there seems to be no way to bootstrap up by giving GAP first
##     some linearly dependent elements.
##  LeftModuleByGenerators() also works, but again, GAP refuses to find
##      a basis for it.
##  SemiEchelonBasis(V) fails with UseSubsetRelation(arg[1], S);
##     in SubmoduleNC()
##  RETURN:  rec(basis, residue), where G generated by basis and residue
##     basis is set of indep. gen's of G;  residue elt's all satisfy
##     IsOne(residue), but they can be useful if this was a quotient group
##
DeclareAttribute( "BasisOfHomCosetAddMatrixGroup",
                  IsGroup and IsQuotientToAdditiveGroup );
DeclareAttribute( "BasisOfHomCosetAddMatrixGroup",
                  IsAdditiveGroup );
DeclareGlobalFunction( "BasisOfHomCosetAddMatrixGroupFnc" );

#############################################################################
##
#F  SiftVector( <basisVecList>, <vec> )
#F  SiftVector( <basisVecList> )
##
##    SiftVector(basisVecList,vec) sifts vec through basisVecList
##    SiftVector(basisVecList) returns a fnc to sift vec through basisVecList
##  So:  SiftVector(basisVecList)(vec) = SiftVector(basisVecList,vec)
##  This relies on basis for which each successive basis "vector"
##    has more leading zeroes than previous one
##
DeclareGlobalFunction( "SiftVector" );

#############################################################################
##
#A  SiftFunction( <G> )
##
DeclareAttribute( "SiftFunction", IsGroup and IsAdditiveGroup );
DeclareAttribute( "SiftFunction", IsGroup and IsQuotientToAdditiveGroup );
DeclareAttribute( "SiftFunction",
                  IsGroup and IsFFEMatrixGroup and IsCyclic and IsPGroup );


#############################################################################
#############################################################################
##
##  Abelian matrix p-groups:
##
#############################################################################
#############################################################################

#############################################################################
##
#O  InvariantSubspaceOrCyclicGroup( <H> )
##
##  Returns either an invariant subspace or a cyclic group.
##  Prefers to return invariant subspace. 
##  Hence, if it returns a cyclic group, the cyclic group is uniform.
##
DeclareOperation( "InvariantSubspaceOrCyclicGroup",
    [ IsFFEMatrixGroup and IsAbelian ] );
DeclareOperation( "InvariantSubspaceOrCyclicGroup", [ IsTrivial ] );

#############################################################################
##
#O  InvariantSubspaceOrUniformCyclicPGroup( <G> )
##
##  Returns either an invariant subspace or a uniform cyclic $p$-group.
##
DeclareOperation( "InvariantSubspaceOrUniformCyclicPGroup", 
    [ IsFFEMatrixGroup ] );

#############################################################################
##
#O  KernelOfHomQuotientGroup( <quo> )
##
##  Sets kernel of Homomorphism(quo) for IsHomQuotientGroup
##  when image is abelian.
##  (This would be useful as a method for Kernel, for the homomorphism.)
##
DeclareOperation( "KernelOfHomQuotientGroup",
                  [ IsHomQuotientGroup and IsAbelian ] );

#############################################################################
#############################################################################
##
##  Cyclic matrix p-groups:
##  Exports:  Size, IN, Random, Enumerator, Sift
##  Internal:  GeneratorOfCyclicGroup, TrivialQuotientSubgroup (presentation)
##
#############################################################################
#############################################################################

#############################################################################
##
#M  Size( <grp> )
##
InstallImmediateMethod(Size, HasGeneratorOfCyclicGroup, 0,
                       grp->Order(GeneratorOfCyclicGroup(grp)) );

#############################################################################
##
#O  Sift( <G> )
##
DeclareOperation( "Sift", [ IsFFEMatrixGroup and IsCyclic and IsPGroup,
                            IsMultiplicativeElementWithInverse ] );

#############################################################################
##
#O  TrivialQuotientSubgroup( <> )
##
##  TrivialQuotientSubgroup could be an attribute
##
DeclareOperation( "TrivialQuotientSubgroup", [ IsGroup ] );


#############################################################################
#############################################################################
##
##  Nilpotent matrix groups:
##
#############################################################################
#############################################################################

#############################################################################
##
#P  CanFindNilpotentClassTwoElement( <G> )
##
##  A nilpotent class 2 elt, g in G, satisfies:  [G,g] contained in Center(G)
##                                              and g not in Center(G)
##  This function guaranteed to succeed for non-abelian nilpotent groups,
##     but it may succeed for other groups, too.
##
DeclareProperty( "CanFindNilpotentClassTwoElement", IsGroup );

#############################################################################
##
#A  NilpotentClassTwoElement( <G> )
##
DeclareAttribute( "NilpotentClassTwoElement", IsGroup );

#############################################################################
##
#F  NaturalHomomorphismByNilpotentClassTwoElement( <G> )
##
DeclareGlobalFunction( "NaturalHomomorphismByNilpotentClassTwoElement",
    [ IsFFEMatrixGroup ] );


#############################################################################
##
#E  solmxgrp.gd . . . . . . . . . . . . . . . . . . . . . . . . . . ends here
##