This file is indexed.

/usr/share/gap/pkg/ctbllib/gap4/test.gd is in gap-character-tables 1r1p3-5.

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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
#############################################################################
##
#W  test.gd             GAP character table library             Thomas Breuer
##
#H  @(#)$Id: test.gd,v 1.14 2004/02/18 17:49:56 gap Exp $
##
#Y  Copyright (C)  2002,  Lehrstuhl D fuer Mathematik,  RWTH Aachen,  Germany
##
##  This file contains the declaration of functions to test the data
##  available in the {\GAP} Character Table Library.
##
Revision.( "ctbllib/gap4/test_gd" ) :=
    "@(#)$Id: test.gd,v 1.14 2004/02/18 17:49:56 gap Exp $";


#############################################################################
##
#F  CTblLibTestMax( )
#F  CTblLibTestMax( <tblname> )
##
##  First suppose that `CTblLibTestMax' is called with one
##  argument <tblname>,
##  which is an admissible name of the form `<grpname>M<p>'.
##  Then it is checked whether a fusion from the table with name <tblname>
##  into the table with name <grpname> is stored.
##
##  If no argument is given then all admissible character table names are
##  checked with the one argument version.
##
##  In all cases, the return value is `false' if an error occurred,
##  and `true' otherwise.
##
DeclareGlobalFunction( "CTblLibTestMax" );


#############################################################################
##
#F  CTblLibTestSylowNormalizers( )
#F  CTblLibTestSylowNormalizers( <tblname> )
##
##  First suppose that `CTblLibTestSylowNormalizers' is called with one
##  argument <tblname>,
##  which is an admissible name of the form `<grpname>N<p>'.
##  Then it is checked whether the Sylow <p> subgroup of the table with name
##  <tblname> is a nontrivial normal subgroup, and whether the order of the
##  Sylow <p> subgroup coincides with that in the table for <grpname>.
##  If the Sylow <p> subgroup is cyclic then it is additionally checked
##  whether the order of the group of <tblname> equals the order of the
##  Sylow <p> normalizer.
##
##  If no argument is given then all admissible character table names are
##  checked with the one argument version.
##
##  In all cases, the return value is `false' if an error occurred,
##  and `true' otherwise.
##
DeclareGlobalFunction( "CTblLibTestSylowNormalizers" );


#############################################################################
##
#F  CTblLibTestElementCentralizers( )
#F  CTblLibTestElementCentralizers( <tblname> )
##
##  First suppose that `CTblLibTestElementCentralizers' is called with one
##  argument <tblname>,
##  which is an admissible name of the form `<grpname>C<nam>',
##  where <nam> is a classname of the table with the name <grpname>.
##  Then it is checked whether a reasonable subgroup fusion from the table
##  with the name <tblname> to the table with the name <grpname> is stored,
##  and whether <tblname> can describe the full centralizer of the class
##  <nam> in the table with the name <grpname>.
##  Independent of the structure of <tblname>, it is checked for all subgroup
##  fusions from the character table with name <tblname> into other tables
##  whether the subgroup table is the full centralizer of an element in the
##  supergroup table, and if yes whether this table has an admissible name
##  that expresses this.
##
##  If no argument is given then all admissible character table names are
##  checked with the one argument version.
##
##  In all cases, the return value is `false' if an error occurred,
##  and `true' otherwise.
##
DeclareGlobalFunction( "CTblLibTestElementCentralizers" );


#############################################################################
##
#F  CTblLibTestElementNormalizers( )
#F  CTblLibTestElementNormalizers( <tblname> )
##
##  First suppose that `CTblLibTestElementNormalizers' is called with one
##  argument <tblname>,
##  which is an admissible name of the form `<grpname>N<nam>',
##  where <nam> is a classname of the table with the name <grpname>.
##  Then it is checked whether a reasonable subgroup fusion from the table
##  with the name <tblname> to the table with the name <grpname> is stored,
##  and whether <tblname> can describe the full normalizer of the class
##  <nam> in the table with the name <grpname>.
##  Independent of the structure of <tblname>, it is checked for all subgroup
##  fusions from the character table with name <tblname> into other tables
##  whether the subgroup table is the full normalizer of an element in the
##  supergroup table, and if yes whether this table has an admissible name
##  that expresses this.
##
##  If no argument is given then all admissible character table names are
##  checked with the one argument version.
##
##  In all cases, the return value is `false' if an error occurred,
##  and `true' otherwise.
##
DeclareGlobalFunction( "CTblLibTestElementNormalizers" );


#############################################################################
##
#V  CTblLibHardFusions
##
##  `CTblLibHardFusions' is a list of pairs `[ <subname>, <tblname> ]'
##  where <subname> and <tblname> are `Identifier' values of character
##  tables such that `CTblLibTestSubgroupFusion' shall omit the compatibility
##  check for the class fusion between these tables.
##
DeclareGlobalVariable( "CTblLibHardFusions" );


#############################################################################
##
#F  CTblLibTestDecompositions( <sub>, <fuslist>, <tbl> )
##
##  Let <sub> and <tbl> be ordinary character tables, and <fuslist> a list of
##  possible class fusions from <sub> to <tbl>.
##
##  `CTblLibTestDecompositions' returns the set of all those entries in
##  <fuslist> such that for all available $p$-modular Brauer tables of <sub>
##  and <tbl>, the $p$-modular Brauer characters of <tbl> decompose into
##  $p$-modular Brauer characters of <sub>.
##
DeclareGlobalFunction( "CTblLibTestDecompositions" );


#############################################################################
##
#F  CTblLibTestSubgroupFusion( <sub>, <tbl> )
#F  CTblLibTestSubgroupFusion( <sub>, <tbl>, <statistics> )
##
##  If no class fusion from <sub> to <tbl> is possible or if the possible
##  class fusions contradict the stored fusion then `false' is returned.
##  If a fusion is stored and is compatible with the possible fusions,
##  and the fusion is not unique up to table automorphisms and if the stored
##  fusion has no `text' component then `fail' is returned.
##  Otherwise the fusion record is returned.
##
##  If the pair of identifiers of <sub> and <tbl> occurs in the global list
##  `CTblLibHardFusions' amd if a fusion is stored then the fusion record is
##  returned without tests, and a message is printed.
##
##  If <statistics> is a list then statistics information bout the fusion is
##  added to it, otherwise <statistics> is ignored.
##
DeclareGlobalFunction( "CTblLibTestSubgroupFusion" );


#############################################################################
##
#F  CTblLibTestFactorFusion( <tbl>, <fact> )
##
##  If no class fusion from <tbl> onto <fact> is possible or if the possible
##  factor fusions contradict the stored fusion then `false' is returned.
##  If a fusion is stored and is compatible with the possible fusions,
##  and the fusion is not unique up to table automorphisms and if the stored
##  fusion has no `text' component then `fail' is returned.
##  Otherwise the fusion record is returned.
##
DeclareGlobalFunction( "CTblLibTestFactorFusion" );


#############################################################################
##
#F  CTblLibTestFusions( <statistics> )
#F  CTblLibTestFusions( <tblname>, <statistics> )
##
##  First suppose that `CTblLibTestFusions' is called with two
##  arguments <tblname>, which is an admissible name of a character table,
##  and <statistics>, which may be any object.
##  Then it is checked whether the subgroup and factor fusions stored on the
##  table can be correct; for subgroup fusions, this means that the target
##  table exists, that the stored fusion map is among the possible class
##  fusions computed with `PossibleClassFusions'
##  (see~"ref:PossibleClassFusions" in the {\GAP} Reference Manual),
##  that a `text' component is stored whenever the fusion map is not unique
##  up to table automorphisms, and that stored `text' components are
##  compatible with the possible class fusions.
##
##  If <statistics> is a list then for all subgroup fusions that are
##  recomputed, statistics information is added to <statistics>.
##
##  If only one argument <statistics> is given then all standard character
##  table names are checked with the two argument version, where <statistics>
##  is the second argument in each call.
##
##  In all cases, the return value is `false' if an error occurred,
##  and `true' otherwise.
##
DeclareGlobalFunction( "CTblLibTestFusions" );


#############################################################################
##
#F  CTblLibTestPowerMaps( )
#F  CTblLibTestPowerMaps( <tblname> )
##
##  First suppose that `CTblLibTestPowerMaps' is called with one
##  argument <tblname>, which is an admissible name of a character table.
##  Then it is checked whether all power maps of prime divisors of the group
##  order are stored on the table, and whether they are correct.
##  (This includes the information about uniqueness of the power maps.)
##
##  If no argument is given then all standard character table names are
##  checked with the one argument version.
##
##  In all cases, the return value is `false' if an error occurred,
##  and `true' otherwise.
##
DeclareGlobalFunction( "CTblLibTestPowerMaps" );


#############################################################################
##
#F  CTblLibTestTensorDecomposition( <ordname>, <p> )
##
##  to be used only if new Brauer tables are added!
##
DeclareGlobalFunction( "CTblLibTestTensorDecomposition" );


#############################################################################
##
#F  CTblLibTestInfoText()
#F  CTblLibTestInfoText( <tblname> )
##
##  Currently it is not recommended to use the `InfoText' (see~"ref:InfoText"
##  in the {\GAP} Reference Manual) value of character tables
##  programmatically.
##  However, one can rely on the following structure of the `InfoText' value
##  of tables in the {\GAP} Character Table Library.
##
##  The value is a string consisting of `\\n' separated lines.
##
##  If a line of the form ``maximal subgroup of <grpname>,'' occurs,
##  where <grpname> is the name of a character table, then a class fusion
##  from the table in question to that with name <grpname> is stored;
##  the terminating comma can be missing if the line is the last of the
##  `InfoText' value.
##  If a line of the form ``<n>th maximal subgroup of <grpname>,'' occurs
##  then the table with name <grpname> has a `Maxes' value (see~"ref:Maxes"
##  in the {\GAP} Reference Manual) in which the given character table is
##  referenced in position <n>.
#T  <n>st, <n>nd, <n>rd !!
#T  <n>th and <m>th ??
#T  ...<n>th maximal subgroup of ... group <grpname>... ??
##
DeclareGlobalFunction( "CTblLibTestInfoText" );


#############################################################################
##
#V  CTblLibHardTableAutomorphisms
##
##  `CTblLibHardTableAutomorphisms' is a list of `Identifier' values of
##  character tables such that `CTblLibTestTableAutomorphisms' shall omit the
##  check for these tables.
##
DeclareGlobalVariable( "CTblLibHardTableAutomorphisms" );


#############################################################################
##
#F  CTblLibTestTableAutomorphisms( [<tblname>] )
##
DeclareGlobalFunction( "CTblLibTestTableAutomorphisms" );


#############################################################################
##
#V  CTblLibTestConstructionsFunctions
##
DeclareGlobalVariable( "CTblLibTestConstructionsFunctions" );


#############################################################################
##
#F  CTblLibTestConstructions()
#F  CTblLibTestConstructions( <tblname> )
##
DeclareGlobalFunction( "CTblLibTestConstructions" );


#T test mapping to tomlib:
#T do all table names and tom names exist?

#############################################################################
##
#E