LoadPackage("FrancyMonoids");
#I Please load package NormalizInterface or 4ti2Interface #I to have extended functionalities. #I Please load package SingularInterface or singular (not both) #I or GradedModules to have extended functionalities.
true
s:=NumericalSemigroup(1);
The numerical semigroup N
DrawTreeOfSonsOfNumericalSemigroup(s,l,gensfunc)
¶This function draws the thre of the sons of s
up to level l
with respect to gensfunc
(a function that gets minimal generators according to a given variety of numerical semigroups, for instance, MinimalGenerators
)
DrawTreeOfSonsOfNumericalSemigroup(s,5,MinimalGenerators);
s:=NumericalSemigroup(4,6,9);
Numerical semigroup with 3 generators
DrawTreeOfGluingsOfNumericalSemigroup(s,expand...)
¶Draws the decomposition of s
as a gluing of numerical semigroups, and then proceeds recursively with each of the factors. Decomposition is not unique, and this is why a tree is drawn. The optional argument expand
may be true or false, and it makes the tree fully expandable or not.
DrawTreeOfGluingsOfNumericalSemigroup(s,true);
s:=NumericalSemigroup(3,5,7);
Numerical semigroup with 3 generators
DrawHasseDiagramOfNumericalSemigroup(s, A)
¶Draws the Hasse diagram of A
(a set of integers) with respect to the ordering induced by s
: $a\preceq b$ if $b-a$ is in s
.
DrawHasseDiagramOfNumericalSemigroup(s,[1..20]);
Of special interest is the Hasse diagram of an Apéry set or of the Betti elements.
s:=NumericalSemigroup(5,7,9,11);
DrawHasseDiagramOfNumericalSemigroup(s,AperyList(s,10));
Numerical semigroup with 4 generators
DrawOverSemigroupsNumericalSemigroup(s)
¶Draws the Hasse diagram of oversemigroups of the numerical semigroup s
.
s:=NumericalSemigroup(5,7,11,13);
DrawOverSemigroupsNumericalSemigroup(s);
Numerical semigroup with 4 generators
s:=NumericalSemigroup(3,5,7);
Numerical semigroup with 3 generators
f:=FactorizationsElementWRTNumericalSemigroup(30,s);
[ [ 10, 0, 0 ], [ 5, 3, 0 ], [ 0, 6, 0 ], [ 6, 1, 1 ], [ 1, 4, 1 ], [ 2, 2, 2 ], [ 3, 0, 3 ] ]
DrawFactorizationGraph(f)
¶Draws the factorization graph of a set of factorizations f
, the complete graph with vertices the elements of f
. Labels are labeled with distances between the nodes they join. It also draws a minimal spanning tree (with minimal distances) and thus one can read the Catenary degree from this tree.
DrawFactorizationGraph(f);
DrawEliahouGraph(f)
¶Draws the Eliahou's graph associated to the set of factorizations f
. The vertices of the graph are the elements in f
, and two vertices are joined with an edge if they have common support.
DrawEliahouGraph(f);
DrawRosalesGraph(n,s)
¶Draws the Rosales graph associated to n
in s
. The semigroup s
can be either a numerical or an affine semigroup. The vertices of the graph are the minimal generators a
of s
such that n-a
is in s
, and edges are pairs ab
such that n-(a+b)
is in s
.
DrawRosalesGraph(10,s);
BettiElements(s);
[ 10, 12, 14 ]