magmawithinverseS
This commit is contained in:
parent
503562f7ab
commit
cc19d81941
@ -460,10 +460,10 @@ InstallMethod(Opposite, "for a finitely generated magma with one",
|
||||
end);
|
||||
|
||||
InstallMethod(Opposite, "for a finitely generated magma with inverse",
|
||||
[IsMagmaWithInverse and HasGeneratorsOfMagmaWithInverse],
|
||||
[IsMagmaWithInverse and HasGeneratorsOfMagmaWithInverses],
|
||||
function(M)
|
||||
local fam, elts;
|
||||
fam := CollectionsFamily(OppositeFamily(ElementsFamily(FamilyObj(M))));
|
||||
elts := List(GeneratorsOfMagmaWithInverse(M), m -> OppositeObj(m));
|
||||
return MagmaWithInverse(fam, elts);
|
||||
elts := List(GeneratorsOfMagmaWithInverses(M), m -> OppositeObj(m));
|
||||
return MagmaWithInverses(fam, elts);
|
||||
end);
|
||||
|
Loading…
Reference in New Issue
Block a user