Curvature of a connection (Ehresmann)

General fiber bundles

A connection on a fiber bundle is a particular kind of distribution, so we can think of the curvature of it. In this case, we have an isomorphism

TE/HV

being V the vertical bundle of here, so the structure 1-form specified here takes value in the tangent spaces to the fibres.

If v is the connection 1-form, then the curvature is the map

R:X(E)×X(E)Γ(V)

such that

R(X,Y)=v([PH(X),PH(Y)]),

where PH=idv is the horizontal projection in TE.
I guess that, again can be seen like a vector bundle map

R:Λ2EV

or. for pE:

Rp:TpE×EpPVp

Adapted from Wikipedia.

Principal G-bundles

If we are in the context of a connection not in a general bundle but in a G-principal bundle P, being g the Lie algebra of the Lie group G, then the curvature is a g-valued 2-form on P:

Ωp:TpP×TpPg

and can be written in a simpler expression. Since in this case the connection 1-form ω can be seen as g-valued 1-form it turns out that

Ω(X,Y)=dω(X,Y)+12[ω(X),ω(Y)]

and the curvature of the connection is defined by

Ω=dω+12[ω,ω]

for certain bracket defined in Lie algebra-valued differential forms.

The Riemann curvature tensor is a special case of curvature of a connection on a principal bundle.

Vector bundles

(see Wikipedia )
Consider a vector bundle EM. In this case the connection D would be a vector bundle connection and the connection 1-form can be expressed in local frames with the connection 1-forms Θ, or better said, a gl(n)-valued 1-form. Then the curvature is

(c)Ω=dΘΘΘ

or, in components,

Ωji=dΘjikΘjkΘki

called the curvature 2-forms.

Indeed, we also call the curvature of D to the operator (see @baez1994gauge page 243)

F(v,w)s=DvDwsDwDvsD[v,w]s,

where v,w are tangent vectors of M and s is a section of E. Given a local frame ei, the connection can be expressed in terms of the vector potential or Christoffel 1-form Aμji or Θμji, depending on the reference. So the curvature is expressed as

Fμνij=μAνijνAμij+AμkjAνikAνkjAμik,

which is another way to express equation (c).

If the vector bundle is the tangent bundle and the connection is the Levi-Civita connection of a metric then this curvature is the Riemann curvature tensor of the metric by the Cartan's second structural equation.

See also the note Gaussian curvature#Relation to the curvature of a connection.

Relation to holonomy

@baez1994gauge page 247.
Regarding the holonomy of the connection, still in the context of a vector bundle, it turns out that if we parallel transport a vector vEp around a little square γ of side ϵ in the coordinates xμ,xν, the result is a vector vEp such that

vvϵ2Fμνv,

or in other words

H(γ,D)=1ϵ2Fμν.

See @needham2021visual page 290 for an explanation, in the context of surfaces and tangent bundles, why curvature is related to holonomy.