Non-linear differential equations and Hayman’s theorem on differential polynomials