The graph has no cause of , so is independent of its potential outcomes. By consistency of potential outcomes, the g-formula therefore gives
Condition on and use the structural zero from part ii:
Consequently the causal risk ratio is
Applying Bayes theorem to the second factor gives
which proves the stated formula. The unmeasured common cause of and does not obstruct this total-effect argument because no mediator effect is being identified.