A bound for Dickson's lemma (Logical Methods in Computer Science, 2017)