At fixed and , varying the shift gives
and
Integration by parts in the gravitational term turns the variation of into the spatial divergence of . Since the shift has no time derivative, its Euler-Lagrange equation is the ADM momentum constraint for a P(X, phi) scalar field