TITLE: Dimension of the space of algebraic Riemann curvature tensors
QUESTION [11 upvotes]: Given $n\in \mathbb N$, consider the vector space $\mathbb R^{n^4}$ whose elements I will denote by $(R_{abcd})$ with indices $a,b,c,d \in \{1, \dots, n\}$. This vector space is $n^4$-dimensional. The space of algebraic Riemann curvature tensors is the subspace $V$ of $\mathbb R^4$ consisting of all $(R_{abcd})$ satisfying the following symmetries:

$R_{abcd} = - R_{bacd}$
$R_{abcd} = - R_{abdc}$
$R_{abcd} + R_{cabd} + R_{bcad} = 0$


How would one go about calculating $\dim V$?

Some thoughts:
 The three symmetries above imply another symmetry. Namely $R_{abcd} = R_{cdab}$. Combining this with the first two symmetries, it follows that $R_{abcd}$ can be viewed as a symmetric matrix of antisymmetric matrices. Since the space of antisymmetric matrices is $\binom n2$-dimensional, it follows that the first two symmetries together with the new one will cut out a space of dimension $$\frac{\binom n2 \left(\binom n2 +1\right)}{2}.$$
We still need to take into account the third symmetry. It is not quite clear to me which of the resulting additional equations are independent of each other and the old ones. But I believe there should certainly be some dependencies... 
I noticed that if I only take into account those equations corresponding to values $a<b<c<d$ (of which there are $\binom n4$) and if I assume that these are all independent of each other, then I obtain that 
$$\dim V = \frac{\binom n2 \left(\binom n2 +1\right)}{2} - \binom n4 = \frac{n^2(n^2-1)}{12}.$$
(modulo miscalculation). This seems to be the right answer. However, I'm neither sure whether these equations indeed are independent nor am I sure whether they form a maximal set of independent equations.
I would appreciate your input! Thanks. =)

REPLY [4 votes]: Its symmetries imply that an algebraic curvature tensor on the $n$-dimensional vector space $V$ can be viewed as an element of the space $S^{2}(\wedge^{2}V^{\ast})$ of symmetric bilinear forms on the second exterior power $\wedge^{2}V^{\ast}$, so the algebraic curvature tensors constitute a subspace of $S^{2}(\wedge^{2}V^{\ast})$.
An exterior four-form on $V$ can also be viewed as an element of $S^{2}(\wedge^{2}V)$, so $\wedge^{4}V^{\ast}$ is a subspace of $S^{2}(\wedge^{2}V^{\ast})$. Using the algebraic Bianchi identity, it is not hard to check that this subspace is the orthogonal complement of the subspace of curvature tensors. (Remembering this claim makes it easy to compute the dimension when one cannot remember it.)
Hence the dimension of the space of curvature tensors is
\begin{align}
\dim S^{2}(\wedge^{2}V^{\ast})& - \dim \wedge^{4}V^{\ast}  = \frac{1}{2}\binom{n}{2}\left(\binom{n}{2} -1\right) - \binom{n}{4}\\
& = \frac{n(n-1)(n(n-1) - 2)}{8} - \frac{n(n-1)(n-2)(n-3)}{24}\\
& = \frac{n(n-1)\left(3n^{2} - 3n - 6 - n^{2} + 5n + 6\right)}{24}\\
& = \frac{n^{2}(n^{2}-1)}{12}.
\end{align}