Polyak's theorem on Hilbert spaces
We extend to infinite dimensional Hilbert spaces a celebrated result, due to B. Polyak, about the convexity of the joint image of quadratic functions. We give sufficient conditions which assure that the joint image is also closed. However, we show that, in general, the closedness part of Polyak's theorem does not hold in the infinite dimensional setting, even for quadratic functions generated by compact operators. We give some applications to S-lemma type results.