Let MM be a and let (E,,)M(E,\langle\cdot,\cdot\rangle)\to M be a real of rank rr equipped with a smoothly varying inner product on fibers. Let \nabla be a on EE.

The following are equivalent:

1. Metric preservation (Leibniz rule for the inner product). For all smooth vector fields XX on MM and smooth sections s,ts,t of EE,

Xs,t  =  Xs,t  +  s,Xt.X\langle s,t\rangle \;=\; \langle \nabla_X s, t\rangle \;+\; \langle s,\nabla_X t\rangle.

2. Vanishing covariant derivative of the metric. The covariant derivative ,\nabla\langle\cdot,\cdot\rangle (viewed as a tensor) is identically zero; equivalently, the connection induced by \nabla on EEE^*\otimes E^* annihilates the section representing the metric.

3. Skew connection 11-forms in orthonormal frames. On any open set UU with a local orthonormal frame (e1,,er)(e_1,\dots,e_r), the connection is described by matrix-valued 11-forms ω=(ωij)\omega=(\omega^i{}_j) via

ej=iωijei,\nabla e_j = \sum_i \omega^i{}_j\, e_i,

and ω\omega takes values in so(r)\mathfrak{so}(r), i.e. ωij+ωji=0\omega^i{}_j+\omega^j{}_i=0.

4. Isometric parallel transport. For every smooth curve γ:[0,1]M\gamma:[0,1]\to M, the parallel transport map on fibers is an isometry:

PTγ(v),PTγ(w)  =  v,wfor all v,wEγ(0),\langle \mathrm{PT}_\gamma(v), \mathrm{PT}_\gamma(w)\rangle \;=\; \langle v,w\rangle \quad\text{for all }v,w\in E_{\gamma(0)},

where PTγ\mathrm{PT}_\gamma denotes determined by \nabla.

5. Orthonormal frame bundle reduction. The bundle of orthonormal frames O(E)MO(E)\to M is a with structure group O(r)\mathrm{O}(r), and the connection induced by \nabla on the full frame bundle restricts to a principal O(r)\mathrm{O}(r)-connection on O(E)O(E).

Holonomy and the specified metric

These conditions imply that holonomy preserves the given metric in each fiber. The converse statement based only on holonomy at one point requires care: on a connected base, an inner product preserved by holonomy at that point extends by parallel transport to a parallel bundle metric, which need not equal a previously specified metric on the whole bundle. For example, the trivial connection on the real line bundle over R\mathbb R has trivial holonomy, but does not preserve the metric hx(v,w)=e2xvwh_x(v,w)=e^{2x}vw.

Examples
  1. Levi-Civita connection on the tangent bundle. On a , the Levi-Civita connection on the is metric-compatible by definition; its parallel transport preserves the Riemannian inner product on tangent spaces.
  1. Trivial bundle with constant metric and trivial connection. If E=M×RrE=M\times\mathbb{R}^r carries the standard dot product fiberwise and \nabla is the componentwise derivative in the trivialization, then the connection forms are zero (hence skew), and parallel transport is the identity, so \nabla is metric-compatible.
  1. Matrix-valued connection with values in so(r). On a trivial rank-rr bundle, define =d+A\nabla=d+A where AA is an so(r)\mathfrak{so}(r)-valued 11-form. Then the connection preserves the standard metric and has holonomy contained in O(r)\mathrm{O}(r); nonzero curvature can occur even though metric compatibility holds.