Is GAP capable of symbolic calculations?
For example, I would like to be able to expand and simplify long algebraic expressions such as $(ab+c)^4(a+3d)-bd+11$, define a matrix $\begin{pmatrix} a & b \\ c & d \end{pmatrix}$ and take its powers and perform similar formal operations without necessarily specifying numerical values of the variables. Ideally, one should be able to specify a ring and then the program would respect its properties (ie $12x=5x$ over $\mathbb{F}_7$ or the fact that $a^{2^m}=(-a)^{2^m}$ for all $a, m \in \mathbb{Z})$.
Browsing through the documentation, I wasn't able to find anything, but it seems that it should be possible considering how many more impressive tasks it can carry out. Is there a package for that or something similar? If not, I would also be interested in other suggestions for symbolic calculators.