A proper feneralized decomposition for the solution of elliptic problems in abstract form by using a functional Eckart-Young approach