We will only cover here good semigroups of \(\mathbb{N}^2\).
A good semigroup \(S\) is a submonoid of \(\mathbb{N}^2\), with the following properties.
(G1) It is closed under infimums (minimum componentwise).
(G2) If \(a, b \in M\) and \(a_i = b_i\) for some \(i \in \{1, 2\}\), then there exists \(c \in M\) such that \(c_i > a_i = b_i\) and \(c_j = \min\{a_j,b_j\}\), with \(j∈\{1,2\}\setminus \{i\}\).
(G3) There exists \(C\in\mathbb{N}^n\) such that \(C+\mathbb{N}^n\subseteq S\).
Value semigroups of algebroid branches are good semigroups, but there are good semigroups that are not of this form. Since good semigroups are closed under infimums, if \(C_1\) and \(C_2\) fulfill \(C_i+\mathbb{N}^n\subseteq S\), then \(C_1\wedge C_2+\mathbb{N}^n\subseteq S\). So there is a minimum \(C\) fulfilling \(C+\mathbb{N}^n\subseteq S\), which is called the conductor of \(S\).
The contents of this chapter are described in [DGMT18].
Good semigroups can be constructed with numerical duplications, amalgamations, cartesian products, or by giving some of its generators and a candidate for conductor. Not every set determines a good semigroup; this is because the intersection of good semigroups might not be a good semigroup. So the terminology "good semigroup generated" by a set is a bit fragile.
‣ IsGoodSemigroup ( S ) | ( function ) |
Detects if S is an object of type good semigroup.
‣ NumericalSemigroupDuplication ( S, E ) | ( function ) |
S is a numerical semigroup and E is an ideal of S with \(E\subseteq S\). The output is \(S\bowtie E= D\cup (E\times E)\cup\{ a\wedge b\mid a\in D, b\in E\times E\},\) where \(D=\{(s,s)\mid s\in S\}\).
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=6+s;; gap> dup:=NumericalSemigroupDuplication(s,e); <Good semigroup> gap> l:=Cartesian([1..11],[1..11]);; gap> Intersection(dup,l); [ [ 3, 3 ], [ 5, 5 ], [ 6, 6 ], [ 6, 7 ], [ 6, 8 ], [ 6, 9 ], [ 6, 10 ], [ 6, 11 ], [ 7, 6 ], [ 7, 7 ], [ 8, 6 ], [ 8, 8 ], [ 9, 6 ], [ 9, 9 ], [ 9, 10 ], [ 9, 11 ], [ 10, 6 ], [ 10, 9 ], [ 10, 10 ], [ 11, 6 ], [ 11, 9 ], [ 11, 11 ] ] gap> [384938749837,349823749827] in dup; true
‣ AmalgamationOfNumericalSemigroups ( S, E, b ) | ( function ) |
S is a numerical semigroup, E is an ideal of a numerical semigroup \(T\) with \(E\subseteq T\), and b is an integer such that multiplication by b is a morphism from S to \(T\), say \(g\). The output is \(S\bowtie^g E= D\cup(g^{-1}(E)\times E)\cup \{a\wedge b\mid a\in D, b\in g^{-1}(E)\times E\},\) where \(D=\{(s,b s)\mid s\in S\}\).
gap> s:=NumericalSemigroup(2,3);; gap> t:=NumericalSemigroup(3,4);; gap> e:=3+t;; gap> dup:=AmalgamationOfNumericalSemigroups(s,e,2);; gap> [2,3] in dup; true
‣ CartesianProductOfNumericalSemigroups ( S, T ) | ( function ) |
S and T are numerical semigroups. The output is \(S\times T\), which is a good semigroup.
gap> s:=NumericalSemigroup(2,3);; gap> t:=NumericalSemigroup(3,4);; gap> IsGoodSemigroup(CartesianProductOfNumericalSemigroups(s,t)); true
‣ GoodSemigroup ( X, C ) | ( function ) |
X is a list of points with nonnegative integer coordinates and \(C\) is a pair of nonnegative integers (a list with two elements). If \(M\) is the affine and infimum closure of X, decides if it is a good semigroup, and if so, outputs it.
gap> G:=[[4,3],[7,13],[11,17],[14,27],[15,27],[16,20],[25,12],[25,16]]; [ [ 4, 3 ], [ 7, 13 ], [ 11, 17 ], [ 14, 27 ], [ 15, 27 ], [ 16, 20 ], [ 25, 12 ], [ 25, 16 ] ] gap> C:=[25,27]; [ 25, 27 ] gap> GoodSemigroup(G,C); <Good semigroup>
Good semigroups are a natural extension of numerical semigroups, and so some of their notable elements are called in the same way as in the one dimensional case.
‣ BelongsToGoodSemigroup ( v, S ) | ( operation ) |
‣ \in ( v, S ) | ( operation ) |
S is a good semigroup and v is a pair of integers. The output is true
if v is in S, and false
otherwise. Other ways to use this operation are \in(v,S)
and v in S
.
gap> s:=NumericalSemigroup(2,3);; gap> e:=6+s;; gap> dup:=NumericalSemigroupDuplication(s,e);; gap> BelongsToGoodSemigroup([2,2],dup); true gap> [2,2] in dup; true gap> [3,2] in dup; false
‣ Conductor ( S ) | ( function ) |
‣ ConductorOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. The output is its conductor.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=6+s;; gap> dup:=NumericalSemigroupDuplication(s,e); <Good semigroup> gap> Conductor(dup); [ 11, 11 ] gap> ConductorOfGoodSemigroup(dup); [ 11, 11 ]
‣ Multiplicity ( S ) | ( attribute ) |
S is a good semigroup. The output is its multiplicity (the minimum of the nonzero elements of the semigroup with respect to the usual partial order). It the semigroup is not local, it returns an error.
gap> s:=GoodSemigroup([[2,2],[3,3]],[4,4]); <Good semigroup> gap> Multiplicity(s); [ 2, 2 ]
‣ IsLocal ( S ) | ( property ) |
S is a good semigroup. Returns true if the semigroup is local, and false otherwise.
gap> s:=GoodSemigroup([[2,2],[3,3]],[4,4]); <Good semigroup> gap> IsLoca(s); true
‣ SmallElements ( S ) | ( function ) |
‣ SmallElementsOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. The output is its set of small elements, that is, the elements smaller than its conductor with respect to the usual partial ordering.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=6+s;; gap> dup:=NumericalSemigroupDuplication(s,e); <Good semigroup> gap> SmallElementsOfGoodSemigroup(dup); [ [ 0, 0 ], [ 3, 3 ], [ 5, 5 ], [ 6, 6 ], [ 6, 7 ], [ 6, 8 ], [ 6, 9 ], [ 6, 10 ], [ 6, 11 ], [ 7, 6 ], [ 7, 7 ], [ 8, 6 ], [ 8, 8 ], [ 9, 6 ], [ 9, 9 ], [ 9, 10 ], [ 9, 11 ], [ 10, 6 ], [ 10, 9 ], [ 10, 10 ], [ 11, 6 ], [ 11, 9 ], [ 11, 11 ] ]
‣ RepresentsSmallElementsOfGoodSemigroup ( X ) | ( function ) |
X is a list of points in the nonnegative orthant of the plane with integer coordinates. Determines if it represents the set of small elements of a good semigroup.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=6+s;; gap> dup:=NumericalSemigroupDuplication(s,e); <Good semigroup> gap> SmallElementsOfGoodSemigroup(dup); [ [ 0, 0 ], [ 3, 3 ], [ 5, 5 ], [ 6, 6 ], [ 6, 7 ], [ 6, 8 ], [ 6, 9 ], [ 6, 10 ], [ 6, 11 ], [ 7, 6 ], [ 7, 7 ], [ 8, 6 ], [ 8, 8 ], [ 9, 6 ], [ 9, 9 ], [ 9, 10 ], [ 9, 11 ], [ 10, 6 ], [ 10, 9 ], [ 10, 10 ], [ 11, 6 ], [ 11, 9 ], [ 11, 11 ] ] gap> RepresentsSmallElementsOfGoodSemigroup(last); true
‣ GoodSemigroupBySmallElements ( X ) | ( function ) |
X is a list of points in the nonnegative orthant of the plane with integer coordinates. Determines if it represents the set of small elements of a good semigroup, and then outputs the good semigroup having X as set of small elements.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=6+s;; gap> dup:=NumericalSemigroupDuplication(s,e); <Good semigroup> gap> SmallElementsOfGoodSemigroup(dup); [ [ 0, 0 ], [ 3, 3 ], [ 5, 5 ], [ 6, 6 ], [ 6, 7 ], [ 6, 8 ], [ 6, 9 ], [ 6, 10 ], [ 6, 11 ], [ 7, 6 ], [ 7, 7 ], [ 8, 6 ], [ 8, 8 ], [ 9, 6 ], [ 9, 9 ], [ 9, 10 ], [ 9, 11 ], [ 10, 6 ], [ 10, 9 ], [ 10, 10 ], [ 11, 6 ], [ 11, 9 ], [ 11, 11 ] ] gap> G:=GoodSemigroupBySmallElements(last); <Good semigroup> gap> dup=G; true
‣ MaximalElementsOfGoodSemigroup ( S ) | ( attribute ) |
S is a good semigroup. The output is the set of elements \((x,y)\) of S with the following property: there is no other element \((x',y')\) in S with \((x,y)\le (x',y')\) sharing a coordinate with \((x,y)\).
gap> G:=[[4,3],[7,13],[11,17]];; gap> g:=GoodSemigroup(G,[11,17]);; gap> mx:=MaximalElementsOfGoodSemigroup(g); [ [ 0, 0 ], [ 4, 3 ], [ 7, 13 ], [ 8, 6 ] ]
‣ IrreducibleMaximalElementsOfGoodSemigroup ( S ) | ( attribute ) |
S is a good semigroup. The output is the set of elements nonzero maximal elements that cannot be expressed as a sum of two nonzero maximal elements of the good semigroup.
gap> G:=[[4,3],[7,13],[11,17]];; gap> g:=GoodSemigroup(G,[11,17]);; gap> IrreducibleMaximalElementsOfGoodSemigroup(g); [ [ 4, 3 ], [ 7, 13 ] ]
‣ GoodSemigroupByMaximalElements ( S, T, M, C ) | ( function ) |
S and T are numerical semigroups, M is a list of pairs in \(S\times T\). C is the conductor, and thus a pair of nonnegative integers. The output is the set of elements of \(S\times T\) that are not above an element in M, that is, if they share a coordinate with an element in M, then they must be smaller or equal to that element with respect to the usual partial ordering. The output is a good semigroup, if M is an correct set of maximal elements.
gap> G:=[[4,3],[7,13],[11,17]];; gap> g:=GoodSemigroup(G,[11,17]);; gap> sm:=SmallElements(g);; gap> mx:=MaximalElementsOfGoodSemigroup(g);; gap> s:=NumericalSemigroupBySmallElements(Set(sm,x->x[1]));; gap> t:=NumericalSemigroupBySmallElements(Set(sm,x->x[2]));; gap> Conductor(g); [ 11, 15 ] gap> gg:=GoodSemigroupByMaximalElements(s,t,mx,[11,15]); <Good semigroup> gap> gg=g; true
‣ MinimalGoodGenerators ( S ) | ( attribute ) |
‣ MinimalGoodGeneratingSystemOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. The output is its minimal good generating system (which is unique in the local case, [DGMT18]).
MinimalGoodGeneratingSystemOfGoodSemigroup
and MinimalGoodGenerators
are synonyms.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=6+s;; gap> dup:=NumericalSemigroupDuplication(s,e); <Good semigroup> gap> MinimalGoodGenerators(dup); [ [ 3, 3 ], [ 5, 5 ], [ 6, 11 ], [ 7, 7 ], [ 11, 6 ] ] gap> MinimalGoodGeneratingSystemOfGoodSemigroup(dup); [ [ 3, 3 ], [ 5, 5 ], [ 6, 11 ], [ 7, 7 ], [ 11, 6 ] ]
‣ ProjectionOfAGoodSemigroup ( S, num ) | ( function ) |
S is a good semigroup and num is an integer, 1 or 2, which identify the numerical semigroup projection to compute. The output is the projection \(S_i=\{\alpha_i\mid (\alpha_1,\alpha_2)\in S\}\).
gap> S:=GoodSemigroupBySmallElements([ [ 0, 0 ], [ 4, 5 ], [ 4, 6 ], [ 8, 5 ], [ 8, 7 ], [ 8, 8 ], [ 8, 10 ], [ 11, 5 ], [ 11, 7], [ 11, 8 ], [ 11, 10 ], [ 12, 5 ], [ 12, 7 ], [ 12, 8 ], [ 12, 10 ], [ 15, 5 ], [ 15, 7 ], [ 15, 8 ], [ 15, 10 ], [ 16, 5 ], [ 16, 7 ], [ 16, 8 ], [ 16, 10 ], [ 18, 5 ], [ 19, 7 ], [ 19, 8 ], [ 19, 10 ], [ 20, 7 ], [ 20, 8 ], [ 20, 10 ], [ 22, 7 ], [ 22, 8 ], [ 22, 10 ], [ 23, 7 ], [ 23, 8 ], [ 23, 10 ], [ 24, 7 ], [ 24, 8 ], [ 24, 10 ], [ 25, 7 ], [ 25, 8 ], [ 26, 7 ], [ 26, 10 ] ]); <Good semigroup> gap> S1:=ProjectionOfGoodSemigroup(S,1);; gap> SmallElements(S1); [ 0, 4, 8, 11, 12, 15, 16, 18, 19, 20, 22 ] gap> S2:=ProjectionOfGoodSemigroup(S,2);; gap> SmallElements(S2); [ 0, 5, 6, 7, 8, 10 ]
‣ Genus ( S ) | ( attribute ) |
‣ GenusOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. The output is the genus of S, defined as \(g(S)=d(\mathbb{N}^2\setminus C(S))\), where \(C(S)=\{(\alpha_1,\alpha_2)\in S\mid (\alpha_1,\alpha_2)\geq c\}\), and \(c\) is the conductor.
gap> S:=GoodSemigroupBySmallElements([ [ 0, 0 ], [ 4, 5 ], [ 4, 6 ], [ 8, 5 ], [ 8, 7 ], [ 8, 8 ], [ 8, 10 ], [ 11, 5 ], [ 11, 7], [ 11, 8 ], [ 11, 10 ], [ 12, 5 ], [ 12, 7 ], [ 12, 8 ], [ 12, 10 ], [ 15, 5 ], [ 15, 7 ], [ 15, 8 ], [ 15, 10 ], [ 16, 5 ], [ 16, 7 ], [ 16, 8 ], [ 16, 10 ], [ 18, 5 ], [ 19, 7 ], [ 19, 8 ], [ 19, 10 ], [ 20, 7 ], [ 20, 8 ], [ 20, 10 ], [ 22, 7 ], [ 22, 8 ], [ 22, 10 ], [ 23, 7 ], [ 23, 8 ], [ 23, 10 ], [ 24, 7 ], [ 24, 8 ], [ 24, 10 ], [ 25, 7 ], [ 25, 8 ], [ 26, 7 ], [ 26, 10 ] ]); <Good semigroup> gap> GenusOfGoodSemigroup(S); 21
‣ Length ( S ) | ( attribute ) |
‣ LengthOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. The output is the lenght of S, defined as \(g(S)=d(S\setminus C(S))\), where \(C(S)=\{(\alpha_1,\alpha_2)\in S\mid (\alpha_1,\alpha_2)\geq c\}\) (\(c\) is the conductor).
When the good semigroup is the good semigroup of valuation of a ring \(R\), it corresponds to the length of \(R/C\) as \(R\)-module, with \(C\) the conductor of \(R\). See [BDF00b], [BDF00a], [DdlM88].
gap> S:=GoodSemigroupBySmallElements([ [ 0, 0 ], [ 4, 5 ], [ 4, 6 ], [ 8, 5 ], [ 8, 7 ], [ 8, 8 ], [ 8, 10 ], [ 11, 5 ], [ 11, 7], [ 11, 8 ], [ 11, 10 ], [ 12, 5 ], [ 12, 7 ], [ 12, 8 ], [ 12, 10 ], [ 15, 5 ], [ 15, 7 ], [ 15, 8 ], [ 15, 10 ], [ 16, 5 ], [ 16, 7 ], [ 16, 8 ], [ 16, 10 ], [ 18, 5 ], [ 19, 7 ], [ 19, 8 ], [ 19, 10 ], [ 20, 7 ], [ 20, 8 ], [ 20, 10 ], [ 22, 7 ], [ 22, 8 ], [ 22, 10 ], [ 23, 7 ], [ 23, 8 ], [ 23, 10 ], [ 24, 7 ], [ 24, 8 ], [ 24, 10 ], [ 25, 7 ], [ 25, 8 ], [ 26, 7 ], [ 26, 10 ] ]); <Good semigroup> gap> Length(S); 15 gap> LengthOfGoodSemigroup(S); 15
‣ AperySetOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. The output is the list of the Apery set of S, defined as \(Ap(S)=\{\alpha\in S\mid \alpha-e \notin S\), where \(e\) is the multiplicity of the good semigroup.
gap> S:=GoodSemigroupBySmallElements([ [ 0, 0 ], [ 4, 5 ], [ 4, 6 ], [ 8, 5 ], [ 8, 7 ], [ 8, 8 ], [ 8, 10 ], [ 11, 5 ], [ 11, 7], [ 11, 8 ], [ 11, 10 ], [ 12, 5 ], [ 12, 7 ], [ 12, 8 ], [ 12, 10 ], [ 15, 5 ], [ 15, 7 ], [ 15, 8 ], [ 15, 10 ], [ 16, 5 ], [ 16, 7 ], [ 16, 8 ], [ 16, 10 ], [ 18, 5 ], [ 19, 7 ], [ 19, 8 ], [ 19, 10 ], [ 20, 7 ], [ 20, 8 ], [ 20, 10 ], [ 22, 7 ], [ 22, 8 ], [ 22, 10 ], [ 23, 7 ], [ 23, 8 ], [ 23, 10 ], [ 24, 7 ], [ 24, 8 ], [ 24, 10 ], [ 25, 7 ], [ 25, 8 ], [ 26, 7 ], [ 26, 10 ] ]); <Good semigroup> gap> AperySetOfGoodSemigroup(S); [ [ 0, 0 ], [ 4, 6 ], [ 8, 5 ], [ 8, 7 ], [ 8, 8 ], [ 8, 12 ], [ 8, 13 ], [ 8, 14 ], [ 8, 15 ], [ 11, 5 ], [ 11, 7 ], [ 11, 8 ], [ 11, 10 ], [ 11, 11 ], [ 11, 12 ], [ 11, 13 ], [ 11, 14 ], [ 11, 15 ], [ 12, 5 ], [ 12, 7 ], [ 12, 8 ], [ 12, 11 ], [ 12, 14 ], [ 15, 5 ], [ 15, 7 ], [ 15, 8 ], [ 15, 11 ], [ 15, 14 ], [ 16, 5 ], [ 16, 7 ], [ 16, 8 ], [ 16, 11 ], [ 16, 14 ], [ 18, 5 ], [ 19, 7 ], [ 19, 8 ], [ 19, 11 ], [ 19, 14 ], [ 20, 7 ], [ 20, 8 ], [ 20, 11 ], [ 20, 14 ], [ 22, 7 ], [ 22, 8 ], [ 22, 11 ], [ 22, 12 ], [ 22, 13 ], [ 22, 14 ], [ 22, 15 ], [ 23, 7 ], [ 23, 8 ], [ 23, 10 ], [ 23, 11 ], [ 23, 14 ], [ 24, 7 ], [ 24, 8 ], [ 24, 10 ], [ 24, 11 ], [ 24, 14 ], [ 25, 7 ], [ 25, 8 ], [ 26, 7 ], [ 26, 10 ], [ 26, 11 ], [ 26, 14 ], [ 27, 7 ], [ 27, 10 ], [ 27, 11 ], [ 27, 14 ], [ 28, 7 ], [ 28, 10 ], [ 28, 11 ], [ 28, 14 ], [ 29, 7 ], [ 29, 10 ], [ 29, 11 ], [ 29, 14 ], [ 29, 15 ], [ 30, 7 ], [ 30, 10 ], [ 30, 11 ], [ 30, 13 ], [ 30, 14 ] ]
‣ StratifiedAperySetOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. The function prints the number of level of the Apery Set. The output is a list where the \(i\)th element is the \(i\)th level of the Apery Set of S.
gap> S:=GoodSemigroupBySmallElements([ [ 0, 0 ], [ 4, 5 ], [ 4, 6 ], [ 8, 5 ], [ 8, 7 ], [ 8, 8 ], [ 8, 10 ], [ 11, 5 ], [ 11, 7], [ 11, 8 ], [ 11, 10 ], [ 12, 5 ], [ 12, 7 ], [ 12, 8 ], [ 12, 10 ], [ 15, 5 ], [ 15, 7 ], [ 15, 8 ], [ 15, 10 ], [ 16, 5 ], [ 16, 7 ], [ 16, 8 ], [ 16, 10 ], [ 18, 5 ], [ 19, 7 ], [ 19, 8 ], [ 19, 10 ], [ 20, 7 ], [ 20, 8 ], [ 20, 10 ], [ 22, 7 ], [ 22, 8 ], [ 22, 10 ], [ 23, 7 ], [ 23, 8 ], [ 23, 10 ], [ 24, 7 ], [ 24, 8 ], [ 24, 10 ], [ 25, 7 ], [ 25, 8 ], [ 26, 7 ], [ 26, 10 ] ]);; gap> StratifiedAperySetOfGoodSemigroup(S); [ [ [ 0, 0 ] ], [ [ 4, 6 ], [ 8, 5 ], [ 11, 5 ] ], [ [ 8, 7 ], [ 11, 7 ], [ 12, 5 ], [ 15, 5 ], [ 16, 5 ], [ 18, 5 ] ], [ [ 8, 8 ], [ 11, 8 ], [ 12, 7 ], [ 15, 7 ], [ 16, 7 ], [ 19, 7 ], [ 20, 7 ], [ 22, 7 ], [ 23, 7 ], [ 24, 7 ], [ 25, 7 ] ], [ [ 8, 12 ], [ 8, 13 ], [ 8, 14 ], [ 11, 10 ], [ 11, 11 ], [ 12, 8 ], [ 15, 8 ], [ 16, 8 ], [ 19, 8 ], [ 20, 8 ], [ 22, 8 ], [ 23, 8 ], [ 24, 8 ], [ 25, 8 ], [ 26, 7 ], [ 27, 7 ], [ 28, 7 ], [ 29, 7 ], [ 30, 7 ] ], [ [ 8, 15 ], [ 11, 12 ], [ 11, 13 ], [ 11, 14 ], [ 12, 11 ], [ 15, 11 ], [ 16, 11 ], [ 19, 11 ], [ 20, 11 ], [ 22, 11 ], [ 23, 10 ], [ 24, 10 ], [ 26, 10 ], [ 27, 10 ], [ 28, 10 ], [ 29, 10 ], [ 30, 10 ] ], [ [ 11, 15 ], [ 12, 14 ], [ 15, 14 ], [ 16, 14 ], [ 19, 14 ], [ 20, 14 ], [ 22, 12 ], [ 22, 13 ], [ 22, 14 ], [ 23, 11 ], [ 24, 11 ], [ 26, 11 ], [ 27, 11 ], [ 28, 11 ], [ 29, 11 ], [ 30, 11 ] ], [ [ 22, 15 ], [ 23, 14 ], [ 24, 14 ], [ 26, 14 ], [ 27, 14 ], [ 28, 14 ], [ 29, 14 ], [ 30, 13 ] ], [ [ 29, 15 ], [ 30, 14 ] ] ]
The concept of symmetry in a numerical semigroup extends to good semigroups. Here we describe a test for symmetry.
‣ IsSymmetric ( S ) | ( attribute ) |
‣ IsSymmetricGoodSemigroup ( S ) | ( attribute ) |
S is a good semigroup. Determines if S is a symmetric good semigroup.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=CanonicalIdealOfNumericalSemigroup(s);; gap> e:=15+e;; gap> dup:=NumericalSemigroupDuplication(s,e);; gap> IsSymmetric(dup); true gap> IsSymmetricGoodSemigroup(dup); true
The definition of Arf good semigroup is similar to the definition of Arf numerical semigroup. In this section, we provide a function to compute the Arf good closure of a good semigroup.
‣ ArfClosure ( S ) | ( operation ) |
‣ ArfGoodSemigroupClosure ( S ) | ( function ) |
S is a good semigroup. Determines the Arf good semigroup closure of S.
gap> G:=[[3,3],[4,4],[5,4],[4,6]]; [ [ 3, 3 ], [ 4, 4 ], [ 5, 4 ], [ 4, 6 ] ] gap> C:=[6,6]; [ 6, 6 ] gap> S:=GoodSemigroup(G,C); <Good semigroup> gap> SmallElements(S); [ [ 0, 0 ], [ 3, 3 ], [ 4, 4 ], [ 4, 6 ], [ 5, 4 ], [ 6, 6 ] ] gap> A:=ArfClosure(S); <Good semigroup> gap> SmallElements(A); [ [ 0, 0 ], [ 3, 3 ], [ 4, 4 ] ] gap> ArfGoodSemigroupClosure(S) = ArfClosure(S); true
A relative ideal \(I\) of a relative good semigroup \(M\) is a relative good ideal if \(I\) fulfills conditions (G1) and (G2) of the definition of good semigroup.
‣ GoodIdeal ( X, S ) | ( function ) |
X is a list of points with nonnegative integer coordinates and \(S\) is good semigroup. Decides if the closure of \(X+S\) under infimums is a relative good ideal of \(S\), and if so, outputs it.
gap> G:=[[4,3],[7,13],[11,17],[14,27],[15,27],[16,20],[25,12],[25,16]]; [ [ 4, 3 ], [ 7, 13 ], [ 11, 17 ], [ 14, 27 ], [ 15, 27 ], [ 16, 20 ], [ 25, 12 ], [ 25, 16 ] ] gap> C:=[25,27]; [ 25, 27 ] gap> g := GoodSemigroup(G,C); <Good semigroup> gap> i:=GoodIdeal([[2,3]],g); <Good ideal of good semigroup>
‣ GoodGeneratingSystemOfGoodIdeal ( I ) | ( function ) |
I is a good ideal of a good semigroup. The output is a good generating system of I.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=10+s;; gap> d:=NumericalSemigroupDuplication(s,e);; gap> e:=GoodIdeal([[2,3],[3,2],[2,2]],d);; gap> GoodGeneratingSystemOfGoodIdeal(e); [ [ 2, 2 ], [ 2, 3 ], [ 3, 2 ] ]
‣ AmbientGoodSemigroupOfGoodIdeal ( I ) | ( function ) |
If I is a good ideal of a good semigroup \(M\), then the output is \(M\). The output is a good generating system of I.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=10+s;; gap> a:=AmalgamationOfNumericalSemigroups(s,e,5);; gap> e:=GoodIdeal([[2,3],[3,2],[2,2]],a);; gap> a=AmbientGoodSemigroupOfGoodIdeal(e); true
‣ MinimalGoodGeneratingSystemOfGoodIdeal ( I ) | ( function ) |
I is a good ideal of a good semigroup. The output is the minimal good generating system of I.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=10+s;; gap> d:=NumericalSemigroupDuplication(s,e);; gap> e:=GoodIdeal([[2,3],[3,2],[2,2]],d);; gap> MinimalGoodGeneratingSystemOfGoodIdeal(e); [ [ 2, 3 ], [ 3, 2 ] ]
‣ BelongsToGoodIdeal ( v, I ) | ( operation ) |
‣ \in ( v, I ) | ( operation ) |
I is a good ideal of a good semigroup and v is a pair of integers. The output is true
if v is in I, and false
otherwise. Other ways to use this operation are \in(v,I)
and v in I
.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=10+s;; gap> d:=NumericalSemigroupDuplication(s,e);; gap> e:=GoodIdeal([[2,3],[3,2]],d);; gap> [1,1] in e; false gap> [2,2] in e; true
‣ SmallElements ( I ) | ( function ) |
‣ SmallElementsOfGoodIdeal ( I ) | ( function ) |
I is a good ideal. The output is its set of small elements, that is, the elements smaller than its conductor and larger than its minimum element (with respect to the usual partial ordering).
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=10+s;; gap> d:=NumericalSemigroupDuplication(s,e);; gap> e:=GoodIdeal([[2,3],[3,2]],d);; gap> SmallElements(e); [ [ 2, 2 ], [ 2, 3 ], [ 3, 2 ], [ 5, 5 ], [ 5, 6 ], [ 6, 5 ], [ 7, 7 ] ]
‣ CanonicalIdealOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. The output is the canonical ideal of S.
gap> s:=NumericalSemigroup(3,5,7);; gap> e:=10+s;; gap> d:=NumericalSemigroupDuplication(s,e);; gap> c:=CanonicalIdealOfGoodSemigroup(d);; gap> MinimalGoodGeneratingSystemOfGoodIdeal(c); [ [ 0, 0 ], [ 2, 2 ] ]
‣ AbsoluteIrreduciblesOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup; this function returns the absolute irreducibles of S: nonzero elements of the semigroup that are irreducible with respect to both operations (that is, in the semiring \((S,\mathrm{min},+)\)). The notations \((x,\infty)\) and \((\infty,y)\) denote that starting from a certain element the respective line is included in the semigroup.
gap> S:=GoodSemigroupBySmallElements([ [ 0, 0 ], [ 5, 4 ], [ 5, 8 ], [ 5, 11 ], [ 5, 12 ], [ 5, 13 ], [ 6, 4 ], [ 7, 8 ], [ 7, 11 ], [ 7, 12 ], [ 7, 14 ], [ 8, 8 ], [ 8, 11 ], [ 8, 12 ], [ 8, 15 ], [ 8, 16 ], [ 8, 17 ], [ 8, 18 ], [ 10, 8 ], [ 10, 11 ], [ 10, 12 ], [ 10, 15 ], [ 10, 16 ], [ 10, 17 ], [ 10, 18 ], [ 11, 8 ], [ 11, 11 ], [ 11, 12 ], [ 11, 15 ], [ 11, 16 ], [ 11, 17 ], [ 12, 8 ], [ 12, 11 ], [ 12, 12 ], [ 12, 15 ], [ 12, 16 ], [ 12, 18 ] ]); <Good semigroup> gap> AbsoluteIrreduciblesOfGoodSemigroup(S); [ [ 5, 13 ], [ 6, 4 ], [ 7, 14 ], [ 8, infinity ], [ 10, infinity ], [ 12, infinity ], [ infinity, 8 ], [ infinity, 11 ], [ infinity, 18 ] ]
‣ TracksOfGoodSemigroup ( S ) | ( function ) |
S is a good semigroup. This function returns the tracks of the good semigroup (see [MZ20] for the definition of track). Tracks behave like minimal generators in a numerical semigroups, because removing the elements of a track from the semigroup, with the exception of the infimums of incomparable elements, we obtain a good semigroup contained in S.
A track \(T(\alpha_1,\ldots,\alpha_n)\) is represented with the list of the elements \(\alpha_1,\ldots,\alpha_n\) that determine it completely.
gap> S:=GoodSemigroupBySmallElements([ [ 0, 0 ], [ 4, 3 ], [ 8, 6 ], [ 8, 7 ], [ 12, 6 ], [ 12, 9 ], [ 12, 10 ], [ 16, 6 ], [ 16, 9 ], [ 16, 12 ], [ 16, 13 ], [ 16, 14 ], [ 18, 6 ], [ 20, 9 ], [ 20, 12 ], [ 20, 13 ], [ 20, 15 ], [ 20, 16 ], [ 20, 17 ], [ 22, 9 ], [ 24, 12 ], [ 24, 13 ], [ 24, 15 ], [ 24, 16 ], [ 24, 18 ], [ 26, 12 ], [ 26, 13 ], [ 28, 12 ], [ 28, 15 ], [ 28, 16 ], [ 28, 18 ],[ 30, 12 ], [ 30, 15 ], [ 30, 16 ], [ 30, 18 ] ]); <Good semigroup> gap> TracksOfGoodSemigroup(S); [ [ [ 4, 3 ] ], [ [ 8, 7 ], [ 18, 6 ] ], [ [ 30, infinity ], [ infinity, 16 ] ], [ [ 31, infinity ], [ infinity, 16 ] ], [ [ 31, infinity ] ], [ [ 33, infinity ], [ infinity, 16 ] ], [ [ 33, infinity ] ] ]
generated by GAPDoc2HTML