# Compatibility (mechanics)

Part of a series on :
Continuum mechanics :
$J=-D{\frac {d\varphi }{dx}}$Fick's laws of diffusion :
Laws
Conservations
Mass
Momentum
Energy
Inequalities
Clausius–Duhem (entropy) :
Solid mechanics
Deformation
Elasticity
linear
Plasticity
Hooke's law
Stress
Strain
Finite strain
Infinitesimal strain
Compatibility
Bending
Contact mechanics
frictional
Material failure theory
Fracture mechanics :
Fluid mechanics
Fluids
Statics · Dynamics
Archimedes' principle · Bernoulli's principle
Navier–Stokes equations
Poiseuille equation · Pascal's law
Viscosity
(Newtonian · non-Newtonian)
Buoyancy · Mixing · Pressure
Liquids
Adhesion
Capillary action
Chromatography
Cohesion (chemistry)
Surface tension
Gases
Atmosphere
Boyle's law
Charles's law
Combined gas law
Fick's law
Gay-Lussac's law
Graham's law
Plasma :
Rheology
Viscoelasticity
Rheometry
Rheometer
Smart fluids
Electrorheological
Magnetorheological
Ferrofluids :
Scientists
Bernoulli
Boyle
Cauchy
Charles
Euler
Fick
Gay-Lussac
Graham
Hooke
Newton
Navier
Noll
Pascal
Stokes
Truesdell :
vte :
In continuum mechanics, a compatible deformation (or strain) tensor field in a body is that unique tensor field that is obtained when the body is subjected to a continuous, single-valued, displacement field. Compatibility is the study of the conditions under which such a displacement field can be guaranteed. Compatibility conditions are particular cases of integrability conditions and were first derived for linear elasticity by Barré de Saint-Venant in 1864 and proved rigorously by Beltrami in 1886.
In the continuum description of a solid body we imagine the body to be composed of a set of infinitesimal volumes or material points. Each volume is assumed to be connected to its neighbors without any gaps or overlaps. Certain mathematical conditions have to be satisfied to ensure that gaps/overlaps do not develop when a continuum body is deformed. A body that deforms without developing any gaps/overlaps is called a compatible body. Compatibility conditions are mathematical conditions that determine whether a particular deformation will leave a body in a compatible state.
In the context of infinitesimal strain theory, these conditions are equivalent to stating that the displacements in a body can be obtained by integrating the strains. Such an integration is possible if the Saint-Venant's tensor (or incompatibility tensor)${\boldsymbol {R}}({\boldsymbol {\varepsilon }})$ vanishes in a simply-connected body where ${\boldsymbol {\varepsilon }}$ is the infinitesimal strain tensor and
    ${\boldsymbol {R}}:={\boldsymbol {\nabla }}\times ({\boldsymbol {\nabla }}\times {\boldsymbol {\varepsilon }})^{T}={\boldsymbol {0}}~.$
For finite deformations the compatibility conditions take the form
    ${\boldsymbol {R}}:={\boldsymbol {\nabla }}\times {\boldsymbol {F}}={\boldsymbol {0}}$
where ${\boldsymbol {F}}$ is the deformation gradient.

## Compatibility conditions for infinitesimal strains

The compatibility conditions in linear elasticity are obtained by observing that there are six strain-displacement relations that are functions of only three unknown displacements. This suggests that the three displacements may be removed from the system of equations without loss of information. The resulting expressions in terms of only the strains provide constraints on the possible forms of a strain field.

### 2-dimensions

For two-dimensional, plane strain problems the strain-displacement relations are
    $\varepsilon _{11}={\cfrac {\partial u_{1}}{\partial x_{1}}}~;~~\varepsilon _{12}={\cfrac {1}{2}}\left[{\cfrac {\partial u_{1}}{\partial x_{2}}}+{\cfrac {\partial u_{2}}{\partial x_{1}}}\right]~;~~\varepsilon _{22}={\cfrac {\partial u_{2}}{\partial x_{2}}}$
Repeated differentiation of these relations, in order to remove the displacements $u_{1}$ and $u_{2}$, gives us the two-dimensional compatibility condition for strains
    ${\cfrac {\partial ^{2}\varepsilon _{11}}{\partial x_{2}^{2}}}-2{\cfrac {\partial ^{2}\varepsilon _{12}}{\partial x_{1}\partial x_{2}}}+{\cfrac {\partial ^{2}\varepsilon _{22}}{\partial x_{1}^{2}}}=0$
The only displacement field that is allowed by a compatible plane strain field is a plane displacement field, i.e., $\mathbf {u} =\mathbf {u} (x_{1},x_{2})$.

### 3-dimensions

In three dimensions, in addition to two more equations of the form seen for two dimensions, there are three more equations of the form
    ${\cfrac {\partial ^{2}\varepsilon _{33}}{\partial x_{1}\partial x_{2}}}={\cfrac {\partial }{\partial x_{3}}}\left[{\cfrac {\partial \varepsilon _{23}}{\partial x_{1}}}+{\cfrac {\partial \varepsilon _{31}}{\partial x_{2}}}-{\cfrac {\partial \varepsilon _{12}}{\partial x_{3}}}\right]$
Therefore, there are 3$^4$=81 partial differential equations, however due to symmetry conditions, this number reduces to six different compatibility conditions. We can write these conditions in index notation as
    $e_{ikr}~e_{jls}~\varepsilon _{ij,kl}=0$
where $e_{ijk}$ is the permutation symbol. In direct tensor notation
    ${\boldsymbol {\nabla }}\times ({\boldsymbol {\nabla }}\times {\boldsymbol {\varepsilon }})^{T}={\boldsymbol {0}}$
where the curl operator can be expressed in an orthonormal coordinate system as ${\boldsymbol {\nabla }}\times {\boldsymbol {\varepsilon }}=e_{ijk}\varepsilon _{rj,i}\mathbf {e} _{k}\otimes \mathbf {e} _{r}$.
The second-order tensor
    ${\boldsymbol {R}}:={\boldsymbol {\nabla }}\times ({\boldsymbol {\nabla }}\times {\boldsymbol {\varepsilon }})^{T}~;~~R_{rs}:=e_{ikr}~e_{jls}~\varepsilon _{ij,kl}$
is known as the incompatibility tensor (or specifically the Kröner tensor) and is a reduced form of the rank 4 Saint-Venant compatibility tensor

## Compatibility conditions for finite strains

For solids in which the deformations are not required to be small, the compatibility conditions take the form
    ${\boldsymbol {\nabla }}\times {\boldsymbol {F}}={\boldsymbol {0}}$
where ${\boldsymbol {F}}$ is the deformation gradient. In terms of components with respect to a Cartesian coordinate system we can write these compatibility relations as
    $e_{ABC}~{\cfrac {\partial F_{iB}}{\partial X_{A}}}=0$
This condition is necessary if the deformation is to be continuous and derived from the mapping $\mathbf {x} ={\boldsymbol {\chi }}(\mathbf {X} ,t)$ (see Finite strain theory). The same condition is also sufficient to ensure compatibility in a simply connected body.

### Compatibility condition for the right Cauchy-Green deformation tensor

The compatibility condition for the right Cauchy-Green deformation tensor can be expressed as
    $R_{\alpha \beta \rho }^{\gamma }:={\frac {\partial }{\partial X^{\rho }}}[\Gamma _{\alpha \beta }^{\gamma }]-{\frac {\partial }{\partial X^{\beta }}}[\Gamma _{\alpha \rho }^{\gamma }]+\Gamma _{\mu \rho }^{\gamma }~\Gamma _{\alpha \beta }^{\mu }-\Gamma _{\mu \beta }^{\gamma }~\Gamma _{\alpha \rho }^{\mu }=0$
where $\Gamma _{ij}^{k}$ is the Christoffel symbol of the second kind. The quantity $R_{ijk}^{m}$ represents the mixed components of the Riemann-Christoffel curvature tensor.

## The general compatibility problem

The problem of compatibility in continuum mechanics involves the determination of allowable single-valued continuous fields on simply connected bodies. More precisely, the problem may be stated in the following manner.
Consider the deformation of a body shown in Figure 1. If we express all vectors in terms of the reference coordinate system $\{(\mathbf {E} _{1},\mathbf {E} _{2},\mathbf {E} _{3}),O\}$, the displacement of a point in the body is given by
    $\mathbf {u} =\mathbf {x} -\mathbf {X} ~;~~u_{i}=x_{i}-X_{i}$
Also
    ${\boldsymbol {\nabla }}\mathbf {u} ={\frac {\partial \mathbf {u} }{\partial \mathbf {X} }}~;~~{\boldsymbol {\nabla }}\mathbf {x} ={\frac {\partial \mathbf {x} }{\partial \mathbf {X} }}$
What conditions on a given second-order tensor field ${\boldsymbol {A}}(\mathbf {X} )$ on a body are necessary and sufficient so that there exists a unique vector field $\mathbf {v} (\mathbf {X} )$ that satisfies
    ${\boldsymbol {\nabla }}\mathbf {v} ={\boldsymbol {A}}\quad \equiv \quad v_{i,j}=A_{ij}$

### Necessary conditions

For the necessary conditions we assume that the field $\mathbf {v}$ exists and satisfies $v_{i,j}=A_{ij}$. Then
    $v_{i,jk}=A_{ij,k}~;~~v_{i,kj}=A_{ik,j}$
Since changing the order of differentiation does not affect the result we have
    $v_{i,jk}=v_{i,kj}$
Hence
    $A_{ij,k}=A_{ik,j}$
From the well known identity for the curl of a tensor we get the necessary condition
    ${\boldsymbol {\nabla }}\times {\boldsymbol {A}}={\boldsymbol {0}}$

### Sufficient conditions

To prove that this condition is sufficient to guarantee existence of a compatible second-order tensor field, we start with the assumption that a field ${\boldsymbol {A}}$ exists such that ${\boldsymbol {\nabla }}\times {\boldsymbol {A}}={\boldsymbol {0}}$. We will integrate this field to find the vector field $\mathbf {v}$ along a line between points $A$ and $B$ (see Figure 2), i.e.,
    $\mathbf {v} (\mathbf {X} _{B})-\mathbf {v} (\mathbf {X} _{A})=\int _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}{\boldsymbol {\nabla }}\mathbf {v} \cdot ~d\mathbf {X} =\int _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}{\boldsymbol {A}}(\mathbf {X} )\cdot d\mathbf {X}$
If the vector field $\mathbf {v}$ is to be single-valued then the value of the integral should be independent of the path taken to go from $A$ to $B$.
From Stokes' theorem, the integral of a second order tensor along a closed path is given by
    $\oint _{\partial \Omega }{\boldsymbol {A}}\cdot d\mathbf {s} =\int _{\Omega }\mathbf {n} \cdot ({\boldsymbol {\nabla }}\times {\boldsymbol {A}})~da$
Using the assumption that the curl of ${\boldsymbol {A}}$ is zero, we get
    $\oint _{\partial \Omega }{\boldsymbol {A}}\cdot d\mathbf {s} =0\quad \implies \quad \int _{AB}{\boldsymbol {A}}\cdot d\mathbf {X} +\int _{BA}{\boldsymbol {A}}\cdot d\mathbf {X} =0$
Hence the integral is path independent and the compatibility condition is sufficient to ensure a unique $\mathbf {v}$ field, provided that the body is simply connected.

## Compatibility of the deformation gradient

The compatibility condition for the deformation gradient is obtained directly from the above proof by observing that
    ${\boldsymbol {F}}={\cfrac {\partial \mathbf {x} }{\partial \mathbf {X} }}={\boldsymbol {\nabla }}\mathbf {x}$
Then the necessary and sufficient conditions for the existence of a compatible ${\boldsymbol {F}}$ field over a simply connected body are
    ${\boldsymbol {\nabla }}\times {\boldsymbol {F}}={\boldsymbol {0}}$

## Compatibility of infinitesimal strains

The compatibility problem for small strains can be stated as follows.
Given a symmetric second order tensor field ${\boldsymbol {\epsilon }}$ when is it possible to construct a vector field $\mathbf {u}$ such that
    ${\boldsymbol {\epsilon }}={\frac {1}{2}}[{\boldsymbol {\nabla }}\mathbf {u} +({\boldsymbol {\nabla }}\mathbf {u} )^{T}]$

### Necessary conditions

Suppose that there exists $\mathbf {u}$ such that the expression for ${\boldsymbol {\epsilon }}$ holds. Now
    ${\boldsymbol {\nabla }}\mathbf {u} ={\boldsymbol {\epsilon }}+{\boldsymbol {\omega }}$
where
    ${\boldsymbol {\omega }}:={\frac {1}{2}}[{\boldsymbol {\nabla }}\mathbf {u} -({\boldsymbol {\nabla }}\mathbf {u} )^{T}]$
Therefore, in index notation,
    ${\boldsymbol {\nabla }}{\boldsymbol {\omega }}\equiv \omega _{ij,k}={\frac {1}{2}}(u_{i,jk}-u_{j,ik})={\frac {1}{2}}(u_{i,jk}+u_{k,ji}-u_{j,ik}-u_{k,ji})=\varepsilon _{ik,j}-\varepsilon _{jk,i}$
If ${\boldsymbol {\omega }}$ is continuously differentiable we have $\omega _{ij,kl}=\omega _{ij,lk}$. Hence,
    $\varepsilon _{ik,jl}-\varepsilon _{jk,il}-\varepsilon _{il,jk}+\varepsilon _{jl,ik}=0$
In direct tensor notation
    ${\boldsymbol {\nabla }}\times ({\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }})^{T}={\boldsymbol {0}}$
The above are necessary conditions. If $\mathbf {w}$ is the infinitesimal rotation vector then ${\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }}={\boldsymbol {\nabla }}\mathbf {w} +{\boldsymbol {\nabla }}\mathbf {w} ^{T}$. Hence the necessary condition may also be written as ${\boldsymbol {\nabla }}\times ({\boldsymbol {\nabla }}\mathbf {w} +{\boldsymbol {\nabla }}\mathbf {w} ^{T})^{T}={\boldsymbol {0}}$.

### Sufficient conditions

Let us now assume that the condition ${\boldsymbol {\nabla }}\times ({\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }})^{T}={\boldsymbol {0}}$ is satisfied in a portion of a body. Is this condition sufficient to guarantee the existence of a continuous, single-valued displacement field $\mathbf {u}$?
The first step in the process is to show that this condition implies that the infinitesimal rotation tensor ${\boldsymbol {\omega }}$ is uniquely defined. To do that we integrate ${\boldsymbol {\nabla }}\mathbf {w}$ along the path $\mathbf {X} _{A}$ to $\mathbf {X} _{B}$, i.e.,
    $\mathbf {w} (\mathbf {X} _{B})-\mathbf {w} (\mathbf {X} _{A})=\int _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}{\boldsymbol {\nabla }}\mathbf {w} \cdot d\mathbf {X} =\int _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}({\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }})\cdot d\mathbf {X}$
Note that we need to know a reference $\mathbf {w} (\mathbf {X} _{A})$ to fix the rigid body rotation. The field $\mathbf {w} (\mathbf {X} )$ is uniquely determined only if the contour integral along a closed contour between $\mathbf {X} _{A}$ and $\mathbf {X} _{b}$ is zero, i.e.,
    $\oint _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}({\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }})\cdot d\mathbf {X} ={\boldsymbol {0}}$
But from Stokes' theorem for a simply-connected body and the necessary condition for compatibility
    $\oint _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}({\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }})\cdot d\mathbf {X} =\int _{\Omega _{AB}}\mathbf {n} \cdot ({\boldsymbol {\nabla }}\times {\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }})~da={\boldsymbol {0}}$
Therefore, the field $\mathbf {w}$ is uniquely defined which implies that the infinitesimal rotation tensor ${\boldsymbol {\omega }}$ is also uniquely defined, provided the body is simply connected.
In the next step of the process we will consider the uniqueness of the displacement field $\mathbf {u}$. As before we integrate the displacement gradient
    $\mathbf {u} (\mathbf {X} _{B})-\mathbf {u} (\mathbf {X} _{A})=\int _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}{\boldsymbol {\nabla }}\mathbf {u} \cdot d\mathbf {X} =\int _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}({\boldsymbol {\epsilon }}+{\boldsymbol {\omega }})\cdot d\mathbf {X}$
From Stokes' theorem and using the relations ${\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }}={\boldsymbol {\nabla }}\mathbf {w} =-{\boldsymbol {\nabla }}\times \omega$ we have
    $\oint _{\mathbf {X} _{A}}^{\mathbf {X} _{B}}({\boldsymbol {\epsilon }}+{\boldsymbol {\omega }})\cdot d\mathbf {X} =\int _{\Omega _{AB}}\mathbf {n} \cdot ({\boldsymbol {\nabla }}\times {\boldsymbol {\epsilon }}+{\boldsymbol {\nabla }}\times {\boldsymbol {\omega }})~da={\boldsymbol {0}}$
Hence the displacement field $\mathbf {u}$ is also determined uniquely. Hence the compatibility conditions are sufficient to guarantee the existence of a unique displacement field $\mathbf {u}$ in a simply-connected body.

## Compatibility for Right Cauchy-Green Deformation field

The compatibility problem for the Right Cauchy-Green deformation field can be posed as follows.
Problem: Let ${\boldsymbol {C}}(\mathbf {X} )$ be a positive definite symmetric tensor field defined on the reference configuration. Under what conditions on ${\boldsymbol {C}}$ does there exist a deformed configuration marked by the position field $\mathbf {x} (\mathbf {X} )$ such that
    $(1)\quad \left({\frac {\partial \mathbf {x} }{\partial \mathbf {X} }}\right)^{T}\left({\frac {\partial \mathbf {x} }{\partial \mathbf {X} }}\right)={\boldsymbol {C}}$

### Necessary conditions

Suppose that a field $\mathbf {x} (\mathbf {X} )$ exists that satisfies condition (1). In terms of components with respect to a rectangular Cartesian basis
    ${\frac {\partial x^{i}}{\partial X^{\alpha }}}{\frac {\partial x^{i}}{\partial X^{\beta }}}=C_{\alpha \beta }$
From finite strain theory we know that $C_{\alpha \beta }=g_{\alpha \beta }$. Hence we can write
    $\delta _{ij}~{\frac {\partial x^{i}}{\partial X^{\alpha }}}~{\frac {\partial x^{j}}{\partial X^{\beta }}}=g_{\alpha \beta }$
For two symmetric second-order tensor field that are mapped one-to-one we also have the relation
    $G_{ij}={\frac {\partial X^{\alpha }}{\partial x^{i}}}~{\frac {\partial X^{\beta }}{\partial x^{j}}}~g_{\alpha \beta }$
From the relation between of $G_{ij}$ and $g_{\alpha \beta }$ that $\delta _{ij}=G_{ij}$, we have
    $_{(x)}\Gamma _{ij}^{k}=0$
Then, from the relation
    ${\frac {\partial ^{2}x^{m}}{\partial X^{\alpha }\partial X^{\beta }}}={\frac {\partial x^{m}}{\partial X^{\mu }}}\,_{(X)}\Gamma _{\alpha \beta }^{\mu }-{\frac {\partial x^{i}}{\partial X^{\alpha }}}~{\frac {\partial x^{j}}{\partial X^{\beta }}}\,_{(x)}\Gamma _{ij}^{m}$
we have
    ${\frac {\partial F_{~\alpha }^{m}}{\partial X^{\beta }}}=F_{~\mu }^{m}\,_{(X)}\Gamma _{\alpha \beta }^{\mu }\qquad ;~~F_{~\alpha }^{i}:={\frac {\partial x^{i}}{\partial X^{\alpha }}}$
From finite strain theory we also have
    $_{(X)}\Gamma _{\alpha \beta \gamma }={\frac {1}{2}}\left({\frac {\partial g_{\alpha \gamma }}{\partial X^{\beta }}}+{\frac {\partial g_{\beta \gamma }}{\partial X^{\alpha }}}-{\frac {\partial g_{\alpha \beta }}{\partial X^{\gamma }}}\right)~;~~_{(X)}\Gamma _{\alpha \beta }^{\nu }=g^{\nu \gamma }\,_{(X)}\Gamma _{\alpha \beta \gamma }~;~~g_{\alpha \beta }=C_{\alpha \beta }~;~~g^{\alpha \beta }=C^{\alpha \beta }$
Therefore,
    $\,_{(X)}\Gamma _{\alpha \beta }^{\mu }={\cfrac {C^{\mu \gamma }}{2}}\left({\frac {\partial C_{\alpha \gamma }}{\partial X^{\beta }}}+{\frac {\partial C_{\beta \gamma }}{\partial X^{\alpha }}}-{\frac {\partial C_{\alpha \beta }}{\partial X^{\gamma }}}\right)$
and we have
    ${\frac {\partial F_{~\alpha }^{m}}{\partial X^{\beta }}}=F_{~\mu }^{m}~{\cfrac {C^{\mu \gamma }}{2}}\left({\frac {\partial C_{\alpha \gamma }}{\partial X^{\beta }}}+{\frac {\partial C_{\beta \gamma }}{\partial X^{\alpha }}}-{\frac {\partial C_{\alpha \beta }}{\partial X^{\gamma }}}\right)$
Again, using the commutative nature of the order of differentiation, we have
    ${\frac {\partial ^{2}F_{~\alpha }^{m}}{\partial X^{\beta }\partial X^{\rho }}}={\frac {\partial ^{2}F_{~\alpha }^{m}}{\partial X^{\rho }\partial X^{\beta }}}\implies {\frac {\partial F_{~\mu }^{m}}{\partial X^{\rho }}}\,_{(X)}\Gamma _{\alpha \beta }^{\mu }+F_{~\mu }^{m}~{\frac {\partial }{\partial X^{\rho }}}[\,_{(X)}\Gamma _{\alpha \beta }^{\mu }]={\frac {\partial F_{~\mu }^{m}}{\partial X^{\beta }}}\,_{(X)}\Gamma _{\alpha \rho }^{\mu }+F_{~\mu }^{m}~{\frac {\partial }{\partial X^{\beta }}}[\,_{(X)}\Gamma _{\alpha \rho }^{\mu }]$
or
    $F_{~\gamma }^{m}\,_{(X)}\Gamma _{\mu \rho }^{\gamma }\,_{(X)}\Gamma _{\alpha \beta }^{\mu }+F_{~\mu }^{m}~{\frac {\partial }{\partial X^{\rho }}}[\,_{(X)}\Gamma _{\alpha \beta }^{\mu }]=F_{~\gamma }^{m}\,_{(X)}\Gamma _{\mu \beta }^{\gamma }\,_{(X)}\Gamma _{\alpha \rho }^{\mu }+F_{~\mu }^{m}~{\frac {\partial }{\partial X^{\beta }}}[\,_{(X)}\Gamma _{\alpha \rho }^{\mu }]$
After collecting terms we get
    $F_{~\gamma }^{m}\left(\,_{(X)}\Gamma _{\mu \rho }^{\gamma }\,_{(X)}\Gamma _{\alpha \beta }^{\mu }+{\frac {\partial }{\partial X^{\rho }}}[\,_{(X)}\Gamma _{\alpha \beta }^{\gamma }]-\,_{(X)}\Gamma _{\mu \beta }^{\gamma }\,_{(X)}\Gamma _{\alpha \rho }^{\mu }-{\frac {\partial }{\partial X^{\beta }}}[\,_{(X)}\Gamma _{\alpha \rho }^{\gamma }]\right)=0$
From the definition of $F_{\gamma }^{m}$ we observe that it is invertible and hence cannot be zero. Therefore,
    $R_{\alpha \beta \rho }^{\gamma }:={\frac {\partial }{\partial X^{\rho }}}[\,_{(X)}\Gamma _{\alpha \beta }^{\gamma }]-{\frac {\partial }{\partial X^{\beta }}}[\,_{(X)}\Gamma _{\alpha \rho }^{\gamma }]+\,_{(X)}\Gamma _{\mu \rho }^{\gamma }\,_{(X)}\Gamma _{\alpha \beta }^{\mu }-\,_{(X)}\Gamma _{\mu \beta }^{\gamma }\,_{(X)}\Gamma _{\alpha \rho }^{\mu }=0$
We can show these are the mixed components of the Riemann-Christoffel curvature tensor. Therefore, the necessary conditions for ${\boldsymbol {C}}$-compatibility are that the Riemann-Christoffel curvature of the deformation is zero.

### Sufficient conditions

The proof of sufficiency is a bit more involved. We start with the assumption that
    $R_{\alpha \beta \rho }^{\gamma }=0~;~~g_{\alpha \beta }=C_{\alpha \beta }$
We have to show that there exist $\mathbf {x}$ and $\mathbf {X}$ such that
    ${\frac {\partial x^{i}}{\partial X^{\alpha }}}{\frac {\partial x^{i}}{\partial X^{\beta }}}=C_{\alpha \beta }$
From a theorem by T.Y.Thomas we know that the system of equations
    ${\frac {\partial F_{~\alpha }^{i}}{\partial X^{\beta }}}=F_{~\gamma }^{i}~\,_{(X)}\Gamma _{\alpha \beta }^{\gamma }$
has unique solutions $F_{~\alpha }^{i}$ over simply connected domains if
    $_{(X)}\Gamma _{\alpha \beta }^{\gamma }=_{(X)}\Gamma _{\beta \alpha }^{\gamma }~;~~R_{\alpha \beta \rho }^{\gamma }=0$
The first of these is true from the defining of $\Gamma _{jk}^{i}$ and the second is assumed. Hence the assumed condition gives us a unique $F_{~\alpha }^{i}$ that is $C^{2}$ continuous.
Next consider the system of equations
    ${\frac {\partial x^{i}}{\partial X^{\alpha }}}=F_{~\alpha }^{i}$
Since $F_{~\alpha }^{i}$ is $C^{2}$ and the body is simply connected there exists some solution $x^{i}(X^{\alpha })$ to the above equations. We can show that the $x^{i}$ also satisfy the property that
    $\det \left|{\frac {\partial x^{i}}{\partial X^{\alpha }}}\right|\neq 0$
We can also show that the relation
    ${\frac {\partial x^{i}}{\partial X^{\alpha }}}~g^{\alpha \beta }~{\frac {\partial x^{j}}{\partial X^{\beta }}}=\delta ^{ij}$
implies that
    $g_{\alpha \beta }=C_{\alpha \beta }={\frac {\partial x^{k}}{\partial X^{\alpha }}}~{\frac {\partial x^{k}}{\partial X^{\beta }}}$
If we associate these quantities with tensor fields we can show that ${\frac {\partial \mathbf {x} }{\partial \mathbf {X} }}$ is invertible and the constructed tensor field satisfies the expression for ${\boldsymbol {C}}$.