Cauchy's invariant rule