In nonlinear elasticity we regard the compatibility as a restriction of the motion (of a simple body) in terms of the strain measures: deformation tensor F or right Cauchy-Green deformation tensor C (also left Cauchy-Green deformation tensor b).
Commonly when we talk about the compatibility we consider an inverse problem. Given F (or C) we need to derive the deformation map. To do this certain mathematical restrictions must be placed upon the strain measures in order that the inverse problem have a solution. We call these mathematical restrictions the compatibility conditions or more precisely the integrability conditions, since in general the compatibility is equivalent to path independence of the solution dealing with integrations of the strains. So, the main question to answer is, given F (or C or b), is there a deformation mapping?
Now we consider the forward problem. Given a deformation mapping (smooth immersion), it is easy to compute the strain measure. And following Truesdell C.A, Toupin R.A., Ericksen J.L, "The Classical Field Theories",
In a problem formulated entirely in terms of the deformation, the conditions of compatibility need not be regarded, since they are satisfied automatically in virtue of the definitions of b and C.
It's look simple.
Now the question is raised when the deformation mapping itself is constrained. For instance, instead of assuming that here is the deformation mapping from the abstract space R^3 to the Euclidean space E^3, we consider the mapping from R^3 to R^3 times R^N times R^M times SO(3). What's going on the compatibility conditions in this case?