Generalization of the Sobolev-Lieb-Thirring inequalities and applications to the dimension of attractors