invariance of the Lagrangian: covariance of formulation following the method of Lovelock