The generalized adiabatic theorem for extended lattice systems