source: git/doc/orbits.gp @ 4bde6b

fieker-DuValspielwiese
Last change on this file since 4bde6b was dfa25b, checked in by Janko Boehm <boehm@…>, 7 years ago
Example and GAP files for GIT-fan
  • Property mode set to 100644
File size: 2.7 KB
Line 
1G := Group(
2 (17,21) (18,22) (19,23) (20,24) (35,40) (36,39) (37,38),
3 (16,17) (22,25) (23,26) (24,27) (32,35) (33,36) (34,37),
4 (17,18) (21,22) (26,28) (27,29) (31,32) (36,38) (37,39),
5 (18,19) (22,23) (25,26) (29,30) (32,33) (35,36) (39,40),
6 (19,20) (23,24) (26,27) (28,29) (33,34) (36,37) (38,39)
7);;
8Size(G);
9dimQ:=16;
10minidx:=SmallestMovedPoint(G);
11maxidx:=LargestMovedPoint(G);
12
13
14
15XZorbitsRepresentatives:=[];;
16for k in [dimQ..(maxidx-minidx)] do
17  Print("Considering faces of cardinality ",k,"\n");
18  XZ := Combinations([minidx..maxidx],k);;
19  Print(Size(XZ));
20  Bahnen := OrbitsDomain(G,XZ,OnSets);;
21  for i in [1..Size(Bahnen)] do
22    Print(i);
23    Append(XZorbitsRepresentatives,[Bahnen[i][1]]);
24  od;
25od;
26
27PrintTo("simplexOrbitRepresentatives.sing","list simplexOrbitRepresentatives = ");
28for k in [1..Size(XZorbitsRepresentatives)-1] do
29  s:=String(XZorbitsRepresentatives[k]);
30  s:=s{[2..Size(s)-1]};
31  AppendTo ("simplexOrbitRepresentatives.sing","intvec(",s,"),\n");
32od;
33s:=String(XZorbitsRepresentatives[Size(XZorbitsRepresentatives)]);
34s:=s{[2..Size(s)-1]};
35AppendTo ("simplexOrbitRepresentatives.sing","intvec(",s,");\n");
36
37
38PrintTo("simplexSymmetryGroup.sing","list simplexSymmetryGroup = ");
39elementsG:=Elements(G);
40for i in [1..Size(elementsG)-1] do
41   sigma:=elementsG[i];
42   l:=ListPerm(sigma,maxidx);
43   l:=l{[minidx..maxidx]};
44   s:=String(l);
45   s:=s{[2..Size(s)-1]};
46   AppendTo ("simplexSymmetryGroup.sing","permutationFromIntvec(intvec(",s,")),\n");
47od;
48sigma:=elementsG[Size(elementsG)];
49l:=ListPerm(sigma,maxidx);
50l:=l{[minidx..maxidx]};
51s:=String(l);
52s:=s{[2..Size(s)-1]};
53AppendTo ("simplexSymmetryGroup.sing","permutationFromIntvec(intvec(",s,"));\n");
54
55
56PrintTo("elementsInTermsOfGenerators.sing","list generatorsG = ");
57L:=GeneratorsOfGroup(G);
58for i in [1..Size(L)-1] do
59   sigma:=L[i];
60   l:=ListPerm(sigma,maxidx);
61   l:=l{[minidx..maxidx]};
62   s:=String(l);
63   s:=s{[2..Size(s)-1]};
64   AppendTo ("elementsInTermsOfGenerators.sing","permutationFromIntvec(intvec(",s,")),\n");
65od;
66   sigma:=L[Size(L)];
67   l:=ListPerm(sigma,maxidx);
68   l:=l{[minidx..maxidx]};
69   s:=String(l);
70   s:=s{[2..Size(s)-1]};
71   AppendTo ("elementsInTermsOfGenerators.sing","permutationFromIntvec(intvec(",s,"));\n");
72
73AppendTo("elementsInTermsOfGenerators.sing","list elementsInTermsOfGenerators = ");
74hom:=EpimorphismFromFreeGroup(G);
75   AppendTo ("elementsInTermsOfGenerators.sing","\"\",\n");
76for i in [2..Size(elementsG)-1] do
77   sigma:=elementsG[i];
78   l:=PreImagesRepresentative(hom,sigma);
79   s:=String(l);
80   AppendTo ("elementsInTermsOfGenerators.sing","\"",s,"\",\n");
81od;
82sigma:=elementsG[Size(elementsG)];
83l:=PreImagesRepresentative(hom,sigma);
84s:=String(l);
85AppendTo ("elementsInTermsOfGenerators.sing","\"",s,"\";\n");
86
87
Note: See TracBrowser for help on using the repository browser.