The first condition means that the metric tensor is preserved by parallel transport, while the second condition expresses the fact that the torsion of ∇ is zero.
An extension of the fundamental theorem states that given a pseudo-Riemannian manifold there is a unique connection preserving the metric tensor with any given vector-valued 2-form as its torsion. The difference between an arbitrary connection (with torsion) and the corresponding Levi-Civita connection is the contorsion tensor.
The following technical proof presents a formula for Christoffel symbols of the connection in a local coordinate system. For a given metric this set of equations can become rather complicated. There are quicker and simpler methods to obtain the Christoffel symbols for a given metric, for example, using the action integral and the associated Euler-Lagrange equations.
if and define the same geodesics and have the same torsion
This means that two different connections can lead to the same geodesics while giving different results for some vector fields.
Because a metric also defines the geodesics of a differential manifold, for some metric there is not only one connection defining the same geodesics (some examples can be found of a connection on leading to the straight lines as geodesics but having some torsion in contrary to the trivial connection on that is, the usual directional derivative) , and given a metric, the only connection which defines the same geodesics (which leaves the metric unchanged by parallel transport) and which is torsion-free is the Levi-Civita connection (which is obtained from the metric by differentiation).
Let m be the dimension of M and, in some local chart, consider the standard coordinate vector fields
Locally, the entry gij of the metric tensor is then given by
To specify the connection it is enough to specify, for all i, j, and k,
We also recall that, locally, a connection is given by smooth functions
The torsion-free property means
On the other hand, compatibility with the Riemannian metric implies that
For a fixed, i, j, and k, permutation gives 3 equations with 6 unknowns. The torsion free assumption reduces the number of variables to 3. Solving the resulting system of 3 linear equations gives unique solutions
This is the first Christoffel identity.
where we use Einstein summation convention. That is, an index repeated subscript and superscript implies that it is summed over all values. Inverting the metric tensor gives the second Christoffel identity:
Once again, with Einstein summation convention. The resulting unique connection is called the Levi-Civita connection.
An alternative proof of the Fundamental theorem of Riemannian geometry proceeds by showing that a torsion-free metric connection on a Riemannian manifold is necessarily given by the Koszul formula:
where the vector field acts naturally on smooth functions on the Riemannian manifold (so that ).
Assuming the existence of a connection that is symmetric, and compatible with the metric, the sum can be simplified using the symmetry property. This results in the Koszul formula.
The expression for therefore uniquely determines Conversely the Koszul formula can be used to define and it is routine to verify that is an affine connection, which is symmetric and compatible with the metric (The right hand side defines a vector field because it is -linear in the variable .)