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/H≡V

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=id−v is the horizontal projection in TE.
I guess that, again can be seen like a vector bundle map

R:Λ2E→V

or. for p∈E:

Rp:TpE×EpP→Vp

Adapted from Wikipedia.

Principal G-bundles

If we are in the context of a connection not in a general fiber 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×TpP→g

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 E→M. 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Θji−∑kΘ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=DvDws−DwDvs−D[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νik−Aν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 v∈Ep around a little square γ of side ϵ in the coordinates xμ,xν, the result is a vector v′∈Ep such that

v−v′≈ϵ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.