Ricci tensor in two dimensions (source code)

= Ricci tensor in two dimensions

The algebraic symmetries of the <Riemann curvature tensor> leave only one independent curvature component in two dimensions and force
$$
R_{\alpha\beta}=\frac12g_{\alpha\beta}R.
$$
Consequently the <Einstein tensor> vanishes identically.