Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

561019 views
gap> RequirePackage("carat");
true
gap> names := [];
[  ]
gap> GROUPS := [];
[  ]
gap> R := CaratReadBravaisFile("ordnung.16/(2)^4(16)^1/group.1102");
rec( 
  generators := [ [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 
              0, 0 ], [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], 
          [ 0, 0, 0, 0, 0, 1 ] ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, 1, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, -1 ] 
         ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], 
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ] ]
    , size := 16 )
gap> P1 := Group(R.generators);
<matrix group with 3 generators>
gap> Append(names,["ordnung.16/(2)^4(16)^1/words.group.1102"]);
gap> Append(GROUPS,[P1]);
gap> R := CaratReadBravaisFile("ordnung.4/(2)^2(16)^1/min.218");
rec( 
  generators := [ [ [ 0, -1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, -1, 
              0, 0, 0 ], [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], 
          [ 0, 0, 0, 0, 0, -1 ] ] ], size := 4 )
gap> P2 := Group(R.generators);
<matrix group with 1 generators>
gap> Append(names,["ordnung.4/(2)^2(16)^1/words.min.218"]);
gap> Append(GROUPS,[P2]);
gap> R := CaratReadBravaisFile("ordnung.4/(2)^2(16)^1/min.219");
rec( 
  generators := [ [ [ 0, -1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 
              0, 0, 0 ], [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], 
          [ 0, 0, 0, 0, 0, 1 ] ] ], size := 4 )
gap> P3 := Group(R.generators);
<matrix group with 1 generators>
gap> Append(names,["ordnung.4/(2)^2(16)^1/words.min.219"]);
gap> Append(GROUPS,[P3]);
gap> R := CaratReadBravaisFile("ordnung.8/(2)^2(16)^1/group.1103");
rec( 
  generators := [ [ [ 0, -1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 
              0, 0, 0 ], [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], 
          [ 0, 0, 0, 0, 0, 1 ] ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, 1, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, -1 ] 
         ] ], size := 8 )
gap> P4 := Group(R.generators);
<matrix group with 2 generators>
gap> Append(names,["ordnung.8/(2)^2(16)^1/words.group.1103"]);
gap> Append(GROUPS,[P4]);
gap> R := CaratReadBravaisFile("ordnung.8/(2)^4(16)^1/group.1104");
rec( 
  generators := [ [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, -1, 
              0, 0, 0 ], [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], 
          [ 0, 0, 0, 0, 0, -1 ] ], 
      [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, -1 ] 
         ] ], size := 8 )
gap> P5 := Group(R.generators);
<matrix group with 2 generators>
gap> Append(names,["ordnung.8/(2)^4(16)^1/words.group.1104"]);
gap> Append(GROUPS,[P5]);
gap> R := CaratReadBravaisFile("ordnung.8/(2)^4(16)^1/group.1105");
rec( 
  generators := [ [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 
              0, 0 ], [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], 
          [ 0, 0, 0, 0, 0, 1 ] ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, -1 ] 
         ] ], size := 8 )
gap> P6 := Group(R.generators);
<matrix group with 2 generators>
gap> Append(names,["ordnung.8/(2)^4(16)^1/words.group.1105"]);
gap> Append(GROUPS,[P6]);
gap> R := CaratReadBravaisFile("ordnung.8/(2)^4(16)^1/group.1106");
rec( 
  generators := [ [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 
              0, 0 ], [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], 
          [ 0, 0, 0, 0, 0, 1 ] ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], 
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ] ]
    , size := 8 )
gap> P7 := Group(R.generators);
<matrix group with 2 generators>
gap> Append(names,["ordnung.8/(2)^4(16)^1/words.group.1106"]);
gap> Append(GROUPS,[P7]);
gap> Print(GROUPS,"\n");
[ Group(
    [ [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], [ 
              0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ]
        , 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, 1, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, -1 ] 
         ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], 
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ] 
     ]), 
  Group([ [ [ 0, -1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ]
            , [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], 
          [ 0, 0, 0, 0, 0, -1 ] ] ]), 
  Group([ [ [ 0, -1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ],
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ] 
     ]), 
  Group([ [ [ 0, -1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ],
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, 1, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, -1 ] 
         ] ]), 
  Group([ [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ]
            , [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], 
          [ 0, 0, 0, 0, 0, -1 ] ], 
      [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, -1 ] 
         ] ]), 
  Group([ [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], 
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, -1, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, -1 ] 
         ] ]), 
  Group([ [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], 
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ], 
      [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0 ], 
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ] 
     ]) ]
gap> Print(names,"\n");
[ "ordnung.16/(2)^4(16)^1/words.group.1102", 
  "ordnung.4/(2)^2(16)^1/words.min.218", "ordnung.4/(2)^2(16)^1/words.min.219"
    , "ordnung.8/(2)^2(16)^1/words.group.1103", 
  "ordnung.8/(2)^4(16)^1/words.group.1104", 
  "ordnung.8/(2)^4(16)^1/words.group.1105", 
  "ordnung.8/(2)^4(16)^1/words.group.1106" ]
gap> Size(GROUPS);
7
gap> Size(names);
7
gap> Read("../../TGROUPS.GAP");
gap> for i in [1..Size(GROUPS)] do
>    SubgroupWords(GROUPS[i], names[i]);
> od;
[ x3, x3*x1*x3, x1*x3*x1*x3 ]
[ x3, x2, x1*x3*x1*x3 ]
[ x3, x2*x3*x1*x3, x1*x3*x1*x3 ]
[ x3*x1*x3, x2, x1*x3*x1*x3 ]
[ x2*x3, x3*x1*x3, x1*x3*x1*x3 ]
[ x1*x3, x2, x1*x3*x1*x3 ]
[ x2*x3, x2*x3*x1*x3, x1*x3*x1*x3 ]
[ x1^2 ]
[ x1^2 ]
[ x2, x1^2 ]
[ x1, x1^2 ]
[ x1*x2, x1^2 ]
[ x2, x1*x2*x1*x2 ]
[ x1, x1*x2*x1*x2 ]
[ x2*x1, x1*x2*x1*x2 ]
[ x2, x1*x2*x1*x2 ]
[ x2*x1*x2, x1*x2*x1*x2 ]
[ x1*x2, x1*x2*x1*x2 ]
[ x2, x1*x2*x1*x2 ]
[ x2*x1*x2, x1*x2*x1*x2 ]
[ x1*x2, x1*x2*x1*x2 ]
gap> LogTo();