An Erdös-Rényi law for mixing processes