GroupsWithPropertyT/groups/higman.jl

25 lines
487 B
Julia
Raw Normal View History

2018-08-08 00:29:22 +02:00
struct HigmanGroup <: GAPGroup
args::Dict{String,Any}
end
2018-07-31 16:54:35 +02:00
2018-08-08 00:29:22 +02:00
name(G::HigmanGroup) = "HigmanGroup"
2018-07-31 16:54:35 +02:00
2018-08-08 00:29:22 +02:00
function group(G::HigmanGroup)
2018-07-31 16:54:35 +02:00
2018-08-08 00:29:22 +02:00
higman_group = Groups.FPGroup(["a","b","c","d"]);
2018-07-31 16:54:35 +02:00
2018-08-08 00:29:22 +02:00
a,b,c,d = gens(higman_group)
2018-07-31 16:54:35 +02:00
relations = [
2018-08-08 00:29:22 +02:00
b^-1*Comm(b,a),
c^-1*Comm(c,b),
d^-1*Comm(d,c),
a^-1*Comm(a,d)
2018-07-31 16:54:35 +02:00
];
relations = [relations; [inv(rel) for rel in relations]]
2018-08-08 00:29:22 +02:00
Groups.add_rels!(higman_group, Dict(rel => HigmanGr() for rel in relations))
return higman_group
2018-07-31 16:54:35 +02:00
end