A four-dimensional vacuum Einstein solution with the fixed cosmological constant has and , constant. Thus every derivative of vanishes and
The metric tensor is nondegenerate, so this is zero precisely when
This is the necessary and sufficient Einstein metric condition in f(R) gravity for the specified , and works for every such Einstein metric, even when its Weyl tensor is nonzero. There is no need to divide by ; the degenerate case where both and vanish at that curvature is included. At , the condition is simply .
If the intention is to demand the inclusion for every real simultaneously, the stronger functional condition is for all . On each nonzero half-line it integrates to ; smoothness across zero makes the constants equal. Thus the all- version gives , including . This stronger reading is distinct from fixing one cosmological constant.