Given a finite dimensional quiver algebra $B$ and a basic idempotent $e$. Is there a quick way to obtain the algebra B/BeB by quiver and relations using the GAP-package QPA?
One way to do this is to obtain the module $B/BeB$ using CoKernel(TraceOfModule(eB,B)) and the calculate the endomorphism ring of $B/BeB$. This is however very slow in most cases so I wonder whether there is a quicker way.
Assume that $B = kQ/I$ and $e$ is a sum of vertices for a quiver $Q$ and admissible relations $I$. Let $Q'$ be the full subquiver of $Q$ consisting of all the vertices in $Q$ except those occurring in $e$. Then $kQ = kQ' \oplus kQ e kQ$ as a vectorspace over $k$. Consider the natural algebra homomorphism $kQ' \to B/BeB \simeq kQ/(I + kQekQ)$. Then we can write $I = I' \oplus V$ for some subspace $I'$ of $kQ'$ and $V$ of $kQekQ$. Using this I think one can show that $B/BeB \simeq kQ'/I'$. There is now a function in QPA that does this as follows: