Debian Codegraph @

doc/ref/chap50.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
7 <head>
8 <title>GAP (ref) - Chapter 50: Group Libraries</title>
9 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
10 <meta name="generator" content="GAPDoc2HTML" />
11 <link rel="stylesheet" type="text/css" href="manual.css" />
12 <script src="manual.js" type="text/javascript"></script>
13 <script type="text/javascript">overwriteStyle();</script>
14 </head>
15 <body class="chap50" onload="jscontent()">
16
17
18 <div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a> <a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chap5.html">5</a> <a href="chap6.html">6</a> <a href="chap7.html">7</a> <a href="chap8.html">8</a> <a href="chap9.html">9</a> <a href="chap10.html">10</a> <a href="chap11.html">11</a> <a href="chap12.html">12</a> <a href="chap13.html">13</a> <a href="chap14.html">14</a> <a href="chap15.html">15</a> <a href="chap16.html">16</a> <a href="chap17.html">17</a> <a href="chap18.html">18</a> <a href="chap19.html">19</a> <a href="chap20.html">20</a> <a href="chap21.html">21</a> <a href="chap22.html">22</a> <a href="chap23.html">23</a> <a href="chap24.html">24</a> <a href="chap25.html">25</a> <a href="chap26.html">26</a> <a href="chap27.html">27</a> <a href="chap28.html">28</a> <a href="chap29.html">29</a> <a href="chap30.html">30</a> <a href="chap31.html">31</a> <a href="chap32.html">32</a> <a href="chap33.html">33</a> <a href="chap34.html">34</a> <a href="chap35.html">35</a> <a href="chap36.html">36</a> <a href="chap37.html">37</a> <a href="chap38.html">38</a> <a href="chap39.html">39</a> <a href="chap40.html">40</a> <a href="chap41.html">41</a> <a href="chap42.html">42</a> <a href="chap43.html">43</a> <a href="chap44.html">44</a> <a href="chap45.html">45</a> <a href="chap46.html">46</a> <a href="chap47.html">47</a> <a href="chap48.html">48</a> <a href="chap49.html">49</a> <a href="chap50.html">50</a> <a href="chap51.html">51</a> <a href="chap52.html">52</a> <a href="chap53.html">53</a> <a href="chap54.html">54</a> <a href="chap55.html">55</a> <a href="chap56.html">56</a> <a href="chap57.html">57</a> <a href="chap58.html">58</a> <a href="chap59.html">59</a> <a href="chap60.html">60</a> <a href="chap61.html">61</a> <a href="chap62.html">62</a> <a href="chap63.html">63</a> <a href="chap64.html">64</a> <a href="chap65.html">65</a> <a href="chap66.html">66</a> <a href="chap67.html">67</a> <a href="chap68.html">68</a> <a href="chap69.html">69</a> <a href="chap70.html">70</a> <a href="chap71.html">71</a> <a href="chap72.html">72</a> <a href="chap73.html">73</a> <a href="chap74.html">74</a> <a href="chap75.html">75</a> <a href="chap76.html">76</a> <a href="chap77.html">77</a> <a href="chap78.html">78</a> <a href="chap79.html">79</a> <a href="chap80.html">80</a> <a href="chap81.html">81</a> <a href="chap82.html">82</a> <a href="chap83.html">83</a> <a href="chap84.html">84</a> <a href="chap85.html">85</a> <a href="chap86.html">86</a> <a href="chap87.html">87</a> <a href="chapBib.html">Bib</a> <a href="chapInd.html">Ind</a> </div>
19
20 <div class="chlinkprevnexttop">&nbsp;<a href="chap0.html">[Top of Book]</a>&nbsp; <a href="chap0.html#contents">[Contents]</a>&nbsp; &nbsp;<a href="chap49.html">[Previous Chapter]</a>&nbsp; &nbsp;<a href="chap51.html">[Next Chapter]</a>&nbsp; </div>
21
22 <p id="mathjaxlink" class="pcenter"><a href="chap50_mj.html">[MathJax on]</a></p>
23 <p><a id="X81B00B667D2BD022" name="X81B00B667D2BD022"></a></p>
24 <div class="ChapSects"><a href="chap50.html#X81B00B667D2BD022">50 <span class="Heading">Group Libraries</span></a>
25 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap50.html#X839981CC7D9B671B">50.1 <span class="Heading">Basic Groups</span></a>
26 </span>
27 <div class="ContSSBlock">
28 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8489BECB78664847">50.1-1 TrivialGroup</a></span>
29 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7A7C473D87B31F3B">50.1-2 CyclicGroup</a></span>
30 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X81CCC3BF8005A2D7">50.1-3 AbelianGroup</a></span>
31 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8778256286E50743">50.1-4 ElementaryAbelianGroup</a></span>
32 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7F43050D8587E767">50.1-5 FreeAbelianGroup</a></span>
33 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X838DE1AB7B3D70FF">50.1-6 DihedralGroup</a></span>
34 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8233A853818CAF33">50.1-7 IsDihedralGroup</a></span>
35 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7E9844EF7C47EEB0">50.1-8 DicyclicGroup</a></span>
36 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7F260D177FD4BE4C">50.1-9 IsDicyclicGroup</a></span>
37 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X86E76B3A796BEFA8">50.1-10 ExtraspecialGroup</a></span>
38 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7E54D3E778E6A53E">50.1-11 <span class="Heading">AlternatingGroup</span></a>
39 </span>
40 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X858666F97BD85ABB">50.1-12 <span class="Heading">SymmetricGroup</span></a>
41 </span>
42 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X788FA7DE84E0FE6A">50.1-13 MathieuGroup</a></span>
43 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8469DBBF82F8E5C3">50.1-14 SuzukiGroup</a></span>
44 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X87E5B0F679CA7FE4">50.1-15 ReeGroup</a></span>
45 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7D0FFDA4793995FC">50.1-16 <span class="Heading">Generator Names</span></a>
46 </span>
47 </div></div>
48 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap50.html#X8674AAA578FE4AEE">50.2 <span class="Heading">Classical Groups</span></a>
49 </span>
50 <div class="ContSSBlock">
51 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X85D607DD82AF3E27">50.2-1 <span class="Heading">GeneralLinearGroup</span></a>
52 </span>
53 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7CA3F7BF83992C6B">50.2-2 <span class="Heading">SpecialLinearGroup</span></a>
54 </span>
55 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X866D4E2B816BDFA5">50.2-3 GeneralUnitaryGroup</a></span>
56 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X82A2AADE805DCDE9">50.2-4 SpecialUnitaryGroup</a></span>
57 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8142A8B07811CA90">50.2-5 <span class="Heading">SymplecticGroup</span></a>
58 </span>
59 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7C2051CB7B94CEB1">50.2-6 GeneralOrthogonalGroup</a></span>
60 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X78D4EEF27AA2DCFD">50.2-7 SpecialOrthogonalGroup</a></span>
61 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8365E0AB8338DA3F">50.2-8 Omega</a></span>
62 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X79C3C61A7D83A6D0">50.2-9 GeneralSemilinearGroup</a></span>
63 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7D3779237CB5B49C">50.2-10 SpecialSemilinearGroup</a></span>
64 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7F0DBEB880D2D574">50.2-11 ProjectiveGeneralLinearGroup</a></span>
65 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X86784EDA80224B74">50.2-12 ProjectiveSpecialLinearGroup</a></span>
66 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7E471ADE7E095604">50.2-13 ProjectiveGeneralUnitaryGroup</a></span>
67 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7A88FE2B7EF9C804">50.2-14 ProjectiveSpecialUnitaryGroup</a></span>
68 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7DEDE2537B8FFFF5">50.2-15 ProjectiveSymplecticGroup</a></span>
69 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X87AAB20A8434356B">50.2-16 ProjectiveGeneralOrthogonalGroup</a></span>
70 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X835E0D3384C4AB6B">50.2-17 ProjectiveSpecialOrthogonalGroup</a></span>
71 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7F546F907A37DF15">50.2-18 ProjectiveOmega</a></span>
72 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X824925DB7C3A2FA6">50.2-19 ProjectiveGeneralSemilinearGroup</a></span>
73 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X86BD9AE27CCAB1A6">50.2-20 ProjectiveSpecialSemilinearGroup</a></span>
74 </div></div>
75 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap50.html#X85B9F2D379616C35">50.3 <span class="Heading">Conjugacy Classes in Classical Groups</span></a>
76 </span>
77 <div class="ContSSBlock">
78 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X831789117E93171E">50.3-1 NrConjugacyClassesGL</a></span>
79 </div></div>
80 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap50.html#X817EBD6E841285CD">50.4 <span class="Heading">Constructors for Basic Groups</span></a>
81 </span>
82 </div>
83 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap50.html#X82676ED5826E9E2E">50.5 <span class="Heading">Selection Functions</span></a>
84 </span>
85 </div>
86 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap50.html#X7A884ECF813C2026">50.6 <span class="Heading">Finite Perfect Groups</span></a>
87 </span>
88 <div class="ContSSBlock">
89 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X866A25F882A4E97B">50.6-1 SizesPerfectGroups</a></span>
90 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7906BBA7818E9415">50.6-2 <span class="Heading">PerfectGroup</span></a>
91 </span>
92 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7E1CB2D18085FF9D">50.6-3 PerfectIdentification</a></span>
93 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7D68BE547FE5C0F5">50.6-4 NumberPerfectGroups</a></span>
94 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X866356A684F6B15E">50.6-5 SizeNumbersPerfectGroups</a></span>
95 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X845419F07BB92867">50.6-6 <span class="Heading">DisplayInformationPerfectGroups</span></a>
96 </span>
97 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X875C5BE67BAB7F71">50.6-7 <span class="Heading">More about the Perfect Groups Library</span></a>
98 </span>
99 </div></div>
100 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap50.html#X7873506D873EDB95">50.7 <span class="Heading">Irreducible Maximal Finite Integral Matrix Groups</span></a>
101 </span>
102 <div class="ContSSBlock">
103 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8693FD647EF3C53B">50.7-1 ImfNumberQQClasses</a></span>
104 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8705F64B7E19DDC7">50.7-2 DisplayImfInvariants</a></span>
105 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X8604A2167B2E8434">50.7-3 ImfInvariants</a></span>
106 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X78935B307B909101">50.7-4 ImfMatrixGroup</a></span>
107 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X84BF34B27CD5E85C">50.7-5 IsomorphismPermGroup</a></span>
108 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap50.html#X7CEDB6CE7BAC4518">50.7-6 IsomorphismPermGroupImfGroup</a></span>
109 </div></div>
110 </div>
111
112 <h3>50 <span class="Heading">Group Libraries</span></h3>
113
114 <p>When you start <strong class="pkg">GAP</strong>, it already knows several groups. Currently <strong class="pkg">GAP</strong> initially knows the following groups:</p>
115
116
117 <ul>
118 <li><p>some basic groups, such as cyclic groups or symmetric groups (see <a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>),</p>
119
120 </li>
121 <li><p>classical matrix groups (see <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>),</p>
122
123 </li>
124 <li><p>a library of transitive permutation groups, provided by the <strong class="pkg">TransGrp</strong> package (see <a href="../../pkg/transgrp/htm/CHAP001.htm#SECT001"><span class="RefLink">transgrp: Transitive Permutation Groups</span></a>),</p>
125
126 </li>
127 <li><p>a library of groups of small order, provided by the <strong class="pkg">SmallGrp</strong> package (see <a href="../../pkg/smallgrp/doc/chap1.html#X7C16EA1580AC7586"><span class="RefLink">smallgrp: The Small Groups Library</span></a>),</p>
128
129 </li>
130 <li><p>a libary of finite perfect groups, (see <a href="chap50.html#X7A884ECF813C2026"><span class="RefLink">50.6</span></a>),</p>
131
132 </li>
133 <li><p>a library of primitive permutations groups, provided by the <strong class="pkg">PrimGrp</strong> package (see <a href="../../pkg/primgrp/doc/chap1.html#X7AE00EA7791F2574"><span class="RefLink">primgrp: Primitive Permutation Groups</span></a>),</p>
134
135 </li>
136 <li><p>the irreducible solvable subgroups of <span class="SimpleMath">GL(n,q)</span> for <span class="SimpleMath">n&gt;1</span>, <span class="SimpleMath">q</span> a prime power and <span class="SimpleMath">q^n &lt; 2^24</span>, provided by the <strong class="pkg">IRREDSOL</strong> package (see <a href="../../pkg/irredsol/htm/CHAP001.htm"><span class="RefLink">irredsol: Overview</span></a>),</p>
137
138 </li>
139 <li><p>the irreducible maximal finite integral matrix groups of dimension at most 31 (see <a href="chap50.html#X7873506D873EDB95"><span class="RefLink">50.7</span></a>),</p>
140
141 </li>
142 <li><p>the crystallographic groups of dimension at most 4, provided by the <strong class="pkg">CrystCat</strong> package (see <a href="../../pkg/crystcat/htm/CHAP001.htm"><span class="RefLink">CrystCat: The Crystallographic Groups Catalog</span></a>).</p>
143
144 </li>
145 </ul>
146 <p>There is usually no relation between the groups in the different libraries and a group may occur in different libraries in different incarnations.</p>
147
148 <p>Note that a system administrator may choose to install all, or only a few, or even none of the libraries. So some of the libraries mentioned below may not be available on your installation.</p>
149
150 <p><strong class="pkg">GAP</strong> might use data libraries that are available to speed up calculations, for example in using a classification to determine that groups must be isomorphic, based on agreement of properties; or to determine maximal subgroups or subgroup maximality. This will be indicated by an info message of level 2 in the info class <code class="code">InfoPerformance</code>. If the calculation is to be independent of such data library use, for example if it is used to verify the data library, functions can be called with the option <code class="code">NoPrecomputedData</code>, to turn these features off. Doing so might cause significantly longer calculations, or even failure of certain calculations.</p>
151
152 <p><a id="X839981CC7D9B671B" name="X839981CC7D9B671B"></a></p>
153
154 <h4>50.1 <span class="Heading">Basic Groups</span></h4>
155
156 <p>There are several infinite families of groups which are parametrized by numbers. <strong class="pkg">GAP</strong> provides various functions to construct these groups. The functions always permit (but do not require) one to indicate a filter (see <a href="chap13.html#X84EFA4C07D4277BB"><span class="RefLink">13.2</span></a>), for example <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>) or <code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>), in which the group shall be constructed. There always is a default filter corresponding to a <q>natural</q> way to describe the group in question. Note that not every group can be constructed in every filter, there may be theoretical restrictions (<code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>) only works for solvable groups) or methods may be available only for a few filters.</p>
157
158 <p>Certain filters may admit additional hints. For example, groups constructed in <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>) may be constructed over a specified field, which can be given as second argument of the function that constructs the group; The default field is <code class="func">Rationals</code> (<a href="chap17.html#X7B6029D18570C08A"><span class="RefLink">17.1-1</span></a>).</p>
159
160 <p>In the case of matrix groups, also the internal representation of the group elements can be prescribed. For convenience, one can enter one of the filters in the list <code class="func">ConstructingFiltersForMatrixGroupElements</code> (<a href="chap26.html#X7F7E8B6F7D008CF2"><span class="RefLink">26.17-1</span></a>), which then implies <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>).</p>
161
162 <p><a id="X8489BECB78664847" name="X8489BECB78664847"></a></p>
163
164 <h5>50.1-1 TrivialGroup</h5>
165
166 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; TrivialGroup</code>( [<var class="Arg">filter</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
167 <p>constructs a trivial group in the category given by the filter <var class="Arg">filter</var>. If <var class="Arg">filter</var> is not given it defaults to <code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
168
169
170 <div class="example"><pre>
171 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">TrivialGroup();</span>
172 &lt;pc group of size 1 with 0 generators&gt;
173 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">TrivialGroup( IsPermGroup );</span>
174 Group(())
175 </pre></div>
176
177 <p><a id="X7A7C473D87B31F3B" name="X7A7C473D87B31F3B"></a></p>
178
179 <h5>50.1-2 CyclicGroup</h5>
180
181 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; CyclicGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">n</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
182 <p>constructs the cyclic group of size <var class="Arg">n</var> in the category given by the filter <var class="Arg">filt</var>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>), unless <var class="Arg">n</var> equals <code class="func">infinity</code> (<a href="chap18.html#X8511B8DF83324C27"><span class="RefLink">18.2-1</span></a>), in which case the default filter is switched to <code class="func">IsFpGroup</code> (<a href="chap47.html#X850B9DF17D90C3A2"><span class="RefLink">47.1-2</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
183
184
185 <div class="example"><pre>
186 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">CyclicGroup(12);</span>
187 &lt;pc group of size 12 with 3 generators&gt;
188 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">CyclicGroup(infinity);</span>
189 &lt;free group on the generators [ a ]&gt;
190 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">CyclicGroup(IsPermGroup,12);</span>
191 Group([ (1,2,3,4,5,6,7,8,9,10,11,12) ])
192 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">matgrp1:= CyclicGroup( IsMatrixGroup, 12 );</span>
193 &lt;matrix group of size 12 with 1 generator&gt;
194 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">FieldOfMatrixGroup( matgrp1 );</span>
195 Rationals
196 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">matgrp2:= CyclicGroup( IsMatrixGroup, GF(2), 12 );</span>
197 &lt;matrix group of size 12 with 1 generator&gt;
198 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">FieldOfMatrixGroup( matgrp2 );</span>
199 GF(2)
200 </pre></div>
201
202 <p><a id="X81CCC3BF8005A2D7" name="X81CCC3BF8005A2D7"></a></p>
203
204 <h5>50.1-3 AbelianGroup</h5>
205
206 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AbelianGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">ints</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
207 <p>constructs an abelian group in the category given by the filter <var class="Arg">filt</var> which is of isomorphism type <span class="SimpleMath">C_{<var class="Arg">ints</var>[1]} × C_{<var class="Arg">ints</var>[2]} × ... × C_{<var class="Arg">ints</var>[n]}</span>, where <var class="Arg">ints</var> must be a list of non-negative integers or <code class="func">infinity</code> (<a href="chap18.html#X8511B8DF83324C27"><span class="RefLink">18.2-1</span></a>); for the latter value or 0, <span class="SimpleMath">C_{<var class="Arg">ints</var>[i]}</span> is taken as an infinite cyclic group, otherwise as a cyclic group of order <var class="Arg">ints</var>[i]. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>), unless any 0 or <code class="code">infinity</code> is contained in <var class="Arg">ints</var>, in which the default filter is switched to <code class="func">IsFpGroup</code> (<a href="chap47.html#X850B9DF17D90C3A2"><span class="RefLink">47.1-2</span></a>). The generators of the group returned are the elements corresponding to the factors <span class="SimpleMath">C_{<var class="Arg">ints</var>[i]}</span> and hence the integers in <var class="Arg">ints</var>. For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
208
209
210 <div class="example"><pre>
211 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AbelianGroup([1,2,3]);</span>
212 &lt;pc group of size 6 with 3 generators&gt;
213 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">G:=AbelianGroup([0,3]);</span>
214 &lt;fp group of size infinity on the generators [ f1, f2 ]&gt;
215 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AbelianInvariants(G);</span>
216 [ 0, 3 ]
217 </pre></div>
218
219 <p><a id="X8778256286E50743" name="X8778256286E50743"></a></p>
220
221 <h5>50.1-4 ElementaryAbelianGroup</h5>
222
223 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ElementaryAbelianGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">n</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
224 <p>constructs the elementary abelian group of size <var class="Arg">n</var> in the category given by the filter <var class="Arg">filt</var>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
225
226
227 <div class="example"><pre>
228 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ElementaryAbelianGroup(8192);</span>
229 &lt;pc group of size 8192 with 13 generators&gt;
230 </pre></div>
231
232 <p><a id="X7F43050D8587E767" name="X7F43050D8587E767"></a></p>
233
234 <h5>50.1-5 FreeAbelianGroup</h5>
235
236 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; FreeAbelianGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">rank</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
237 <p>constructs the free abelian group of rank <var class="Arg">n</var> in the category given by the filter <var class="Arg">filt</var>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsFpGroup</code> (<a href="chap47.html#X850B9DF17D90C3A2"><span class="RefLink">47.1-2</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
238
239
240 <div class="example"><pre>
241 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">FreeAbelianGroup(4);</span>
242 &lt;fp group of size infinity on the generators [ f1, f2, f3, f4 ]&gt;
243 </pre></div>
244
245 <p><a id="X838DE1AB7B3D70FF" name="X838DE1AB7B3D70FF"></a></p>
246
247 <h5>50.1-6 DihedralGroup</h5>
248
249 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DihedralGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">n</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
250 <p>constructs the dihedral group of size <var class="Arg">n</var> in the category given by the filter <var class="Arg">filt</var>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>), unless <var class="Arg">n</var> equals <code class="func">infinity</code> (<a href="chap18.html#X8511B8DF83324C27"><span class="RefLink">18.2-1</span></a>), in which case the default filter is switched to <code class="func">IsFpGroup</code> (<a href="chap47.html#X850B9DF17D90C3A2"><span class="RefLink">47.1-2</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
251
252
253 <div class="example"><pre>
254 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DihedralGroup(8);</span>
255 &lt;pc group of size 8 with 3 generators&gt;
256 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DihedralGroup( IsPermGroup, 8 );</span>
257 Group([ (1,2,3,4), (2,4) ])
258 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DihedralGroup(infinity);</span>
259 &lt;fp group of size infinity on the generators [ r, s ]&gt;
260 </pre></div>
261
262 <p><a id="X8233A853818CAF33" name="X8233A853818CAF33"></a></p>
263
264 <h5>50.1-7 IsDihedralGroup</h5>
265
266 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsDihedralGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
267 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DihedralGenerators</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
268 <p><code class="func">IsDihedralGroup</code> indicates whether the group <var class="Arg">G</var> is a dihedral group. If it is, methods may set the attribute <code class="func">DihedralGenerators</code> to [<var class="Arg">t</var>,<var class="Arg">s</var>], where <var class="Arg">t</var> and <var class="Arg">s</var> are two elements such that <var class="Arg">G</var> = <span class="SimpleMath">⟨ t, s | t^2 = s^n = 1, s^t = s^-1 ⟩</span>.</p>
269
270 <p><a id="X7E9844EF7C47EEB0" name="X7E9844EF7C47EEB0"></a></p>
271
272 <h5>50.1-8 DicyclicGroup</h5>
273
274 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DicyclicGroup</code>( [<var class="Arg">filt</var>, [<var class="Arg">field</var>, ]]<var class="Arg">n</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
275 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; QuaternionGroup</code>( [<var class="Arg">filt</var>, [<var class="Arg">field</var>, ]]<var class="Arg">n</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
276 <p><code class="func">DicyclicGroup</code> constructs the dicyclic group of size <var class="Arg">n</var> in the category given by the filter <var class="Arg">filt</var>. Here, <var class="Arg">n</var> must be a multiple of 4. The synonym <code class="func">QuaternionGroup</code> for <code class="func">DicyclicGroup</code> is provided for backward compatibility, but will print a warning if <var class="Arg">n</var> is not a power of <span class="SimpleMath">2</span>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>). Methods are also available for permutation and matrix groups (of minimal degree and minimal dimension in coprime characteristic).</p>
277
278
279 <div class="example"><pre>
280 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DicyclicGroup(24);</span>
281 &lt;pc group of size 24 with 4 generators&gt;
282 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=QuaternionGroup(IsMatrixGroup,CF(16),32);</span>
283 Group([ [ [ 0, 1 ], [ -1, 0 ] ], [ [ E(16), 0 ], [ 0, -E(16)^7 ] ] ])
284 </pre></div>
285
286 <p><a id="X7F260D177FD4BE4C" name="X7F260D177FD4BE4C"></a></p>
287
288 <h5>50.1-9 IsDicyclicGroup</h5>
289
290 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsDicyclicGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
291 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DicyclicGenerators</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
292 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsGeneralisedQuaternionGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
293 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GeneralisedQuaternionGenerators</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
294 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsQuaternionGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
295 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; QuaternionGenerators</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
296 <p><code class="func">IsDicyclicGroup</code> indicates whether the group <var class="Arg">G</var> is a dicyclic group of order <span class="SimpleMath">N = 4n</span>. If it is, methods may set the attribute <code class="func">DicyclicGenerators</code> to <span class="SimpleMath">[ t, s ]</span>, where <span class="SimpleMath">t</span> and <span class="SimpleMath">s</span> are two elements such that <var class="Arg">G</var> = <span class="SimpleMath">⟨ t, s | s^2n = 1, t^2 = s^n, s^t = s^-1 ⟩</span> holds.</p>
297
298 <p><code class="func">IsGeneralisedQuaternionGroup</code> indicates whether <var class="Arg">G</var> is a generalized quaternion group, i. e., a dicyclic group of <span class="SimpleMath">2</span>-power order. If it is, methods may set the attribute <code class="func">GeneralisedQuaternionGenerators</code> to the value of <code class="func">DicyclicGenerators</code> for <var class="Arg">G</var>.</p>
299
300 <p><code class="func">IsQuaternionGroup</code> and <code class="func">QuaternionGenerators</code> are provided for backwards compatibility with existing code.</p>
301
302 <p><a id="X86E76B3A796BEFA8" name="X86E76B3A796BEFA8"></a></p>
303
304 <h5>50.1-10 ExtraspecialGroup</h5>
305
306 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ExtraspecialGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">order</var>, <var class="Arg">exp</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
307 <p>Let <var class="Arg">order</var> be of the form <span class="SimpleMath">p^{2n+1}</span>, for a prime integer <span class="SimpleMath">p</span> and a positive integer <span class="SimpleMath">n</span>. <code class="func">ExtraspecialGroup</code> returns the extraspecial group of order <var class="Arg">order</var> that is determined by <var class="Arg">exp</var>, in the category given by the filter <var class="Arg">filt</var>.</p>
308
309 <p>If <span class="SimpleMath">p</span> is odd then admissible values of <var class="Arg">exp</var> are the exponent of the group (either <span class="SimpleMath">p</span> or <span class="SimpleMath">p^2</span>) or one of <code class="code">'+'</code>, <code class="code">"+"</code>, <code class="code">'-'</code>, <code class="code">"-"</code>. For <span class="SimpleMath">p = 2</span>, only the above plus or minus signs are admissible.</p>
310
311 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPcGroup</code> (<a href="chap46.html#X7D1F506D7830B1D9"><span class="RefLink">46.3-1</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
312
313
314 <div class="example"><pre>
315 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ExtraspecialGroup( 27, 3 );</span>
316 &lt;pc group of size 27 with 3 generators&gt;
317 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ExtraspecialGroup( 27, '+' );</span>
318 &lt;pc group of size 27 with 3 generators&gt;
319 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ExtraspecialGroup( 8, "-" );</span>
320 &lt;pc group of size 8 with 3 generators&gt;
321 </pre></div>
322
323 <p><a id="X7E54D3E778E6A53E" name="X7E54D3E778E6A53E"></a></p>
324
325 <h5>50.1-11 <span class="Heading">AlternatingGroup</span></h5>
326
327 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AlternatingGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">deg</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
328 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AlternatingGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">dom</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
329 <p>constructs the alternating group of degree <var class="Arg">deg</var> in the category given by the filter <var class="Arg">filt</var>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>). In the second version, the function constructs the alternating group on the points given in the set <var class="Arg">dom</var> which must be a set of positive integers.</p>
330
331
332 <div class="example"><pre>
333 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AlternatingGroup(5);</span>
334 Alt( [ 1 .. 5 ] )
335 </pre></div>
336
337 <p><a id="X858666F97BD85ABB" name="X858666F97BD85ABB"></a></p>
338
339 <h5>50.1-12 <span class="Heading">SymmetricGroup</span></h5>
340
341 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SymmetricGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">deg</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
342 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SymmetricGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">dom</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
343 <p>constructs the symmetric group of degree <var class="Arg">deg</var> in the category given by the filter <var class="Arg">filt</var>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>). In the second version, the function constructs the symmetric group on the points given in the set <var class="Arg">dom</var> which must be a set of positive integers.</p>
344
345
346 <div class="example"><pre>
347 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SymmetricGroup(10);</span>
348 Sym( [ 1 .. 10 ] )
349 </pre></div>
350
351 <p>Note that permutation groups provide special treatment of symmetric and alternating groups, see <a href="chap43.html#X834208CD7C2956A3"><span class="RefLink">43.4</span></a>.</p>
352
353 <p><a id="X788FA7DE84E0FE6A" name="X788FA7DE84E0FE6A"></a></p>
354
355 <h5>50.1-13 MathieuGroup</h5>
356
357 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; MathieuGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">degree</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
358 <p>constructs the Mathieu group of degree <var class="Arg">degree</var> in the category given by the filter <var class="Arg">filt</var>, where <var class="Arg">degree</var> must be in the set <span class="SimpleMath">{ 9, 10, 11, 12, 21, 22, 23, 24 }</span>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>). For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
359
360
361 <div class="example"><pre>
362 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">MathieuGroup( 11 );</span>
363 Group([ (1,2,3,4,5,6,7,8,9,10,11), (3,7,11,8)(4,10,5,6) ])
364 </pre></div>
365
366 <p><a id="X8469DBBF82F8E5C3" name="X8469DBBF82F8E5C3"></a></p>
367
368 <h5>50.1-14 SuzukiGroup</h5>
369
370 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SuzukiGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
371 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; Sz</code>( [<var class="Arg">filt</var>, ]<var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
372 <p>Constructs a group isomorphic to the Suzuki group Sz( <var class="Arg">q</var> ) over the field with <var class="Arg">q</var> elements, where <var class="Arg">q</var> is a non-square power of <span class="SimpleMath">2</span>.</p>
373
374 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the Suzuki group itself. For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
375
376
377 <div class="example"><pre>
378 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SuzukiGroup( 32 );</span>
379 Sz(32)
380 </pre></div>
381
382 <p><a id="X87E5B0F679CA7FE4" name="X87E5B0F679CA7FE4"></a></p>
383
384 <h5>50.1-15 ReeGroup</h5>
385
386 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ReeGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
387 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; Ree</code>( [<var class="Arg">filt</var>, ]<var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
388 <p>Constructs a group isomorphic to the Ree group <span class="SimpleMath">^2G_2(q)</span> where <span class="SimpleMath">q = 3^{1+2m}</span> for <span class="SimpleMath">m</span> a non-negative integer.</p>
389
390 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>) and the generating matrices are based on <a href="chapBib.html#biBKLM01">[KLM01]</a>. (No particular choice of a generating set is guaranteed.) For more information on possible values of <var class="Arg">filt</var> see section (<a href="chap50.html#X839981CC7D9B671B"><span class="RefLink">50.1</span></a>).</p>
391
392
393 <div class="example"><pre>
394 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ReeGroup( 27 );</span>
395 Ree(27)
396 </pre></div>
397
398 <p><a id="X7D0FFDA4793995FC" name="X7D0FFDA4793995FC"></a></p>
399
400 <h5>50.1-16 <span class="Heading">Generator Names</span></h5>
401
402 <p>For groups created as finitely presented groups, including polycyclic groups, the generators are labelled, by default, with a letter and a number. It is possible to influence this naming with the option <code class="code">generatorNames</code>, see Section <a href="chap4.html#X867D54987EF86D1D"><span class="RefLink">4.12-2</span></a>. If this option holds a string, then the generators are named with this string and sequential numbers starting with <code class="code">1</code>. If this option holds a list of sufficient length consisting of nonempty strings, then the generator names are taken from this list, in order.</p>
403
404
405 <div class="example"><pre>
406 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneratorsOfGroup(AbelianGroup([5,7]));</span>
407 [ f1, f2 ]
408 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneratorsOfGroup(AbelianGroup([5,7]:generatorNames:="a"));</span>
409 [ a1, a2 ]
410 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneratorsOfGroup(AbelianGroup([5,7]:generatorNames:=["u","v","w"]));</span>
411 [ u, v ]
412 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AsSSortedList(DihedralGroup(12:generatorNames:="a"));</span>
413 [ &lt;identity&gt; of ..., a1, a2, a3, a1*a2, a1*a3, a2*a3, a3^2, a1*a2*a3,
414 a1*a3^2, a2*a3^2, a1*a2*a3^2 ]
415 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AsSSortedList(DihedralGroup(12:generatorNames:=["a","b","c"]));</span>
416 [ &lt;identity&gt; of ..., a, b, c, a*b, a*c, b*c, c^2, a*b*c, a*c^2, b*c^2,
417 a*b*c^2 ]
418 </pre></div>
419
420 <p><a id="X8674AAA578FE4AEE" name="X8674AAA578FE4AEE"></a></p>
421
422 <h4>50.2 <span class="Heading">Classical Groups</span></h4>
423
424 <p>The following functions return classical groups.</p>
425
426 <p><em>Generators</em></p>
427
428
429 <ul>
430 <li><p>For the linear, symplectic, and unitary groups (the latter in dimension at least <span class="SimpleMath">3</span>), the generators are taken from <a href="chapBib.html#biBTay87">[Tay87]</a>.</p>
431
432 </li>
433 <li><p>For the unitary groups in dimension <span class="SimpleMath">2</span>, the isomorphism of SU<span class="SimpleMath">(2,q)</span> and SL<span class="SimpleMath">(2,q)</span> is used, see for example <a href="chapBib.html#biBHup67">[Hup67]</a>.</p>
434
435 </li>
436 <li><p>The generators of the general and special orthogonal groups are taken from <a href="chapBib.html#biBIshibashiEarnest94">[IE94]</a> and <a href="chapBib.html#biBKleidmanLiebeck90">[KL90]</a>, except that the generators of the groups in odd dimension in even characteristic are constructed via the isomorphism to a symplectic group, see for example <a href="chapBib.html#biBCar72a">[Car72]</a>.</p>
437
438 </li>
439 <li><p>The generators of the groups <span class="SimpleMath">Ω^ϵ(d, q)</span> are taken from <a href="chapBib.html#biBRylandsTalor98">[RT98]</a>, except that in odd dimension and even characteristic, the generators of SO<span class="SimpleMath">(d, q)</span> are taken for <span class="SimpleMath">Ω(d, q)</span>. Note that the generators claimed in <a href="chapBib.html#biBRylandsTalor98">[RT98, Section 4.5 and 4.6]</a> do not describe orthogonal groups, one would have to transpose these matrices in order to get groups that respect the required forms. The matrices from <a href="chapBib.html#biBRylandsTalor98">[RT98]</a> generate groups of the right isomorphism types but not orthogonal groups, except in the case <span class="SimpleMath">(d,q) = (5,2)</span>, where the matrices from <a href="chapBib.html#biBRylandsTalor98">[RT98]</a> generate the simple group <span class="SimpleMath">S_4(2)'</span> and not the group <span class="SimpleMath">S_4(2)</span>.</p>
440
441 </li>
442 <li><p>The generators for the semilinear groups are constructed from the generators of the corresponding linear groups plus one additional generator that describes the action of the group of field automorphisms; for prime integers <span class="SimpleMath">p</span> and positive integers <span class="SimpleMath">f</span>, this yields the matrix groups <span class="SimpleMath">Gamma</span>L<span class="SimpleMath">(d, p^f)</span> and <span class="SimpleMath">Sigma</span>L<span class="SimpleMath">(d, p^f)</span> as groups of <span class="SimpleMath">d f × df</span> matrices over the field with <span class="SimpleMath">p</span> elements.</p>
443
444 </li>
445 <li><p>The generators for the conformal symplectic groups are taken from <a href="chapBib.html#biBTay21">[Tay21]</a>.</p>
446
447 </li>
448 </ul>
449 <p><em>Invariant forms</em></p>
450
451
452 <ul>
453 <li><p>For symplectic and orthogonal matrix groups returned by the functions described below, the invariant bilinear form is stored as the value of the attribute <code class="func">InvariantBilinearForm</code> (<a href="chap44.html#X7C08385A81AB05E1"><span class="RefLink">44.5-1</span></a>).</p>
454
455 </li>
456 <li><p>The invariant sesquilinear form defining the unitary groups is stored as the value of the attribute <code class="func">InvariantSesquilinearForm</code> (<a href="chap44.html#X82F22079852130C9"><span class="RefLink">44.5-5</span></a>)).</p>
457
458 </li>
459 <li><p>The defining quadratic form of orthogonal groups is stored as the value of the attribute <code class="func">InvariantQuadraticForm</code> (<a href="chap44.html#X7BCACC007EB9B613"><span class="RefLink">44.5-7</span></a>).</p>
460
461 </li>
462 <li><p>The bilinear form that is invariant up to scalars under the conformal symplectic group is stored as the value of the attribute <code class="func">InvariantBilinearFormUpToScalars</code> (<a href="chap44.html#X78B2705B87ED5384"><span class="RefLink">44.5-3</span></a>).</p>
463
464 </li>
465 </ul>
466 <p>Note that due to the different sources for the generators, the invariant forms for the groups <span class="SimpleMath">Ω(e,d,q)</span> are in general different from the forms for SO<span class="SimpleMath">(e,d,q)</span> and GO<span class="SimpleMath">(e,d,q)</span>. If version at least 1.2.6 of the <strong class="pkg">Forms</strong> package is loaded then compatible groups can be created by specifying the desired form, see the sections below.</p>
467
468 <p><a id="X85D607DD82AF3E27" name="X85D607DD82AF3E27"></a></p>
469
470 <h5>50.2-1 <span class="Heading">GeneralLinearGroup</span></h5>
471
472 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GeneralLinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">R</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
473 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">R</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
474 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GeneralLinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
475 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
476 <p>The first two forms construct a group isomorphic to the general linear group GL( <var class="Arg">d</var>, <var class="Arg">R</var> ) of all <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices that are invertible over the ring <var class="Arg">R</var>, in the category given by the filter <var class="Arg">filt</var>.</p>
477
478 <p>The third and the fourth form construct the general linear group over the finite field with <var class="Arg">q</var> elements.</p>
479
480 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the general linear group as a matrix group in its natural action (see also <code class="func">IsNaturalGL</code> (<a href="chap44.html#X86F9A27D7AFAEB5A"><span class="RefLink">44.4-2</span></a>), <code class="func">IsNaturalGLnZ</code> (<a href="chap44.html#X86F9CC1E7DB97CB6"><span class="RefLink">44.6-4</span></a>)).</p>
481
482 <p>Currently supported rings <var class="Arg">R</var> are finite fields, the ring <code class="func">Integers</code> (<a href="chap14.html#X7E20D82B79DE5129"><span class="RefLink">14.1-1</span></a>), and residue class rings <code class="code">Integers mod <var class="Arg">m</var></code>, see <a href="chap14.html#X864BF040862409FC"><span class="RefLink">14.5</span></a>.</p>
483
484
485 <div class="example"><pre>
486 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GL(4,3);</span>
487 GL(4,3)
488 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GL(2,Integers);</span>
489 GL(2,Integers)
490 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GL(3,Integers mod 12);</span>
491 GL(3,Z/12Z)
492 </pre></div>
493
494 <p>Using the <code class="func">OnLines</code> (<a href="chap41.html#X86DC2DD5829CAD9A"><span class="RefLink">41.2-12</span></a>) operation it is possible to obtain the corresponding projective groups in a permutation action:</p>
495
496
497 <div class="example"><pre>
498 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=GL(4,3);;Size(g);</span>
499 24261120
500 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">pgl:=Action(g,Orbit(g,Z(3)^0*[1,0,0,0],OnLines),OnLines);;</span>
501 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Size(pgl);</span>
502 12130560
503 </pre></div>
504
505 <p>If you are interested only in the projective group as a permutation group and not in the correspondence between its moved points and the points in the projective space, you can also use <code class="func">PGL</code> (<a href="chap50.html#X7F0DBEB880D2D574"><span class="RefLink">50.2-11</span></a>).</p>
506
507 <p><a id="X7CA3F7BF83992C6B" name="X7CA3F7BF83992C6B"></a></p>
508
509 <h5>50.2-2 <span class="Heading">SpecialLinearGroup</span></h5>
510
511 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SpecialLinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">R</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
512 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">R</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
513 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SpecialLinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
514 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
515 <p>The first two forms construct a group isomorphic to the special linear group SL( <var class="Arg">d</var>, <var class="Arg">R</var> ) of all those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the ring <var class="Arg">R</var> whose determinant is the identity of <var class="Arg">R</var>, in the category given by the filter <var class="Arg">filt</var>.</p>
516
517 <p>The third and the fourth form construct the special linear group over the finite field with <var class="Arg">q</var> elements.</p>
518
519 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the special linear group as a matrix group in its natural action (see also <code class="func">IsNaturalSL</code> (<a href="chap44.html#X84134F08781EB943"><span class="RefLink">44.4-4</span></a>), <code class="func">IsNaturalSLnZ</code> (<a href="chap44.html#X7B0E70127F5D2EAF"><span class="RefLink">44.6-5</span></a>)).</p>
520
521 <p>Currently supported rings <var class="Arg">R</var> are finite fields, the ring <code class="func">Integers</code> (<a href="chap14.html#X853DF11B80068ED5"><span class="RefLink">14</span></a>), and residue class rings <code class="code">Integers mod <var class="Arg">m</var></code>, see <a href="chap14.html#X864BF040862409FC"><span class="RefLink">14.5</span></a>.</p>
522
523
524 <div class="example"><pre>
525 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SpecialLinearGroup(2,2);</span>
526 SL(2,2)
527 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SL(3,Integers);</span>
528 SL(3,Integers)
529 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SL(4,Integers mod 4);</span>
530 SL(4,Z/4Z)
531 </pre></div>
532
533 <p><a id="X866D4E2B816BDFA5" name="X866D4E2B816BDFA5"></a></p>
534
535 <h5>50.2-3 GeneralUnitaryGroup</h5>
536
537 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GeneralUnitaryGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
538 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GeneralUnitaryGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
539 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GU</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
540 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GU</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
541 <p>constructs a group isomorphic to the general unitary group GU( <var class="Arg">d</var>, <var class="Arg">q</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <span class="SimpleMath"><var class="Arg">q</var>^2</span> elements that respect a fixed nondegenerate sesquilinear form, in the category given by the filter <var class="Arg">filt</var>.</p>
542
543 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the general unitary group itself.</p>
544
545 <p>If version at least 1.2.6 of the <strong class="pkg">Forms</strong> package is loaded then the desired sesquilinear form can be specified via <var class="Arg">form</var>, which can be either a matrix or a form object in <code class="func">IsHermitianForm</code> (<a href="../../pkg/forms/doc/chap4.html#X7FA162E5874E8330"><span class="RefLink">Forms: IsHermitianForm</span></a>) or a group with stored <code class="func">InvariantSesquilinearForm</code> (<a href="chap44.html#X82F22079852130C9"><span class="RefLink">44.5-5</span></a>) value (and then this form is taken).</p>
546
547 <p>A given <var class="Arg">form</var> determines <var class="Arg">d</var>, and also <var class="Arg">q</var> except if <var class="Arg">form</var> is a matrix that does not store its <code class="func">BaseDomain</code> (<a href="chap26.html#X8662026C7CCDB446"><span class="RefLink">26.3-1</span></a>) value. These parameters can be entered, and an error is signalled if they do not fit to the given <var class="Arg">form</var>.</p>
548
549 <p>If <var class="Arg">form</var> is not given then a default is chosen as described in the introduction to Section <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>.</p>
550
551
552 <div class="example"><pre>
553 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneralUnitaryGroup( 3, 5 );</span>
554 GU(3,5)
555 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneralUnitaryGroup( IsPermGroup, 3, 5 );</span>
556 Perm_GU(3,5)
557 </pre></div>
558
559 <p><a id="X82A2AADE805DCDE9" name="X82A2AADE805DCDE9"></a></p>
560
561 <h5>50.2-4 SpecialUnitaryGroup</h5>
562
563 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SpecialUnitaryGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
564 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SpecialUnitaryGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
565 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SU</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
566 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SU</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
567 <p>constructs a group isomorphic to the special unitary group SU( <var class="Arg">d</var>, <var class="Arg">q</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <span class="SimpleMath"><var class="Arg">q</var>^2</span> elements whose determinant is the identity of the field and that respect a fixed nondegenerate sesquilinear form, in the category given by the filter <var class="Arg">filt</var>.</p>
568
569 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the special unitary group itself.</p>
570
571 <p>If version at least 1.2.6 of the <strong class="pkg">Forms</strong> package is loaded then the desired sesquilinear form can be specified via <var class="Arg">form</var>, which can be either a matrix or a form object in <code class="func">IsHermitianForm</code> (<a href="../../pkg/forms/doc/chap4.html#X7FA162E5874E8330"><span class="RefLink">Forms: IsHermitianForm</span></a>) or a group with stored <code class="func">InvariantSesquilinearForm</code> (<a href="chap44.html#X82F22079852130C9"><span class="RefLink">44.5-5</span></a>) value (and then this form is taken).</p>
572
573 <p>A given <var class="Arg">form</var> determines <var class="Arg">d</var>, and also <var class="Arg">q</var> except if <var class="Arg">form</var> is a matrix that does not store its <code class="func">BaseDomain</code> (<a href="chap26.html#X8662026C7CCDB446"><span class="RefLink">26.3-1</span></a>) value. These parameters can be entered, and an error is signalled if they do not fit to the given <var class="Arg">form</var>.</p>
574
575 <p>If <var class="Arg">form</var> is not given then a default is chosen as described in the introduction to Section <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>.</p>
576
577
578 <div class="example"><pre>
579 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SpecialUnitaryGroup( 3, 5 );</span>
580 SU(3,5)
581 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SpecialUnitaryGroup( IsPermGroup, 3, 5 );</span>
582 Perm_SU(3,5)
583 </pre></div>
584
585 <p><a id="X8142A8B07811CA90" name="X8142A8B07811CA90"></a></p>
586
587 <h5>50.2-5 <span class="Heading">SymplecticGroup</span></h5>
588
589 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SymplecticGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">R</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
590 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SymplecticGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
591 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SymplecticGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
592 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; Sp</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">R</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
593 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; Sp</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
594 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; Sp</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
595 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SP</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">R</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
596 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SP</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
597 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SP</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
598 <p>constructs a group isomorphic to the symplectic group Sp( <var class="Arg">d</var>, <var class="Arg">R</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the ring <var class="Arg">R</var> or the field with <var class="Arg">q</var> elements, respectively, that respect a fixed nondegenerate symplectic form, in the category given by the filter <var class="Arg">filt</var>.</p>
599
600 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the symplectic group itself. Other supported values for <var class="Arg">filt</var> are <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>) (in this case, the argument <var class="Arg">form</var> is not supported) and the entries of <code class="func">ConstructingFiltersForMatrixGroupElements</code> (<a href="chap26.html#X7F7E8B6F7D008CF2"><span class="RefLink">26.17-1</span></a>).</p>
601
602 <p>At the moment finite fields or residue class rings <code class="code">Integers mod <var class="Arg">q</var></code>, with <var class="Arg">q</var> an odd prime power, are supported.</p>
603
604 <p>If version at least 1.2.6 of the <strong class="pkg">Forms</strong> package is loaded and the arguments describe a matrix group over a finite field then the desired bilinear form can be specified via <var class="Arg">form</var>, which can be either a matrix or a form object in <code class="func">IsBilinearForm</code> (<a href="../../pkg/forms/doc/chap4.html#X7FA162E5874E8330"><span class="RefLink">Forms: IsBilinearForm</span></a>) or a group with stored <code class="func">InvariantBilinearForm</code> (<a href="chap44.html#X7C08385A81AB05E1"><span class="RefLink">44.5-1</span></a>) value (and then this form is taken).</p>
605
606 <p>A given <var class="Arg">form</var> determines <var class="Arg">d</var>, and also <var class="Arg">R</var> except if <var class="Arg">form</var> is a matrix that does not store its <code class="func">BaseDomain</code> (<a href="chap26.html#X8662026C7CCDB446"><span class="RefLink">26.3-1</span></a>) value. These parameters can be entered, and an error is signalled if they do not fit to the given <var class="Arg">form</var>.</p>
607
608 <p>If <var class="Arg">form</var> is not given then a default is chosen as described in the introduction to Section <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>.</p>
609
610
611 <div class="example"><pre>
612 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SymplecticGroup( 4, 2 );</span>
613 Sp(4,2)
614 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=SymplecticGroup(6,Integers mod 9);</span>
615 Sp(6,Z/9Z)
616 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Size(g);</span>
617 95928796265538862080
618 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SymplecticGroup( IsPermGroup, 4, 2 );</span>
619 Perm_Sp(4,2)
620 </pre></div>
621
622 <p><a id="X7C2051CB7B94CEB1" name="X7C2051CB7B94CEB1"></a></p>
623
624 <h5>50.2-6 GeneralOrthogonalGroup</h5>
625
626 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GeneralOrthogonalGroup</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
627 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GeneralOrthogonalGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
628 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GO</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
629 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GO</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
630 <p>constructs a group isomorphic to the general orthogonal group GO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <var class="Arg">q</var> elements that respect a non-singular quadratic form (see <code class="func">InvariantQuadraticForm</code> (<a href="chap44.html#X7BCACC007EB9B613"><span class="RefLink">44.5-7</span></a>)) specified by <var class="Arg">e</var>, in the category given by the filter <var class="Arg">filt</var>.</p>
631
632 <p>The value of <var class="Arg">e</var> must be <span class="SimpleMath">0</span> for odd <var class="Arg">d</var> (and can optionally be omitted in this case), respectively one of <span class="SimpleMath">1</span> or <span class="SimpleMath">-1</span> for even <var class="Arg">d</var>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the general orthogonal group itself.</p>
633
634 <p>If version at least 1.2.6 of the <strong class="pkg">Forms</strong> package is loaded then the desired quadratic form can be specified via <var class="Arg">form</var>, which can be either a matrix or a form object in <code class="func">IsQuadraticForm</code> (<a href="../../pkg/forms/doc/chap4.html#X7FA162E5874E8330"><span class="RefLink">Forms: IsQuadraticForm</span></a>) or a group with stored <code class="func">InvariantQuadraticForm</code> (<a href="chap44.html#X7BCACC007EB9B613"><span class="RefLink">44.5-7</span></a>) value (and then this form is taken).</p>
635
636 <p>A given <var class="Arg">form</var> determines <var class="Arg">e</var> and <var class="Arg">d</var>, and also <var class="Arg">q</var> except if <var class="Arg">form</var> is a matrix that does not store its <code class="func">BaseDomain</code> (<a href="chap26.html#X8662026C7CCDB446"><span class="RefLink">26.3-1</span></a>) value. These parameters can be entered, and an error is signalled if they do not fit to the given <var class="Arg">form</var>.</p>
637
638 <p>If <var class="Arg">form</var> is not given then a default is chosen as described in the introduction to Section <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>.</p>
639
640 <p>Note that in <a href="chapBib.html#biBKleidmanLiebeck90">[KL90]</a>, GO is defined as the stabilizer <span class="SimpleMath">∆(V, F, κ)</span> of the quadratic form, up to scalars, whereas our GO is called <span class="SimpleMath">I(V, F, κ)</span> there.</p>
641
642
643 <div class="example"><pre>
644 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneralOrthogonalGroup( 5, 3 );</span>
645 GO(0,5,3)
646 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneralOrthogonalGroup( -1, 8, 2 );</span>
647 GO(-1,8,2)
648 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneralOrthogonalGroup( IsPermGroup, -1, 8, 2 );</span>
649 Perm_GO(-1,8,2)
650 </pre></div>
651
652 <p><a id="X78D4EEF27AA2DCFD" name="X78D4EEF27AA2DCFD"></a></p>
653
654 <h5>50.2-7 SpecialOrthogonalGroup</h5>
655
656 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SpecialOrthogonalGroup</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
657 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SpecialOrthogonalGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
658 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SO</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
659 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SO</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
660 <p>constructs a group isomorphic to the special orthogonal group SO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ), which is the subgroup of all those matrices in the general orthogonal group (see <code class="func">GeneralOrthogonalGroup</code> (<a href="chap50.html#X7C2051CB7B94CEB1"><span class="RefLink">50.2-6</span></a>)) that have determinant one, in the category given by the filter <var class="Arg">filt</var>. (The index of SO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ) in GO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ) is <span class="SimpleMath">2</span> if <var class="Arg">q</var> is odd, and <span class="SimpleMath">1</span> if <var class="Arg">q</var> is even.) Also interesting is the group Omega( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ), see <code class="func">Omega</code> (<a href="chap50.html#X8365E0AB8338DA3F"><span class="RefLink">50.2-8</span></a>), which is of index <span class="SimpleMath">2</span> in SO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ), except in the case <span class="SimpleMath"><var class="Arg">d</var> = 1</span>.</p>
661
662 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the special orthogonal group itself.</p>
663
664 <p>If version at least 1.2.6 of the <strong class="pkg">Forms</strong> package is loaded then the desired quadratic form can be specified via <var class="Arg">form</var>, which can be either a matrix or a form object in <code class="func">IsQuadraticForm</code> (<a href="../../pkg/forms/doc/chap4.html#X7FA162E5874E8330"><span class="RefLink">Forms: IsQuadraticForm</span></a>) or a group with stored <code class="func">InvariantQuadraticForm</code> (<a href="chap44.html#X7BCACC007EB9B613"><span class="RefLink">44.5-7</span></a>) value (and then this form is taken).</p>
665
666 <p>A given <var class="Arg">form</var> determines <var class="Arg">e</var> and <var class="Arg">d</var>, and also <var class="Arg">q</var> except if <var class="Arg">form</var> is a matrix that does not store its <code class="func">BaseDomain</code> (<a href="chap26.html#X8662026C7CCDB446"><span class="RefLink">26.3-1</span></a>) value. These parameters can be entered, and an error is signalled if they do not fit to the given <var class="Arg">form</var>.</p>
667
668 <p>If <var class="Arg">form</var> is not given then a default is chosen as described in the introduction to Section <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>.</p>
669
670
671 <div class="example"><pre>
672 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SpecialOrthogonalGroup( 5, 3 );</span>
673 SO(0,5,3)
674 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SpecialOrthogonalGroup( -1, 8, 2 ); # here SO and GO coincide</span>
675 GO(-1,8,2)
676 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SpecialOrthogonalGroup( IsPermGroup, 5, 3 );</span>
677 Perm_SO(0,5,3)
678 </pre></div>
679
680 <p><a id="X8365E0AB8338DA3F" name="X8365E0AB8338DA3F"></a></p>
681
682 <h5>50.2-8 Omega</h5>
683
684 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; Omega</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var>[, <var class="Arg">form</var>] )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
685 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; Omega</code>( [<var class="Arg">filt</var>, ]<var class="Arg">form</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
686 <p>constructs a group isomorphic to the group <span class="SimpleMath">Ω</span>( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <var class="Arg">q</var> elements that respect a non-singular quadratic form (see <code class="func">InvariantQuadraticForm</code> (<a href="chap44.html#X7BCACC007EB9B613"><span class="RefLink">44.5-7</span></a>)) specified by <var class="Arg">e</var>, and that have square spinor norm in odd characteristic or Dickson invariant <span class="SimpleMath">0</span> in even characteristic, respectively, in the category given by the filter <var class="Arg">filt</var>.</p>
687
688 <p>For odd <var class="Arg">q</var> and <span class="SimpleMath"><var class="Arg">d</var> ≥ 2</span>, this group has always index two in the corresponding special orthogonal group, which will be conjugate in <span class="SimpleMath">GL(d,q)</span> to the group returned by SO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ), see <code class="func">SpecialOrthogonalGroup</code> (<a href="chap50.html#X78D4EEF27AA2DCFD"><span class="RefLink">50.2-7</span></a>), but may fix a different form (see <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>).</p>
689
690 <p>The value of <var class="Arg">e</var> must be <span class="SimpleMath">0</span> for odd <var class="Arg">d</var> (and can optionally be omitted in this case), respectively one of <span class="SimpleMath">1</span> or <span class="SimpleMath">-1</span> for even <var class="Arg">d</var>. If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group is the group <span class="SimpleMath">Ω</span>( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ) itself.</p>
691
692 <p>If version at least 1.2.6 of the <strong class="pkg">Forms</strong> package is loaded then the desired quadratic form can be specified via <var class="Arg">form</var>, which can be either a matrix or a form object in <code class="func">IsQuadraticForm</code> (<a href="../../pkg/forms/doc/chap4.html#X7FA162E5874E8330"><span class="RefLink">Forms: IsQuadraticForm</span></a>) or a group with stored <code class="func">InvariantQuadraticForm</code> (<a href="chap44.html#X7BCACC007EB9B613"><span class="RefLink">44.5-7</span></a>) value (and then this form is taken).</p>
693
694 <p>A given <var class="Arg">form</var> determines <var class="Arg">e</var> and <var class="Arg">d</var>, and also <var class="Arg">q</var> except if <var class="Arg">form</var> is a matrix that does not store its <code class="func">BaseDomain</code> (<a href="chap26.html#X8662026C7CCDB446"><span class="RefLink">26.3-1</span></a>) value. These parameters can be entered, and an error is signalled if they do not fit to the given <var class="Arg">form</var>.</p>
695
696 <p>If <var class="Arg">form</var> is not given then a default is chosen as described in the introduction to Section <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>.</p>
697
698
699 <div class="example"><pre>
700 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:= Omega( 3, 5 ); StructureDescription( g );</span>
701 Omega(0,3,5)
702 "A5"
703 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:= Omega( 1, 4, 4 ); StructureDescription( g );</span>
704 Omega(+1,4,4)
705 "A5 x A5"
706 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:= Omega( -1, 4, 3 ); StructureDescription( g );</span>
707 Omega(-1,4,3)
708 "A6"
709 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:= Omega( IsPermGroup, 1, 6, 2 ); StructureDescription( g );</span>
710 Perm_Omega(+1,6,2)
711 "A8"
712 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsSubset( GO( 3, 5 ), Omega( 3, 5 ) ); # different forms!</span>
713 false
714 </pre></div>
715
716 <p><a id="X79C3C61A7D83A6D0" name="X79C3C61A7D83A6D0"></a></p>
717
718 <h5>50.2-9 GeneralSemilinearGroup</h5>
719
720 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GeneralSemilinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
721 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GammaL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
722 <p><code class="func">GeneralSemilinearGroup</code> returns a group isomorphic to the general semilinear group <span class="SimpleMath">Γ</span>L( <var class="Arg">d</var>, <var class="Arg">q</var> ) of semilinear mappings of the vector space <code class="code">GF( </code><var class="Arg">q</var><code class="code"> )^</code><var class="Arg">d</var>.</p>
723
724 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group consists of matrices of dimension <var class="Arg">d</var> <span class="SimpleMath">f</span> over the field with <span class="SimpleMath">p</span> elements, where <var class="Arg">q</var> <span class="SimpleMath">= p^f</span>, for a prime integer <span class="SimpleMath">p</span>.</p>
725
726 <p><a id="X7D3779237CB5B49C" name="X7D3779237CB5B49C"></a></p>
727
728 <h5>50.2-10 SpecialSemilinearGroup</h5>
729
730 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SpecialSemilinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
731 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SigmaL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
732 <p><code class="func">SpecialSemilinearGroup</code> returns a group isomorphic to the special semilinear group <span class="SimpleMath">Σ</span>L( <var class="Arg">d</var>, <var class="Arg">q</var> ) of those semilinear mappings of the vector space <code class="code">GF( </code><var class="Arg">q</var><code class="code"> )^</code><var class="Arg">d</var> (see <code class="func">GeneralSemilinearGroup</code> (<a href="chap50.html#X79C3C61A7D83A6D0"><span class="RefLink">50.2-9</span></a>)) whose linear part has determinant one.</p>
733
734 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsMatrixGroup</code> (<a href="chap44.html#X7E6093FF85F1C3A1"><span class="RefLink">44.1-1</span></a>), and the returned group consists of matrices of dimension <var class="Arg">d</var> <span class="SimpleMath">f</span> over the field with <span class="SimpleMath">p</span> elements, where <var class="Arg">q</var> <span class="SimpleMath">= p^f</span>, for a prime integer <span class="SimpleMath">p</span>.</p>
735
736 <p><a id="X7F0DBEB880D2D574" name="X7F0DBEB880D2D574"></a></p>
737
738 <h5>50.2-11 ProjectiveGeneralLinearGroup</h5>
739
740 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveGeneralLinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
741 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PGL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
742 <p>constructs a group isomorphic to the projective general linear group PGL( <var class="Arg">d</var>, <var class="Arg">q</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <var class="Arg">q</var> elements, modulo the centre, in the category given by the filter <var class="Arg">filt</var>.</p>
743
744 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space.</p>
745
746 <p><a id="X86784EDA80224B74" name="X86784EDA80224B74"></a></p>
747
748 <h5>50.2-12 ProjectiveSpecialLinearGroup</h5>
749
750 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveSpecialLinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
751 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PSL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
752 <p>constructs a group isomorphic to the projective special linear group PSL( <var class="Arg">d</var>, <var class="Arg">q</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <var class="Arg">q</var> elements whose determinant is the identity of the field, modulo the centre, in the category given by the filter <var class="Arg">filt</var>.</p>
753
754 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space.</p>
755
756 <p><a id="X7E471ADE7E095604" name="X7E471ADE7E095604"></a></p>
757
758 <h5>50.2-13 ProjectiveGeneralUnitaryGroup</h5>
759
760 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveGeneralUnitaryGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
761 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PGU</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
762 <p>constructs a group isomorphic to the projective general unitary group PGU( <var class="Arg">d</var>, <var class="Arg">q</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <span class="SimpleMath"><var class="Arg">q</var>^2</span> elements that respect a fixed nondegenerate sesquilinear form, modulo the centre, in the category given by the filter <var class="Arg">filt</var>.</p>
763
764 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space.</p>
765
766 <p><a id="X7A88FE2B7EF9C804" name="X7A88FE2B7EF9C804"></a></p>
767
768 <h5>50.2-14 ProjectiveSpecialUnitaryGroup</h5>
769
770 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveSpecialUnitaryGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
771 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PSU</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
772 <p>constructs a group isomorphic to the projective special unitary group PSU( <var class="Arg">d</var>, <var class="Arg">q</var> ) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <span class="SimpleMath"><var class="Arg">q</var>^2</span> elements that respect a fixed nondegenerate sesquilinear form and have determinant 1, modulo the centre, in the category given by the filter <var class="Arg">filt</var>.</p>
773
774 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space.</p>
775
776 <p><a id="X7DEDE2537B8FFFF5" name="X7DEDE2537B8FFFF5"></a></p>
777
778 <h5>50.2-15 ProjectiveSymplecticGroup</h5>
779
780 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveSymplecticGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
781 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PSP</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
782 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PSp</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
783 <p>constructs a group isomorphic to the projective symplectic group PSp(<var class="Arg">d</var>,<var class="Arg">q</var>) of those <span class="SimpleMath"><var class="Arg">d</var> × <var class="Arg">d</var></span> matrices over the field with <var class="Arg">q</var> elements that respect a fixed nondegenerate symplectic form, modulo the centre, in the category given by the filter <var class="Arg">filt</var>.</p>
784
785 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space.</p>
786
787 <p><a id="X87AAB20A8434356B" name="X87AAB20A8434356B"></a></p>
788
789 <h5>50.2-16 ProjectiveGeneralOrthogonalGroup</h5>
790
791 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveGeneralOrthogonalGroup</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
792 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PGO</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
793 <p>constructs a group isomorphic to the projective group PGO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ) of GO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ), modulo the centre (see <code class="func">GeneralOrthogonalGroup</code> (<a href="chap50.html#X7C2051CB7B94CEB1"><span class="RefLink">50.2-6</span></a>)), in the category given by the filter <var class="Arg">filt</var>.</p>
794
795 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space.</p>
796
797 <p><a id="X835E0D3384C4AB6B" name="X835E0D3384C4AB6B"></a></p>
798
799 <h5>50.2-17 ProjectiveSpecialOrthogonalGroup</h5>
800
801 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveSpecialOrthogonalGroup</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
802 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PSO</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
803 <p>constructs a group isomorphic to the projective group PSO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ) of SO( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ), modulo the centre (see <code class="func">SpecialOrthogonalGroup</code> (<a href="chap50.html#X78D4EEF27AA2DCFD"><span class="RefLink">50.2-7</span></a>)), in the category given by the filter <var class="Arg">filt</var>.</p>
804
805 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space.</p>
806
807 <p><a id="X7F546F907A37DF15" name="X7F546F907A37DF15"></a></p>
808
809 <h5>50.2-18 ProjectiveOmega</h5>
810
811 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveOmega</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
812 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; POmega</code>( [<var class="Arg">filt</var>, ][<var class="Arg">e</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
813 <p>constructs a group isomorphic to the projective group P<span class="SimpleMath">Ω</span>( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ) of <span class="SimpleMath">Ω</span>( <var class="Arg">e</var>, <var class="Arg">d</var>, <var class="Arg">q</var> ), modulo the centre (see <code class="func">Omega</code> (<a href="chap50.html#X8365E0AB8338DA3F"><span class="RefLink">50.2-8</span></a>)), in the category given by the filter <var class="Arg">filt</var>.</p>
814
815 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space.</p>
816
817 <p><a id="X824925DB7C3A2FA6" name="X824925DB7C3A2FA6"></a></p>
818
819 <h5>50.2-19 ProjectiveGeneralSemilinearGroup</h5>
820
821 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveGeneralSemilinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
822 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PGammaL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
823 <p><code class="func">ProjectiveGeneralSemilinearGroup</code> returns a group isomorphic to the factor group of the general semilinear group <code class="code">GammaL(</code> <var class="Arg">d</var>, <var class="Arg">q</var> <code class="code">)</code> modulo the center of its normal subgroup <code class="code">GL(</code> <var class="Arg">d</var>, <var class="Arg">q</var> <code class="code">)</code>.</p>
824
825 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space <code class="code">GF(</code><var class="Arg">q</var><code class="code">)^</code><var class="Arg">d</var>.</p>
826
827 <p><a id="X86BD9AE27CCAB1A6" name="X86BD9AE27CCAB1A6"></a></p>
828
829 <h5>50.2-20 ProjectiveSpecialSemilinearGroup</h5>
830
831 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveSpecialSemilinearGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
832 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PSigmaL</code>( [<var class="Arg">filt</var>, ]<var class="Arg">d</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
833 <p><code class="func">ProjectiveSpecialSemilinearGroup</code> returns a group isomorphic to the factor group of the special semilinear group <code class="code">SigmaL(</code> <var class="Arg">d</var>, <var class="Arg">q</var> <code class="code">)</code> modulo the center of its normal subgroup <code class="code">SL(</code> <var class="Arg">d</var>, <var class="Arg">q</var> <code class="code">)</code>.</p>
834
835 <p>If <var class="Arg">filt</var> is not given it defaults to <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>), and the returned group is the action on lines of the underlying vector space <code class="code">GF(</code><var class="Arg">q</var><code class="code">)^</code><var class="Arg">d</var>.</p>
836
837 <p><a id="X85B9F2D379616C35" name="X85B9F2D379616C35"></a></p>
838
839 <h4>50.3 <span class="Heading">Conjugacy Classes in Classical Groups</span></h4>
840
841 <p>For general and special linear groups (see <code class="func">GeneralLinearGroup</code> (<a href="chap50.html#X85D607DD82AF3E27"><span class="RefLink">50.2-1</span></a>) and <code class="func">SpecialLinearGroup</code> (<a href="chap50.html#X7CA3F7BF83992C6B"><span class="RefLink">50.2-2</span></a>)) <strong class="pkg">GAP</strong> has an efficient method to generate representatives of the conjugacy classes. This uses results from linear algebra on normal forms of matrices. If you know how to do this for other types of classical groups, please, tell us.</p>
842
843
844 <div class="example"><pre>
845 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g := SL(4,9);</span>
846 SL(4,9)
847 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">NrConjugacyClasses(g);</span>
848 861
849 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">cl := ConjugacyClasses(g);;</span>
850 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Length(cl);</span>
851 861
852 </pre></div>
853
854 <p><a id="X831789117E93171E" name="X831789117E93171E"></a></p>
855
856 <h5>50.3-1 NrConjugacyClassesGL</h5>
857
858 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesGL</code>( <var class="Arg">n</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
859 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesGU</code>( <var class="Arg">n</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
860 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesSL</code>( <var class="Arg">n</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
861 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesSU</code>( <var class="Arg">n</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
862 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesPGL</code>( <var class="Arg">n</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
863 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesPGU</code>( <var class="Arg">n</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
864 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesPSL</code>( <var class="Arg">n</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
865 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesPSU</code>( <var class="Arg">n</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
866 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesSLIsogeneous</code>( <var class="Arg">n</var>, <var class="Arg">q</var>, <var class="Arg">f</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
867 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrConjugacyClassesSUIsogeneous</code>( <var class="Arg">n</var>, <var class="Arg">q</var>, <var class="Arg">f</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
868 <p>The first of these functions compute for given positive integer <var class="Arg">n</var> and prime power <var class="Arg">q</var> the number of conjugacy classes in the classical groups GL( <var class="Arg">n</var>, <var class="Arg">q</var> ), GU( <var class="Arg">n</var>, <var class="Arg">q</var> ), SL( <var class="Arg">n</var>, <var class="Arg">q</var> ), SU( <var class="Arg">n</var>, <var class="Arg">q</var> ), PGL( <var class="Arg">n</var>, <var class="Arg">q</var> ), PGU( <var class="Arg">n</var>, <var class="Arg">q</var> ), PSL( <var class="Arg">n</var>, <var class="Arg">q</var> ), PSL( <var class="Arg">n</var>, <var class="Arg">q</var> ), respectively. (See also <code class="func">ConjugacyClasses</code> (<a href="chap39.html#X871B570284BBA685"><span class="RefLink">39.10-2</span></a>) and Section <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>.)</p>
869
870 <p>For each divisor <var class="Arg">f</var> of <var class="Arg">n</var> there is a group of Lie type with the same order as SL( <var class="Arg">n</var>, <var class="Arg">q</var> ), such that its derived subgroup modulo its center is isomorphic to PSL( <var class="Arg">n</var>, <var class="Arg">q</var> ). The various such groups with fixed <var class="Arg">n</var> and <var class="Arg">q</var> are called <em>isogeneous</em>. (Depending on congruence conditions on <var class="Arg">q</var> and <var class="Arg">n</var> several of these groups may actually be isomorphic.) The function <code class="func">NrConjugacyClassesSLIsogeneous</code> computes the number of conjugacy classes in this group. The extreme cases <var class="Arg">f</var> <span class="SimpleMath">= 1</span> and <var class="Arg">f</var> <span class="SimpleMath">= n</span> lead to the groups SL( <var class="Arg">n</var>, <var class="Arg">q</var> ) and PGL( <var class="Arg">n</var>, <var class="Arg">q</var> ), respectively.</p>
871
872 <p>The function <code class="func">NrConjugacyClassesSUIsogeneous</code> is the analogous one for the corresponding unitary groups.</p>
873
874 <p>The formulae for the number of conjugacy classes are taken from <a href="chapBib.html#biBMac81">[Mac81]</a>.</p>
875
876
877 <div class="example"><pre>
878 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">NrConjugacyClassesGL(24,27);</span>
879 22528399544939174406067288580609952
880 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">NrConjugacyClassesPSU(19,17);</span>
881 15052300411163848367708
882 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">NrConjugacyClasses(SL(16,16));</span>
883 1229782938228219920
884 </pre></div>
885
886 <p><a id="X817EBD6E841285CD" name="X817EBD6E841285CD"></a></p>
887
888 <h4>50.4 <span class="Heading">Constructors for Basic Groups</span></h4>
889
890 <p>All functions described in the previous sections call constructor operations to do the work. The names of the constructors are obtained from the names of the functions by appending <code class="code">"Cons"</code>, so for example <code class="func">CyclicGroup</code> (<a href="chap50.html#X7A7C473D87B31F3B"><span class="RefLink">50.1-2</span></a>) calls the constructor</p>
891
892 <p><code class="code">CyclicGroupCons( <var class="Arg">cat</var>, <var class="Arg">n</var> )</code></p>
893
894 <p>The first argument <var class="Arg">cat</var> for each method of this constructor must be the category for which the method is installed. For example the method for constructing a cyclic permutation group is installed as follows (see <code class="func">InstallMethod</code> (<a href="chap78.html#X837EFDAB7BEF290B"><span class="RefLink">78.3-1</span></a>) for the meaning of the arguments.</p>
895
896
897 <div class="example"><pre>
898 InstallMethod( CyclicGroupCons,
899 "regular perm group",
900 true,
901 [ IsPermGroup and IsRegularProp and IsFinite, IsInt and IsPosRat ], 0,
902 function( filter, n )
903
904 ...
905
906 end );
907 </pre></div>
908
909 <p><a id="X82676ED5826E9E2E" name="X82676ED5826E9E2E"></a></p>
910
911 <h4>50.5 <span class="Heading">Selection Functions</span></h4>
912
913 <p><code class="code">All<var class="Arg">Library</var>Groups( <var class="Arg">fun1</var>, <var class="Arg">val1</var>, ... )</code></p>
914
915 <p>For a number of the group libraries two <em>selection functions</em> are provided. Each <code class="code">All<var class="Arg">Library</var>Groups</code> selection function permits one to select <em>all</em> groups from the library <var class="Arg">Library</var> that have a given set of properties. Currently, the library selection functions provided, of this type, are <code class="func">AllSmallGroups</code> (<a href="../../pkg/smallgrp/doc/chap1.html#X7BB133CB7AA8F465"><span class="RefLink">smallgrp: AllSmallGroups</span></a>), <code class="func">AllIrreducibleSolvableGroups</code> (<a href="../../pkg/primgrp/doc/chap2.html#X7DAC64F17C8B49A2"><span class="RefLink">primgrp: AllIrreducibleSolvableGroups</span></a>), <code class="func">AllTransitiveGroups</code> (<a href="../../pkg/transgrp/htm/CHAP001.htm#SECT002"><span class="RefLink">transgrp: AllTransitiveGroups</span></a>), and <code class="func">AllPrimitiveGroups</code> (<a href="../../pkg/primgrp/doc/chap1.html#X86EF380E8007D304"><span class="RefLink">primgrp: AllPrimitiveGroups</span></a>). Corresponding to each of these there is a <code class="code">One<var class="Arg">Library</var>Group</code> function (see below) which returns at most one group.</p>
916
917 <p>These functions take an arbitrary number of pairs (but at least one pair) of arguments. The first argument in such a pair is a function that can be applied to the groups in the library, and the second argument is either a single value that this function must return in order to have this group included in the selection, or a list of such values. For the function <code class="func">AllSmallGroups</code> (<a href="../../pkg/smallgrp/doc/chap1.html#X7BB133CB7AA8F465"><span class="RefLink">smallgrp: AllSmallGroups</span></a>) the first such function must be <code class="func">Size</code> (<a href="chap30.html#X858ADA3B7A684421"><span class="RefLink">30.4-6</span></a>), and, unlike the other library selection functions, it supports an alternative syntax where <code class="func">Size</code> (<a href="chap30.html#X858ADA3B7A684421"><span class="RefLink">30.4-6</span></a>) is omitted (see <code class="func">AllSmallGroups</code> (<a href="../../pkg/smallgrp/doc/chap1.html#X7BB133CB7AA8F465"><span class="RefLink">smallgrp: AllSmallGroups</span></a>)). Also, see <code class="func">AllIrreducibleSolvableGroups</code> (<a href="../../pkg/primgrp/doc/chap2.html#X7DAC64F17C8B49A2"><span class="RefLink">primgrp: AllIrreducibleSolvableGroups</span></a>), for details pertaining to this function.</p>
918
919 <p>For an example, let us consider the selection function for the library of transitive groups (also see <a href="../../pkg/transgrp/htm/CHAP001.htm#SECT001"><span class="RefLink">transgrp: Transitive Permutation Groups</span></a>). The command</p>
920
921
922 <div class="example"><pre>
923 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AllTransitiveGroups(NrMovedPoints,[10..15],</span>
924 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> Size, [1..100],</span>
925 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> IsAbelian, false );</span>
926 </pre></div>
927
928 <p>returns a list of all transitive groups with degree between 10 and 15 and size less than 100 that are not abelian.</p>
929
930 <p>Thus <code class="code">AllTransitiveGroups</code> behaves as if it was implemented by a function similar to the one defined below, where <code class="code">TransitiveGroupsList</code> is a list of all transitive groups. (Note that in the definition below we assume for simplicity that <code class="code">AllTransitiveGroups</code> accepts exactly 4 arguments. It is of course obvious how to change this definition so that the function would accept a variable number of arguments.)</p>
931
932
933 <div class="example"><pre>
934 AllTransitiveGroups := function( fun1, val1, fun2, val2 )
935 local groups, g, i;
936 groups := [];
937 for i in [ 1 .. Length( TransitiveGroupsList ) ] do
938 g := TransitiveGroupsList[i];
939 if fun1(g) = val1 or IsList(val1) and fun1(g) in val1
940 and fun2(g) = val2 or IsList(val2) and fun2(g) in val2
941 then
942 Add( groups, g );
943 fi;
944 od;
945 return groups;
946 end;
947 </pre></div>
948
949 <p>Note that the real selection functions are considerably more difficult, to improve the efficiency. Most important, each recognizes a certain set of properties which are precomputed for the library without having to compute them anew for each group. This will substantially speed up the selection process. In the description of each library we will list the properties that are stored for this library.</p>
950
951 <p><code class="code">One<var class="Arg">Library</var>Group( <var class="Arg">fun1</var>, <var class="Arg">val1</var>, ... )</code></p>
952
953 <p>For each <code class="code">All<var class="Arg">Library</var>Groups</code> function (see above) there is a corresponding function <code class="code">One<var class="Arg">Library</var>Group</code> on exactly the same arguments, i.e., there are <code class="func">OneSmallGroup</code> (<a href="../../pkg/smallgrp/doc/chap1.html#X875EB1167FF6BA82"><span class="RefLink">smallgrp: OneSmallGroup</span></a>), <code class="func">OneIrreducibleSolvableGroup</code> (<a href="../../pkg/primgrp/doc/chap2.html#X844E60B87FC48D1B"><span class="RefLink">primgrp: OneIrreducibleSolvableGroup</span></a>), <code class="func">OneTransitiveGroup</code> (<a href="../../pkg/transgrp/htm/CHAP001.htm#SECT002"><span class="RefLink">transgrp: OneTransitiveGroup</span></a>), and <code class="func">OnePrimitiveGroup</code> (<a href="../../pkg/primgrp/doc/chap1.html#X82870C177DB70470"><span class="RefLink">primgrp: OnePrimitiveGroup</span></a>). Each function simply returns <em>one</em> group in the library that has the prescribed properties, instead of <em>all</em> such groups. It returns <code class="keyw">fail</code> if no such group exists in the library.</p>
954
955 <p><a id="X7A884ECF813C2026" name="X7A884ECF813C2026"></a></p>
956
957 <h4>50.6 <span class="Heading">Finite Perfect Groups</span></h4>
958
959 <p>The <strong class="pkg">GAP</strong> library of finite perfect groups provides, up to isomorphism, a list of all perfect groups whose sizes are less than <span class="SimpleMath">2⋅ 10^6</span>. The groups of orders up to <span class="SimpleMath">10^6</span> have been enumerated by Derek F. Holt and Wilhelm Plesken and published in their book <q>Perfect Groups</q> <a href="chapBib.html#biBHP89">[HP89]</a>. For orders <span class="SimpleMath">n = 86016</span>, 368640, or 737280 this work only counted the groups (but did not explicitly list them), the groups of orders <span class="SimpleMath">n = 61440</span>, 122880, 172032, 245760, 344064, 491520, 688128, or 983040 were omitted.</p>
960
961 <p>We are grateful to Derek Holt and Wilhelm Plesken for making their groups available to the <strong class="pkg">GAP</strong> community by contributing their files. It should be noted that their book contains a lot of further information for many of the library groups. So we would like to recommend it to any <strong class="pkg">GAP</strong> user who is interested in the groups. The library of these has been brought into <strong class="pkg">GAP</strong> format by Volkmar Felsch.</p>
962
963 <p>Several additional groups omitted from the book <q>Perfect Groups</q> have also been included. Two groups -- one of order 450000 with a factor group of type <span class="SimpleMath">A_6</span> and the one of order 962280 -- were found by Jack Schmidt in 2005. Two groups of order 243000 and one each of orders 729000, 871200, 878460 were found in 2020 by Alexander Hulpke.</p>
964
965 <p>The perfect groups of size less than <span class="SimpleMath">2⋅ 10^6</span> which had not been classified in the work of Holt and Plesken have been enumerated by Alexander Hulpke. They are stored directly and provide less construction information in their names.</p>
966
967 <p>As all groups are stored by presentations, a permutation representation is obtained by coset enumeration. Note that some of the library groups do not have a faithful permutation representation of small degree. Computations in these groups may be rather time consuming.</p>
968
969 <p><a id="X866A25F882A4E97B" name="X866A25F882A4E97B"></a></p>
970
971 <h5>50.6-1 SizesPerfectGroups</h5>
972
973 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SizesPerfectGroups</code>( )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
974 <p>This is the ordered list of all numbers up to <span class="SimpleMath">2⋅ 10^6</span> that occur as sizes of perfect groups. One can iterate over part of the perfect groups library with:</p>
975
976
977 <div class="example"><pre>
978 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">for n in Intersection([100..500],SizesPerfectGroups()) do</span>
979 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> for k in [1..NrPerfectGroups(n)] do</span>
980 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> pg := PerfectGroup(n,k);</span>
981 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> od;</span>
982 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> od;</span>
983 </pre></div>
984
985 <p><a id="X7906BBA7818E9415" name="X7906BBA7818E9415"></a></p>
986
987 <h5>50.6-2 <span class="Heading">PerfectGroup</span></h5>
988
989 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PerfectGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">size</var>[, <var class="Arg">n</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
990 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PerfectGroup</code>( [<var class="Arg">filt</var>, ]<var class="Arg">sizenumberpair</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
991 <p>returns a group which is isomorphic to the library group specified by the size number <code class="code">[ <var class="Arg">size</var>, <var class="Arg">n</var> ]</code> or by the two separate arguments <var class="Arg">size</var> and <var class="Arg">n</var>, assuming a default value of <span class="SimpleMath"><var class="Arg">n</var> = 1</span>. The optional argument <var class="Arg">filt</var> defines the filter in which the group is returned. Possible filters so far are <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>) and <code class="func">IsSubgroupFpGroup</code> (<a href="chap47.html#X7AF7E2B48199452C"><span class="RefLink">47.1-1</span></a>). In the latter case, the generators and relators used coincide with those given in <a href="chapBib.html#biBHP89">[HP89]</a>. The default filter is <code class="func">IsPermGroup</code> (<a href="chap43.html#X7879877482F59676"><span class="RefLink">43.1-1</span></a>).</p>
992
993
994 <div class="example"><pre>
995 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">G := PerfectGroup(IsPermGroup,6048,1);</span>
996 U3(3)
997 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">G:=PerfectGroup(IsPermGroup,823080,2);</span>
998 A5 2^1 19^2 C 19^1
999 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">NrMovedPoints(G);</span>
1000 6859
1001 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">G:=PerfectGroup(1866240,12);</span>
1002 PG1866240.12
1003 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">NrMovedPoints(G);</span>
1004 270
1005 </pre></div>
1006
1007 <p><a id="X7E1CB2D18085FF9D" name="X7E1CB2D18085FF9D"></a></p>
1008
1009 <h5>50.6-3 PerfectIdentification</h5>
1010
1011 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; PerfectIdentification</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
1012 <p>This attribute is set for all groups obtained from the perfect groups library and has the value <code class="code">[<var class="Arg">size</var>,<var class="Arg">nr</var>]</code> if the group is obtained with these parameters from the library.</p>
1013
1014 <p><a id="X7D68BE547FE5C0F5" name="X7D68BE547FE5C0F5"></a></p>
1015
1016 <h5>50.6-4 NumberPerfectGroups</h5>
1017
1018 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NumberPerfectGroups</code>( <var class="Arg">size</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1019 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrPerfectGroups</code>( <var class="Arg">size</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1020 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NumberPerfectLibraryGroups</code>( <var class="Arg">size</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1021 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NrPerfectLibraryGroups</code>( <var class="Arg">size</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1022 <p>returns the number of non-isomorphic perfect groups of size <var class="Arg">size</var> for each positive integer <var class="Arg">size</var> up to <span class="SimpleMath">2⋅10^6</span>. Additionally, for odd <var class="Arg">size</var> an answer is returned (odd order groups are solvable). For any other argument out of range it returns <code class="keyw">fail</code>. <var class="Arg">NrPerfectGroups</var> is a synonym for <code class="func">NumberPerfectGroups</code>. Moreover <var class="Arg">NumberPerfectLibraryGroups</var> (and its synonym <var class="Arg">NrPerfectLibraryGroups</var>) exist for historical reasons, and return 0 instead of fail for arguments outside the library scope.</p>
1023
1024 <p><a id="X866356A684F6B15E" name="X866356A684F6B15E"></a></p>
1025
1026 <h5>50.6-5 SizeNumbersPerfectGroups</h5>
1027
1028 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SizeNumbersPerfectGroups</code>( <var class="Arg">factor1</var>, <var class="Arg">factor2</var>, <var class="Arg">...</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1029 <p><code class="func">SizeNumbersPerfectGroups</code> returns a list of pairs, each entry consisting of a group order and the number of those groups in the library of perfect groups that contain the specified factors <var class="Arg">factor1</var>, <var class="Arg">factor2</var>, ... among their composition factors.</p>
1030
1031 <p>Each argument must either be the name of a nonabelian simple group or an integer which stands for the product of the sizes of one or more cyclic factors. (In fact, the function replaces all integers among the arguments by their product.)</p>
1032
1033 <p>The following text strings are accepted as simple group names.</p>
1034
1035
1036 <ul>
1037 <li><p><code class="code">A<var class="Arg">n</var></code> or <code class="code">A(<var class="Arg">n</var>)</code> for the alternating groups <span class="SimpleMath">A_<var class="Arg">n</var></span>, <span class="SimpleMath">5 ≤ n ≤ 9</span>, for example <code class="code">A5</code> or <code class="code">A(6)</code>.</p>
1038
1039 </li>
1040 <li><p><code class="code">L<var class="Arg">n</var>(<var class="Arg">q</var>)</code> or <code class="code">L(<var class="Arg">n</var>,<var class="Arg">q</var>)</code> for PSL<span class="SimpleMath">(n,q)</span>, where <span class="SimpleMath">n ∈ { 2, 3 }</span> and <span class="SimpleMath">q</span> a prime power, ranging</p>
1041
1042
1043 <ul>
1044 <li><p>for <span class="SimpleMath">n = 2</span> from 4 to 125</p>
1045
1046 </li>
1047 <li><p>for <span class="SimpleMath">n = 3</span> from 2 to 5</p>
1048
1049 </li>
1050 </ul>
1051 </li>
1052 <li><p><code class="code">U<var class="Arg">n</var>(<var class="Arg">q</var>)</code> or <code class="code">U(<var class="Arg">n</var>,<var class="Arg">q</var>)</code> for PSU<span class="SimpleMath">(n,q)</span>, where <span class="SimpleMath">n ∈ { 3, 4 }</span> and <span class="SimpleMath">q</span> a prime power, ranging</p>
1053
1054
1055 <ul>
1056 <li><p>for <span class="SimpleMath">n = 3</span> from 3 to 5</p>
1057
1058 </li>
1059 <li><p>for <span class="SimpleMath">n = 4</span> from 2 to 2</p>
1060
1061 </li>
1062 </ul>
1063 </li>
1064 <li><p><code class="code">Sp4(4)</code> or <code class="code">S(4,4)</code> for the symplectic group Sp<span class="SimpleMath">(4,4)</span>,</p>
1065
1066 </li>
1067 <li><p><code class="code">Sz(8)</code> for the Suzuki group Sz<span class="SimpleMath">(8)</span>,</p>
1068
1069 </li>
1070 <li><p><code class="code">M<var class="Arg">n</var></code> or <code class="code">M(<var class="Arg">n</var>)</code> for the Mathieu groups <span class="SimpleMath">M_11</span>, <span class="SimpleMath">M_12</span>, and <span class="SimpleMath">M_22</span>, and</p>
1071
1072 </li>
1073 <li><p><code class="code">J<var class="Arg">n</var></code> or <code class="code">J(<var class="Arg">n</var>)</code> for the Janko groups <span class="SimpleMath">J_1</span> and <span class="SimpleMath">J_2</span>.</p>
1074
1075 </li>
1076 </ul>
1077 <p>Note that, for most of the groups, the preceding list offers two different names in order to be consistent with the notation used in <a href="chapBib.html#biBHP89">[HP89]</a> as well as with the notation used in the <code class="func">DisplayCompositionSeries</code> (<a href="chap39.html#X82C0D0217ACB2042"><span class="RefLink">39.17-6</span></a>) command of <strong class="pkg">GAP</strong>. However, as the names are compared as text strings, you are restricted to the above choice. Even expressions like <code class="code">L2(2^5)</code> are not accepted.</p>
1078
1079 <p>As the use of the term PSU<span class="SimpleMath">(n,q)</span> is not unique in the literature, we mention that in this library it denotes the factor group of SU<span class="SimpleMath">(n,q)</span> by its centre, where SU<span class="SimpleMath">(n,q)</span> is the group of all <span class="SimpleMath">n × n</span> unitary matrices with entries in <span class="SimpleMath">GF(q^2)</span> and determinant 1.</p>
1080
1081 <p>The purpose of the function is to provide a simple way to formulate a loop over all library groups which contain certain composition factors.</p>
1082
1083 <p><a id="X845419F07BB92867" name="X845419F07BB92867"></a></p>
1084
1085 <h5>50.6-6 <span class="Heading">DisplayInformationPerfectGroups</span></h5>
1086
1087 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DisplayInformationPerfectGroups</code>( <var class="Arg">size</var>[, <var class="Arg">n</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1088 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DisplayInformationPerfectGroups</code>( <var class="Arg">sizenumberpair</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1089 <p><code class="func">DisplayInformationPerfectGroups</code> displays some invariants of the <var class="Arg">n</var>-th group of order <var class="Arg">size</var> from the perfect groups library.</p>
1090
1091 <p>If no value of <var class="Arg">n</var> has been specified, the invariants will be displayed for all groups of size <var class="Arg">size</var> available in the library.</p>
1092
1093 <p>Alternatively, also a list of length two may be entered as the only argument, with entries <var class="Arg">size</var> and <var class="Arg">n</var>.</p>
1094
1095 <p>The information provided for <span class="SimpleMath">G</span> includes the following items:</p>
1096
1097
1098 <ul>
1099 <li><p>a headline containing the size number <code class="code">[ <var class="Arg">size</var>, <var class="Arg">n</var> ]</code> of <span class="SimpleMath">G</span> in the form <code class="code"><var class="Arg">size</var>.<var class="Arg">n</var></code> (the suffix <code class="code">.<var class="Arg">n</var></code> will be suppressed if, up to isomorphism, <span class="SimpleMath">G</span> is the only perfect group of order <var class="Arg">size</var>),</p>
1100
1101 </li>
1102 <li><p>a message if <span class="SimpleMath">G</span> is simple or quasisimple, i.e., if the factor group of <span class="SimpleMath">G</span> by its centre is simple,</p>
1103
1104 </li>
1105 <li><p>the <q>description</q> of the structure of <span class="SimpleMath">G</span> as it is given by Holt and Plesken in <a href="chapBib.html#biBHP89">[HP89]</a> (see below),</p>
1106
1107 </li>
1108 <li><p>the size of the centre of <span class="SimpleMath">G</span> (suppressed, if <span class="SimpleMath">G</span> is simple),</p>
1109
1110 </li>
1111 <li><p>the prime decomposition of the size of <span class="SimpleMath">G</span>,</p>
1112
1113 </li>
1114 <li><p>orbit sizes for a faithful permutation representation of <span class="SimpleMath">G</span> which is provided by the library (see below),</p>
1115
1116 </li>
1117 <li><p>a reference to each occurrence of <span class="SimpleMath">G</span> in the tables of section 5.3 of <a href="chapBib.html#biBHP89">[HP89]</a>. Each of these references consists of a class number and an internal number <span class="SimpleMath">(i,j)</span> under which <span class="SimpleMath">G</span> is listed in that class. For some groups, there is more than one reference because these groups belong to more than one of the classes in the book.</p>
1118
1119 </li>
1120 </ul>
1121
1122 <div class="example"><pre>
1123 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DisplayInformationPerfectGroups( 30720, 3 );</span>
1124 #I Perfect group 30720: A5 ( 2^4 E N 2^1 E 2^4 ) A
1125 #I size = 2^11*3*5 orbit size = 240
1126 #I Holt-Plesken class 1 (9,3)
1127 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DisplayInformationPerfectGroups( 30720, 6 );</span>
1128 #I Perfect group 30720: A5 ( 2^4 x 2^4 ) C N 2^1
1129 #I centre = 2 size = 2^11*3*5 orbit size = 384
1130 #I Holt-Plesken class 1 (9,6)
1131 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DisplayInformationPerfectGroups( Factorial( 8 ) / 2 );</span>
1132 #I Perfect group 20160.1: A5 x L3(2) 2^1
1133 #I centre = 2 size = 2^6*3^2*5*7 orbit sizes = 5 + 16
1134 #I Holt-Plesken class 31 (1,1) (occurs also in class 32)
1135 #I Perfect group 20160.2: A5 2^1 x L3(2)
1136 #I centre = 2 size = 2^6*3^2*5*7 orbit sizes = 7 + 24
1137 #I Holt-Plesken class 31 (1,2) (occurs also in class 32)
1138 #I Perfect group 20160.3: ( A5 x L3(2) ) 2^1
1139 #I centre = 2 size = 2^6*3^2*5*7 orbit size = 192
1140 #I Holt-Plesken class 31 (1,3)
1141 #I Perfect group 20160.4: simple group A8
1142 #I size = 2^6*3^2*5*7 orbit size = 8
1143 #I Holt-Plesken class 26 (0,1)
1144 #I Perfect group 20160.5: simple group L3(4)
1145 #I size = 2^6*3^2*5*7 orbit size = 21
1146 #I Holt-Plesken class 27 (0,1)
1147 </pre></div>
1148
1149 <p><a id="X875C5BE67BAB7F71" name="X875C5BE67BAB7F71"></a></p>
1150
1151 <h5>50.6-7 <span class="Heading">More about the Perfect Groups Library</span></h5>
1152
1153 <p>For any library group <span class="SimpleMath">G</span>, the library files do not only provide a presentation, but, in addition, a list of one or more subgroups <span class="SimpleMath">S_1, ..., S_r</span> of <span class="SimpleMath">G</span> such that there is a faithful permutation representation of <span class="SimpleMath">G</span> of degree <span class="SimpleMath">∑_{i = 1}^r [G:S_i]</span> on the set <span class="SimpleMath">{ S_i g ∣ 1 ≤ i ≤ r, g ∈ G }</span> of the cosets of the <span class="SimpleMath">S_i</span>. This allows one to construct the groups as permutation groups. The function <code class="func">DisplayInformationPerfectGroups</code> (<a href="chap50.html#X845419F07BB92867"><span class="RefLink">50.6-6</span></a>) displays only the available degree. The message</p>
1154
1155
1156 <div class="example"><pre>
1157 orbit size = 8
1158 </pre></div>
1159
1160 <p>in the above example means that the available permutation representation is transitive and of degree 8, whereas the message</p>
1161
1162
1163 <div class="example"><pre>
1164 orbit sizes = 5 + 16
1165 </pre></div>
1166
1167 <p>means that a nontransitive permutation representation is available which acts on two orbits of size 5 and 16 respectively.</p>
1168
1169 <p>The notation used in the <q>description</q> of a group is explained in section 5.1.2 of <a href="chapBib.html#biBHP89">[HP89]</a>. We quote the respective page from there:</p>
1170
1171 <p>Within a class <span class="SimpleMath">Q#p</span>, an isomorphism type of groups will be denoted by an ordered pair of integers <span class="SimpleMath">(r,n)</span>, where <span class="SimpleMath">r ≥ 0</span> and <span class="SimpleMath">n &gt; 0</span>. More precisely, the isomorphism types in <span class="SimpleMath">Q # p</span> of order <span class="SimpleMath">p^r |Q|</span> will be denoted by <span class="SimpleMath">(r,1), (r,2), (r,3), ...</span>. Thus <span class="SimpleMath">Q</span> will always get the size number <span class="SimpleMath">(0,1)</span>.</p>
1172
1173 <p>In addition to the symbol <span class="SimpleMath">(r,n)</span>, the groups in <span class="SimpleMath">Q#p</span> will also be given a more descriptive name. The purpose of this is to provide a very rough idea of the structure of the group. The names are derived in the following manner. First of all, the isomorphism classes of irreducible <span class="SimpleMath">F_pQ</span>-modules <span class="SimpleMath">M</span> with <span class="SimpleMath">|Q|.|M| ≤ 10^6</span>, where <span class="SimpleMath">F_p</span> is the field of order <span class="SimpleMath">p</span>, are assigned symbols. These will either be simply <span class="SimpleMath">p^x</span>, where <span class="SimpleMath">x</span> is the dimension of the module, or, if there is more than one isomorphism class of irreducible modules having the same dimension, they will be denoted by<span class="SimpleMath">p^x</span>, <span class="SimpleMath">p^{x'}</span>, etc. The one-dimensional module with trivial <span class="SimpleMath">Q</span>-action will therefore be denoted by <span class="SimpleMath">p^1</span>. These symbols will be listed under the description of <span class="SimpleMath">Q</span>. The group name consists essentially of a list of the composition factors working from the top of the group downwards; hence it always starts with the name of <span class="SimpleMath">Q</span> itself. (This convention is the most convenient in our context, but it is different from that adopted in the ATLAS <a href="chapBib.html#biBCCN85">[CCN+85]</a>, for example, where composition factors are listed in the reverse order. For example, we denote a group isomorphic to <span class="SimpleMath">SL(2,5)</span> by <span class="SimpleMath">A_5 2^1</span> rather than <span class="SimpleMath">2.A_5</span>.)</p>
1174
1175 <p>Some other symbols are used in the name, in order to give some idea of the relationship between these composition factors, and splitting properties. We shall now list these additional symbols.</p>
1176
1177
1178 <dl>
1179 <dt><strong class="Mark"><span class="SimpleMath">×</span></strong></dt>
1180 <dd><p>between two factors denotes a direct product of <span class="SimpleMath">F_pQ</span>-modules or groups.</p>
1181
1182 </dd>
1183 <dt><strong class="Mark">C</strong></dt>
1184 <dd><p>(for <q>commutator</q>) between two factors means that the second lies in the commutator subgroup of the first. Similarly, a segment of the form <span class="SimpleMath">(f_1 × f_2) C f_3</span> would mean that the factors <span class="SimpleMath">f_1</span> and <span class="SimpleMath">f_2</span> commute modulo <span class="SimpleMath">f_3</span> and <span class="SimpleMath">f_3</span> lies in <span class="SimpleMath">[f_1,f_2]</span>.</p>
1185
1186 </dd>
1187 <dt><strong class="Mark">A</strong></dt>
1188 <dd><p>(for <q>abelian</q>) between two factors indicates that the second is in the <span class="SimpleMath">p</span>th power (but not the commutator subgroup) of the first. <q>A</q> may also follow the factors, if bracketed.</p>
1189
1190 </dd>
1191 <dt><strong class="Mark">E</strong></dt>
1192 <dd><p>(for <q>elementary abelian</q>) between two factors indicates that together they generate an elementary abelian group (modulo subsequent factors), but that the resulting <span class="SimpleMath">F_p Q</span>-module extension does not split.</p>
1193
1194 </dd>
1195 <dt><strong class="Mark">N</strong></dt>
1196 <dd><p>(for <q>nonsplit</q>) before a factor indicates that <span class="SimpleMath">Q</span> (or possibly its covering group) splits down as far at this factor but not over the factor itself. So <q><span class="SimpleMath">Q f_1 N f_2</span></q> means that the normal subgroup <span class="SimpleMath">f_1 f_2</span> of the group has no complement but, modulo <span class="SimpleMath">f_2</span>, <span class="SimpleMath">f_1</span>, does have a complement.</p>
1197
1198 </dd>
1199 </dl>
1200 <p>Brackets have their obvious meaning. Summarizing, we have:</p>
1201
1202
1203 <dl>
1204 <dt><strong class="Mark"><span class="SimpleMath">×</span></strong></dt>
1205 <dd><p>= direct product;</p>
1206
1207 </dd>
1208 <dt><strong class="Mark">C</strong></dt>
1209 <dd><p>= commutator subgroup;</p>
1210
1211 </dd>
1212 <dt><strong class="Mark">A</strong></dt>
1213 <dd><p>= abelian;</p>
1214
1215 </dd>
1216 <dt><strong class="Mark">E</strong></dt>
1217 <dd><p>= elementary abelian; and</p>
1218
1219 </dd>
1220 <dt><strong class="Mark">N</strong></dt>
1221 <dd><p>= nonsplit.</p>
1222
1223 </dd>
1224 </dl>
1225 <p>Here are some examples.</p>
1226
1227
1228 <dl>
1229 <dt><strong class="Mark">(i)</strong></dt>
1230 <dd><p><span class="SimpleMath">A_5 (2^4 E 2^1 E 2^4) A</span> means that the pairs <span class="SimpleMath">2^4 E 2^1</span> and <span class="SimpleMath">2^1 E 2^4</span> are both elementary abelian of exponent 4.</p>
1231
1232 </dd>
1233 <dt><strong class="Mark">(ii)</strong></dt>
1234 <dd><p><span class="SimpleMath">A_5 (2^4 E 2^1 A) C 2^1</span> means that <span class="SimpleMath">O_2(G)</span> is of symplectic type <span class="SimpleMath">2^{1+5}</span>, with Frattini factor group of type <span class="SimpleMath">2^4 E 2^1</span>. The <q>A</q> after the <span class="SimpleMath">2^1</span> indicates that <span class="SimpleMath">G</span> has a central cyclic subgroup <span class="SimpleMath">2^1 A 2^1</span> of order 4.</p>
1235
1236 </dd>
1237 <dt><strong class="Mark">(iii)</strong></dt>
1238 <dd><p><span class="SimpleMath">L_3(2) ((2^1 E) × ( N 2^3 E 2^{3'} A) C) 2^{3'}</span> means that the <span class="SimpleMath">2^{3'}</span> factor at the bottom lies in the commutator subgroup of the pair <span class="SimpleMath">2^3 E 2^{3'}</span> in the middle, but the lower pair <span class="SimpleMath">2^{3'} A 2^{3'}</span> is abelian of exponent 4. There is also a submodule <span class="SimpleMath">2^1 E 2^{3'}</span>, and the covering group <span class="SimpleMath">L_3(2) 2^1</span> of <span class="SimpleMath">L_3(2)</span> does not split over the <span class="SimpleMath">2^3</span> factor. (Since <span class="SimpleMath">G</span> is perfect, it goes without saying that the extension <span class="SimpleMath">L_3(2) 2^1</span> cannot split itself.)</p>
1239
1240 </dd>
1241 </dl>
1242 <p>We must stress that this notation does not always succeed in being precise or even unambiguous, and the reader is free to ignore it if it does not seem helpful.</p>
1243
1244 <p>If such a group description has been given in the book for <span class="SimpleMath">G</span> (and, in fact, this is the case for most of the library groups), it is displayed by <code class="func">DisplayInformationPerfectGroups</code> (<a href="chap50.html#X845419F07BB92867"><span class="RefLink">50.6-6</span></a>). Otherwise the function provides a less explicit description of the (in these cases unique) Holt-Plesken class to which <span class="SimpleMath">G</span> belongs, together with a serial number if this is necessary to make it unique.</p>
1245
1246 <p><a id="X7873506D873EDB95" name="X7873506D873EDB95"></a></p>
1247
1248 <h4>50.7 <span class="Heading">Irreducible Maximal Finite Integral Matrix Groups</span></h4>
1249
1250 <p>A library of irreducible maximal finite integral matrix groups is provided with <strong class="pkg">GAP</strong>. It contains <span class="SimpleMath">ℚ</span>-class representatives for all of these groups of dimension at most 31, and <span class="SimpleMath">ℤ</span>-class representatives for those of dimension at most 11 or of dimension 13, 17, 19, or 23.</p>
1251
1252 <p>The groups provided in this library have been determined by Wilhelm Plesken, partially as joint work with Michael Pohst, or by members of his institute (Lehrstuhl B für Mathematik, RWTH Aachen). In particular, the data for the groups of dimensions 2 to 9 have been taken from the output of computer calculations which they performed in 1979 (see <a href="chapBib.html#biBPP77">[PP77]</a>, <a href="chapBib.html#biBPP80">[PP80]</a>). The <span class="SimpleMath">ℤ</span>-class representatives of the groups of dimension 10 have been determined and computed by Bernd Souvignier (<a href="chapBib.html#biBSou94">[Sou94]</a>), and those of dimensions 11, 13, and 17 have been recomputed for this library from the circulant Gram matrices given in <a href="chapBib.html#biBPle85">[Ple85]</a>, using the stand-alone programs for the computation of short vectors and Bravais groups which have been developed in Plesken's institute. The <span class="SimpleMath">ℤ</span>-class representatives of the groups of dimensions 19 and 23 had already been determined in <a href="chapBib.html#biBPle85">[Ple85]</a>. Gabriele Nebe has recomputed them for us. Her main contribution to this library, however, is that she has determined and computed the <span class="SimpleMath">ℚ</span>-class representatives of the groups of non-prime dimensions between 12 and 24 and the groups of dimensions 25 to 31 (see <a href="chapBib.html#biBPN95">[PN95]</a>, <a href="chapBib.html#biBNP95">[NP95b]</a>, <a href="chapBib.html#biBNeb95">[Neb95]</a>, <a href="chapBib.html#biBNeb96">[Neb96]</a>).</p>
1253
1254 <p>The library has been brought into <strong class="pkg">GAP</strong> format by Volkmar Felsch. He has applied several <strong class="pkg">GAP</strong> routines to check certain consistency of the data. However, the credit and responsibility for the lists remain with the authors. We are grateful to Wilhelm Plesken, Gabriele Nebe, and Bernd Souvignier for supplying their results to <strong class="pkg">GAP</strong>.</p>
1255
1256 <p>In the preceding acknowledgement, we used some notations that will also be needed in the sequel. We first define these.</p>
1257
1258 <p>Any integral matrix group <span class="SimpleMath">G</span> of dimension <span class="SimpleMath">n</span> is a subgroup of <span class="SimpleMath">GL_n(ℤ)</span> as well as of <span class="SimpleMath">GL_n(ℚ)</span> and hence lies in some conjugacy class of integral matrix groups under <span class="SimpleMath">GL_n(ℤ)</span> and also in some conjugacy class of rational matrix groups under <span class="SimpleMath">GL_n(ℚ)</span>. As usual, we call these classes the <span class="SimpleMath">ℤ</span>-class and the <span class="SimpleMath">ℚ</span>-class of <span class="SimpleMath">G</span>, respectively. Note that any conjugacy class of subgroups of <span class="SimpleMath">GL_n(ℚ)</span> contains at least one <span class="SimpleMath">ℤ</span>-class of subgroups of <span class="SimpleMath">GL_n(ℤ)</span> and hence can be considered as the <span class="SimpleMath">ℚ</span>-class of some integral matrix group.</p>
1259
1260 <p>In the context of this library we are only concerned with <span class="SimpleMath">ℤ</span>-classes and <span class="SimpleMath">ℚ</span>-classes of subgroups of <span class="SimpleMath">GL_n(ℤ)</span> which are irreducible and maximal finite in <span class="SimpleMath">GL_n(ℤ)</span> (we will call them <em>i.m.f.</em> subgroups of <span class="SimpleMath">GL_n(ℤ)</span>). We can distinguish two types of these groups:</p>
1261
1262 <p>First, there are those i.m.f. subgroups of <span class="SimpleMath">GL_n(ℤ)</span> which are also maximal finite subgroups of <span class="SimpleMath">GL_n(ℚ)</span>. Let us denote the set of their <span class="SimpleMath">ℚ</span>-classes by <span class="SimpleMath">Q_1(n)</span>. It is clear from the above remark that <span class="SimpleMath">Q_1(n)</span> just consists of the <span class="SimpleMath">ℚ</span>-classes of i.m.f. subgroups of <span class="SimpleMath">GL_n(ℚ)</span>.</p>
1263
1264 <p>Secondly, there is the set <span class="SimpleMath">Q_2(n)</span> of the <span class="SimpleMath">ℚ</span>-classes of the remaining i.m.f. subgroups of <span class="SimpleMath">GL_n(ℤ)</span>, i.e., of those which are not maximal finite subgroups of <span class="SimpleMath">GL_n(ℚ)</span>. For any such group <span class="SimpleMath">G</span>, there is at least one class <span class="SimpleMath">C ∈ Q_1(n)</span> such that <span class="SimpleMath">G</span> is conjugate under <span class="SimpleMath">ℚ</span> to a proper subgroup of some group <span class="SimpleMath">H ∈ C</span>. In fact, the class <span class="SimpleMath">C</span> is uniquely determined for any group <span class="SimpleMath">G</span> occurring in the library (though there seems to be no reason to assume that this property should hold in general). Hence we may call <span class="SimpleMath">C</span> the <em>rational i.m.f. class</em> of <span class="SimpleMath">G</span>. Finally, we will denote the number of classes in <span class="SimpleMath">Q_1(n)</span> and <span class="SimpleMath">Q_2(n)</span> by <span class="SimpleMath">q_1(n)</span> and <span class="SimpleMath">q_2(n)</span>, respectively.</p>
1265
1266 <p>As an example, let us consider the case <span class="SimpleMath">n = 4</span>. There are 6 <span class="SimpleMath">ℤ</span>-classes of i.m.f. subgroups of <span class="SimpleMath">GL_4(ℤ)</span> with representative subgroups <span class="SimpleMath">G_1, ..., G_6</span> of isomorphism types <span class="SimpleMath">G_1 ≅ W(F_4)</span>, <span class="SimpleMath">G_2 ≅ D_12 ≀ C_2</span>, <span class="SimpleMath">G_3 ≅ G_4 ≅ C_2 × S_5</span>, <span class="SimpleMath">G_5 ≅ W(B_4)</span>, and <span class="SimpleMath">G_6 ≅ (D_12</span><code class="code">Y</code><span class="SimpleMath">D_12) : C_2</span>. The corresponding <span class="SimpleMath">ℚ</span>-classes, which we denote <span class="SimpleMath">R_1, ..., R_6</span>, are pairwise different except that <span class="SimpleMath">R_3</span> coincides with <span class="SimpleMath">R_4</span>. The groups <span class="SimpleMath">G_1</span>, <span class="SimpleMath">G_2</span>, and <span class="SimpleMath">G_3</span> are i.m.f. subgroups of <span class="SimpleMath">GL_4(ℚ)</span>, but <span class="SimpleMath">G_5</span> and <span class="SimpleMath">G_6</span> are not because they are conjugate under <span class="SimpleMath">GL_4(ℚ)</span> to proper subgroups of <span class="SimpleMath">G_1</span> and <span class="SimpleMath">G_2</span>, respectively. So we have <span class="SimpleMath">Q_1(4) = { R_1, R_2, R_3 }</span>, <span class="SimpleMath">Q_2(4) = { R_5, R_6 }</span>, <span class="SimpleMath">q_1(4) = 3</span>, and <span class="SimpleMath">q_2(4) = 2</span>.</p>
1267
1268 <p>The <span class="SimpleMath">q_1(n)</span> <span class="SimpleMath">ℚ</span>-classes of i.m.f. subgroups of <span class="SimpleMath">GL_n(ℚ)</span> have been determined for each dimension <span class="SimpleMath">n ≤ 31</span>. The current <strong class="pkg">GAP</strong> library provides integral representative groups for all these classes. Moreover, all <span class="SimpleMath">ℤ</span>-classes of i.m.f. subgroups of <span class="SimpleMath">GL_n(ℤ)</span> are known for <span class="SimpleMath">n ≤ 11</span> and for <span class="SimpleMath">n ∈ {13,17,19,23}</span>. For these dimensions, the library offers integral representative groups for all <span class="SimpleMath">ℚ</span>-classes in <span class="SimpleMath">Q_1(n)</span> and <span class="SimpleMath">Q_2(n)</span> as well as for all <span class="SimpleMath">ℤ</span>-classes of i.m.f. subgroups of <span class="SimpleMath">GL_n(ℤ)</span>.</p>
1269
1270 <p>Any group <span class="SimpleMath">G</span> of dimension <span class="SimpleMath">n</span> given in the library is represented as the automorphism group <span class="SimpleMath">G = Aut(F,L) = { g ∈ GL_n(ℤ) ∣ Lg = L, g F g^tr = F }</span> of a positive definite symmetric <span class="SimpleMath">n × n</span> matrix <span class="SimpleMath">F ∈ ℤ^{n × n}</span> on an <span class="SimpleMath">n</span>-dimensional lattice <span class="SimpleMath">L ≅ ℤ^{1 × n}</span> (for details see e.g. <a href="chapBib.html#biBPN95">[PN95]</a>). <strong class="pkg">GAP</strong> provides for <span class="SimpleMath">G</span> a list of matrix generators and the <em>Gram matrix</em> <span class="SimpleMath">F</span>.</p>
1271
1272 <p>The positive definite quadratic form defined by <span class="SimpleMath">F</span> defines a <em>norm</em> <span class="SimpleMath">v F v^tr</span> for each vector <span class="SimpleMath">v ∈ L</span>, and there is only a finite set of vectors of minimal norm. These vectors are often simply called the <em>short vectors</em>. Their set splits into orbits under <span class="SimpleMath">G</span>, and <span class="SimpleMath">G</span> being irreducible acts faithfully on each of these orbits by multiplication from the right. <strong class="pkg">GAP</strong> provides for each of these orbits the orbit size and a representative vector.</p>
1273
1274 <p>Like most of the other <strong class="pkg">GAP</strong> libraries, the library of i.m.f. integral matrix groups supplies an extraction function, <code class="code">ImfMatrixGroup</code>. However, as the library involves only 525 different groups, there is no need for a selection or an example function. Instead, there are two functions, <code class="func">ImfInvariants</code> (<a href="chap50.html#X8604A2167B2E8434"><span class="RefLink">50.7-3</span></a>) and <code class="func">DisplayImfInvariants</code> (<a href="chap50.html#X8705F64B7E19DDC7"><span class="RefLink">50.7-2</span></a>), which provide some <span class="SimpleMath">ℤ</span>-class invariants that can be extracted from the library without actually constructing the representative groups themselves. The difference between these two functions is that the latter one displays the resulting data in some easily readable format, whereas the first one returns them as record components so that you can properly access them.</p>
1275
1276 <p>We shall give an individual description of each of the library functions, but first we would like to insert a short remark concerning their names: Any self-explaining name of a function handling <em>irreducible maximal finite integral matrix groups</em> would have to include this term in full length and hence would grow extremely long. Therefore we have decided to use the abbreviation <code class="code">Imf</code> instead in order to restrict the names to some reasonable length.</p>
1277
1278 <p>The first three functions can be used to formulate loops over the classes.</p>
1279
1280 <p><a id="X8693FD647EF3C53B" name="X8693FD647EF3C53B"></a></p>
1281
1282 <h5>50.7-1 ImfNumberQQClasses</h5>
1283
1284 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ImfNumberQQClasses</code>( <var class="Arg">dim</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1285 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ImfNumberQClasses</code>( <var class="Arg">dim</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1286 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ImfNumberZClasses</code>( <var class="Arg">dim</var>, <var class="Arg">q</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1287 <p><code class="code">ImfNumberQQClasses</code> returns the number <span class="SimpleMath">q_1(</span><var class="Arg">dim</var><span class="SimpleMath">)</span> of <span class="SimpleMath">ℚ</span>-classes of i.m.f. rational matrix groups of dimension <var class="Arg">dim</var>. Valid values of <var class="Arg">dim</var> are all positive integers up to 31.</p>
1288
1289 <p>Note: In order to enable you to loop just over the classes belonging to <span class="SimpleMath">Q_1(</span><var class="Arg">dim</var><span class="SimpleMath">)</span>, we have arranged the list of <span class="SimpleMath">ℚ</span>-classes of dimension <var class="Arg">dim</var> for any dimension <var class="Arg">dim</var> in the library such that, whenever the classes of <span class="SimpleMath">Q_2(</span><var class="Arg">dim</var><span class="SimpleMath">)</span> are known, too, i.e., in the cases <span class="SimpleMath">dim ≤ 11</span> or <span class="SimpleMath">dim ∈ {13,17,19,23}</span>, the classes of <span class="SimpleMath">Q_1(</span><var class="Arg">dim</var><span class="SimpleMath">)</span> precede those of <span class="SimpleMath">Q_2(</span><var class="Arg">dim</var><span class="SimpleMath">)</span> and hence are numbered from 1 to <span class="SimpleMath">q_1(</span><var class="Arg">dim</var><span class="SimpleMath">)</span>.</p>
1290
1291 <p><code class="code">ImfNumberQClasses</code> returns the number of <span class="SimpleMath">ℚ</span>-classes of groups of dimension <var class="Arg">dim</var> which are available in the library. If <span class="SimpleMath">dim ≤ 11</span> or <span class="SimpleMath">dim ∈ {13,17,19,23}</span>, this is the number <span class="SimpleMath">q_1(</span><var class="Arg">dim</var><span class="SimpleMath">) + q_2(</span><var class="Arg">dim</var><span class="SimpleMath">)</span> of <span class="SimpleMath">ℚ</span>-classes of i.m.f. subgroups of <span class="SimpleMath">GL_dim(ℤ)</span>. Otherwise, it is just the number <span class="SimpleMath">q_1(</span><var class="Arg">dim</var><span class="SimpleMath">)</span> of <span class="SimpleMath">ℚ</span>-classes of i.m.f. subgroups of <span class="SimpleMath">GL_dim(ℚ)</span>. Valid values of <var class="Arg">dim</var> are all positive integers up to 31.</p>
1292
1293 <p><code class="func">ImfNumberZClasses</code> returns the number of <span class="SimpleMath">ℤ</span>-classes in the <var class="Arg">q</var>-th <span class="SimpleMath">ℚ</span>-class of i.m.f. integral matrix groups of dimension <var class="Arg">dim</var>. Valid values of <var class="Arg">dim</var> are all positive integers up to 11 and all primes up to 23.</p>
1294
1295 <p><a id="X8705F64B7E19DDC7" name="X8705F64B7E19DDC7"></a></p>
1296
1297 <h5>50.7-2 DisplayImfInvariants</h5>
1298
1299 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DisplayImfInvariants</code>( <var class="Arg">dim</var>, <var class="Arg">q</var>[, <var class="Arg">z</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1300 <p><code class="func">DisplayImfInvariants</code> displays the following <span class="SimpleMath">ℤ</span>-class invariants of the groups in the <var class="Arg">z</var>-th <span class="SimpleMath">ℤ</span>-class in the <var class="Arg">q</var>-th <span class="SimpleMath">ℚ</span>-class of i.m.f. integral matrix groups of dimension <var class="Arg">dim</var>:</p>
1301
1302
1303 <ul>
1304 <li><p>its <span class="SimpleMath">ℤ</span>-class number in the form <var class="Arg">dim</var>.<var class="Arg">q</var>.<var class="Arg">z</var>, if <var class="Arg">dim</var> is at most 11 or a prime at most 23, or its <span class="SimpleMath">ℚ</span>-class number in the form <var class="Arg">dim</var>.<var class="Arg">q</var>, else,</p>
1305
1306 </li>
1307 <li><p>a message if the group is solvable,</p>
1308
1309 </li>
1310 <li><p>the size of the group,</p>
1311
1312 </li>
1313 <li><p>the isomorphism type of the group,</p>
1314
1315 </li>
1316 <li><p>the elementary divisors of the associated quadratic form,</p>
1317
1318 </li>
1319 <li><p>the sizes of the orbits of short vectors (these sizes are the degrees of the faithful permutation representations which you may construct using the functions <code class="func">IsomorphismPermGroup</code> (<a href="chap50.html#X84BF34B27CD5E85C"><span class="RefLink">50.7-5</span></a>) or <code class="func">IsomorphismPermGroupImfGroup</code> (<a href="chap50.html#X7CEDB6CE7BAC4518"><span class="RefLink">50.7-6</span></a>) below),</p>
1320
1321 </li>
1322 <li><p>the norm of the associated short vectors,</p>
1323
1324 </li>
1325 <li><p>only in case that the group is not an i.m.f. group in <span class="SimpleMath">GL_n(ℚ)</span>: an appropriate message, including the <span class="SimpleMath">ℚ</span>-class number of the corresponding rational i.m.f. class.</p>
1326
1327 </li>
1328 </ul>
1329 <p>If you specify the value 0 for any of the parameters <var class="Arg">dim</var>, <var class="Arg">q</var>, or <var class="Arg">z</var>, the command will loop over all available dimensions, <span class="SimpleMath">ℚ</span>-classes of given dimension, or <span class="SimpleMath">ℤ</span>-classes within the given <span class="SimpleMath">ℚ</span>-class, respectively. Otherwise, the values of the arguments must be in range. A value <var class="Arg">z</var> <span class="SimpleMath">≠ 1</span> must not be specified if the <span class="SimpleMath">ℤ</span>-classes are not known for the given dimension, i.e., if <var class="Arg">dim</var> <span class="SimpleMath">&gt; 11</span> and <var class="Arg">dim</var> <span class="SimpleMath">not ∈ { 13, 17, 19, 23 }</span>. The default value of <var class="Arg">z</var> is 1. This value of <var class="Arg">z</var> will be accepted even if the <span class="SimpleMath">ℤ</span>-classes are not known. Then it specifies the only representative group which is available for the <var class="Arg">q</var>-th <span class="SimpleMath">ℚ</span>-class. The greatest legal value of <var class="Arg">dim</var> is 31.</p>
1330
1331
1332 <div class="example"><pre>
1333 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DisplayImfInvariants( 3, 1, 0 );</span>
1334 #I Z-class 3.1.1: Solvable, size = 2^4*3
1335 #I isomorphism type = C2 wr S3 = C2 x S4 = W(B3)
1336 #I elementary divisors = 1^3
1337 #I orbit size = 6, minimal norm = 1
1338 #I Z-class 3.1.2: Solvable, size = 2^4*3
1339 #I isomorphism type = C2 wr S3 = C2 x S4 = C2 x W(A3)
1340 #I elementary divisors = 1*4^2
1341 #I orbit size = 8, minimal norm = 3
1342 #I Z-class 3.1.3: Solvable, size = 2^4*3
1343 #I isomorphism type = C2 wr S3 = C2 x S4 = C2 x W(A3)
1344 #I elementary divisors = 1^2*4
1345 #I orbit size = 12, minimal norm = 2
1346 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DisplayImfInvariants( 8, 15, 1 );</span>
1347 #I Z-class 8.15.1: Solvable, size = 2^5*3^4
1348 #I isomorphism type = C2 x (S3 wr S3)
1349 #I elementary divisors = 1*3^3*9^3*27
1350 #I orbit size = 54, minimal norm = 8
1351 #I not maximal finite in GL(8,Q), rational imf class is 8.5
1352 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DisplayImfInvariants( 20, 23 );</span>
1353 #I Q-class 20.23: Size = 2^5*3^2*5*11
1354 #I isomorphism type = (PSL(2,11) x D12).C2
1355 #I elementary divisors = 1^18*11^2
1356 #I orbit size = 3*660 + 2*1980 + 2640 + 3960, minimal norm = 4
1357 </pre></div>
1358
1359 <p>Note that the function <code class="func">DisplayImfInvariants</code> uses a kind of shorthand to display the elementary divisors. E. g., the expression <code class="code">1*3^3*9^3*27</code> in the preceding example stands for the elementary divisors <span class="SimpleMath">1,3,3,3,9,9,9,27</span>. (See also the next example which shows that the function <code class="func">ImfInvariants</code> (<a href="chap50.html#X8604A2167B2E8434"><span class="RefLink">50.7-3</span></a>) provides the elementary divisors in form of an ordinary <strong class="pkg">GAP</strong> list.)</p>
1360
1361 <p>In the description of the isomorphism types the following notations are used:</p>
1362
1363
1364 <dl>
1365 <dt><strong class="Mark"><span class="SimpleMath">A</span> <code class="code">x</code> <span class="SimpleMath">B</span> </strong></dt>
1366 <dd><p>denotes a direct product of a group <span class="SimpleMath">A</span> by a group <span class="SimpleMath">B</span>,</p>
1367
1368 </dd>
1369 <dt><strong class="Mark"><span class="SimpleMath">A</span> <code class="code">subd</code> <span class="SimpleMath">B</span> </strong></dt>
1370 <dd><p>denotes a subdirect product of <span class="SimpleMath">A</span> by <span class="SimpleMath">B</span>,</p>
1371
1372 </dd>
1373 <dt><strong class="Mark"><span class="SimpleMath">A</span> <code class="code">Y</code> <span class="SimpleMath">B</span> </strong></dt>
1374 <dd><p>denotes a central product of <span class="SimpleMath">A</span> by <span class="SimpleMath">B</span>,</p>
1375
1376 </dd>
1377 <dt><strong class="Mark"><span class="SimpleMath">A</span> <code class="code">wr</code> <span class="SimpleMath">B</span> </strong></dt>
1378 <dd><p>denotes a wreath product of <span class="SimpleMath">A</span> by <span class="SimpleMath">B</span>,</p>
1379
1380 </dd>
1381 <dt><strong class="Mark"><span class="SimpleMath">A</span><code class="code">:</code><span class="SimpleMath">B</span> </strong></dt>
1382 <dd><p>denotes a split extension of <span class="SimpleMath">A</span> by <span class="SimpleMath">B</span>,</p>
1383
1384 </dd>
1385 <dt><strong class="Mark"><span class="SimpleMath">A</span><code class="code">.</code><span class="SimpleMath">B</span> </strong></dt>
1386 <dd><p>denotes just an extension of <span class="SimpleMath">A</span> by <span class="SimpleMath">B</span> (split or nonsplit).</p>
1387
1388 </dd>
1389 </dl>
1390 <p>The groups involved are</p>
1391
1392
1393 <ul>
1394 <li><p>the cyclic groups <span class="SimpleMath">C_n</span>, dihedral groups <span class="SimpleMath">D_n</span>, and generalized quaternion groups <span class="SimpleMath">Q_n</span> of order <span class="SimpleMath">n</span>, denoted by <code class="code">C</code><var class="Arg">n</var>, <code class="code">D</code><var class="Arg">n</var>, and <code class="code">Q</code><var class="Arg">n</var>, respectively,</p>
1395
1396 </li>
1397 <li><p>the alternating groups <span class="SimpleMath">A_n</span> and symmetric groups <span class="SimpleMath">S_n</span> of degree <span class="SimpleMath">n</span>, denoted by <code class="code">A</code><var class="Arg">n</var> and <code class="code">S</code><var class="Arg">n</var>, respectively,</p>
1398
1399 </li>
1400 <li><p>the linear groups <span class="SimpleMath">GL_n(q)</span>, <span class="SimpleMath">PGL_n(q)</span>, <span class="SimpleMath">SL_n(q)</span>, and <span class="SimpleMath">PSL_n(q)</span>, denoted by <code class="code">GL</code>(<var class="Arg">n</var>,<var class="Arg">q</var>), <code class="code">PGL</code>(<var class="Arg">n</var>,<var class="Arg">q</var>), <code class="code">SL</code>(<var class="Arg">n</var>,<var class="Arg">q</var>), and <code class="code">PSL</code>(<var class="Arg">n</var>,<var class="Arg">q</var>), respectively,</p>
1401
1402 </li>
1403 <li><p>the unitary groups <span class="SimpleMath">SU_n(q)</span> and <span class="SimpleMath">PSU_n(q)</span>, denoted by <code class="code">SU</code>(<var class="Arg">n</var>,<var class="Arg">q</var>) and <code class="code">PSU</code>(<var class="Arg">n</var>,<var class="Arg">q</var>), respectively,</p>
1404
1405 </li>
1406 <li><p>the symplectic groups <span class="SimpleMath">Sp(n,q)</span> and <span class="SimpleMath">PSp(n,q)</span>, denoted by <code class="code">Sp</code>(<var class="Arg">n</var>,<var class="Arg">q</var>) and <code class="code">PSp</code>(<var class="Arg">n</var>,<var class="Arg">q</var>), respectively,</p>
1407
1408 </li>
1409 <li><p>the orthogonal groups <span class="SimpleMath">O_8^+(2)</span> and <span class="SimpleMath">PO_8^+(2)</span>, denoted by <code class="code">O+</code>(8,2) and <code class="code">PO+</code>(8,2), respectively,</p>
1410
1411 </li>
1412 <li><p>the extraspecial groups <span class="SimpleMath">2_+^{1+8}</span>, <span class="SimpleMath">3_+^{1+2}</span>, <span class="SimpleMath">3_+^{1+4}</span>, and <span class="SimpleMath">5_+^{1+2}</span>, denoted by <code class="code">2+^(1+8)</code>, <code class="code">3+^(1+2)</code>, <code class="code">3+^(1+4)</code>, and <code class="code">5+^(1+2)</code>, respectively,</p>
1413
1414 </li>
1415 <li><p>the Chevalley group <span class="SimpleMath">G_2(3)</span>, denoted by <code class="code">G2(3)</code>,</p>
1416
1417 </li>
1418 <li><p>the twisted Chevalley group <span class="SimpleMath">^3D_4(2)</span>, denoted by <code class="code">3D4(2)</code>,</p>
1419
1420 </li>
1421 <li><p>the Suzuki group <span class="SimpleMath">Sz(8)</span>, denoted by <code class="code">Sz(8)</code>,</p>
1422
1423 </li>
1424 <li><p>the Weyl groups <span class="SimpleMath">W(A_n)</span>, <span class="SimpleMath">W(B_n)</span>, <span class="SimpleMath">W(D_n)</span>, <span class="SimpleMath">W(E_n)</span>, and <span class="SimpleMath">W(F_4)</span>, denoted by <code class="code">W(A<var class="Arg">n</var>)</code>, <code class="code">W(B<var class="Arg">n</var>)</code>, <code class="code">W(D<var class="Arg">n</var>)</code>, <code class="code">W(E<var class="Arg">n</var>)</code>, and <code class="code">W(F4)</code>, respectively,</p>
1425
1426 </li>
1427 <li><p>the sporadic simple groups <span class="SimpleMath">Co_1</span>, <span class="SimpleMath">Co_2</span>, <span class="SimpleMath">Co_3</span>, <span class="SimpleMath">HS</span>, <span class="SimpleMath">J_2</span>, <span class="SimpleMath">M_12</span>, <span class="SimpleMath">M_22</span>, <span class="SimpleMath">M_23</span>, <span class="SimpleMath">M_24</span>, and <span class="SimpleMath">Mc</span>, denoted by <code class="code">Co1</code>, <code class="code">Co2</code>, <code class="code">Co3</code>, <code class="code">HS</code>, <code class="code">J2</code>, <code class="code">M12</code>, <code class="code">M22</code>, <code class="code">M23</code>, <code class="code">M24</code>, and <code class="code">Mc</code>, respectively,</p>
1428
1429 </li>
1430 <li><p>a point stabilizer of index 11 in <span class="SimpleMath">M_11</span>, denoted by <code class="code">M10</code>.</p>
1431
1432 </li>
1433 </ul>
1434 <p>As mentioned above, the data assembled by the function <code class="func">DisplayImfInvariants</code> are <q>cheap data</q> in the sense that they can be provided by the library without loading any of its large matrix files or performing any matrix calculations. The following function allows you to get proper access to these cheap data instead of just displaying them.</p>
1435
1436 <p><a id="X8604A2167B2E8434" name="X8604A2167B2E8434"></a></p>
1437
1438 <h5>50.7-3 ImfInvariants</h5>
1439
1440 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ImfInvariants</code>( <var class="Arg">dim</var>, <var class="Arg">q</var>[, <var class="Arg">z</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1441 <p><code class="func">ImfInvariants</code> returns a record which provides some <span class="SimpleMath">ℤ</span>-class invariants of the groups in the <var class="Arg">z</var>-th <span class="SimpleMath">ℤ</span>-class in the <var class="Arg">q</var>-th <span class="SimpleMath">ℚ</span>-class of i.m.f. integral matrix groups of dimension <var class="Arg">dim</var>. A value <var class="Arg">z</var> <span class="SimpleMath">≠ 1</span> must not be specified if the <span class="SimpleMath">ℤ</span>-classes are not known for the given dimension, i.e., if <var class="Arg">dim</var> <span class="SimpleMath">&gt; 11</span> and <var class="Arg">dim</var> <span class="SimpleMath">not ∈ { 13, 17, 19, 23 }</span>. The default value of <var class="Arg">z</var> is 1. This value of <var class="Arg">z</var> will be accepted even if the <span class="SimpleMath">ℤ</span>-classes are not known. Then it specifies the only representative group which is available for the <var class="Arg">q</var>-th <span class="SimpleMath">ℚ</span>-class. The greatest legal value of <var class="Arg">dim</var> is 31.</p>
1442
1443 <p>The resulting record contains six or seven components:</p>
1444
1445
1446 <dl>
1447 <dt><strong class="Mark"><code class="code">size</code> </strong></dt>
1448 <dd><p>the size of any representative group <var class="Arg">G</var>,</p>
1449
1450 </dd>
1451 <dt><strong class="Mark"><code class="code">isSolvable</code> </strong></dt>
1452 <dd><p>is <code class="keyw">true</code> if <var class="Arg">G</var> is solvable,</p>
1453
1454 </dd>
1455 <dt><strong class="Mark"><code class="code">isomorphismType</code> </strong></dt>
1456 <dd><p>a text string describing the isomorphism type of <var class="Arg">G</var> (in the same notation as used by the function <code class="code">DisplayImfInvariants</code> above),</p>
1457
1458 </dd>
1459 <dt><strong class="Mark"><code class="code">elementaryDivisors</code> </strong></dt>
1460 <dd><p>the elementary divisors of the associated Gram matrix <var class="Arg">F</var> (in the same format as the result of the function <code class="func">ElementaryDivisorsMat</code> (<a href="chap24.html#X7AC4D74F81908109"><span class="RefLink">24.9-1</span></a>),</p>
1461
1462 </dd>
1463 <dt><strong class="Mark"><code class="code">minimalNorm</code> </strong></dt>
1464 <dd><p>the norm of the associated short vectors,</p>
1465
1466 </dd>
1467 <dt><strong class="Mark"><code class="code">sizesOrbitsShortVectors</code> </strong></dt>
1468 <dd><p>the sizes of the orbits of short vectors under <var class="Arg">F</var>,</p>
1469
1470 </dd>
1471 <dt><strong class="Mark"><code class="code">maximalQClass</code> </strong></dt>
1472 <dd><p>the <span class="SimpleMath">ℚ</span>-class number of an i.m.f. group in <span class="SimpleMath">GL_n(ℚ)</span> that contains <var class="Arg">G</var> as a subgroup (only in case that not <var class="Arg">G</var> itself is an i.m.f. subgroup of <span class="SimpleMath">GL_n(ℚ)</span>).</p>
1473
1474 </dd>
1475 </dl>
1476 <p>Note that four of these data, namely the group size, the solvability, the isomorphism type, and the corresponding rational i.m.f. class, are not only <span class="SimpleMath">ℤ</span>-class invariants, but also <span class="SimpleMath">ℚ</span>-class invariants.</p>
1477
1478 <p>Note further that, though the isomorphism type is a <span class="SimpleMath">ℚ</span>-class invariant, you will sometimes get different descriptions for different <span class="SimpleMath">ℤ</span>-classes of the same <span class="SimpleMath">ℚ</span>-class (as, e.g., for the classes 3.1.1 and 3.1.2 in the last example above). The purpose of this behaviour is to provide some more information about the underlying lattices.</p>
1479
1480
1481 <div class="example"><pre>
1482 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ImfInvariants( 8, 15, 1 );</span>
1483 rec( elementaryDivisors := [ 1, 3, 3, 3, 9, 9, 9, 27 ],
1484 isSolvable := true, isomorphismType := "C2 x (S3 wr S3)",
1485 maximalQClass := 5, minimalNorm := 8, size := 2592,
1486 sizesOrbitsShortVectors := [ 54 ] )
1487 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ImfInvariants( 24, 1 ).size;</span>
1488 10409396852733332453861621760000
1489 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ImfInvariants( 23, 5, 2 ).sizesOrbitsShortVectors;</span>
1490 [ 552, 53130 ]
1491 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">for i in [ 1 .. ImfNumberQClasses( 22 ) ] do</span>
1492 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> Print( ImfInvariants( 22, i ).isomorphismType, "\n" ); od;</span>
1493 C2 wr S22 = W(B22)
1494 (C2 x PSU(6,2)).S3
1495 (C2 x S3) wr S11 = (C2 x W(A2)) wr S11
1496 (C2 x S12) wr C2 = (C2 x W(A11)) wr C2
1497 C2 x S3 x S12 = C2 x W(A2) x W(A11)
1498 (C2 x HS).C2
1499 (C2 x Mc).C2
1500 C2 x S23 = C2 x W(A22)
1501 C2 x PSL(2,23)
1502 C2 x PSL(2,23)
1503 C2 x PGL(2,23)
1504 C2 x PGL(2,23)
1505 </pre></div>
1506
1507 <p><a id="X78935B307B909101" name="X78935B307B909101"></a></p>
1508
1509 <h5>50.7-4 ImfMatrixGroup</h5>
1510
1511 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ImfMatrixGroup</code>( <var class="Arg">dim</var>, <var class="Arg">q</var>[, <var class="Arg">z</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1512 <p><code class="func">ImfMatrixGroup</code> is the essential extraction function of this library (note that its name has been changed from <code class="code">ImfMatGroup</code> in <strong class="pkg">GAP</strong> 3 to <code class="func">ImfMatrixGroup</code> in <strong class="pkg">GAP</strong> 4). It returns a representative group, <span class="SimpleMath">G</span> say, of the <var class="Arg">z</var>-th <span class="SimpleMath">ℤ</span>-class in the <var class="Arg">q</var>-th <span class="SimpleMath">ℚ</span>-class of i.m.f. integral matrix groups of dimension <var class="Arg">dim</var>. A value <var class="Arg">z</var><span class="SimpleMath">≠ 1</span> must not be specified if the <span class="SimpleMath">ℤ</span>-classes are not known for the given dimension, i.e., if <var class="Arg">dim</var> <span class="SimpleMath">&gt; 11</span> and <var class="Arg">dim</var> <span class="SimpleMath">not ∈ { 13, 17, 19, 23 }</span>. The default value of <var class="Arg">z</var> is 1. This value of <var class="Arg">z</var> will be accepted even if the <span class="SimpleMath">ℤ</span>-classes are not known. Then it specifies the only representative group which is available for the <var class="Arg">q</var>-th <span class="SimpleMath">ℚ</span>-class. The greatest legal value of <var class="Arg">dim</var> is 31.</p>
1513
1514
1515 <div class="example"><pre>
1516 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">G := ImfMatrixGroup( 5, 1, 3 );</span>
1517 ImfMatrixGroup(5,1,3)
1518 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">for m in GeneratorsOfGroup( G ) do PrintArray( m ); od;</span>
1519 [ [ -1, 0, 0, 0, 0 ],
1520 [ 0, 1, 0, 0, 0 ],
1521 [ 0, 0, 0, 1, 0 ],
1522 [ -1, -1, -1, -1, 2 ],
1523 [ -1, 0, 0, 0, 1 ] ]
1524 [ [ 0, 1, 0, 0, 0 ],
1525 [ 0, 0, 1, 0, 0 ],
1526 [ 0, 0, 0, 1, 0 ],
1527 [ 1, 0, 0, 0, 0 ],
1528 [ 0, 0, 0, 0, 1 ] ]
1529 </pre></div>
1530
1531 <p>The attributes <code class="func">Size</code> (<a href="chap30.html#X858ADA3B7A684421"><span class="RefLink">30.4-6</span></a>) and <code class="code">IsSolvable</code> will be properly set in the resulting matrix group <span class="SimpleMath">G</span>. In addition, it has two attributes <code class="code">IsImfMatrixGroup</code> and <code class="code">ImfRecord</code> where the first one is just a logical flag set to <code class="keyw">true</code> and the latter one is a record. Except for the group size and the solvability flag, this record contains the same components as the resulting record of the function <code class="func">ImfInvariants</code> (<a href="chap50.html#X8604A2167B2E8434"><span class="RefLink">50.7-3</span></a>) described above, namely the components <code class="code">isomorphismType</code>, <code class="code">elementaryDivisors</code>, <code class="code">minimalNorm</code>, and <code class="code">sizesOrbitsShortVectors</code> and, if <span class="SimpleMath">G</span> is not a rational i.m.f. group, <code class="code">maximalQClass</code>. Moreover, it has the two components</p>
1532
1533
1534 <dl>
1535 <dt><strong class="Mark"><code class="code">form</code></strong></dt>
1536 <dd><p>the associated Gram matrix <span class="SimpleMath">F</span>, and</p>
1537
1538 </dd>
1539 <dt><strong class="Mark"><code class="code">repsOrbitsShortVectors</code></strong></dt>
1540 <dd><p>representatives of the orbits of short vectors under <span class="SimpleMath">F</span>.</p>
1541
1542 </dd>
1543 </dl>
1544 <p>The last one of these components will be required by the function <code class="func">IsomorphismPermGroup</code> (<a href="chap50.html#X84BF34B27CD5E85C"><span class="RefLink">50.7-5</span></a>) below.</p>
1545
1546
1547 <div class="example"><pre>
1548 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Size( G );</span>
1549 3840
1550 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">imf := ImfRecord( G );;</span>
1551 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">imf.isomorphismType;</span>
1552 "C2 wr S5 = C2 x W(D5)"
1553 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">PrintArray( imf.form );</span>
1554 [ [ 4, 0, 0, 0, 2 ],
1555 [ 0, 4, 0, 0, 2 ],
1556 [ 0, 0, 4, 0, 2 ],
1557 [ 0, 0, 0, 4, 2 ],
1558 [ 2, 2, 2, 2, 5 ] ]
1559 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">imf.elementaryDivisors;</span>
1560 [ 1, 4, 4, 4, 4 ]
1561 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">imf.minimalNorm;</span>
1562 4
1563 </pre></div>
1564
1565 <p>If you want to perform calculations in such a matrix group <span class="SimpleMath">G</span> you should be aware of the fact that the permutation group routines of <strong class="pkg">GAP</strong> are much more efficient than the matrix group routines. Hence we recommend that you do your computations, whenever possible, in the isomorphic permutation group which is induced by the action of <span class="SimpleMath">G</span> on one of the orbits of the associated short vectors. You may call one of the following functions <code class="func">IsomorphismPermGroup</code> (<a href="chap50.html#X84BF34B27CD5E85C"><span class="RefLink">50.7-5</span></a>) or <code class="func">IsomorphismPermGroupImfGroup</code> (<a href="chap50.html#X7CEDB6CE7BAC4518"><span class="RefLink">50.7-6</span></a>) to get an isomorphism to such a permutation group (note that these <strong class="pkg">GAP</strong> 4 functions have replaced the <strong class="pkg">GAP</strong> 3 functions <code class="code">PermGroup</code> and <code class="code">PermGroupImfGroup</code>).</p>
1566
1567 <p><a id="X84BF34B27CD5E85C" name="X84BF34B27CD5E85C"></a></p>
1568
1569 <h5>50.7-5 IsomorphismPermGroup</h5>
1570
1571 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsomorphismPermGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;method&nbsp;)</td></tr></table></div>
1572 <p>returns an isomorphism, <span class="SimpleMath">φ</span> say, from the given i.m.f. integral matrix group <span class="SimpleMath">G</span> to a permutation group <span class="SimpleMath">P := φ(G)</span> acting on a minimal orbit, <span class="SimpleMath">S</span> say, of short vectors of <span class="SimpleMath">G</span> such that each matrix <span class="SimpleMath">m ∈ G</span> is mapped to the permutation induced by its action on <span class="SimpleMath">S</span>.</p>
1573
1574 <p>Note that in case of a large orbit the construction of <span class="SimpleMath">φ</span> may be space and time consuming. Fortunately, there are only six <span class="SimpleMath">ℚ</span>-classes in the library for which the smallest orbit of short vectors is of size greater than <span class="SimpleMath">20000</span>, the worst case being the orbit of size <span class="SimpleMath">196560</span> for the Leech lattice (<var class="Arg">dim</var> <span class="SimpleMath">= 24</span>, <var class="Arg">q</var> <span class="SimpleMath">= 3</span>).</p>
1575
1576 <p>The inverse isomorphism <span class="SimpleMath">φ^{-1}</span> from <span class="SimpleMath">P</span> to <span class="SimpleMath">G</span> is constructed by determining a <span class="SimpleMath">ℚ</span>-base <span class="SimpleMath">B ⊂ S</span> of <span class="SimpleMath">ℚ^{1 × dim}</span> in <span class="SimpleMath">S</span> and, in addition, the associated base change matrix <span class="SimpleMath">M</span> which transforms <span class="SimpleMath">B</span> into the standard base of <span class="SimpleMath">ℤ^{1 × dim}</span>. This allows a simple computation of the preimage <span class="SimpleMath">φ^{-1}(p)</span> of any permutation <span class="SimpleMath">p ∈ P</span>, as follows. If, for <span class="SimpleMath">1 ≤ i ≤</span> <var class="Arg">dim</var>, <span class="SimpleMath">b_i</span> is the position number in <span class="SimpleMath">S</span> of the <span class="SimpleMath">i</span>-th base vector in <span class="SimpleMath">B</span>, it suffices to look up the vector whose position number in <span class="SimpleMath">S</span> is the image of <span class="SimpleMath">b_i</span> under <span class="SimpleMath">p</span> and to multiply this vector by <span class="SimpleMath">M</span> to get the <span class="SimpleMath">i</span>-th row of <span class="SimpleMath">φ^{-1}(p)</span>.</p>
1577
1578 <p>You may use the functions <code class="func">Image</code> (<a href="chap32.html#X87F4D35A826599C6"><span class="RefLink">32.4-6</span></a>) and <code class="func">PreImage</code> (<a href="chap32.html#X836FAEAC78B55BF4"><span class="RefLink">32.5-6</span></a>) to switch from <span class="SimpleMath">G</span> to <span class="SimpleMath">P</span> and back from <span class="SimpleMath">P</span> to <span class="SimpleMath">G</span>.</p>
1579
1580 <p>As an example, let us continue the preceding example and compute the solvable residuum of the group <span class="SimpleMath">G</span>.</p>
1581
1582
1583 <div class="example"><pre>
1584 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput"># Perform the computations in an isomorphic permutation group.</span>
1585 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">phi := IsomorphismPermGroup( G );;</span>
1586 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">P := Image( phi );</span>
1587 Group([ (1,7,6)(2,9)(4,5,10), (2,3,4,5)(6,9,8,7) ])
1588 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">D := DerivedSubgroup( P );;</span>
1589 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Size( D );</span>
1590 960
1591 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsPerfectGroup( D );</span>
1592 true
1593 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput"># We have found the solvable residuum of P,</span>
1594 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput"># now move the results back to the matrix group G.</span>
1595 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">R := PreImage( phi, D );;</span>
1596 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">StructureDescription(R);</span>
1597 "(C2 x C2 x C2 x C2) : A5"
1598 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IdGroup(D)=IdGroup(R);</span>
1599 true
1600 </pre></div>
1601
1602 <p><a id="X7CEDB6CE7BAC4518" name="X7CEDB6CE7BAC4518"></a></p>
1603
1604 <h5>50.7-6 IsomorphismPermGroupImfGroup</h5>
1605
1606 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsomorphismPermGroupImfGroup</code>( <var class="Arg">G</var>, <var class="Arg">n</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
1607 <p><code class="func">IsomorphismPermGroupImfGroup</code> returns an isomorphism, <span class="SimpleMath">φ</span> say, from the given i.m.f. integral matrix group <var class="Arg">G</var> to a permutation group <span class="SimpleMath">P</span> acting on the <var class="Arg">n</var>-th orbit, <span class="SimpleMath">S</span> say, of short vectors of <var class="Arg">G</var> such that each matrix <span class="SimpleMath">m ∈</span> <var class="Arg">G</var> is mapped to the permutation induced by its action on <span class="SimpleMath">S</span>.</p>
1608
1609 <p>The only difference to the above function <code class="func">IsomorphismPermGroup</code> (<a href="chap50.html#X84BF34B27CD5E85C"><span class="RefLink">50.7-5</span></a>) is that you can specify the orbit to be used. In fact, as the orbits of short vectors are sorted by increasing sizes, the function <code class="code">IsomorphismPermGroup( <var class="Arg">G</var> )</code> has been implemented such that it is equivalent to <code class="code">IsomorphismPermGroupImfGroup( <var class="Arg">G</var>, 1 )</code>.</p>
1610
1611
1612 <div class="example"><pre>
1613 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ImfInvariants( 12, 9 ).sizesOrbitsShortVectors;</span>
1614 [ 120, 300 ]
1615 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">G := ImfMatrixGroup( 12, 9 );</span>
1616 ImfMatrixGroup(12,9)
1617 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">phi1 := IsomorphismPermGroupImfGroup( G, 1 );;</span>
1618 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">P1 := Image( phi1 );</span>
1619 &lt;permutation group of size 2400 with 2 generators&gt;
1620 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">LargestMovedPoint( P1 );</span>
1621 120
1622 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">phi2 := IsomorphismPermGroupImfGroup( G, 2 );;</span>
1623 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">P2 := Image( phi2 );</span>
1624 &lt;permutation group of size 2400 with 2 generators&gt;
1625 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">LargestMovedPoint( P2 );</span>
1626 300
1627 </pre></div>
1628
1629
1630 <div class="chlinkprevnextbot">&nbsp;<a href="chap0.html">[Top of Book]</a>&nbsp; <a href="chap0.html#contents">[Contents]</a>&nbsp; &nbsp;<a href="chap49.html">[Previous Chapter]</a>&nbsp; &nbsp;<a href="chap51.html">[Next Chapter]</a>&nbsp; </div>
1631
1632
1633 <div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a> <a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chap5.html">5</a> <a href="chap6.html">6</a> <a href="chap7.html">7</a> <a href="chap8.html">8</a> <a href="chap9.html">9</a> <a href="chap10.html">10</a> <a href="chap11.html">11</a> <a href="chap12.html">12</a> <a href="chap13.html">13</a> <a href="chap14.html">14</a> <a href="chap15.html">15</a> <a href="chap16.html">16</a> <a href="chap17.html">17</a> <a href="chap18.html">18</a> <a href="chap19.html">19</a> <a href="chap20.html">20</a> <a href="chap21.html">21</a> <a href="chap22.html">22</a> <a href="chap23.html">23</a> <a href="chap24.html">24</a> <a href="chap25.html">25</a> <a href="chap26.html">26</a> <a href="chap27.html">27</a> <a href="chap28.html">28</a> <a href="chap29.html">29</a> <a href="chap30.html">30</a> <a href="chap31.html">31</a> <a href="chap32.html">32</a> <a href="chap33.html">33</a> <a href="chap34.html">34</a> <a href="chap35.html">35</a> <a href="chap36.html">36</a> <a href="chap37.html">37</a> <a href="chap38.html">38</a> <a href="chap39.html">39</a> <a href="chap40.html">40</a> <a href="chap41.html">41</a> <a href="chap42.html">42</a> <a href="chap43.html">43</a> <a href="chap44.html">44</a> <a href="chap45.html">45</a> <a href="chap46.html">46</a> <a href="chap47.html">47</a> <a href="chap48.html">48</a> <a href="chap49.html">49</a> <a href="chap50.html">50</a> <a href="chap51.html">51</a> <a href="chap52.html">52</a> <a href="chap53.html">53</a> <a href="chap54.html">54</a> <a href="chap55.html">55</a> <a href="chap56.html">56</a> <a href="chap57.html">57</a> <a href="chap58.html">58</a> <a href="chap59.html">59</a> <a href="chap60.html">60</a> <a href="chap61.html">61</a> <a href="chap62.html">62</a> <a href="chap63.html">63</a> <a href="chap64.html">64</a> <a href="chap65.html">65</a> <a href="chap66.html">66</a> <a href="chap67.html">67</a> <a href="chap68.html">68</a> <a href="chap69.html">69</a> <a href="chap70.html">70</a> <a href="chap71.html">71</a> <a href="chap72.html">72</a> <a href="chap73.html">73</a> <a href="chap74.html">74</a> <a href="chap75.html">75</a> <a href="chap76.html">76</a> <a href="chap77.html">77</a> <a href="chap78.html">78</a> <a href="chap79.html">79</a> <a href="chap80.html">80</a> <a href="chap81.html">81</a> <a href="chap82.html">82</a> <a href="chap83.html">83</a> <a href="chap84.html">84</a> <a href="chap85.html">85</a> <a href="chap86.html">86</a> <a href="chap87.html">87</a> <a href="chapBib.html">Bib</a> <a href="chapInd.html">Ind</a> </div>
1634
1635 <hr />
1636 <p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
1637 </body>
1638 </html>