The mathematics of deformation