Skip to content

Commit 8922907

Browse files
committed
Added demos for the GAP, Pari, and Singular kernels
1 parent d4b787e commit 8922907

File tree

4 files changed

+706
-7
lines changed

4 files changed

+706
-7
lines changed

demo-gap.ipynb

Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 14,
6+
"metadata": {
7+
"collapsed": false
8+
},
9+
"outputs": [
10+
{
11+
"name": "stdout",
12+
"output_type": "stream",
13+
"text": [
14+
"Alt( [ 1 .. 6 ] )"
15+
]
16+
}
17+
],
18+
"source": [
19+
"G := AlternatingGroup(6);"
20+
]
21+
},
22+
{
23+
"cell_type": "code",
24+
"execution_count": 15,
25+
"metadata": {
26+
"collapsed": false
27+
},
28+
"outputs": [
29+
{
30+
"data": {
31+
"text/html": [
32+
"Reference: <a target=\"_blank\" href=\"https://cloud.gap-system.org/doc/ref/chap40.html#X87677B0787B4461A\">AutomorphismGroup</a><br/>Reference: <a target=\"_blank\" href=\"https://cloud.gap-system.org/doc/ref/chap45.html#X7A19DF1E7E841074\">AutomorphismGroup for groups with pcgs</a><br/>"
33+
]
34+
},
35+
"metadata": {},
36+
"output_type": "display_data"
37+
},
38+
{
39+
"name": "stdout",
40+
"output_type": "stream",
41+
"text": []
42+
}
43+
],
44+
"source": [
45+
"?AutomorphismGroup"
46+
]
47+
},
48+
{
49+
"cell_type": "code",
50+
"execution_count": 16,
51+
"metadata": {
52+
"collapsed": false
53+
},
54+
"outputs": [
55+
{
56+
"name": "stdout",
57+
"output_type": "stream",
58+
"text": [
59+
"<group with 4 generators>"
60+
]
61+
}
62+
],
63+
"source": [
64+
"a := AutomorphismGroup(G);"
65+
]
66+
},
67+
{
68+
"cell_type": "code",
69+
"execution_count": 17,
70+
"metadata": {
71+
"collapsed": false
72+
},
73+
"outputs": [
74+
{
75+
"name": "stdout",
76+
"output_type": "stream",
77+
"text": [
78+
"<group>"
79+
]
80+
}
81+
],
82+
"source": [
83+
"SylowSubgroup(a,2);"
84+
]
85+
},
86+
{
87+
"cell_type": "code",
88+
"execution_count": 18,
89+
"metadata": {
90+
"collapsed": false
91+
},
92+
"outputs": [
93+
{
94+
"name": "stdout",
95+
"output_type": "stream",
96+
"text": [
97+
"<group>"
98+
]
99+
}
100+
],
101+
"source": [
102+
"s := SylowSubgroup(a,2);"
103+
]
104+
},
105+
{
106+
"cell_type": "code",
107+
"execution_count": 19,
108+
"metadata": {
109+
"collapsed": false
110+
},
111+
"outputs": [
112+
{
113+
"name": "stdout",
114+
"output_type": "stream",
115+
"text": [
116+
"32"
117+
]
118+
}
119+
],
120+
"source": [
121+
"Order(s);"
122+
]
123+
},
124+
{
125+
"cell_type": "code",
126+
"execution_count": 20,
127+
"metadata": {
128+
"collapsed": false
129+
},
130+
"outputs": [
131+
{
132+
"name": "stdout",
133+
"output_type": "stream",
134+
"text": [
135+
"[ 32, 43 ]"
136+
]
137+
}
138+
],
139+
"source": [
140+
"IdGroup(s);"
141+
]
142+
},
143+
{
144+
"cell_type": "code",
145+
"execution_count": 21,
146+
"metadata": {
147+
"collapsed": false
148+
},
149+
"outputs": [
150+
{
151+
"name": "stdout",
152+
"output_type": "stream",
153+
"text": [
154+
"[ 32, 4, 2, 1 ]"
155+
]
156+
}
157+
],
158+
"source": [
159+
"List(LowerCentralSeries(s), Order);"
160+
]
161+
},
162+
{
163+
"cell_type": "code",
164+
"execution_count": null,
165+
"metadata": {
166+
"collapsed": false
167+
},
168+
"outputs": [],
169+
"source": []
170+
},
171+
{
172+
"cell_type": "code",
173+
"execution_count": null,
174+
"metadata": {
175+
"collapsed": true
176+
},
177+
"outputs": [],
178+
"source": []
179+
}
180+
],
181+
"metadata": {
182+
"kernelspec": {
183+
"display_name": "GAP",
184+
"language": "gap",
185+
"name": "gap"
186+
},
187+
"language_info": {
188+
"codemirror_mode": "gap",
189+
"file_extension": ".g",
190+
"mimetype": "text/x-gap",
191+
"name": "gap"
192+
}
193+
},
194+
"nbformat": 4,
195+
"nbformat_minor": 2
196+
}

0 commit comments

Comments
 (0)