Let $A$ be a finite-dimensional $k$-algebra.
I would like to calculate the second Hochschild cohomology group $H^2(TA,DA)$, where $TA$ is the trivial extension of $A$, and $DA = \mathrm{Hom}_k(A, k)$.
For example
Q := Quiver(2, [[1,1,"a"],[1,2,"b"]]);
kQ := PathAlgebra(Rationals, Q);
AssignGeneratorVariables(kQ);
relations := [a*a];
A := kQ/relations;
TA := TrivialExtensionOfQuiverAlgebra(A);
DA:=OppositePathAlgebra(A);
My attempt was:
N := AlgebraAsModuleOverEnvelopingAlgebra(TA);
M := BiAlgebraModule(TA, TA, \*, \*, DA);
HH2 := ExtOverAlgebra(NthSyzygy(N, 1), M);
Maybe a theoretical error… the operations of the bimodule are wrong, I don’t know.
Here is a work around/hack to do it, I think:
Here is the actual output from running these commands:
This shows that the second Hochschild cohomology group is 2 dimensional.
I hope that these comments are helpful.
The QPA-team.