Lemma 27 (Lec 13): a morphism of schemes f : X → Y is affine iff the preimage of
every affine open of Y is an affine open of X.
Forward direction of Lemma 27: if f is affine, then preimages of affine opens
are affine opens.
Converse direction of Lemma 27: if preimages of all affine opens are affine,
then f is an affine morphism.
A morphism f : X → Y is finite iff it is affine and, for every affine open U
of Y, the induced ring map Γ(U, O_Y) → Γ(f⁻¹U, O_X) is finite.
Every finite morphism is affine.
If f is finite then, on every affine open of Y, the corresponding map of
section rings is a finite ring map.
Converse: an affine morphism whose induced ring maps on affine opens are all finite is itself a finite morphism.
Affine case: Spec.map f : Spec S → Spec R is finite iff the underlying ring
map f : R → S is finite.
A morphism is finite iff it is both integral and locally of finite type.