A key commutative algebra lemma
Let A be a ring, and M an A module. What follows is the algebraic material need to define Spec A as a locally ringed space as well as quasicoherent sheaves on Spec A. For domain R, we denote by K(R) its fraction field. Spectrum of a ring as a topological space. We denote by X:= Spec A the set of all prime ideals of A. We give it the Zariski topology, defined by requiring that a subset C of X be closed iff there exists an ideal I in A such that C= Z(I), the set of prime ideals containing I. We interpret it as the set of points p in X where f(x)=0 for every f in I. Here the value of f at p is its image in A/p and in fact of κ(p), the residue field of X at p, defined by K(A/p). A basis of the topology is given by the principal open sets D(f), loci where f ≠0, aka complement of Z((f)) where f is the principal ideal generated by f. This basis is closed under intersection, in that D(f)\cap D(g)=D(fg). Lemma D(f) is contained in D(g) iff the structural ring homomorphism A \to A_g factors...