The nucleon spectral function in nuclear matter