Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Sadly I don't follow his explanation there. Specifically, I mean the fact that $f^!(F) \cong f^*(F) \otimes f^!(\mathcal{O}_Y)$, for $F$ with proper support. As far as the spanning set is concerned, I only know a proof that they are in fact one when the scheme is smooth and projective. In the general case $Y$ is only quasi-projective, I think.