We establish improved versions of the Hardy and Caffarelli-Kohn-Nirenberg
inequalities by replacing the standard Dirichlet energy with some nonlocal
nonconvex functionals which have been involved in estimates for the topological
degree of continuous maps from a sphere into itself and characterizations of
Sobolev spaces