The behavior of spacetime is described by Einstein's equation (i.e. Einstein's field equations) from General Relativity. To understand how elastic it is, we need to delve into the main equation of elasticity, Hooke's law, and see how it compares.