Criteria for the divergence of pairs of Teichmüller geodesics