examples::QuiverWithRelationsAlgebra – The algebra of the paths of a quiver modulo relations
examples::QuiverWithRelationsAlgebra implements an algebra presented with quiver (i.e. a directed graph) and admissible relations, it provides also a method that computes the dimension of the Hochschild cohomology spaces of the algebra.
Details:
Assume that is a field. If is a quiver (i.e. a directed graph), the path algebra of is denoted by . The path algebra has as basis the set of oriented paths of (including the stationnary path at each vertex) and the product is induced by the concatenation of the paths.
An admissible ideal of is an ideal such that is generated by linear combinations of paths of length at least 2 and such that contains all the paths with length large enough. This technical condition ensures that if is an admissible ideal of and is an admissible ideal of and if is isomorphic to as -algebras, then and are isomorphic as directed graphs.
With these notations, the algebra is called presented with the quiver and admissible relations given by .
For the implementation of the algebra , the domain takes a pair theGraph, theRel as parameter, where theGraph encodes the directed graph and theRel encodes a list of generating elements of .
The oriented graph theGraph is a list with two elements. The first element of theGraph is the number of vertices of the graph, we always assume that the vertices are . The second element of theGraph is a table which assigns to each arrow the list containing the source and the target of this arrow: the elements of this table are of the form alpha=[source of alpha, target of alpha]
.
The list theRel which generates the ideal is encoded as follows, an element rel of theRel has the following structure: rel = [ [t_1, path1],..., [t_n, pathn] ] where are paths of the graph, i.e. elements of the combinatorial class combinat::graphPaths(theGraph), and are scalars. The term rel represents the element of the ideal .
HH – returns the dimension of the Hochschild cohomology
()::HH(Type::NonNegInt n)
Returns the dimension of the n-th Hochschild cohomology group of the implemented algebra.
Example 1:
For this example we will take the algebra with quiver equal to the following graph:
theGraph := [ 5, table(a1 = [1, 2], a2 = [2, 3], a3 = [3, 4], a4 = [4, 5], b = [2, 4], c = [1, 5])]:
And for the generating list of we will take the following list:
theRel := [
[[1, [3, a2, a1, 1]]],
[[1, [4, b, a1, 1]]],
[[1, [4, a3, a2, 2]]],
[[1, [5, a4, b, 2]]],
[[1, [5, a4, a3, 3]]]
]:
This means that is generated by the set of paths .
Let us now set to be the algebra with quiver and relations as above:
alg := examples::QuiverWithRelationsAlgebra(theGraph, theRel):
We now can compute the dimension of the Hochschild cohomology spaces:
alg::HH(0)
The space has dimension .
alg::HH(1)
The space has dimension .
alg::HH(2)
The space has dimension .
alg::HH(3)
The space has dimension .
alg::HH(4)
The space has dimension .
Example 2:
Let us take the algebra with quiver equal to the following graph:
theGraph := [
3,
table(
a1 = [3, 2],
a2 = [2, 1],
b1 = [3, 2],
b2 = [2, 1]
)
]:
And for the generating list of we will take the following list:
theRel := [
[[1, [1, a2, a1, 3]], [-1, [1, b2, b1, 3]]],
[[1, [1, a2, b1, 3]], [-1, [1, b2, a1, 3]]]
]:
This means that I= a2 a1 - b2 b1, a2 b1 - b2 a1.
Let us now set to be the algebra with quiver and relations as above:
alg := examples::QuiverWithRelationsAlgebra(theGraph, theRel):
We now can compute the dimension of the Hochschild cohomology spaces:
alg::HH(0)
The space has dimension .
alg::HH(1)
The space has dimension .
alg::HH(2)
The space has dimension .
alg::HH(3)
The space has dimension .
Changes in MuPAD 3.2
New Function.