An analytical theory of curriculum learning in teacher–student networks*This article was also accepted in NeurIPS2022 Proceedings. (1st November 2022)