Debian Codegraph @

doc/ref/chap40.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 40: Group Homomorphisms</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="chap40" 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="chap39.html">[Previous Chapter]</a>&nbsp; &nbsp;<a href="chap41.html">[Next Chapter]</a>&nbsp; </div>
21
22 <p id="mathjaxlink" class="pcenter"><a href="chap40_mj.html">[MathJax on]</a></p>
23 <p><a id="X83702FC27B3C3098" name="X83702FC27B3C3098"></a></p>
24 <div class="ChapSects"><a href="chap40.html#X83702FC27B3C3098">40 <span class="Heading">Group Homomorphisms</span></a>
25 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X81A7BB0F7D81B247">40.1 <span class="Heading">Creating Group Homomorphisms</span></a>
26 </span>
27 <div class="ContSSBlock">
28 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7F348F497C813BE0">40.1-1 GroupHomomorphismByImages</a></span>
29 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7AB15AF5830F2A6B">40.1-2 GroupHomomorphismByImagesNC</a></span>
30 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7A59F2C47BD41DC8">40.1-3 GroupGeneralMappingByImages</a></span>
31 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7BC6C20E7CEDBFC5">40.1-4 <span class="Heading">GroupHomomorphismByFunction</span></a>
32 </span>
33 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X785AB6057F736344">40.1-5 AsGroupGeneralMappingByImages</a></span>
34 </div></div>
35 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X794043AC7E4FAF9E">40.2 <span class="Heading">Operations for Group Homomorphisms</span></a>
36 </span>
37 </div>
38 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X7A121B9E7F78138A">40.3 <span class="Heading">Efficiency of Homomorphisms</span></a>
39 </span>
40 <div class="ContSSBlock">
41 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X84CFBB577BAFFD4D">40.3-1 <span class="Heading">Mappings given on generators</span></a>
42 </span>
43 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X86C2BE2481FDC8EE">40.3-2 <span class="Heading">Action homomorphisms</span></a>
44 </span>
45 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X802C5A887D8A7CC4">40.3-3 <span class="Heading">Mappings given by functions</span></a>
46 </span>
47 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X87497C207B7D7511">40.3-4 <span class="Heading">Other operations</span></a>
48 </span>
49 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X80B8ABEC7CC20DFB">40.3-5 ImagesSmallestGenerators</a></span>
50 </div></div>
51 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X7BA90DA481A1C6D6">40.4 <span class="Heading">Homomorphism for very large groups</span></a>
52 </span>
53 </div>
54 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X7FFD731684606BC6">40.5 <span class="Heading">Nice Monomorphisms</span></a>
55 </span>
56 <div class="ContSSBlock">
57 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X78849F81804C44B3">40.5-1 IsHandledByNiceMonomorphism</a></span>
58 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7965086E82ABCF41">40.5-2 NiceMonomorphism</a></span>
59 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7B47BE0983E93A83">40.5-3 NiceObject</a></span>
60 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X8652149F7F291EE3">40.5-4 IsCanonicalNiceMonomorphism</a></span>
61 </div></div>
62 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X783030917CB43959">40.6 <span class="Heading">Group Automorphisms</span></a>
63 </span>
64 <div class="ContSSBlock">
65 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7E52E99487562F3A">40.6-1 ConjugatorIsomorphism</a></span>
66 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X79ED68CF8139F08A">40.6-2 ConjugatorAutomorphism</a></span>
67 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7E937A947856D9DA">40.6-3 InnerAutomorphism</a></span>
68 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7F31FECC7A3D4A8A">40.6-4 IsConjugatorIsomorphism</a></span>
69 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X78FE7E307E86525A">40.6-5 ConjugatorOfConjugatorIsomorphism</a></span>
70 </div></div>
71 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X79640F3682BDBFC1">40.7 <span class="Heading">Groups of Automorphisms</span></a>
72 </span>
73 <div class="ContSSBlock">
74 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X87677B0787B4461A">40.7-1 AutomorphismGroup</a></span>
75 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7FC631B786C1DC8B">40.7-2 IsGroupOfAutomorphisms</a></span>
76 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7B767B9D827EB0FC">40.7-3 AutomorphismDomain</a></span>
77 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7F87D5957D9B991E">40.7-4 IsAutomorphismGroup</a></span>
78 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X8476738A7BF9BADA">40.7-5 InnerAutomorphismsAutomorphismGroup</a></span>
79 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7957AC21782B6C8C">40.7-6 InnerAutomorphismGroup</a></span>
80 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7FC9B6EA7CAADC0A">40.7-7 InducedAutomorphism</a></span>
81 </div></div>
82 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X7A8E961C7F1A57B3">40.8 <span class="Heading">Calculating with Group Automorphisms</span></a>
83 </span>
84 <div class="ContSSBlock">
85 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X85691E8386107403">40.8-1 AssignNiceMonomorphismAutomorphismGroup</a></span>
86 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7C9FB0A57BFF6CC0">40.8-2 NiceMonomorphismAutomGroup</a></span>
87 </div></div>
88 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X81B79CC27F47D429">40.9 <span class="Heading">Searching for Homomorphisms</span></a>
89 </span>
90 <div class="ContSSBlock">
91 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7B536A32827788C6">40.9-1 IsomorphismGroups</a></span>
92 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7D0C3D5E864CE954">40.9-2 AllHomomorphismClasses</a></span>
93 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X791D12B7845610CE">40.9-3 AllHomomorphisms</a></span>
94 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X790C261184EEAB94">40.9-4 GQuotients</a></span>
95 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X83B417BE7C508DC4">40.9-5 IsomorphicSubgroups</a></span>
96 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7AABA9A27E30BF2B">40.9-6 MorClassLoop</a></span>
97 </div></div>
98 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap40.html#X81FC3CEF85CED3DC">40.10 <span class="Heading">Representations for Group Homomorphisms</span></a>
99 </span>
100 <div class="ContSSBlock">
101 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X82B77A5F7F9EDBC7">40.10-1 IsGroupGeneralMappingByImages</a></span>
102 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X863805187A24B5E3">40.10-2 MappingGeneratorsImages</a></span>
103 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7DFBBAB18126B4D9">40.10-3 IsGroupGeneralMappingByAsGroupGeneralMappingByImages</a></span>
104 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X78707DF57C3927EB">40.10-4 IsPreimagesByAsGroupGeneralMappingByImages</a></span>
105 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X83E10338798F552B">40.10-5 IsPermGroupGeneralMapping</a></span>
106 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X83DADD9F7CAD829B">40.10-6 IsToPermGroupGeneralMappingByImages</a></span>
107 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X798E72E77EC85D4A">40.10-7 IsGroupGeneralMappingByPcgs</a></span>
108 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X86FF63B784FB8F85">40.10-8 IsPcGroupGeneralMappingByImages</a></span>
109 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X79A853B579B250C0">40.10-9 IsToPcGroupGeneralMappingByImages</a></span>
110 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X7BE2A2EB80DC5CFF">40.10-10 IsFromFpGroupGeneralMappingByImages</a></span>
111 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap40.html#X81090C207F4F6423">40.10-11 IsFromFpGroupStdGensGeneralMappingByImages</a></span>
112 </div></div>
113 </div>
114
115 <h3>40 <span class="Heading">Group Homomorphisms</span></h3>
116
117 <p>A group homomorphism is a mapping from one group to another that respects multiplication and inverses. They are implemented as a special class of mappings, so in particular all operations for mappings, such as <code class="func">Image</code> (<a href="chap32.html#X87F4D35A826599C6"><span class="RefLink">32.4-6</span></a>), <code class="func">PreImage</code> (<a href="chap32.html#X836FAEAC78B55BF4"><span class="RefLink">32.5-6</span></a>), <code class="func">PreImagesRepresentative</code> (<a href="chap32.html#X7AE24A1586B7DE79"><span class="RefLink">32.5-4</span></a>), <code class="func">KernelOfMultiplicativeGeneralMapping</code> (<a href="chap32.html#X81A5A5CF846E5FBF"><span class="RefLink">32.9-5</span></a>), <code class="func">Source</code> (<a href="chap32.html#X7DE8173F80E07AB1"><span class="RefLink">32.3-8</span></a>), <code class="func">Range</code> (<a href="chap32.html#X7B6FD7277CDE9FCB"><span class="RefLink">32.3-7</span></a>), <code class="func">IsInjective</code> (<a href="chap32.html#X7F065FD7822C0A12"><span class="RefLink">32.3-4</span></a>) and <code class="func">IsSurjective</code> (<a href="chap32.html#X784ECE847E005B8F"><span class="RefLink">32.3-5</span></a>) (see chapter <a href="chap32.html#X7C9734B880042C73"><span class="RefLink">32</span></a>, in particular section <a href="chap32.html#X806F892C862F29F9"><span class="RefLink">32.9</span></a>) are applicable to them.</p>
118
119 <p>Homomorphisms can be used to transfer calculations into isomorphic groups in another representation, for which better algorithms are available. Section <a href="chap40.html#X7FFD731684606BC6"><span class="RefLink">40.5</span></a> explains a technique how to enforce this automatically.</p>
120
121 <p>Homomorphisms are also used to represent group automorphisms, and section <a href="chap40.html#X783030917CB43959"><span class="RefLink">40.6</span></a> explains <strong class="pkg">GAP</strong>'s facilities to work with automorphism groups.</p>
122
123 <p>Section <a href="chap40.html#X81B79CC27F47D429"><span class="RefLink">40.9</span></a> explains how to make <strong class="pkg">GAP</strong> to search for all homomorphisms between two groups which fulfill certain specifications.</p>
124
125 <p><a id="X81A7BB0F7D81B247" name="X81A7BB0F7D81B247"></a></p>
126
127 <h4>40.1 <span class="Heading">Creating Group Homomorphisms</span></h4>
128
129 <p>The most important way of creating group homomorphisms is to give images for a set of group generators and to extend it to the group generated by them by the homomorphism property.</p>
130
131 <p><em>A second</em> way to create homomorphisms is to give functions that compute image and preimage. (A similar case are homomorphisms that are induced by conjugation. Special constructors for such mappings are described in section <a href="chap40.html#X783030917CB43959"><span class="RefLink">40.6</span></a>).</p>
132
133 <p><em>The third</em> class are epimorphisms from a group onto its factor group. Such homomorphisms can be constructed by <code class="func">NaturalHomomorphismByNormalSubgroup</code> (<a href="chap39.html#X80FC390C7F38A13F"><span class="RefLink">39.18-1</span></a>).</p>
134
135 <p><em>The fourth</em> class is homomorphisms in a permutation group that are induced by an action on a set. Such homomorphisms are described in the context of group actions, see chapter <a href="chap41.html#X87115591851FB7F4"><span class="RefLink">41</span></a> and in particular <code class="func">ActionHomomorphism</code> (<a href="chap41.html#X78E6A002835288A4"><span class="RefLink">41.7-1</span></a>).</p>
136
137 <p><a id="X7F348F497C813BE0" name="X7F348F497C813BE0"></a></p>
138
139 <h5>40.1-1 GroupHomomorphismByImages</h5>
140
141 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GroupHomomorphismByImages</code>( <var class="Arg">G</var>, <var class="Arg">H</var>[[, <var class="Arg">gens</var>], <var class="Arg">imgs</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
142 <p><code class="func">GroupHomomorphismByImages</code> returns the group homomorphism with source <var class="Arg">G</var> and range <var class="Arg">H</var> that is defined by mapping the list <var class="Arg">gens</var> of generators of <var class="Arg">G</var> to the list <var class="Arg">imgs</var> of images in <var class="Arg">H</var>.</p>
143
144 <p>If omitted, the arguments <var class="Arg">gens</var> and <var class="Arg">imgs</var> default to the <code class="func">GeneratorsOfGroup</code> (<a href="chap39.html#X79C44528864044C5"><span class="RefLink">39.2-4</span></a>) value of <var class="Arg">G</var> and <var class="Arg">H</var>, respectively. If <var class="Arg">H</var> is not given the mapping is automatically considered as surjective.</p>
145
146 <p>If <var class="Arg">gens</var> does not generate <var class="Arg">G</var> or if the mapping of the generators does not extend to a homomorphism (i.e., if mapping the generators describes only a multi-valued mapping) then <code class="keyw">fail</code> is returned.</p>
147
148 <p>This test can be quite expensive. If one is certain that the mapping of the generators extends to a homomorphism, one can avoid the checks by calling <code class="func">GroupHomomorphismByImagesNC</code> (<a href="chap40.html#X7AB15AF5830F2A6B"><span class="RefLink">40.1-2</span></a>). (There also is the possibility to construct potentially multi-valued mappings with <code class="func">GroupGeneralMappingByImages</code> (<a href="chap40.html#X7A59F2C47BD41DC8"><span class="RefLink">40.1-3</span></a>) and to test with <code class="func">IsMapping</code> (<a href="chap32.html#X7CC95EB282854385"><span class="RefLink">32.3-3</span></a>) whether they are indeed homomorphisms.)</p>
149
150 <p><a id="X7AB15AF5830F2A6B" name="X7AB15AF5830F2A6B"></a></p>
151
152 <h5>40.1-2 GroupHomomorphismByImagesNC</h5>
153
154 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GroupHomomorphismByImagesNC</code>( <var class="Arg">G</var>, <var class="Arg">H</var>[[, <var class="Arg">gens</var>], <var class="Arg">imgs</var>] )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
155 <p><code class="func">GroupHomomorphismByImagesNC</code> creates a homomorphism as <code class="func">GroupHomomorphismByImages</code> (<a href="chap40.html#X7F348F497C813BE0"><span class="RefLink">40.1-1</span></a>) does, however it does not test whether <var class="Arg">gens</var> generates <var class="Arg">G</var> and that the mapping of <var class="Arg">gens</var> to <var class="Arg">imgs</var> indeed defines a group homomorphism. Because these tests can be expensive it can be substantially faster than <code class="func">GroupHomomorphismByImages</code> (<a href="chap40.html#X7F348F497C813BE0"><span class="RefLink">40.1-1</span></a>). Results are unpredictable if the conditions do not hold.</p>
156
157 <p>If omitted, the arguments <var class="Arg">gens</var> and <var class="Arg">imgs</var> default to the <code class="func">GeneratorsOfGroup</code> (<a href="chap39.html#X79C44528864044C5"><span class="RefLink">39.2-4</span></a>) value of <var class="Arg">G</var> and <var class="Arg">H</var>, respectively.</p>
158
159 <p>(For creating a possibly multi-valued mapping from <var class="Arg">G</var> to <var class="Arg">H</var> that respects multiplication and inverses, <code class="func">GroupGeneralMappingByImages</code> (<a href="chap40.html#X7A59F2C47BD41DC8"><span class="RefLink">40.1-3</span></a>) can be used.)</p>
160
161
162 <div class="example"><pre>
163 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">gens:=[(1,2,3,4),(1,2)];</span>
164 [ (1,2,3,4), (1,2) ]
165 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=Group(gens);</span>
166 Group([ (1,2,3,4), (1,2) ])
167 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">h:=Group((1,2,3),(1,2));</span>
168 Group([ (1,2,3), (1,2) ])
169 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">hom:=GroupHomomorphismByImages(g,h,gens,[(1,2),(1,3)]);</span>
170 [ (1,2,3,4), (1,2) ] -&gt; [ (1,2), (1,3) ]
171 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Image(hom,(1,4));</span>
172 (2,3)
173 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">map:=GroupHomomorphismByImages(g,h,gens,[(1,2,3),(1,2)]);</span>
174 fail
175 </pre></div>
176
177 <p><a id="X7A59F2C47BD41DC8" name="X7A59F2C47BD41DC8"></a></p>
178
179 <h5>40.1-3 GroupGeneralMappingByImages</h5>
180
181 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GroupGeneralMappingByImages</code>( <var class="Arg">G</var>, <var class="Arg">H</var>, <var class="Arg">gens</var>, <var class="Arg">imgs</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
182 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GroupGeneralMappingByImages</code>( <var class="Arg">G</var>, <var class="Arg">gens</var>, <var class="Arg">imgs</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
183 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GroupGeneralMappingByImagesNC</code>( <var class="Arg">G</var>, <var class="Arg">H</var>, <var class="Arg">gens</var>, <var class="Arg">imgs</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
184 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GroupGeneralMappingByImagesNC</code>( <var class="Arg">G</var>, <var class="Arg">gens</var>, <var class="Arg">imgs</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
185 <p>returns a general mapping defined by extending the mapping from <var class="Arg">gens</var> to <var class="Arg">imgs</var> homomorphically. If the range <var class="Arg">H</var> is not given the mapping will be made automatically surjective. The NC version does not test whether <var class="Arg">gens</var> are contained in <var class="Arg">G</var> or <var class="Arg">imgs</var> are contained in <var class="Arg">H</var>. (<code class="func">GroupHomomorphismByImages</code> (<a href="chap40.html#X7F348F497C813BE0"><span class="RefLink">40.1-1</span></a>) creates a group general mapping by images and tests whether it is in <code class="func">IsMapping</code> (<a href="chap32.html#X7CC95EB282854385"><span class="RefLink">32.3-3</span></a>).)</p>
186
187
188 <div class="example"><pre>
189 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">map:=GroupGeneralMappingByImages(g,h,gens,[(1,2,3),(1,2)]);</span>
190 [ (1,2,3,4), (1,2) ] -&gt; [ (1,2,3), (1,2) ]
191 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsMapping(map);</span>
192 false
193 </pre></div>
194
195 <p><a id="X7BC6C20E7CEDBFC5" name="X7BC6C20E7CEDBFC5"></a></p>
196
197 <h5>40.1-4 <span class="Heading">GroupHomomorphismByFunction</span></h5>
198
199 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GroupHomomorphismByFunction</code>( <var class="Arg">S</var>, <var class="Arg">R</var>, <var class="Arg">fun</var>[, <var class="Arg">invfun</var>] )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
200 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GroupHomomorphismByFunction</code>( <var class="Arg">S</var>, <var class="Arg">R</var>, <var class="Arg">fun</var>, <var class="Arg">false</var>, <var class="Arg">prefun</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
201 <p><code class="func">GroupHomomorphismByFunction</code> returns a group homomorphism <code class="code">hom</code> with source <var class="Arg">S</var> and range <var class="Arg">R</var>, such that each element <code class="code">s</code> of <var class="Arg">S</var> is mapped to the element <var class="Arg">fun</var><code class="code">( s )</code>, where <var class="Arg">fun</var> is a <strong class="pkg">GAP</strong> function.</p>
202
203 <p>If the argument <var class="Arg">invfun</var> is bound then <var class="Arg">hom</var> is a bijection between <var class="Arg">S</var> and <var class="Arg">R</var>, and the preimage of each element <code class="code">r</code> of <var class="Arg">R</var> is given by <var class="Arg">invfun</var><code class="code">( r )</code>, where <var class="Arg">invfun</var> is a <strong class="pkg">GAP</strong> function.</p>
204
205 <p>If five arguments are given and the fourth argument is <code class="keyw">false</code> then the <strong class="pkg">GAP</strong> function <var class="Arg">prefun</var> can be used to compute a single preimage also if <code class="code">hom</code> is not bijective.</p>
206
207 <p>No test is performed on whether the functions actually give an homomorphism between both groups because this would require testing the full multiplication table.</p>
208
209 <p><code class="func">GroupHomomorphismByFunction</code> creates a mapping which lies in <code class="func">IsSPGeneralMapping</code> (<a href="chap32.html#X7D28581F82481163"><span class="RefLink">32.14-1</span></a>).</p>
210
211
212 <div class="example"><pre>
213 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">hom:=GroupHomomorphismByFunction(g,h,</span>
214 <span class="GAPprompt">&gt;</span> <span class="GAPinput">function(x) if SignPerm(x)=-1 then return (1,2); else return ();fi;end);</span>
215 MappingByFunction( Group([ (1,2,3,4), (1,2) ]), Group(
216 [ (1,2,3), (1,2) ]), function( x ) ... end )
217 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ImagesSource(hom);</span>
218 Group([ (1,2), (1,2) ])
219 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Image(hom,(1,2,3,4));</span>
220 (1,2)
221 </pre></div>
222
223 <p><a id="X785AB6057F736344" name="X785AB6057F736344"></a></p>
224
225 <h5>40.1-5 AsGroupGeneralMappingByImages</h5>
226
227 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AsGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
228 <p>If <var class="Arg">map</var> is a mapping from one group to another this attribute returns a group general mapping that which implements the same abstract mapping. (Some operations can be performed more effective in this representation, see also <code class="func">IsGroupGeneralMappingByAsGroupGeneralMappingByImages</code> (<a href="chap40.html#X7DFBBAB18126B4D9"><span class="RefLink">40.10-3</span></a>).)</p>
229
230
231 <div class="example"><pre>
232 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AsGroupGeneralMappingByImages(hom);</span>
233 [ (1,2,3,4), (1,2) ] -&gt; [ (1,2), (1,2) ]
234 </pre></div>
235
236 <p><a id="X794043AC7E4FAF9E" name="X794043AC7E4FAF9E"></a></p>
237
238 <h4>40.2 <span class="Heading">Operations for Group Homomorphisms</span></h4>
239
240 <p>Group homomorphisms are mappings, so all the operations and properties for mappings described in chapter <a href="chap32.html#X7C9734B880042C73"><span class="RefLink">32</span></a> are applicable to them. (However often much better methods, than for general mappings are available.)</p>
241
242 <p>Group homomorphisms will map groups to groups by just mapping the set of generators.</p>
243
244 <p><code class="func">KernelOfMultiplicativeGeneralMapping</code> (<a href="chap32.html#X81A5A5CF846E5FBF"><span class="RefLink">32.9-5</span></a>) can be used to compute the kernel of a group homomorphism.</p>
245
246
247 <div class="example"><pre>
248 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">hom:=GroupHomomorphismByImages(g,h,gens,[(1,2),(1,3)]);;</span>
249 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Kernel(hom);</span>
250 Group([ (1,4)(2,3), (1,2)(3,4) ])
251 </pre></div>
252
253 <p>Homomorphisms can map between groups in different representations and are also used to get isomorphic groups in a different representation.</p>
254
255
256 <div class="example"><pre>
257 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">m1:=[[0,-1],[1,0]];;m2:=[[0,-1],[1,1]];;</span>
258 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">sl2z:=Group(m1,m2);; # SL(2,Integers) as matrix group</span>
259 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">F:=FreeGroup(2);;</span>
260 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">psl2z:=F/[F.1^2,F.2^3]; #PSL(2,Z) as FP group</span>
261 &lt;fp group on the generators [ f1, f2 ]&gt;
262 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">phom:=GroupHomomorphismByImagesNC(sl2z,psl2z,[m1,m2],</span>
263 <span class="GAPprompt">&gt;</span> <span class="GAPinput">GeneratorsOfGroup(psl2z)); # the non NC-version would be expensive</span>
264 [ [ [ 0, -1 ], [ 1, 0 ] ], [ [ 0, -1 ], [ 1, 1 ] ] ] -&gt; [ f1, f2 ]
265 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Kernel(phom); # the diagonal matrices</span>
266 Group([ [ [ -1, 0 ], [ 0, -1 ] ], [ [ -1, 0 ], [ 0, -1 ] ] ])
267 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">p1:=(1,2)(3,4);;p2:=(2,4,5);;a5:=Group(p1,p2);;</span>
268 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ahom:=GroupHomomorphismByImages(psl2z,a5,</span>
269 <span class="GAPprompt">&gt;</span> <span class="GAPinput">GeneratorsOfGroup(psl2z),[p1,p2]); # here homomorphism test is cheap.</span>
270 [ f1, f2 ] -&gt; [ (1,2)(3,4), (2,4,5) ]
271 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">u:=PreImage(ahom,Group((1,2,3),(1,2)(4,5)));</span>
272 Group(&lt;fp, no generators known&gt;)
273 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Index(psl2z,u);</span>
274 10
275 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">isofp:=IsomorphismFpGroup(u);; Image(isofp);</span>
276 &lt;fp group of size infinity on the generators [ F1, F2, F3, F4 ]&gt;
277 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">RelatorsOfFpGroup(Image(isofp));</span>
278 [ F1^2, F4^2, F3^3 ]
279 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">up:=PreImage(phom,u);;</span>
280 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">List(GeneratorsOfGroup(up),TraceMat);</span>
281 [ -2, -2, 0, -4, 1, 0 ]
282 </pre></div>
283
284 <p>For an automorphism <var class="Arg">aut</var>, <code class="func">Inverse</code> (<a href="chap31.html#X78EE524E83624057"><span class="RefLink">31.10-8</span></a>) returns the inverse automorphism <span class="SimpleMath"><var class="Arg">aut</var>^{-1}</span>. However if <var class="Arg">hom</var> is a bijective homomorphism between different groups, or if <var class="Arg">hom</var> is injective and considered to be a bijection to its image, the operation <code class="func">InverseGeneralMapping</code> (<a href="chap32.html#X865FC25A87D36F3D"><span class="RefLink">32.2-3</span></a>) should be used instead. (See <code class="func">Inverse</code> (<a href="chap31.html#X78EE524E83624057"><span class="RefLink">31.10-8</span></a>) for a further discussion of this problem.)</p>
285
286
287 <div class="example"><pre>
288 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">iso:=IsomorphismPcGroup(g);</span>
289 Pcgs([ (3,4), (2,4,3), (1,4)(2,3), (1,3)(2,4) ]) -&gt; [ f1, f2, f3, f4 ]
290 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Inverse(iso);</span>
291 #I The mapping must be bijective and have source=range
292 #I You might want to use `InverseGeneralMapping'
293 fail
294 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">InverseGeneralMapping(iso);</span>
295 [ f1, f2, f3, f4 ] -&gt; Pcgs([ (3,4), (2,4,3), (1,4)(2,3), (1,3)(2,4) ])
296 </pre></div>
297
298 <p><a id="X7A121B9E7F78138A" name="X7A121B9E7F78138A"></a></p>
299
300 <h4>40.3 <span class="Heading">Efficiency of Homomorphisms</span></h4>
301
302 <p><strong class="pkg">GAP</strong> permits to create homomorphisms between arbitrary groups. This section considers the efficiency of the implementation and shows ways how to choose suitable representations. For permutation groups (see <a href="chap43.html#X85ED46007CED6191"><span class="RefLink">43</span></a>) or Pc groups (see <a href="chap46.html#X7EAD57C97EBF7E67"><span class="RefLink">46</span></a>) this is normally nothing to worry about, unless the groups get extremely large. For other groups however certain calculations might be expensive and some precaution might be needed to avoid unnecessarily expensive calculations.</p>
303
304 <p>In short, it is always worth to tell a mapping that it is a homomorphism (this can be done by calling <code class="code">SetIsMapping</code>) (or to create it directly with <code class="func">GroupHomomorphismByImagesNC</code> (<a href="chap40.html#X7AB15AF5830F2A6B"><span class="RefLink">40.1-2</span></a>)).</p>
305
306 <p>The basic operations required are to compute image and preimage of elements and to test whether a mapping is a homomorphism. Their cost will differ depending on the type of the mapping.</p>
307
308 <p><a id="X84CFBB577BAFFD4D" name="X84CFBB577BAFFD4D"></a></p>
309
310 <h5>40.3-1 <span class="Heading">Mappings given on generators</span></h5>
311
312 <p>See <code class="func">GroupHomomorphismByImages</code> (<a href="chap40.html#X7F348F497C813BE0"><span class="RefLink">40.1-1</span></a>) and <code class="func">GroupGeneralMappingByImages</code> (<a href="chap40.html#X7A59F2C47BD41DC8"><span class="RefLink">40.1-3</span></a>).</p>
313
314 <p>Computing images requires to express an element of the source as word in the generators. If it cannot be done effectively (this is determined by <code class="func">KnowsHowToDecompose</code> (<a href="chap39.html#X87D62C2C7C375E2D"><span class="RefLink">39.26-7</span></a>) which returns <code class="keyw">true</code> for example for arbitrary permutation groups, for Pc groups or for finitely presented groups with the images of the free generators) the span of the generators has to be computed elementwise which can be very expensive and memory consuming.</p>
315
316 <p>Computing preimages adheres to the same rules with swapped rôles of generators and their images.</p>
317
318 <p>The test whether a mapping is a homomorphism requires the computation of a presentation for the source and evaluation of its relators in the images of its generators. For larger groups this can be expensive and <code class="func">GroupHomomorphismByImagesNC</code> (<a href="chap40.html#X7AB15AF5830F2A6B"><span class="RefLink">40.1-2</span></a>) should be used if the mapping is known to be a homomorphism.</p>
319
320 <p><a id="X86C2BE2481FDC8EE" name="X86C2BE2481FDC8EE"></a></p>
321
322 <h5>40.3-2 <span class="Heading">Action homomorphisms</span></h5>
323
324 <p>See <code class="func">ActionHomomorphism</code> (<a href="chap41.html#X78E6A002835288A4"><span class="RefLink">41.7-1</span></a>).</p>
325
326 <p>The calculation of images is determined by the acting function used and –for large domains– is often dominated by the search for the position of an image in a list of the domain elements. This can be improved by sorting this list if an efficient method for <code class="func">\&lt;</code> (<a href="chap31.html#X7EF67D047F03CA6F"><span class="RefLink">31.11-1</span></a>) to compare elements of the domain is available.</p>
327
328 <p>Once the images of a generating set are computed, computing preimages (which is done via <code class="func">AsGroupGeneralMappingByImages</code> (<a href="chap40.html#X785AB6057F736344"><span class="RefLink">40.1-5</span></a>)) and computing the kernel behaves the same as for a homomorphism created with <code class="func">GroupHomomorphismByImages</code> (<a href="chap40.html#X7F348F497C813BE0"><span class="RefLink">40.1-1</span></a>) from a permutation group.</p>
329
330 <p><strong class="pkg">GAP</strong> will always assume that the acting function provided implements a proper group action and thus that the mapping is indeed a homomorphism.</p>
331
332 <p><a id="X802C5A887D8A7CC4" name="X802C5A887D8A7CC4"></a></p>
333
334 <h5>40.3-3 <span class="Heading">Mappings given by functions</span></h5>
335
336 <p>See <code class="func">GroupHomomorphismByFunction</code> (<a href="chap40.html#X7BC6C20E7CEDBFC5"><span class="RefLink">40.1-4</span></a>).</p>
337
338 <p>Computing images is wholly determined by the function that performs the image calculation. If no function to compute preimages is given, computing preimages requires mapping every element of the source to find an element that maps to the requested image. This is time and memory consuming.</p>
339
340 <p><a id="X87497C207B7D7511" name="X87497C207B7D7511"></a></p>
341
342 <h5>40.3-4 <span class="Heading">Other operations</span></h5>
343
344 <p>To compute the kernel of a homomorphism (unless the mapping is known to be injective) requires the capability to compute a presentation of the image and to evaluate the relators of this presentation in preimages of the presentations generators.</p>
345
346 <p>The calculation of the <code class="func">Image</code> (<a href="chap32.html#X87F4D35A826599C6"><span class="RefLink">32.4-6</span></a>) (respectively <code class="func">ImagesSource</code> (<a href="chap32.html#X7D23C1CE863DACD8"><span class="RefLink">32.4-1</span></a>)) value requires to map a generating set of the source, testing surjectivity is a comparison for equality with the range.</p>
347
348 <p>Testing injectivity is a test for triviality of the kernel.</p>
349
350 <p>The comparison of mappings is based on a lexicographic comparison of a sorted element list of the source. For group homomorphisms, this can be simplified, using <code class="func">ImagesSmallestGenerators</code> (<a href="chap40.html#X80B8ABEC7CC20DFB"><span class="RefLink">40.3-5</span></a>)</p>
351
352 <p><a id="X80B8ABEC7CC20DFB" name="X80B8ABEC7CC20DFB"></a></p>
353
354 <h5>40.3-5 ImagesSmallestGenerators</h5>
355
356 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ImagesSmallestGenerators</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
357 <p>returns the list of images of <code class="code">GeneratorsSmallest(Source(<var class="Arg">map</var>))</code>. This list can be used to compare group homomorphisms. (The standard comparison is to compare the image lists on the set of elements of the source. If however x and y have the same images under a and b, certainly all their products have. Therefore it is sufficient to test this on the images of the smallest generators.)</p>
358
359 <p><a id="X7BA90DA481A1C6D6" name="X7BA90DA481A1C6D6"></a></p>
360
361 <h4>40.4 <span class="Heading">Homomorphism for very large groups</span></h4>
362
363 <p>Some homomorphisms (notably particular actions) transfer known information about the source group (such as a stabilizer chain) to the image group if this is substantially cheaper than to compute the information in the image group anew. In most cases this is no problem and in fact speeds up further calculations notably.</p>
364
365 <p>For a huge source group, however this can be time consuming or take a large amount of extra memory for storage. In this case it can be helpful to avoid as much automatism as possible.</p>
366
367 <p>The following list of tricks might be useful in such a case. (However you will lose much automatic deduction. So please restrict the use of these to cases where the standard approach does not work.)</p>
368
369
370 <ul>
371 <li><p>Compute only images (or the <code class="func">PreImagesRepresentative</code> (<a href="chap32.html#X7AE24A1586B7DE79"><span class="RefLink">32.5-4</span></a>)) of group elements. Do not compute the images of (sub)groups or the full preimage of a subgroup.</p>
372
373 </li>
374 <li><p>Create action homomorphisms as <q>surjective</q> (see <code class="func">ActionHomomorphism</code> (<a href="chap41.html#X78E6A002835288A4"><span class="RefLink">41.7-1</span></a>)), otherwise the range is set to be the full symmetric group. However do not compute <code class="func">Range</code> (<a href="chap32.html#X7B6FD7277CDE9FCB"><span class="RefLink">32.3-7</span></a>) or <code class="func">Image</code> (<a href="chap32.html#X87F4D35A826599C6"><span class="RefLink">32.4-6</span></a>) values, but only the images of a generator set.</p>
375
376 </li>
377 <li><p>If you suspect an action homomorphism to do too much internally, replace the action function with a function that does the same; i.e. replace <code class="func">OnPoints</code> (<a href="chap41.html#X7FE417DD837987B4"><span class="RefLink">41.2-1</span></a>) by <code class="code">function( p, g ) return p^g; end;</code>. The action will be the same, but as the action function is not <code class="func">OnPoints</code> (<a href="chap41.html#X7FE417DD837987B4"><span class="RefLink">41.2-1</span></a>), the extra processing for special cases is not triggered.</p>
378
379 </li>
380 </ul>
381 <p><a id="X7FFD731684606BC6" name="X7FFD731684606BC6"></a></p>
382
383 <h4>40.5 <span class="Heading">Nice Monomorphisms</span></h4>
384
385 <p><strong class="pkg">GAP</strong> contains very efficient algorithms for some special representations of groups (for example pc groups or permutation groups) while for other representations only slow generic methods are available. In this case it can be worthwhile to do all calculations rather in an isomorphic image of the group, which is in a <q>better</q> representation. The way to achieve this in <strong class="pkg">GAP</strong> is via <em>nice monomorphisms</em>.</p>
386
387 <p>For this mechanism to work, of course there must be effective methods to evaluate the <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>) value on elements and to take preimages under it. As by definition no good algorithms exist for the source group, normally this can only be achieved by using the result of a call to <code class="func">ActionHomomorphism</code> (<a href="chap41.html#X78E6A002835288A4"><span class="RefLink">41.7-1</span></a>) or <code class="func">GroupHomomorphismByFunction</code> (<a href="chap40.html#X7BC6C20E7CEDBFC5"><span class="RefLink">40.1-4</span></a>) (see also section <a href="chap40.html#X7A121B9E7F78138A"><span class="RefLink">40.3</span></a>).</p>
388
389 <p>It may happen that one knows a monomorphism <code class="code">map</code> that is suitable as a nice monomorphism of a given group <code class="code">G</code>, for example if <code class="code">G</code> is a matrix group and <code class="code">map</code> describes the faithful action of <code class="code">G</code> on a small set of vectors. In such a case, one can prescribe this monomorphism via <code class="code">SetNiceMonomorphism( G, map )</code> if certain technical requirements are satisfied.</p>
390
391
392 <ul>
393 <li><p><code class="code">G</code> does not store a nice monomorphism already (i.e., <code class="code">HasNiceMonomorphism( G )</code> returns <code class="keyw">false</code>).</p>
394
395 </li>
396 <li><p><code class="code">map</code> stores that it is injective. This can be achieved by calling <code class="code">IsInjective( map )</code> or, if one is sure that <code class="code">map</code> is injective and one wants to avoid the overhead of the test, by calling <code class="code">SetIsInjective( map, true )</code>. Note that the <code class="code">IsInjective</code> call for <code class="code">map</code> may compute and store some different nice monomorphism in the source of <code class="code">map</code>, which is probably <code class="code">G</code>.</p>
397
398 </li>
399 <li><p><code class="code">map</code> knows that it is a group homomorphism, calling <code class="func">ImagesSet</code> (<a href="chap32.html#X8781348F7F5796A0"><span class="RefLink">32.4-4</span></a>) with <code class="code">map</code> and a subgroup of <code class="code">G</code> returns a group object, and analogously <code class="func">PreImagesSet</code> (<a href="chap32.html#X856BAFC87B2D2811"><span class="RefLink">32.5-5</span></a>) for an image group returns a group object. For example, mappings constructed with <code class="func">GeneralMappingByElements</code> (<a href="chap32.html#X79D0D2F07A14D039"><span class="RefLink">32.2-1</span></a>) will <em>not</em> be <q>nice enough</q> to serve as nice monomorphisms.</p>
400
401 </li>
402 </ul>
403 <p><a id="X78849F81804C44B3" name="X78849F81804C44B3"></a></p>
404
405 <h5>40.5-1 IsHandledByNiceMonomorphism</h5>
406
407 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsHandledByNiceMonomorphism</code>( <var class="Arg">obj</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
408 <p>If this property is <code class="keyw">true</code>, high-valued methods that translate all calculations in <var class="Arg">obj</var> in the image under the <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>) value of <var class="Arg">obj</var> become available for <var class="Arg">obj</var>.</p>
409
410 <p><a id="X7965086E82ABCF41" name="X7965086E82ABCF41"></a></p>
411
412 <h5>40.5-2 NiceMonomorphism</h5>
413
414 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NiceMonomorphism</code>( <var class="Arg">obj</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
415 <p>is a homomorphism that is defined (at least) on the whole of <var class="Arg">obj</var> and whose restriction to <var class="Arg">obj</var> is injective. The concrete morphism (and also the image group) will depend on the representation of <var class="Arg">obj</var>.</p>
416
417 <p>WARNING: The domain of the homomorphism may be larger than <var class="Arg">obj</var>. To obtain the image of <var class="Arg">obj</var> under the homomorphism, use <code class="func">NiceObject</code> (<a href="chap40.html#X7B47BE0983E93A83"><span class="RefLink">40.5-3</span></a>); see there for an example where it matters.</p>
418
419 <p><a id="X7B47BE0983E93A83" name="X7B47BE0983E93A83"></a></p>
420
421 <h5>40.5-3 NiceObject</h5>
422
423 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NiceObject</code>( <var class="Arg">obj</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
424 <p>The <code class="func">NiceObject</code> value of <var class="Arg">obj</var> is the image of <var class="Arg">obj</var> under the mapping stored as the value of <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>) for <var class="Arg">obj</var>.</p>
425
426 <p>A typical example are finite matrix groups, which use a faithful action on vectors to translate all calculations in a permutation group.</p>
427
428
429 <div class="example"><pre>
430 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">gl:=GL(3,2);</span>
431 SL(3,2)
432 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsHandledByNiceMonomorphism(gl);</span>
433 true
434 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">NiceObject(gl);</span>
435 Group([ (5,7)(6,8), (2,3,5)(4,7,6) ])
436 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Image(NiceMonomorphism(gl),Z(2)*[[1,0,0],[0,1,1],[1,0,1]]);</span>
437 (2,6)(3,4,7,8)
438 </pre></div>
439
440 <p><a id="X8652149F7F291EE3" name="X8652149F7F291EE3"></a></p>
441
442 <h5>40.5-4 IsCanonicalNiceMonomorphism</h5>
443
444 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsCanonicalNiceMonomorphism</code>( <var class="Arg">nhom</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
445 <p>A nice monomorphism (see <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>) <var class="Arg">nhom</var> is canonical if the image set will only depend on the set of group elements but not on the generating set and <code class="func">\&lt;</code> (<a href="chap31.html#X7EF67D047F03CA6F"><span class="RefLink">31.11-1</span></a>) comparison of group elements translates through the nice monomorphism. This implies that equal objects will always have equal <code class="func">NiceObject</code> (<a href="chap40.html#X7B47BE0983E93A83"><span class="RefLink">40.5-3</span></a>) values. In some situations however this condition would be expensive to achieve, therefore it is not guaranteed for every nice monomorphism.</p>
446
447 <p><a id="X783030917CB43959" name="X783030917CB43959"></a></p>
448
449 <h4>40.6 <span class="Heading">Group Automorphisms</span></h4>
450
451 <p>Group automorphisms are bijective homomorphism from a group onto itself. An important subclass are automorphisms which are induced by conjugation of the group itself or a supergroup.</p>
452
453 <p><a id="X7E52E99487562F3A" name="X7E52E99487562F3A"></a></p>
454
455 <h5>40.6-1 ConjugatorIsomorphism</h5>
456
457 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ConjugatorIsomorphism</code>( <var class="Arg">G</var>, <var class="Arg">g</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
458 <p>Let <var class="Arg">G</var> be a group, and <var class="Arg">g</var> an element in the same family as the elements of <var class="Arg">G</var>. <code class="func">ConjugatorIsomorphism</code> returns the isomorphism from <var class="Arg">G</var> to <code class="code"><var class="Arg">G</var>^<var class="Arg">g</var></code> defined by <span class="SimpleMath">h ↦ h^<var class="Arg">g</var></span> for all <span class="SimpleMath">h ∈ <var class="Arg">G</var></span>.</p>
459
460 <p>If <var class="Arg">g</var> normalizes <var class="Arg">G</var> then <code class="func">ConjugatorIsomorphism</code> does the same as <code class="func">ConjugatorAutomorphismNC</code> (<a href="chap40.html#X79ED68CF8139F08A"><span class="RefLink">40.6-2</span></a>).</p>
461
462 <p><a id="X79ED68CF8139F08A" name="X79ED68CF8139F08A"></a></p>
463
464 <h5>40.6-2 ConjugatorAutomorphism</h5>
465
466 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ConjugatorAutomorphism</code>( <var class="Arg">G</var>, <var class="Arg">g</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
467 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ConjugatorAutomorphismNC</code>( <var class="Arg">G</var>, <var class="Arg">g</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
468 <p>Let <var class="Arg">G</var> be a group, and <var class="Arg">g</var> an element in the same family as the elements of <var class="Arg">G</var> such that <var class="Arg">g</var> normalizes <var class="Arg">G</var>. <code class="func">ConjugatorAutomorphism</code> returns the automorphism of <var class="Arg">G</var> defined by <span class="SimpleMath">h ↦ h^<var class="Arg">g</var></span> for all <span class="SimpleMath">h ∈ <var class="Arg">G</var></span>.</p>
469
470 <p>If conjugation by <var class="Arg">g</var> does <em>not</em> leave <var class="Arg">G</var> invariant, <code class="func">ConjugatorAutomorphism</code> returns <code class="keyw">fail</code>; in this case, the isomorphism from <var class="Arg">G</var> to <code class="code"><var class="Arg">G</var>^<var class="Arg">g</var></code> induced by conjugation with <var class="Arg">g</var> can be constructed with <code class="func">ConjugatorIsomorphism</code> (<a href="chap40.html#X7E52E99487562F3A"><span class="RefLink">40.6-1</span></a>).</p>
471
472 <p><code class="func">ConjugatorAutomorphismNC</code> does the same as <code class="func">ConjugatorAutomorphism</code>, except that the check is omitted whether <var class="Arg">g</var> normalizes <var class="Arg">G</var> and it is assumed that <var class="Arg">g</var> is chosen to be in <var class="Arg">G</var> if possible.</p>
473
474 <p><a id="X7E937A947856D9DA" name="X7E937A947856D9DA"></a></p>
475
476 <h5>40.6-3 InnerAutomorphism</h5>
477
478 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InnerAutomorphism</code>( <var class="Arg">G</var>, <var class="Arg">g</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
479 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InnerAutomorphismNC</code>( <var class="Arg">G</var>, <var class="Arg">g</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
480 <p>Let <var class="Arg">G</var> be a group, and <span class="SimpleMath"><var class="Arg">g</var> ∈ <var class="Arg">G</var></span>. <code class="func">InnerAutomorphism</code> returns the automorphism of <var class="Arg">G</var> defined by <span class="SimpleMath">h ↦ h^<var class="Arg">g</var></span> for all <span class="SimpleMath">h ∈ <var class="Arg">G</var></span>.</p>
481
482 <p>If <var class="Arg">g</var> is <em>not</em> an element of <var class="Arg">G</var>, <code class="func">InnerAutomorphism</code> returns <code class="keyw">fail</code>; in this case, the isomorphism from <var class="Arg">G</var> to <code class="code"><var class="Arg">G</var>^<var class="Arg">g</var></code> induced by conjugation with <var class="Arg">g</var> can be constructed with <code class="func">ConjugatorIsomorphism</code> (<a href="chap40.html#X7E52E99487562F3A"><span class="RefLink">40.6-1</span></a>) or with <code class="func">ConjugatorAutomorphism</code> (<a href="chap40.html#X79ED68CF8139F08A"><span class="RefLink">40.6-2</span></a>).</p>
483
484 <p><code class="func">InnerAutomorphismNC</code> does the same as <code class="func">InnerAutomorphism</code>, except that the check is omitted whether <span class="SimpleMath"><var class="Arg">g</var> ∈ <var class="Arg">G</var></span>.</p>
485
486 <p><a id="X7F31FECC7A3D4A8A" name="X7F31FECC7A3D4A8A"></a></p>
487
488 <h5>40.6-4 IsConjugatorIsomorphism</h5>
489
490 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsConjugatorIsomorphism</code>( <var class="Arg">hom</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
491 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsConjugatorAutomorphism</code>( <var class="Arg">hom</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
492 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsInnerAutomorphism</code>( <var class="Arg">hom</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
493 <p>Let <var class="Arg">hom</var> be a group general mapping (see <code class="func">IsGroupGeneralMapping</code> (<a href="chap32.html#X819DD174829BF3AE"><span class="RefLink">32.9-4</span></a>)) with source <span class="SimpleMath">G</span>. <code class="func">IsConjugatorIsomorphism</code> returns <code class="keyw">true</code> if <var class="Arg">hom</var> is induced by conjugation of <span class="SimpleMath">G</span> by an element <span class="SimpleMath">g</span> that lies in <span class="SimpleMath">G</span> or in a group into which <span class="SimpleMath">G</span> is naturally embedded in the sense described below, and <code class="keyw">false</code> otherwise.</p>
494
495 <p>Natural embeddings are dealt with in the case that <span class="SimpleMath">G</span> is a permutation group (see Chapter <a href="chap43.html#X85ED46007CED6191"><span class="RefLink">43</span></a>), a matrix group (see Chapter <a href="chap44.html#X7CF51CB48610A07D"><span class="RefLink">44</span></a>), a finitely presented group (see Chapter <a href="chap47.html#X7AA982637E90B35A"><span class="RefLink">47</span></a>), or a group given w.r.t. a polycyclic presentation (see Chapter <a href="chap46.html#X7EAD57C97EBF7E67"><span class="RefLink">46</span></a>). In all other cases, <code class="func">IsConjugatorIsomorphism</code> may return <code class="keyw">false</code> if <var class="Arg">hom</var> is induced by conjugation but is not an inner automorphism.</p>
496
497 <p>If <code class="func">IsConjugatorIsomorphism</code> returns <code class="keyw">true</code> for <var class="Arg">hom</var> then an element <span class="SimpleMath">g</span> that induces <var class="Arg">hom</var> can be accessed as value of the attribute <code class="func">ConjugatorOfConjugatorIsomorphism</code> (<a href="chap40.html#X78FE7E307E86525A"><span class="RefLink">40.6-5</span></a>).</p>
498
499 <p><code class="func">IsConjugatorAutomorphism</code> returns <code class="keyw">true</code> if <var class="Arg">hom</var> is an automorphism (see <code class="func">IsEndoGeneralMapping</code> (<a href="chap32.html#X81CFF5F87BBEA8AD"><span class="RefLink">32.13-3</span></a>)) that is regarded as a conjugator isomorphism by <code class="func">IsConjugatorIsomorphism</code>, and <code class="keyw">false</code> otherwise.</p>
500
501 <p><code class="func">IsInnerAutomorphism</code> returns <code class="keyw">true</code> if <var class="Arg">hom</var> is a conjugator automorphism such that an element <span class="SimpleMath">g</span> inducing <var class="Arg">hom</var> can be chosen in <span class="SimpleMath">G</span>, and <code class="keyw">false</code> otherwise.</p>
502
503 <p><a id="X78FE7E307E86525A" name="X78FE7E307E86525A"></a></p>
504
505 <h5>40.6-5 ConjugatorOfConjugatorIsomorphism</h5>
506
507 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ConjugatorOfConjugatorIsomorphism</code>( <var class="Arg">hom</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
508 <p>For a conjugator isomorphism <var class="Arg">hom</var> (see <code class="func">ConjugatorIsomorphism</code> (<a href="chap40.html#X7E52E99487562F3A"><span class="RefLink">40.6-1</span></a>)), <code class="func">ConjugatorOfConjugatorIsomorphism</code> returns an element <span class="SimpleMath">g</span> such that mapping under <var class="Arg">hom</var> is induced by conjugation with <span class="SimpleMath">g</span>.</p>
509
510 <p>To avoid problems with <code class="func">IsInnerAutomorphism</code> (<a href="chap40.html#X7F31FECC7A3D4A8A"><span class="RefLink">40.6-4</span></a>), it is guaranteed that the conjugator is taken from the source of <var class="Arg">hom</var> if possible.</p>
511
512
513 <div class="example"><pre>
514 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">hgens:=[(1,2,3),(1,2,4)];;h:=Group(hgens);;</span>
515 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">hom:=GroupHomomorphismByImages(h,h,hgens,[(1,2,3),(2,3,4)]);;</span>
516 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsInnerAutomorphism(hom);</span>
517 true
518 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ConjugatorOfConjugatorIsomorphism(hom);</span>
519 (1,2,3)
520 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">hom:=GroupHomomorphismByImages(h,h,hgens,[(1,3,2),(1,4,2)]);</span>
521 [ (1,2,3), (1,2,4) ] -&gt; [ (1,3,2), (1,4,2) ]
522 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsInnerAutomorphism(hom);</span>
523 false
524 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsConjugatorAutomorphism(hom);</span>
525 true
526 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">ConjugatorOfConjugatorIsomorphism(hom);</span>
527 (1,2)
528 </pre></div>
529
530 <p><a id="X79640F3682BDBFC1" name="X79640F3682BDBFC1"></a></p>
531
532 <h4>40.7 <span class="Heading">Groups of Automorphisms</span></h4>
533
534 <p>Group automorphism can be multiplied and inverted and thus it is possible to form groups of automorphisms.</p>
535
536 <p><a id="X87677B0787B4461A" name="X87677B0787B4461A"></a></p>
537
538 <h5>40.7-1 AutomorphismGroup</h5>
539
540 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AutomorphismGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
541 <p>returns the full automorphism group of the group <var class="Arg">G</var>. The automorphisms act on <var class="Arg">G</var> by the caret operator <code class="code">^</code>. The automorphism group often stores a <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>) value whose image is a permutation group, obtained by the action on a subset of <var class="Arg">G</var>.</p>
542
543 <p>Note that current methods for the calculation of the automorphism group of a group <span class="SimpleMath">G</span> require <span class="SimpleMath">G</span> to be a permutation group or a pc group to be efficient. For groups in other representations the calculation is likely very slow.</p>
544
545 <p>Also, the <strong class="pkg">AutPGrp</strong> package installs enhanced methods for <code class="func">AutomorphismGroup</code> for finite <span class="SimpleMath">p</span>-groups, and the <strong class="pkg">FGA</strong> package - for finitely generated subgroups of free groups.</p>
546
547 <p>Methods may be installed for <code class="func">AutomorphismGroup</code> for other domains, such as e.g. for linear codes in the <strong class="pkg">GUAVA</strong> package, loops in the <strong class="pkg">loops</strong> package and nilpotent Lie algebras in the <strong class="pkg">Sophus</strong> package (see package manuals for their descriptions).</p>
548
549 <p><a id="X7FC631B786C1DC8B" name="X7FC631B786C1DC8B"></a></p>
550
551 <h5>40.7-2 IsGroupOfAutomorphisms</h5>
552
553 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsGroupOfAutomorphisms</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
554 <p>indicates whether <var class="Arg">G</var> consists of automorphisms of another group <span class="SimpleMath">H</span>. The group <span class="SimpleMath">H</span> can be obtained from <var class="Arg">G</var> via the attribute <code class="func">AutomorphismDomain</code> (<a href="chap40.html#X7B767B9D827EB0FC"><span class="RefLink">40.7-3</span></a>).</p>
555
556 <p><a id="X7B767B9D827EB0FC" name="X7B767B9D827EB0FC"></a></p>
557
558 <h5>40.7-3 AutomorphismDomain</h5>
559
560 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AutomorphismDomain</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
561 <p>If <var class="Arg">G</var> consists of automorphisms of <span class="SimpleMath">H</span>, this attribute returns <span class="SimpleMath">H</span>.</p>
562
563 <p><a id="X7F87D5957D9B991E" name="X7F87D5957D9B991E"></a></p>
564
565 <h5>40.7-4 IsAutomorphismGroup</h5>
566
567 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsAutomorphismGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
568 <p>indicates whether <var class="Arg">G</var>, which must be <code class="func">IsGroupOfAutomorphisms</code> (<a href="chap40.html#X7FC631B786C1DC8B"><span class="RefLink">40.7-2</span></a>), is the full automorphism group of another group <span class="SimpleMath">H</span>, this group is given as <code class="func">AutomorphismDomain</code> (<a href="chap40.html#X7B767B9D827EB0FC"><span class="RefLink">40.7-3</span></a>) value of <var class="Arg">G</var>.</p>
569
570
571 <div class="example"><pre>
572 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=Group((1,2,3,4),(1,3));</span>
573 Group([ (1,2,3,4), (1,3) ])
574 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">au:=AutomorphismGroup(g);</span>
575 &lt;group of size 8 with 3 generators&gt;
576 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">GeneratorsOfGroup(au);</span>
577 [ Pcgs([ (2,4), (1,2,3,4), (1,3)(2,4) ]) -&gt;
578 [ (1,2)(3,4), (1,2,3,4), (1,3)(2,4) ],
579 Pcgs([ (2,4), (1,2,3,4), (1,3)(2,4) ]) -&gt;
580 [ (1,3), (1,2,3,4), (1,3)(2,4) ],
581 Pcgs([ (2,4), (1,2,3,4), (1,3)(2,4) ]) -&gt;
582 [ (2,4), (1,4,3,2), (1,3)(2,4) ] ]
583 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">NiceObject(au);</span>
584 Group([ (1,2,4,6), (1,4)(2,6), (2,6)(3,5) ])
585 </pre></div>
586
587 <p><a id="X8476738A7BF9BADA" name="X8476738A7BF9BADA"></a></p>
588
589 <h5>40.7-5 InnerAutomorphismsAutomorphismGroup</h5>
590
591 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InnerAutomorphismsAutomorphismGroup</code>( <var class="Arg">autgroup</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
592 <p>For an automorphism group <var class="Arg">autgroup</var> of a group this attribute stores the subgroup of inner automorphisms (automorphisms induced by conjugation) of the original group.</p>
593
594
595 <div class="example"><pre>
596 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">InnerAutomorphismsAutomorphismGroup(au);</span>
597 &lt;group with 2 generators&gt;
598 </pre></div>
599
600 <p><a id="X7957AC21782B6C8C" name="X7957AC21782B6C8C"></a></p>
601
602 <h5>40.7-6 InnerAutomorphismGroup</h5>
603
604 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InnerAutomorphismGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
605 <p>For a group <var class="Arg">G</var> this attribute stores the group of inner automorphisms (automorphisms induced by conjugation) of the original group.</p>
606
607
608 <div class="example"><pre>
609 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">InnerAutomorphismGroup(SymmetricGroup(5));</span>
610 &lt;group with 2 generators&gt;
611 </pre></div>
612
613 <p><a id="X7FC9B6EA7CAADC0A" name="X7FC9B6EA7CAADC0A"></a></p>
614
615 <h5>40.7-7 InducedAutomorphism</h5>
616
617 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InducedAutomorphism</code>( <var class="Arg">epi</var>, <var class="Arg">aut</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
618 <p>Let <var class="Arg">aut</var> be an automorphism of a group <span class="SimpleMath">G</span> and <var class="Arg">epi</var> be a homomorphism from <span class="SimpleMath">G</span> to a group <span class="SimpleMath">H</span> such that the kernel of <var class="Arg">epi</var> is fixed under <var class="Arg">aut</var>. Let <span class="SimpleMath">U</span> be the image of <var class="Arg">epi</var>. This command returns the automorphism of <span class="SimpleMath">U</span> induced by <var class="Arg">aut</var> via <var class="Arg">epi</var>, that is, the automorphism of <span class="SimpleMath">U</span> which maps <span class="SimpleMath">g</span><code class="code">^<var class="Arg">epi</var></code> to <code class="code">(</code><span class="SimpleMath">g</span><code class="code">^<var class="Arg">aut</var>)^<var class="Arg">epi</var></code>, for <span class="SimpleMath">g ∈ G</span>.</p>
619
620
621 <div class="example"><pre>
622 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=Group((1,2,3,4),(1,2));</span>
623 Group([ (1,2,3,4), (1,2) ])
624 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">n:=Subgroup(g,[(1,2)(3,4),(1,3)(2,4)]);</span>
625 Group([ (1,2)(3,4), (1,3)(2,4) ])
626 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">epi:=NaturalHomomorphismByNormalSubgroup(g,n);</span>
627 [ (1,2,3,4), (1,2) ] -&gt; [ f1*f2, f1 ]
628 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">aut:=InnerAutomorphism(g,(1,2,3));</span>
629 ^(1,2,3)
630 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">InducedAutomorphism(epi,aut);</span>
631 ^f2
632 </pre></div>
633
634 <p><a id="X7A8E961C7F1A57B3" name="X7A8E961C7F1A57B3"></a></p>
635
636 <h4>40.8 <span class="Heading">Calculating with Group Automorphisms</span></h4>
637
638 <p>Usually the best way to calculate in a group of automorphisms is to translate all calculations to an isomorphic group in a representation for which better algorithms are available, such as a permutation group. This translation can be done automatically using <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>).</p>
639
640 <p>Once a group knows to be a group of automorphisms (this can be achieved by testing or setting the property <code class="func">IsGroupOfAutomorphisms</code> (<a href="chap40.html#X7FC631B786C1DC8B"><span class="RefLink">40.7-2</span></a>)), <strong class="pkg">GAP</strong> will try itself to find such a nice monomorphism once calculations in the automorphism group are done.</p>
641
642 <p>Note that nice homomorphisms inherit down to subgroups, but cannot necessarily be extended from a subgroup to the whole group. Thus when working with a group of automorphisms, it can be beneficial to enforce calculation of the nice monomorphism for the whole group (for example by explicitly calling <code class="func">Random</code> (<a href="chap30.html#X7FF906E57D6936F8"><span class="RefLink">30.7-1</span></a>) and ignoring the result –it will be stored internally) at the start of the calculation. Otherwise <strong class="pkg">GAP</strong> might first calculate a nice monomorphism for the subgroup, only to be forced to calculate a new nice monomorphism for the whole group later on.</p>
643
644 <p>If a good domain for a faithful permutation action is known already, a homomorphism for the action on it can be created using <code class="func">NiceMonomorphismAutomGroup</code> (<a href="chap40.html#X7C9FB0A57BFF6CC0"><span class="RefLink">40.8-2</span></a>). It might be stored by <code class="code">SetNiceMonomorphism</code> (see <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>)).</p>
645
646 <p>Another nice way of representing automorphisms as permutations has been described in <a href="chapBib.html#biBSims97">[Sim97]</a>. It is not yet available in <strong class="pkg">GAP</strong>, a description however can be found in section  <a href="chap87.html#X7CA84E967B053C2C"><span class="RefLink">87.3</span></a>.</p>
647
648 <p><a id="X85691E8386107403" name="X85691E8386107403"></a></p>
649
650 <h5>40.8-1 AssignNiceMonomorphismAutomorphismGroup</h5>
651
652 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AssignNiceMonomorphismAutomorphismGroup</code>( <var class="Arg">autgrp</var>, <var class="Arg">group</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
653 <p>computes a nice monomorphism for <var class="Arg">autgroup</var> acting on <var class="Arg">group</var> and stores it as <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>) value of <var class="Arg">autgrp</var>.</p>
654
655 <p>If the centre of <code class="func">AutomorphismDomain</code> (<a href="chap40.html#X7B767B9D827EB0FC"><span class="RefLink">40.7-3</span></a>) of <var class="Arg">autgrp</var> is trivial, the operation will first try to represent all automorphisms by conjugation (in <var class="Arg">group</var> or in a natural parent of <var class="Arg">group</var>).</p>
656
657 <p>If this fails the operation tries to find a small subset of <var class="Arg">group</var> on which the action will be faithful.</p>
658
659 <p>The operation sets the attribute <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>) and does not return a value.</p>
660
661 <p><a id="X7C9FB0A57BFF6CC0" name="X7C9FB0A57BFF6CC0"></a></p>
662
663 <h5>40.8-2 NiceMonomorphismAutomGroup</h5>
664
665 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NiceMonomorphismAutomGroup</code>( <var class="Arg">autgrp</var>, <var class="Arg">elms</var>, <var class="Arg">elmsgens</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
666 <p>This function creates a monomorphism for an automorphism group <var class="Arg">autgrp</var> of a group by permuting the group elements in the list <var class="Arg">elms</var>. This list must be chosen to yield a faithful representation. <var class="Arg">elmsgens</var> is a list of generators which are a subset of <var class="Arg">elms</var>. (They can differ from the group's original generators.) It does not yet assign it as <code class="func">NiceMonomorphism</code> (<a href="chap40.html#X7965086E82ABCF41"><span class="RefLink">40.5-2</span></a>) value.</p>
667
668 <p><a id="X81B79CC27F47D429" name="X81B79CC27F47D429"></a></p>
669
670 <h4>40.9 <span class="Heading">Searching for Homomorphisms</span></h4>
671
672 <p><a id="X7B536A32827788C6" name="X7B536A32827788C6"></a></p>
673
674 <h5>40.9-1 IsomorphismGroups</h5>
675
676 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsomorphismGroups</code>( <var class="Arg">G</var>, <var class="Arg">H</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
677 <p>computes an isomorphism between the groups <var class="Arg">G</var> and <var class="Arg">H</var> if they are isomorphic and returns <code class="keyw">fail</code> otherwise.</p>
678
679 <p>With the existing methods the amount of time needed grows with the size of a generating system of <var class="Arg">G</var>. (Thus in particular for <span class="SimpleMath">p</span>-groups calculations can be slow.) If you do only need to know whether groups are isomorphic, you might want to consider <code class="func">IdGroup</code> (<a href="../../pkg/smallgrp/doc/chap1.html#X83044B9D7E3BDF35"><span class="RefLink">smallgrp: IdGroup</span></a>) or the random isomorphism test (see <code class="func">RandomIsomorphismTest</code> (<a href="chap46.html#X84F6F9787CB2CF16"><span class="RefLink">46.10-1</span></a>)).</p>
680
681
682 <div class="example"><pre>
683 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=Group((1,2,3,4),(1,3));;</span>
684 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">h:=Group((1,4,6,7)(2,3,5,8), (1,5)(2,6)(3,4)(7,8));;</span>
685 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsomorphismGroups(g,h);</span>
686 [ (1,2,3,4), (1,3) ] -&gt; [ (1,4,6,7)(2,3,5,8), (1,2)(3,7)(4,8)(5,6) ]
687 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsomorphismGroups(g,Group((1,2,3,4),(1,2)));</span>
688 fail
689 </pre></div>
690
691 <p><a id="X7D0C3D5E864CE954" name="X7D0C3D5E864CE954"></a></p>
692
693 <h5>40.9-2 AllHomomorphismClasses</h5>
694
695 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AllHomomorphismClasses</code>( <var class="Arg">G</var>, <var class="Arg">H</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
696 <p>For two finite groups <var class="Arg">G</var> and <var class="Arg">H</var>, this function returns representatives of all homomorphisms <span class="SimpleMath"><var class="Arg">G</var> to <var class="Arg">H</var></span> up to <var class="Arg">H</var>-conjugacy.</p>
697
698
699 <div class="example"><pre>
700 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AllHomomorphismClasses(SymmetricGroup(4),SymmetricGroup(3));</span>
701 [ [ (2,4,3), (1,4,2,3) ] -&gt; [ (), () ],
702 [ (2,4,3), (1,4,2,3) ] -&gt; [ (), (1,2) ],
703 [ (2,4,3), (1,4,2,3) ] -&gt; [ (1,2,3), (1,2) ] ]
704 </pre></div>
705
706 <p><a id="X791D12B7845610CE" name="X791D12B7845610CE"></a></p>
707
708 <h5>40.9-3 AllHomomorphisms</h5>
709
710 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AllHomomorphisms</code>( <var class="Arg">G</var>, <var class="Arg">H</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
711 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AllEndomorphisms</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
712 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; AllAutomorphisms</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
713 <p>For two finite groups <var class="Arg">G</var> and <var class="Arg">H</var>, this function returns all homomorphisms <span class="SimpleMath"><var class="Arg">G</var> to <var class="Arg">H</var></span>. Since this number will grow quickly, <code class="func">AllHomomorphismClasses</code> (<a href="chap40.html#X7D0C3D5E864CE954"><span class="RefLink">40.9-2</span></a>) should be used in most cases. <code class="func">AllEndomorphisms</code> returns all homomorphisms from <var class="Arg">G</var> to itself, <code class="func">AllAutomorphisms</code> returns all bijective endomorphisms.</p>
714
715
716 <div class="example"><pre>
717 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">AllHomomorphisms(SymmetricGroup(3),SymmetricGroup(3));</span>
718 [ [ (2,3), (1,2,3) ] -&gt; [ (), () ],
719 [ (2,3), (1,2,3) ] -&gt; [ (1,2), () ],
720 [ (2,3), (1,2,3) ] -&gt; [ (2,3), () ],
721 [ (2,3), (1,2,3) ] -&gt; [ (1,3), () ],
722 [ (2,3), (1,2,3) ] -&gt; [ (2,3), (1,2,3) ],
723 [ (2,3), (1,2,3) ] -&gt; [ (1,3), (1,2,3) ],
724 [ (2,3), (1,2,3) ] -&gt; [ (1,3), (1,3,2) ],
725 [ (2,3), (1,2,3) ] -&gt; [ (1,2), (1,2,3) ],
726 [ (2,3), (1,2,3) ] -&gt; [ (2,3), (1,3,2) ],
727 [ (2,3), (1,2,3) ] -&gt; [ (1,2), (1,3,2) ] ]
728 </pre></div>
729
730 <p><a id="X790C261184EEAB94" name="X790C261184EEAB94"></a></p>
731
732 <h5>40.9-4 GQuotients</h5>
733
734 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; GQuotients</code>( <var class="Arg">F</var>, <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
735 <p>computes all epimorphisms from <var class="Arg">F</var> onto <var class="Arg">G</var> up to automorphisms of <var class="Arg">G</var>. This classifies all factor groups of <var class="Arg">F</var> which are isomorphic to <var class="Arg">G</var>.</p>
736
737 <p>With the existing methods the amount of time needed grows with the size of a generating system of <var class="Arg">G</var>. (Thus in particular for <span class="SimpleMath">p</span>-groups calculations can be slow.)</p>
738
739 <p>If the <code class="code">findall</code> option is set to <code class="keyw">false</code>, the algorithm will stop once one homomorphism has been found (this can be faster and might be sufficient if not all homomorphisms are needed).</p>
740
741
742 <div class="example"><pre>
743 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=Group((1,2,3,4),(1,2));</span>
744 Group([ (1,2,3,4), (1,2) ])
745 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">h:=Group((1,2,3),(1,2));</span>
746 Group([ (1,2,3), (1,2) ])
747 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">quo:=GQuotients(g,h);</span>
748 [ [ (2,4), (1,4,3) ] -&gt; [ (2,3), (1,2,3) ] ]
749 </pre></div>
750
751 <p><a id="X83B417BE7C508DC4" name="X83B417BE7C508DC4"></a></p>
752
753 <h5>40.9-5 IsomorphicSubgroups</h5>
754
755 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsomorphicSubgroups</code>( <var class="Arg">G</var>, <var class="Arg">H</var> )</td><td class="tdright">(&nbsp;operation&nbsp;)</td></tr></table></div>
756 <p>computes all monomorphisms from <var class="Arg">H</var> into <var class="Arg">G</var> up to <var class="Arg">G</var>-conjugacy of the image groups. This classifies all <var class="Arg">G</var>-classes of subgroups of <var class="Arg">G</var> which are isomorphic to <var class="Arg">H</var>.</p>
757
758 <p>With the existing methods, the amount of time needed grows with the size of a generating system of <var class="Arg">G</var>. (Thus in particular for <span class="SimpleMath">p</span>-groups calculations can be slow.) A main use of <code class="func">IsomorphicSubgroups</code> therefore is to find nonsolvable subgroups (which often can be generated by 2 elements).</p>
759
760 <p>(To find <span class="SimpleMath">p</span>-subgroups it is often faster to compute the subgroup lattice of the Sylow subgroup and to use <code class="func">IdGroup</code> (<a href="../../pkg/smallgrp/doc/chap1.html#X83044B9D7E3BDF35"><span class="RefLink">smallgrp: IdGroup</span></a>) to identify the type of the subgroups.)</p>
761
762 <p>If the <code class="code">findall</code> option is set to <code class="keyw">false</code>, the algorithm will stop once one homomorphism has been found (this can be faster and might be sufficient if not all homomorphisms are needed).</p>
763
764
765 <div class="example"><pre>
766 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:=Group((1,2,3,4),(1,2));</span>
767 Group([ (1,2,3,4), (1,2) ])
768 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">h:=Group((3,4),(1,2));;</span>
769 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">emb:=IsomorphicSubgroups(g,h);</span>
770 [ [ (3,4), (1,2) ] -&gt; [ (1,2), (3,4) ],
771 [ (3,4), (1,2) ] -&gt; [ (1,3)(2,4), (1,2)(3,4) ] ]
772 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g1:=PSO(-1,8,2);;</span>
773 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Length(IsomorphicSubgroups(g1,PSL(2,7)));</span>
774 3
775 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Length(IsomorphicSubgroups(g1,PSL(2,7):findall:=false));</span>
776 1
777 </pre></div>
778
779 <p><a id="X7AABA9A27E30BF2B" name="X7AABA9A27E30BF2B"></a></p>
780
781 <h5>40.9-6 MorClassLoop</h5>
782
783 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; MorClassLoop</code>( <var class="Arg">range</var>, <var class="Arg">classes</var>, <var class="Arg">params</var>, <var class="Arg">action</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
784 <p>This function loops over element tuples taken from <var class="Arg">classes</var> and checks these for properties such as generating a given group, or fulfilling relations. This can be used to find small generating sets or all types of Morphisms. The element tuples are used only up to inner automorphisms as all images can be obtained easily from them by conjugation while running through all of them usually would take too long.</p>
785
786 <p><var class="Arg">range</var> is a group from which these elements are taken. The classes are given in a list <var class="Arg">classes</var> which is a list of records with the following components.</p>
787
788
789 <dl>
790 <dt><strong class="Mark"><code class="code">classes</code></strong></dt>
791 <dd><p>list of conjugacy classes</p>
792
793 </dd>
794 <dt><strong class="Mark"><code class="code">representative</code></strong></dt>
795 <dd><p>One element in the union of these classes</p>
796
797 </dd>
798 <dt><strong class="Mark"><code class="code">size</code></strong></dt>
799 <dd><p>The sum of the sizes of these classes</p>
800
801 </dd>
802 </dl>
803 <p><var class="Arg">params</var> is a record containing the following optional components.</p>
804
805
806 <dl>
807 <dt><strong class="Mark"><code class="code">gens</code></strong></dt>
808 <dd><p>generators that are to be mapped (for testing morphisms). The length of this list determines the length of element tuples considered.</p>
809
810 </dd>
811 <dt><strong class="Mark"><code class="code">from</code></strong></dt>
812 <dd><p>a preimage group (that contains <code class="code">gens</code>)</p>
813
814 </dd>
815 <dt><strong class="Mark"><code class="code">to</code></strong></dt>
816 <dd><p>image group (which might be smaller than <code class="code">range</code>)</p>
817
818 </dd>
819 <dt><strong class="Mark"><code class="code">free</code></strong></dt>
820 <dd><p>free generators, a list of the same length than the generators <code class="code">gens</code>.</p>
821
822 </dd>
823 <dt><strong class="Mark"><code class="code">rels</code></strong></dt>
824 <dd><p>some relations that hold among the generators <code class="code">gens</code>. They are given as a list <code class="code">[ word, order ]</code> where <code class="code">word</code> is a word in the free generators <code class="code">free</code>.</p>
825
826 </dd>
827 <dt><strong class="Mark"><code class="code">dom</code></strong></dt>
828 <dd><p>a set of elements on which automorphisms act faithfully (used to do element tests in partial automorphism groups).</p>
829
830 </dd>
831 <dt><strong class="Mark"><code class="code">aut</code></strong></dt>
832 <dd><p>Subgroup of already known automorphisms.</p>
833
834 </dd>
835 <dt><strong class="Mark"><code class="code">condition</code></strong></dt>
836 <dd><p>A function that will be applied to the homomorphism and must return <code class="keyw">true</code> for the homomorphism to be accepted.</p>
837
838 </dd>
839 </dl>
840 <p><var class="Arg">action</var> is a number whose bit-representation indicates the requirements which are enforced on the element tuples found, as follows.</p>
841
842
843 <dl>
844 <dt><strong class="Mark">1</strong></dt>
845 <dd><p>homomorphism</p>
846
847 </dd>
848 <dt><strong class="Mark">2</strong></dt>
849 <dd><p>injective</p>
850
851 </dd>
852 <dt><strong class="Mark">4</strong></dt>
853 <dd><p>surjective</p>
854
855 </dd>
856 <dt><strong class="Mark">8</strong></dt>
857 <dd><p>find all (otherwise stops after the first find)</p>
858
859 </dd>
860 </dl>
861 <p>If the search is for homomorphisms, the function returns homomorphisms obtained by mapping the given generators <code class="code">gens</code> instead of element tuples.</p>
862
863 <p>The <q>Morpheus</q> algorithm used to find homomorphisms is described in <a href="chapBib.html#biBHulpke96">[Hul96, Section V.5]</a>.</p>
864
865 <p><a id="X81FC3CEF85CED3DC" name="X81FC3CEF85CED3DC"></a></p>
866
867 <h4>40.10 <span class="Heading">Representations for Group Homomorphisms</span></h4>
868
869 <p>The different representations of group homomorphisms are used to indicate from what type of group to what type of group they map and thus determine which methods are used to compute images and preimages.</p>
870
871 <p>The information in this section is mainly relevant for implementing new methods and not for using homomorphisms.</p>
872
873 <p><a id="X82B77A5F7F9EDBC7" name="X82B77A5F7F9EDBC7"></a></p>
874
875 <h5>40.10-1 IsGroupGeneralMappingByImages</h5>
876
877 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
878 <p>Representation for mappings from one group to another that are defined by extending a mapping of group generators homomorphically. Instead of record components, the attribute <code class="func">MappingGeneratorsImages</code> (<a href="chap40.html#X863805187A24B5E3"><span class="RefLink">40.10-2</span></a>) is used to store generators and their images.</p>
879
880 <p><a id="X863805187A24B5E3" name="X863805187A24B5E3"></a></p>
881
882 <h5>40.10-2 MappingGeneratorsImages</h5>
883
884 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; MappingGeneratorsImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
885 <p>This attribute contains a list of length 2, the first entry being a list of generators of the source of <var class="Arg">map</var> and the second entry a list of their images. This attribute is used, for example, by <code class="func">GroupHomomorphismByImages</code> (<a href="chap40.html#X7F348F497C813BE0"><span class="RefLink">40.1-1</span></a>) to store generators and images.</p>
886
887 <p><a id="X7DFBBAB18126B4D9" name="X7DFBBAB18126B4D9"></a></p>
888
889 <h5>40.10-3 IsGroupGeneralMappingByAsGroupGeneralMappingByImages</h5>
890
891 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsGroupGeneralMappingByAsGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
892 <p>Representation for mappings that delegate work on a <code class="func">GroupHomomorphismByImages</code> (<a href="chap40.html#X7F348F497C813BE0"><span class="RefLink">40.1-1</span></a>).</p>
893
894 <p><a id="X78707DF57C3927EB" name="X78707DF57C3927EB"></a></p>
895
896 <h5>40.10-4 IsPreimagesByAsGroupGeneralMappingByImages</h5>
897
898 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsPreimagesByAsGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
899 <p>Representation for mappings that delegate work for preimages to a mapping created with <code class="func">GroupHomomorphismByImages</code> (<a href="chap40.html#X7F348F497C813BE0"><span class="RefLink">40.1-1</span></a>).</p>
900
901 <p><a id="X83E10338798F552B" name="X83E10338798F552B"></a></p>
902
903 <h5>40.10-5 IsPermGroupGeneralMapping</h5>
904
905 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsPermGroupGeneralMapping</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
906 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsPermGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
907 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsPermGroupHomomorphism</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
908 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsPermGroupHomomorphismByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
909 <p>are the representations for mappings that map from a perm group</p>
910
911 <p><a id="X83DADD9F7CAD829B" name="X83DADD9F7CAD829B"></a></p>
912
913 <h5>40.10-6 IsToPermGroupGeneralMappingByImages</h5>
914
915 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsToPermGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
916 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsToPermGroupHomomorphismByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
917 <p>is the representation for mappings that map to a perm group</p>
918
919 <p><a id="X798E72E77EC85D4A" name="X798E72E77EC85D4A"></a></p>
920
921 <h5>40.10-7 IsGroupGeneralMappingByPcgs</h5>
922
923 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsGroupGeneralMappingByPcgs</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
924 <p>is the representations for mappings that map a pcgs to images and thus may use exponents to decompose generators.</p>
925
926 <p><a id="X86FF63B784FB8F85" name="X86FF63B784FB8F85"></a></p>
927
928 <h5>40.10-8 IsPcGroupGeneralMappingByImages</h5>
929
930 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsPcGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
931 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsPcGroupHomomorphismByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
932 <p>is the representation for mappings from a pc group</p>
933
934 <p><a id="X79A853B579B250C0" name="X79A853B579B250C0"></a></p>
935
936 <h5>40.10-9 IsToPcGroupGeneralMappingByImages</h5>
937
938 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsToPcGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
939 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsToPcGroupHomomorphismByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
940 <p>is the representation for mappings to a pc group</p>
941
942 <p><a id="X7BE2A2EB80DC5CFF" name="X7BE2A2EB80DC5CFF"></a></p>
943
944 <h5>40.10-10 IsFromFpGroupGeneralMappingByImages</h5>
945
946 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFromFpGroupGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
947 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFromFpGroupHomomorphismByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
948 <p>is the representation of mappings from an fp group.</p>
949
950 <p><a id="X81090C207F4F6423" name="X81090C207F4F6423"></a></p>
951
952 <h5>40.10-11 IsFromFpGroupStdGensGeneralMappingByImages</h5>
953
954 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFromFpGroupStdGensGeneralMappingByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
955 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFromFpGroupStdGensHomomorphismByImages</code>( <var class="Arg">map</var> )</td><td class="tdright">(&nbsp;representation&nbsp;)</td></tr></table></div>
956 <p>is the representation of total mappings from an fp group that give images of the standard generators.</p>
957
958
959 <div class="chlinkprevnextbot">&nbsp;<a href="chap0.html">[Top of Book]</a>&nbsp; <a href="chap0.html#contents">[Contents]</a>&nbsp; &nbsp;<a href="chap39.html">[Previous Chapter]</a>&nbsp; &nbsp;<a href="chap41.html">[Next Chapter]</a>&nbsp; </div>
960
961
962 <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>
963
964 <hr />
965 <p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
966 </body>
967 </html>