We propose a new algorithm for automated compression of arbitrary sets of terms by invention of new definitions.