This file is indexed.

/usr/share/gap/pkg/ctbllib/gap4/ctblothe.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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
#############################################################################
##
#W  ctblothe.gd                 GAP library                     Thomas Breuer
##
#H  @(#)$Id: ctblothe.gd,v 1.5 2003/11/17 15:50:48 gap Exp $
##
#Y  Copyright 1990-1992,  Lehrstuhl D fuer Mathematik,  RWTH Aachen,  Germany
##
##  This file contains the declarations of functions for interfaces to
##  other data formats of character tables.
##
##  1. Interface to {\sf CAS}
##  2. Interface to {\sf MOC}
##  3. Interface to {\GAP}~3
##  4. Interface to the Cambridge format
#0
##  This chapter describes data formats for character tables that can be read
##  or created by {\GAP}.
##  Currently these are the formats used by
##  the {\sf CAS} system (see~"Interface to the CAS System"),
##  the {\MOC} system (see~"Interface to the MOC System"),
##  and {\GAP}~3 (see~"Interface to GAP 3").
##
Revision.ctblothe_gd :=
    "@(#)$Id: ctblothe.gd,v 1.5 2003/11/17 15:50:48 gap Exp $";


#############################################################################
##
#T  TODO:
##
#a  MocData( <chi> )
#a  MocInfo( <tbl> )
#o  VirtualCharacterByMocData( <tbl>, <vector> )
#o  CharacterByMocData( <tbl>, <vector> )
##


#############################################################################
##
##  1. Interface to {\sf CAS}
#1
##  The interface to {\sf CAS} is thought just for printing the {\sf CAS}
##  data to a file.
##  The function `CASString' is available mainly in order to document the
##  data format.
##  *Reading* {\sf CAS} tables is not supported; note that the tables
##  contained in the {\sf CAS} Character Table Library have been migrated to
##  {\GAP} using a few `sed' scripts and `C' programs.
##


#############################################################################
##
#F  CASString( <tbl> )
##
##  is a string that encodes the {\sf CAS} library format of the character
##  table <tbl>.
##  This string can be printed to a file which then can be read into the
##  {\sf CAS} system using its `get' command (see~\cite{NPP84}).
##
##  The used line length is `SizeScreen()[1]'
##  (see~"ref:SizeScreen" in the {\GAP} Reference Manual).
##
##  Only the known values of the following attributes are used.
##  `ClassParameters' (for partitions only), `ComputedClassFusions',
##  `ComputedPowerMaps', `Identifier', `InfoText', `Irr',
##  `ComputedPrimeBlocks', `ComputedIndicators',
##  `OrdersClassRepresentatives', `Size', `SizesCentralizers'.
##
DeclareGlobalFunction( "CASString" );


#############################################################################
##
##  2. Interface to {\sf MOC}
#2
##  The interface to {\MOC} can be used to print {\MOC} input.
##  Additionally it provides an alternative representation of (virtual)
##  characters.
##
##  The {\MOC}~3 code of a 5 digit number in {\MOC}~2 code is given by the
##  following list.
##  (Note that the code must contain only lower case letters.)
##
##  \begintt
##  ABCD    for  0ABCD
##  a       for  10000
##  b       for  10001          k       for  20001
##  c       for  10002          l       for  20002
##  d       for  10003          m       for  20003
##  e       for  10004          n       for  20004
##  f       for  10005          o       for  20005
##  g       for  10006          p       for  20006
##  h       for  10007          q       for  20007
##  i       for  10008          r       for  20008
##  j       for  10009          s       for  20009
##  tAB     for  100AB
##  uAB     for  200AB
##  vABCD   for  1ABCD
##  wABCD   for  2ABCD
##  yABC    for  30ABC
##  z       for  31000
##  \endtt
##
##  *Note* that any long number in {\MOC}~2 format is divided into packages
##  of length 4, the first (!) one filled with leading zeros if necessary.
##  Such a number with decimals $d_1, d_2, \ldots, d_{4n+k}$ is the sequence
##  $$
##  0d_1d_2d_3d_4 \ldots 0d_{4n-3}d_{4n-2}d_{4n-1}d_{4n}
##     xd_{4n+1}\ldots d_{4n+k}
##  $$
##  where $0 \leq k \leq 3$,
##  the first digit of $x$ is $1$ if the number is positive and $2$ if the
##  number is negative,
##  and then follow $(4-k)$ zeros.
##
##  \cite{HJLP92} explains details about the {\MOC} system,
##  a brief description can be found in~\cite{LP91}.
##


#############################################################################
##
#F  MAKElb11( <listofns> )
##
##  `MAKElb11' prints field information for all number fields with conductor
##  $n$ where the positive integer $n$ is in the list <listofns>.
##
##  The output of `MAKElb11' is used by the {\MOC} system.
##  `MAKElb11( [ 3 .. 189 ] )' will print something very similar to
##  Richard Parker's file `lb11'.
##
DeclareGlobalFunction( "MAKElb11" );


#############################################################################
##
#F  MOCTable( <gaptbl> )
#F  MOCTable( <gaptbl>, <basicset> )
##
##  `MOCTable' returns the {\MOC} table record of the {\GAP} character table
##  <gaptbl>.
##
##  The first form can be used only if <gaptbl> is an ordinary ($G\.0$) table.
##  For Brauer ($G\.p$) tables one has to specify a basic set <basicset> of
##  ordinary irreducibles.
##  <basicset> must be a list of positions of the basic set characters in the
##  `Irr' list of the ordinary table of <gaptbl>.
##
##  The result is a record that contains the information of <gaptbl>
##  in a format similar to the {\MOC}~3 format.
##  This record can, e.g., easily be printed out or be used to print out
##  characters using `MOCString' (see~"MOCString").
##
##  The components of the result are
##  \beginitems
##  `identifier' &
##      the string `MOCTable(<name>)' where <name> is the `Identifier'
##      value of <gaptbl>,
##
##  `GAPtbl' &
##      <gaptbl>,
##
##  `prime' &
##      the characteristic of the field (label `30105' in {\MOC}),
##
##  `centralizers' &
##      centralizer orders for cyclic subgroups (label `30130')
##
##  `orders' &
##      element orders for cyclic subgroups (label `30140')
##
##  `fieldbases' &
##      at position $i$ the Parker basis of the number field generated
##      by the character values of the $i$-th cyclic subgroup.
##      The length of `fieldbases' is equal to the value of label `30110'
##      in {\MOC}.
##
##  `cycsubgps' &
##      `cycsubgps[i] = j' means that class `i' of the {\GAP} table
##      belongs to the `j'-th cyclic subgroup of the {\GAP} table,
##
##  `repcycsub' &
##      `repcycsub[j] = i' means that class `i' of the {\GAP} table
##      is the representative of the `j'-th cyclic subgroup of the
##      {\GAP} table.
##      *Note* that the representatives of {\GAP} table and {\MOC} table
##      need not agree!
##
##  `galconjinfo' &
##      a list $[ r_1, c_1, r_2, c_2, \ldots, r_n, c_n ]$
##      which means that the $i$-th class of the {\GAP} table is
##      the $c_i$-th conjugate of the representative of
##      the $r_i$-th cyclic subgroup on the {\MOC} table.
##      (This is used to translate back to {\GAP} format,
##      stored under label `30160')
##
##  `30170' &
##      (power maps) for each cyclic subgroup (except the trivial one)
##      and each prime divisor of the representative order store four values,
##      namely the number of the subgroup, the power,
##      the number of the cyclic subgroup containing the image,
##      and the power to which the representative must be raised to yield
##      the image class.
##      (This is used only to construct the `30230' power map/embedding
##      information.)
##      In `30170' only a list of lists (one for each cyclic subgroup)
##      of all these values is stored, it will not be used by {\GAP}.
##
##  `tensinfo' &
##      tensor product information, used to compute the coefficients
##      of the Parker base for tensor products of characters
##      (label `30210' in {\MOC}).
##      For a field with vector space basis $(v_1,v_2,\ldots,v_n)$
##      the tensor product information of a cyclic subgroup in {\MOC}
##      (as computed by `fct') is either 1 (for rational classes)
##      or a sequence
##  $$
##  n x_{1,1} y_{1,1} z_{1,1} x_{1,2} y_{1,2} z_{1,2}
##  \ldots x_{1,m_1} y_{1,m_1} z_{1,m_1} 0 x_{2,1} y_{2,1}
##  z_{2,1} x_{2,2} y_{2,2} z_{2,2} \ldots x_{2,m_2}
##  y_{2,m_2} z_{2,m_2} 0 \ldots z_{n,m_n} 0
##  $$
##      which means that the coefficient of $v_k$ in the product
##  $$
##  \left( \sum_{i=1}^{n} a_i v_i \right) %
##  \left( \sum_{j=1}^{n} b_j v_j \right)
##  $$
##      is equal to
##  $$
##  \sum_{i=1}^{m_k} x_{k,i} a_{y_{k,i}} b_{z_{k,i}}\.
##  $$
##      On a {\MOC} table in {\GAP} the `tensinfo' component is
##      a list of lists, each containing exactly the sequence mentioned
##      above.
##
##  `invmap' &
##      inverse map to compute complex conjugate characters,
##      label `30220' in {\MOC}.
##
##  `powerinfo' &
##      field embeddings for $p$-th symmetrizations,
##      $p$ a prime integer not larger than the largest element order,
##      label `30230' in {\MOC}.
##
##  `30900' &
##      basic set of restricted ordinary irreducibles in the
##      case of nonzero characteristic,
##      all ordinary irreducibles otherwise.
##  \enditems
##
DeclareGlobalFunction( "MOCTable" );


#############################################################################
##
#F  MOCString( <moctbl> )
#F  MOCString( <moctbl>, <chars> )
##
##  Let <moctbl> be a {\MOC} table record as returned by `MOCTable'
##  (see~"MOCTable").
##  `MOCString' returns a string describing the {\MOC}~3 format of <moctbl>.
##
##  If the second argument <chars> is specified, it must be a list of {\MOC}
##  format characters as returned by `MOCChars' (see~"MOCChars").
##  In this case, these characters are stored under label `30900'.
##  If the second argument is missing then the basic set of ordinary
##  irreducibles is stored under this label.
##
DeclareGlobalFunction( "MOCString" );


#############################################################################
##
#F  ScanMOC( <list> )
##
##  returns a record containing the information encoded in the list <list>.
##  The components of the result are the labels that occur in <list>.
##  If <list> is in {\MOC}~2 format (10000-format),
##  the names of components are 30000-numbers;
##  if it is in {\MOC}~3 format the names of components have `yABC'-format.
##
DeclareGlobalFunction( "ScanMOC" );


#############################################################################
##
#F  GAPChars( <tbl>, <mocchars> )
##
##  Let <tbl> be a character table or a {\MOC} table record,
##  and <mocchars> either a list of {\MOC} format characters
##  (as returned by `MOCChars' (see~"MOCChars")
##  or a list of positive integers such as a record component encoding
##  characters, in a record produced by `ScanMOC' (see~"ScanMOC").
##
##  `GAPChars' returns translations of <mocchars> to {\GAP} character values
##  lists.
##
DeclareGlobalFunction( "GAPChars" );


#############################################################################
##
#F  MOCChars( <tbl>, <gapchars> )
##
##  Let <tbl> be a character table or a {\MOC} table record,
##  and <gapchars> a list of ({\GAP} format) characters.
##  `MOCChars' returns translations of <gapchars> to {\MOC} format.
##
DeclareGlobalFunction( "MOCChars" );


#############################################################################
##
##  3. Interface to {\GAP}~3
#3
##  The following functions are used to read and write character tables in
##  {\GAP}~3 format.
##


#############################################################################
##
#V  GAP3CharacterTableData
##
##  This is a list of pairs, the first entry being the name of a component in
##  a {\GAP}~3 character table and the second entry being the corresponding
##  attribute name in {\GAP}~4.
##  The variable is used by `GAP3CharacterTableScan'
##  (see~"GAP3CharacterTableScan") and `GAP3CharacterTableString'
##  (see~"GAP3CharacterTableString").
##
DeclareGlobalVariable( "GAP3CharacterTableData",
    "list of pairs [ <GAP 3 component>, <GAP 4 attribute> ]" );


#############################################################################
##
#F  GAP3CharacterTableScan( <string> )
##
##  Let <string> be a string that contains the output of the {\GAP}~3
##  function `PrintCharTable'.
##  In other words, <string> describes a {\GAP} record whose components
##  define an ordinary character table object in {\GAP}~3.
##  `GAP3CharacterTableScan' returns the corresponding {\GAP}~4
##  character table object.
##
##  The supported record components are given by the list
##  `GAP3CharacterTableData'.
##
DeclareGlobalFunction( "GAP3CharacterTableScan" );


#############################################################################
##
#F  GAP3CharacterTableString( <tbl> )
##
##  For an ordinary character table <tbl>, `GAP3CharacterTableString' returns
##  a string that when read into {\GAP}~3 evaluates to a character table
##  corresponding to <tbl>.
##  A similar format is printed by the {\GAP}~3 function `PrintCharTable'.
##
##  The supported record components are given by the list
##  `GAP3CharacterTableData'.
##
DeclareGlobalFunction( "GAP3CharacterTableString" );


#############################################################################
##
##  4. Interface to the Cambridge format
##


#############################################################################
##
#F  CambridgeMaps( <tbl> )
##
##  For a character table <tbl>, `CambridgeMaps' returns a record with the
##  following components.
##
##  ...
##
DeclareGlobalFunction( "CambridgeMaps" );


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