Perturbation theory for dual semigroups. IV. The intertwining formula and the canonical pairing