5. The discrete case The optimal subspace V ∗ in Theorem 3.1 is the closest to the data F over all subspaces V in the class V M. It is not difficult to see that almost each fiber space JV ∗ (ω) ⊂ 2(Zd) of V ∗ is the closest to the fibers of our data, τ (F)(ω) = {τf1(ω), ..., τfm(ω)} over a certain class of closed subspaces of 2(Zd) that we will call D N . Clearly this class of subspaces is determine by the class V M. So, Theorem 3.1, implies an approximation result in 2(Zd), for a very particular class determined by the extra-invariance. Therefore it is interesting to see if this approximation result in 2(Zd), extends to more general classes. We will define in what follows a very general class D N . The cases coming from the continuous case will be particular cases of our general definition. The proof of the optimality that we obtain is more general and cannot follow from Theorem 3.1