Stacks project reader · Examples · Search · Suggestions (AI)

The Stacks project, tag 05WG, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/05WG

A projective module which is not locally free

We give two examples. One where the rank is between \(0\) and \(1\) and one where the rank is \(\aleph_0\).

Lemma 110.34.1 (05WH) official page ↗

Let \(R\) be a ring. Let \(I \subset R\) be an ideal generated by a countable collection of idempotents. Then \(I\) is projective as an \(R\)-module.

Proof. Say \(I = (e_1, e_2, e_3, \ldots)\) with \(e_n\) an idempotent of \(R\). After inductively replacing \(e_{n + 1}\) by \(e_n + (1 - e_n)e_{n + 1}\) we may assume that \((e_1) \subset (e_2) \subset (e_3) \subset \ldots\) and hence \(I = \bigcup_{n \geq 1} (e_n) = \colim_n e_nR\). In this case \[\Hom_R(I, M) = \Hom_R(\colim_n e_nR, M) = \lim_n \Hom_R(e_nR, M) = \lim_n e_nM\] Note that the transition maps \(e_{n + 1}M \to e_nM\) are given by multiplication by \(e_n\) and are surjective. Hence by Algebra, Lemma 10.86.4 the functor \(\Hom_R(I, M)\) is exact, i.e., \(I\) is a projective \(R\)-module.

Suppose that \(P \subset Q\) is an inclusion of \(R\)-modules with \(Q\) a finite \(R\)-module and \(P\) locally free, see Algebra, Definition 10.78.1. Suppose that \(Q\) can be generated by \(N\) elements as an \(R\)-module. Then it follows from Algebra, Lemma 10.15.7 that \(P\) is finite locally free (with the free parts having rank at most \(N\)). And in this case \(P\) is a finite \(R\)-module, see Algebra, Lemma 10.78.2.

Combining this with the above we see that a non-finitely-generated ideal which is generated by a countable collection of idempotents is projective but not locally free. An explicit example is \(R = \prod_{n \in \mathbf{N}} \mathbf{F}_2\) and \(I\) the ideal generated by the idempotents \[e_n = (1, 1, \ldots, 1, 0, \ldots )\] where the sequence of \(1\)’s has length \(n\).

Lemma 110.34.2 (05WJ) official page ↗

There exists a ring \(R\) and an ideal \(I\) such that \(I\) is projective as an \(R\)-module but not locally free as an \(R\)-module.

Proof. See above.

Remark 110.34.3 (0H8D) official page ↗

The example above where \(R = \prod_{n \in \mathbf{N}} \mathbf{F}_2\) and \(I\) the ideal generated by the idempotents \(e_n = (1, 1, \ldots, 1, 0, \ldots )\) also gives us an example \(M = I\) of a non-finitely generated projective module whose dual is finitely generated and even finite free. Namely, using the strategy in the proof of Lemma 110.34.1 the reader shows that \(\Hom_R(I, R) \cong R\).

Lemma 110.34.4 (05WK) official page ↗

Let \(K\) be a field. Let \(C_i\), \(i = 1, \ldots, n\) be smooth, projective, geometrically irreducible curves over \(K\). Let \(P_i \in C_i(K)\) be a rational point and let \(Q_i \in C_i\) be a point such that \([\kappa(Q_i) : K] = 2\). Then \([P_1 \times \ldots \times P_n]\) is nonzero in \(\CH_0(U_1 \times_K \ldots \times_K U_n)\) where \(U_i = C_i \setminus \{Q_i\}\).

Proof. There is a degree map \(\deg : \CH_0(C_1 \times_K \ldots \times_K C_n) \to \mathbf{Z}\) Because each \(Q_i\) has degree \(2\) over \(K\) we see that any zero cycle supported on the “boundary” \[C_1 \times_K \ldots \times_K C_n \setminus U_1 \times_K \ldots \times_K U_n\] has degree divisible by \(2\).

We can construct another example of a projective but not locally free module using the lemma above as follows. Let \(C_n\), \(n = 1, 2, 3, \ldots\) be smooth, projective, geometrically irreducible curves over \(\mathbf{Q}\) each with a pair of points \(P_n, Q_n \in C_n\) such that \(\kappa(P_n) = \mathbf{Q}\) and \(\kappa(Q_n)\) is a quadratic extension of \(\mathbf{Q}\). Set \(U_n = C_n \setminus \{Q_n\}\); this is an affine curve. Let \(\mathcal{L}_n\) be the inverse of the ideal sheaf of \(P_n\) on \(U_n\). Note that \(c_1(\mathcal{L}_n) = [P_n]\) in the group of zero cycles \(\CH_0(U_n)\). Set \(A_n = \Gamma(U_n, \mathcal{O}_{U_n})\). Let \(L_n = \Gamma(U_n, \mathcal{L}_n)\) which is a locally free module of rank \(1\) over \(A_n\). Set \[B_n = A_1 \otimes_{\mathbf{Q}} A_2 \otimes_{\mathbf{Q}} \ldots \otimes_{\mathbf{Q}} A_n\] so that \(\Spec(B_n) = U_1 \times \ldots \times U_n\) all products over \(\Spec(\mathbf{Q})\). For \(i \leq n\) we set \[L_{n, i} = A_1 \otimes_{\mathbf{Q}} \ldots \otimes_{\mathbf{Q}} L_i \otimes_{\mathbf{Q}} \ldots \otimes_{\mathbf{Q}} A_n\] which is a locally free \(B_n\)-module of rank \(1\). Note that this is also the global sections of \(\text{pr}_i^*\mathcal{L}_n\). Set \[B_\infty = \colim_n B_n \quad\text{and}\quad L_{\infty, i} = \colim_n L_{n, i}\] Finally, set \[M = \bigoplus\nolimits_{i \geq 1} L_{\infty, i}.\] This is a direct sum of finite locally free modules, hence projective. We claim that \(M\) is not locally free. Namely, suppose that \(f \in B_\infty\) is a nonzero function such that \(M_f\) is free over \((B_\infty)_f\). Let \(e_1, e_2, \ldots\) be a basis. Choose \(n \geq 1\) such that \(f \in B_n\). Choose \(m \geq n + 1\) such that \(e_1, \ldots, e_{n + 1}\) are in \[\bigoplus\nolimits_{1 \leq i \leq m} L_{m, i}.\] Because the elements \(e_1, \ldots, e_{n + 1}\) are part of a basis after a faithfully flat base change we conclude that the Chern classes \[c_i(\text{pr}_1^*\mathcal{L}_1 \oplus \ldots \oplus \text{pr}_m^*\mathcal{L}_m), \quad i = m, m - 1, \ldots, m - n\] are zero in the chow group of \[D(f) \subset U_1 \times \ldots \times U_m\] Since \(f\) is the pullback of a function on \(U_1 \times \ldots \times U_n\) this implies in particular that \[c_{m - n}(\mathcal{O}_W^{\oplus n} \oplus \text{pr}_1^*\mathcal{L}_{n + 1} \oplus \ldots \oplus \text{pr}_{m - n}^*\mathcal{L}_m) = 0.\] on the variety \[W = (C_{n + 1} \times \ldots \times C_m)_K\] over the field \(K = \mathbf{Q}(C_1 \times \ldots \times C_n)\). In other words the cycle \[[(P_{n + 1} \times \ldots \times P_m)_K]\] is zero in the chow group of zero cycles on \(W\). This contradicts Lemma 110.34.4 above because the points \(Q_i\), \(n + 1 \leq i \leq m\) induce corresponding points \(Q_i'\) on \((C_n)_K\) and as \(K/\mathbf{Q}\) is geometrically irreducible we have \([\kappa(Q_i') : K] = 2\).

Lemma 110.34.5 (05WL) official page ↗

There exists a countable ring \(R\) and a projective module \(M\) which is a direct sum of countably many locally free rank \(1\) modules such that \(M\) is not locally free.

Proof. See above.