If $F$ is the free algebra over the rational numbers with generators ${a,b,c,\ldots}$, then $F\otimes F$ is impemented
F<a,b,c>=FreeAlgebra(QQ)
Fsquare=F.tensor_square()
A typical element is
F(a) # F(1)
F(a) # F(b^2)
(1/2)*F(1) # F(a* b*a* c^2)
A first issue I have is that -- despite the typing alternative e.g. a.tensor(b)
for a#b
-- output is recognised as a comment after the hashtag. How to solve this?
And more importantly, how read off each factor of this type of expressions?