$P$-contraction