Chern-Simons number diffusion and hard thermal loops on the lattice