I have a really simple question:
Let $$g = \begin{bmatrix} 1&0&0&0\\ 0&-1&0&0\\0&0&-1&0\\0&0&0&-1 \end{bmatrix}$$ be the metric tensor, then it has elements $g_{\kappa \nu}$. In einstein summation notation, what is the inner product between the two tensors $g_{\kappa \nu} g^{\mu \nu}$? Obviously here, we are summing over $\nu$ in both terms, but $\kappa$ and $\mu$ are different, do we just say that $\kappa = \mu$ otherwise the terms are zero, giving us the inner product $g_{\kappa \nu} g^{\mu \nu} = g_{\mu \nu} g^{\mu \nu} = 1 +(-1)^2 + (-1)^2 + (-1)^2$. Or am I missing something fundamental about the tensor relationships / summation notation?
Cheers.