Have to jump on IsTrivial, unfortunately
This commit is contained in:
parent
8994fdf4dc
commit
c6754cfc68
@ -101,12 +101,15 @@ InstallGlobalFunction(TrivialRightQuandle,
|
|||||||
return RightTrivs@[n];
|
return RightTrivs@[n];
|
||||||
end);
|
end);
|
||||||
|
|
||||||
InstallMethod(IsTrivial, "for a left quasigroup",
|
# The below needs to be immediate because otherwise it
|
||||||
[IsLeftQuasigroup],
|
# is pre-empted by the immediate method that all collections of size
|
||||||
|
# larger than one are non-trivial.
|
||||||
|
InstallImmediateMethod(IsTrivial, "for a left quasigroup",
|
||||||
|
[IsLeftQuasigroup and HasSize],
|
||||||
Q -> ForAll(LeftPerms(Q), p -> p = ())
|
Q -> ForAll(LeftPerms(Q), p -> p = ())
|
||||||
);
|
);
|
||||||
|
|
||||||
InstallMethod(IsTrivial, "for a left quasigroup",
|
InstallMethod(IsTrivial, "for a right quasigroup",
|
||||||
[IsRightQuasigroup],
|
[IsRightQuasigroup],
|
||||||
Q -> ForAll(RightPerms(Q), p -> p = ())
|
Q -> ForAll(RightPerms(Q), p -> p = ())
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user