Skip to content

Commit

Permalink
Update semicons.xml and semicons.gi files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun2M authored and james-d-mitchell committed Mar 15, 2024
1 parent c583ad6 commit fa9344f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions doc/semicons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,12 @@ true]]></Example>

<Example><![CDATA[
gap> S := FreeSemilattice(IsTransformationSemigroup, 5);
<transformation semigroup of size 31, degree 6 with 5 generators>
<inverse transformation semigroup of size 31, degree 6 with 5
generators>
gap> T := FreeSemilattice(IsPartialPermSemigroup, 3);
<partial perm semigroup of size 7, rank 3 with 3 generators>
<inverse partial perm semigroup of size 7, rank 3 with 3 generators>
gap> U := FreeSemilattice(IsBooleanMatSemigroup, 4);
<semigroup of size 15, 5x5 boolean matrices with 4 generators>
<inverse semigroup of size 15, 5x5 boolean matrices with 4 generators>
]]></Example>
</Description>
</ManSection>
Expand Down
4 changes: 2 additions & 2 deletions gap/semigroups/semicons.gi
Original file line number Diff line number Diff line change
Expand Up @@ -428,14 +428,14 @@ function(arg...)
fi;

S := FreeSemilatticeCons(filter, n);

if "IsMagmaWithOne" in NamesFilter(filter) then
SetSize(S, 2 ^ n);
else
SetSize(S, 2 ^ n - 1);
fi;

# SetIsSemilattice(S, true);
SetIsSemilattice(S, true);

return S;
end);
Expand Down
3 changes: 2 additions & 1 deletion tst/standard/semigroups/semicons.tst
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,8 @@ gap> S := FreeSemilattice(2);
gap> S := FreeSemilattice(5);
<inverse transformation semigroup of size 31, degree 6 with 5 generators>
gap> S := FreeSemilattice(21);
<inverse transformation semigroup of size 2097151, degree 22 with 21 generators>
<inverse transformation semigroup of size 2097151, degree 22 with 21
generators>
# constructions: FreeSemilattice: transformation semigroup
gap> S := FreeSemilattice(IsTransformationSemigroup, 1);
Expand Down

0 comments on commit fa9344f

Please sign in to comment.