TITLE: What is the trace in the Chern-Simons action?
QUESTION [12 upvotes]: Warning: This is a very stupid question regarding a basic misunderstanding that I have. I realize that the question is very elementary, but I guess asking stupid questions is better than remaining ignorant.
To be explicit, consider the $\mathrm{SU}(2)$ Chern-Simons action on some very nice $3$-manifold $M$, i.e. the number
$S(A) = \frac{k}{4\pi}\int_M \mathrm{tr} \left(A\wedge\mathrm{d}A + \frac{2}{3}A\wedge A\wedge A\right)$,
where $A$ is an $\mathfrak{su}(2)$-valued $1$-form on $M$. 
What I simply cannot wrap my head around, and what is obviously a very silly basic question, is: What trace is this?! As I understand it, there is a certain abuse of notation in $\wedge$ on vector bundle-valued forms (namely, with $E$ the bundle, the wedge of two $E$-valued forms is an $E\otimes E$-valued one), but in the case of the Chern-Simons action this answer suggests that the $E\otimes E=\mathfrak{g}\otimes\mathfrak{g}\rightarrow\mathfrak{g}$ is supposed to be the Lie bracket on $\mathfrak{g}$. Anyway, that leads me to think that the trace is the trace on $\mathfrak{g}=\mathfrak{su}(2)$, which of course vanishes everywhere.
What am I misunderstanding here?

REPLY [6 votes]: I will give the physicist's answer.
I hope you are familiar with this notation.
$A=A_\mu dx^\mu$ and in this notation the action looks like
$S=\frac{k}{4\pi} \int_{\mathcal{M}} d^3x\ \epsilon^{\mu\nu\alpha}\ Tr \left( A_\mu \partial_\nu A_\alpha +\frac{2}{3}  A_\mu A_\nu A_\alpha   \right)$
where $\epsilon^{\mu\nu\alpha}$ is the Levi-Civita tensor in three dimensions. 
$A_\mu=A_\mu^at^a$ where $A_\mu^a$ are real functions, $t^a$ are the matrix representatives of generators of Lie algebra $[t^a,t^b]=if^{abc}t^c$. Here $a,b,c=1,2,...,dim G$ where G is the gauge group and $f^{abc}$ are structure constants.
So, that trace in the action is the trace of products of these $t^a$ matrices.
For example,
for $G=SU(N)$ and in the fundamental representation $Tr(t^at^b)=\frac{1}{2}\delta^{ab}$
$(a,b=1,2,...N^2-1)$