Rigidification of pseudo-Riemannian Manifolds by an Elliptic Equation