// Magma code for the lmfdb family of higher genus curves 8.18-2.0.9-18-18
// The results are stored in a list of records called 'data'

RecFormat:=recformat<group,gp_id, signature,gen_vectors,conj_classes,genus,dimension,r,g0, passport_label,gen_vect_label, is_hyperelliptic, hyp_involution, is_cyclic_trigonal,cyc_auto,full_auto, full_sign,topological_class,braid_class>;

data:=[];

// Create group as a permutation group, and generate data which is the same for all entries.
gp_id:=[18,2];
H:=SmallGroup(gp_id[1],gp_id[2]); n:=#H; LP:=[]; LG:=[g : g in H]; for i in [1..n] do x:=LG[i]; Tx:=[LG[j]*x : j in [1..n]]; permL:=[]; for j in [1..n] do for k in [1..n] do if Tx[j] eq LG[k] then permL[j]:=k;  break; end if; end for; end for; Append(~LP,permL); end for; G:=PermutationGroup<n|LP>; 
signature:=[0,9,18,18];
genus:=8;
r:=#signature-1;
g0:=signature[1];
dim:=3*g0-3+r;
S:=Sym(gp_id[1]);

// Here we add an action to data.
gen_vectors:=[[4, 5, 6, 7, 8, 9, 2, 3, 1, 13, 14, 15, 16, 17, 18, 11, 12, 10], [13, 14, 15, 16, 17, 18, 11, 12, 10, 4, 5, 6, 7, 8, 9, 2, 3, 1], [15, 13, 14, 18, 16, 17, 10, 11, 12, 6, 4, 5, 9, 7, 8, 1, 2, 3]];
cc:=[7,13,15];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=1;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[4, 5, 6, 7, 8, 9, 2, 3, 1, 13, 14, 15, 16, 17, 18, 11, 12, 10], [14, 15, 13, 17, 18, 16, 12, 10, 11, 5, 6, 4, 8, 9, 7, 3, 1, 2], [14, 15, 13, 17, 18, 16, 12, 10, 11, 5, 6, 4, 8, 9, 7, 3, 1, 2]];
cc:=[7,17,17];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=2;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[7, 8, 9, 2, 3, 1, 5, 6, 4, 16, 17, 18, 11, 12, 10, 14, 15, 13], [17, 18, 16, 12, 10, 11, 15, 13, 14, 8, 9, 7, 3, 1, 2, 6, 4, 5], [16, 17, 18, 11, 12, 10, 14, 15, 13, 7, 8, 9, 2, 3, 1, 5, 6, 4]];
cc:=[8,14,16];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=3;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[7, 8, 9, 2, 3, 1, 5, 6, 4, 16, 17, 18, 11, 12, 10, 14, 15, 13], [18, 16, 17, 10, 11, 12, 13, 14, 15, 9, 7, 8, 1, 2, 3, 4, 5, 6], [18, 16, 17, 10, 11, 12, 13, 14, 15, 9, 7, 8, 1, 2, 3, 4, 5, 6]];
cc:=[8,18,18];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=4;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[5, 6, 4, 8, 9, 7, 3, 1, 2, 14, 15, 13, 17, 18, 16, 12, 10, 11], [13, 14, 15, 16, 17, 18, 11, 12, 10, 4, 5, 6, 7, 8, 9, 2, 3, 1], [14, 15, 13, 17, 18, 16, 12, 10, 11, 5, 6, 4, 8, 9, 7, 3, 1, 2]];
cc:=[9,13,17];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=5;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[5, 6, 4, 8, 9, 7, 3, 1, 2, 14, 15, 13, 17, 18, 16, 12, 10, 11], [15, 13, 14, 18, 16, 17, 10, 11, 12, 6, 4, 5, 9, 7, 8, 1, 2, 3], [15, 13, 14, 18, 16, 17, 10, 11, 12, 6, 4, 5, 9, 7, 8, 1, 2, 3]];
cc:=[9,15,15];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=6;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[8, 9, 7, 3, 1, 2, 6, 4, 5, 17, 18, 16, 12, 10, 11, 15, 13, 14], [17, 18, 16, 12, 10, 11, 15, 13, 14, 8, 9, 7, 3, 1, 2, 6, 4, 5], [18, 16, 17, 10, 11, 12, 13, 14, 15, 9, 7, 8, 1, 2, 3, 4, 5, 6]];
cc:=[10,14,18];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=7;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[8, 9, 7, 3, 1, 2, 6, 4, 5, 17, 18, 16, 12, 10, 11, 15, 13, 14], [16, 17, 18, 11, 12, 10, 14, 15, 13, 7, 8, 9, 2, 3, 1, 5, 6, 4], [16, 17, 18, 11, 12, 10, 14, 15, 13, 7, 8, 9, 2, 3, 1, 5, 6, 4]];
cc:=[10,16,16];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=8;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[6, 4, 5, 9, 7, 8, 1, 2, 3, 15, 13, 14, 18, 16, 17, 10, 11, 12], [13, 14, 15, 16, 17, 18, 11, 12, 10, 4, 5, 6, 7, 8, 9, 2, 3, 1], [13, 14, 15, 16, 17, 18, 11, 12, 10, 4, 5, 6, 7, 8, 9, 2, 3, 1]];
cc:=[11,13,13];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=9;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[6, 4, 5, 9, 7, 8, 1, 2, 3, 15, 13, 14, 18, 16, 17, 10, 11, 12], [15, 13, 14, 18, 16, 17, 10, 11, 12, 6, 4, 5, 9, 7, 8, 1, 2, 3], [14, 15, 13, 17, 18, 16, 12, 10, 11, 5, 6, 4, 8, 9, 7, 3, 1, 2]];
cc:=[11,15,17];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=10;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[9, 7, 8, 1, 2, 3, 4, 5, 6, 18, 16, 17, 10, 11, 12, 13, 14, 15], [17, 18, 16, 12, 10, 11, 15, 13, 14, 8, 9, 7, 3, 1, 2, 6, 4, 5], [17, 18, 16, 12, 10, 11, 15, 13, 14, 8, 9, 7, 3, 1, 2, 6, 4, 5]];
cc:=[12,14,14];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=11;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);

// Here we add an action to data.
gen_vectors:=[[9, 7, 8, 1, 2, 3, 4, 5, 6, 18, 16, 17, 10, 11, 12, 13, 14, 15], [16, 17, 18, 11, 12, 10, 14, 15, 13, 7, 8, 9, 2, 3, 1, 5, 6, 4], [18, 16, 17, 10, 11, 12, 13, 14, 15, 9, 7, 8, 1, 2, 3, 4, 5, 6]];
cc:=[12,16,18];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=12;
gen_vect_label:=1;
full_auto:=[72,8];
full_sign:=[0,2,4,18];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);
