I am trying to show to define a Levi-civita connection, it's equivalent to define Christoffel symbols or define Koszul formula.
$$ 2g(\nabla_XY, Z) = \partial_X (g(Y,Z)) + \partial_Y (g(X,Z)) - \partial_Z (g(X,Y))+ g([X,Y],Z) - g([X,Z],Y) - g([Y,Z],X)$$
One direction is easy, given Koszul formula, take $X=\frac{\partial}{\partial x^i},Y=\frac{\partial}{\partial x^j}, Z=\frac{\partial}{\partial x^k}$ and compute.
For the other direction, I set $X=x^i\partial_i,Y=y^j\partial_i,Z=z^k\partial_k$ and try to show LHS and RHS of Koszul formula are equal. After expressing both sides explicitly, I think I need to use some other conditions to cancel some terms before I can plug in the definition of Christoffel symbols. Could you give some reference or a detailed illustration? Thanks.
This is proved in my Riemannian Manifolds book. (See the proof of Theorem 5.4.)