Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 5e1854624d3bc613bdd0dd13d1ef9ac7 > files > 2642

gap-system-4.4.12-5mdv2010.0.i586.rpm

<html><head><title>[Polenta] 3 An example application</title></head>
<body text="#000000" bgcolor="#ffffff">
[<a href = "chapters.htm">Up</a>] [<a href ="CHAP002.htm">Previous</a>] [<a href ="CHAP004.htm">Next</a>] [<a href = "theindex.htm">Index</a>]
<h1>3 An example application</h1><p>
<P>
<H3>Sections</H3>
<oL>
<li> <A HREF="CHAP003.htm#SECT001">Presentation for rational matrix groups</a>
<li> <A HREF="CHAP003.htm#SECT002">Modules series</a>
<li> <A HREF="CHAP003.htm#SECT003">Triangularizable subgroups</a>
</ol><p>
<p>
In this section we outline three example computations with functions
from the previous chapter. 
<p>
<p>
<h2><a name="SECT001">3.1 Presentation for rational matrix groups</a></h2>
<p><p>
<pre>
gap&gt; mats := 
[ [ [ 1, 0, -1/2, 0 ], [ 0, 1, 0, 1 ], [ 0, 0, 1, 0 ], [ 0, 0, 0, 1 ] ],
  [ [ 1, 1/2, 0, 0 ], [ 0, 1, 0, 0 ], [ 0, 0, 1, 1 ], [ 0, 0, 0, 1 ] ],
  [ [ 1, 0, 0, 1 ], [ 0, 1, 0, 0 ], [ 0, 0, 1, 0 ], [ 0, 0, 0, 1 ] ],
  [ [ 1, -1/2, -3, 7/6 ], [ 0, 1, -1, 0 ], [ 0, 1, 0, 0 ], [ 0, 0, 0, 1 ] ],
  [ [ -1, 3, 3, 0 ], [ 0, 0, 1, 0 ], [ 0, 1, 0, 0 ], [ 0, 0, 0, 1 ] ] ];

gap&gt; G := Group( mats );
&lt;matrix group with 5 generators&gt;

# calculate an isomorphism from G to a pcp-group
gap&gt; nat := IsomorphismPcpGroup( G );;   
     
gap&gt; H := Image( nat );
Pcp-group with orders [ 2, 2, 3, 5, 5, 5, 0, 0, 0 ]

gap&gt; h := GeneratorsOfGroup( H );
[ g1, g2, g3, g4, g5, g6, g7, g8, g9]

gap&gt; mats2 := List( h, x -&gt; PreImage( nat, x ) );;

# take a random element of G
gap&gt; exp :=  [ 1, 1, 1, 1, 0, 0, 0, 0, 1 ];;
gap&gt; g := MappedVector( exp, mats2 );
[ [ -1, 17/2, -1, 233/6 ], 
  [ 0, 1, 0, -2 ], 
  [ 0, 1, -1, 2 ], 
  [ 0, 0, 0, 1 ] ]

# map g into the image of nat
gap&gt; i := ImageElm( nat, g );
g1*g2*g3*g4*g9

# exponent vector 
gap&gt; Exponents( i );
[ 1, 1, 1, 1, 0, 0, 0, 0, 1 ]

# compare the preimage with g
gap&gt; PreImagesRepresentative( nat, i );
[ [ -1, 17/2, -1, 233/6 ], 
  [ 0, 1, 0, -2 ], 
  [ 0, 1, -1, 2 ], 
  [ 0, 0, 0, 1 ] ]


gap&gt; last = g;
true

</pre>
<p>
<p>
<h2><a name="SECT002">3.2 Modules series</a></h2>
<p><p>
<pre>
gap&gt; gens := 
[ [ [ 1746/1405, 524/7025, 418/1405, -77/2810 ], 
    [ 815/843, 899/843, -1675/843, 415/281 ],
    [ -3358/4215, -3512/21075, 4631/4215, -629/1405 ],
    [ 258/1405, 792/7025, 1404/1405, 832/1405 ] ],
  [ [ -2389/2810, 3664/21075, 8942/4215, -35851/16860 ],
    [ 395/281, 2498/2529, -5105/5058, 3260/2529 ],
    [ 3539/2810, -13832/63225, -12001/12645, 87053/50580 ],
    [ 5359/1405, -3128/21075, -13984/4215, 40561/8430 ] ] ];

gap&gt; H := Group( gens );
&lt;matrix group with 2 generators&gt;
     
gap&gt; RadicalSeriesSolvableMatGroup( H );
[ [ [ 1, 0, 0, 0 ], [ 0, 1, 0, 0 ], [ 0, 0, 1, 0 ], [ 0, 0, 0, 1 ] ],
  [ [ 1, 0, 0, 79/138 ], [ 0, 1, 0, -275/828 ], [ 0, 0, 1, -197/414 ] ],
  [ [ 1, 0, -3, 2 ], [ 0, 1, 55/4, -55/8 ] ], 
  [ [ 1, 4/15, 2/3, 1/6 ] ], 
  [  ] ]
</pre>
<p>
<h2><a name="SECT003">3.3 Triangularizable subgroups</a></h2>
<p><p>
<pre>
gap&gt; G := PolExamples(3);
&lt;matrix group with 2 generators&gt;

gap&gt; GeneratorsOfGroup( G );
[ [ [ 73/10, -35/2, 42/5, 63/2 ], 
    [ 27/20, -11/4, 9/5, 27/4 ],
    [ -3/5, 1, -4/5, -9 ], 
    [ -11/20, 7/4, -2/5, 1/4 ] ],
  [ [ -42/5, 423/10, 27/5, 479/10 ], 
    [ -23/10, 227/20, 13/10, 231/20 ],
    [ 14/5, -63/5, -4/5, -79/5 ], 
    [ -1/10, 9/20, 1/10, 37/20 ] ] ]

gap&gt; subgroups := SubgroupsUnipotentByAbelianByFinite( G );
rec( T := &lt;matrix group with 2 generators&gt;,
  U := &lt;matrix group with 4 generators&gt; )

gap&gt; GeneratorsOfGroup( subgroups.T );
[ [ [ 73/10, -35/2, 42/5, 63/2 ], 
    [ 27/20, -11/4, 9/5, 27/4 ],
    [ -3/5, 1, -4/5, -9 ], 
    [ -11/20, 7/4, -2/5, 1/4 ] ],
  [ [ -42/5, 423/10, 27/5, 479/10 ], 
    [ -23/10, 227/20, 13/10, 231/20 ],
    [ 14/5, -63/5, -4/5, -79/5 ], 
    [ -1/10, 9/20, 1/10, 37/20 ] ] ]

# so G is triangularizable!
</pre>
<p>
<p>
[<a href = "chapters.htm">Up</a>] [<a href ="CHAP002.htm">Previous</a>] [<a href ="CHAP004.htm">Next</a>] [<a href = "theindex.htm">Index</a>]
<P>
<address>Polenta manual<br>June 2007
</address></body></html>