Tuesday, 26 May 2026

Geometric Realization of Simplicial Sets (all gory details included)

I wrote up a small note (see above) on geometric realization. For those who haven't seen Kan extensions or Coend calculus, its not obvious how naturality is verified in the "usual" proof of classical adjunction. So I have explicitly written down all the details. Also the argument given in Goerss-Jardine for showing that geometric realization of a simplicial set is actually a CW-complex needed more details. For eg. I have included Eilenberg-Zilber lemma and few other sanity checks.
Hope this helps someone :)

Wednesday, 20 May 2026

Some yapping about Grothendieck universes

We assume that the reader is familiar with ZFC set theory.

Recall that by axiom of infinity, the set of natural numbers $\mathbb{N}$ exists and consists of elements $\emptyset, \{\emptyset\}, \{\emptyset \{\emptyset \}\} \ldots$

Grothendieck had proposed the notion of universes to avoid the use of proper classes in category theory (we shall make this precise).
A set $\mathfrak{U}$ is called a universe if:
  • $\mathbb{N} \in \mathfrak{U}$
  • $x,y \in \mathfrak{U}$ implies $\{x,y\}$
  • $x \in y$ and $y \in \mathfrak{U}$ implies $x \in \mathfrak{U}$ (ie. $\mathfrak{U}$ is transitive)
  • $x \in \mathfrak{U}$ implies powerset $\mathcal{P}(x) \in \mathfrak{U}$
  • Given $\{x_i\}_{i \in I}$ where $I \in \mathfrak{U}$ and each $x_i \in \mathfrak{U}$, then $\bigcup_{i \in I} x_i \in \mathfrak{U}$
From the definition,we have some more simple properties of universe $\mathfrak{U}$:
  • $\emptyset \in \mathfrak{U}$, $x \in \mathfrak{U}$ implies $\{x\} \in \mathfrak{U}$ and $x,y \in \mathfrak{U}$ implies $(x,y) \in \mathfrak{U}$.
  • $x \in \mathfrak{U}$ implies $x \subseteq \mathfrak{U}$, $x \subseteq y$ and $y \in \mathfrak{U}$ implies $x \in \mathfrak{U}$
  • For any $x,y \in \mathfrak{U}$, any map between $x$ and $y$ belongs to $\mathfrak{U}$ and any set consisting of maps between $x$ and $y$ belong to $\mathfrak{U}$.
  • Given $\{x_i\}_{i \in I}$ where $I \in \mathfrak{U}$ and each $x_i \in \mathfrak{U}$, then $\prod_{i \in I} x_i \in \mathfrak{U}$
There are many more properties which we let reader figure out. The takeaway is that universes are big sets which allows us to do usual mathematical constructions inside it.

(Grothendieck's original definition didn't require $\mathbb{N} \in \mathfrak{U}$. So empty set and hereditarily finite sets were valid examples. But these ain't interesting. With our definition, $\mathfrak{U}$ is clearly uncountable)

Recall the standard construction of ordinals and cardinals (refer Jech). An uncountable cardinal $\kappa$ is said to be strongly inaccessible if:
  • For every cardinal $\lambda \lt \kappa$, we have $2^{\lambda} \lt \kappa$ (ie. $\kappa$ is a strong limit)
  • Suppose we have a set of cardinals $\{\lambda_i\}_{i \in I}$ such that $\lambda_i \lt \kappa$ and $|I| \lt \kappa$, then $\sum_{i \in I} \lambda_i \lt \kappa$ (ie. $\kappa$ is regular)
Turns out that Grothendieck universes and strongly inaccessible cardinals are intimately connected. We have the following result (whose proof we omit):

Thm: Cardinality of a universe is strongly inaccessible.

Unfortunately, we can't prove existence of strongly inaccessible cardinals in ZFC (assuming it is consistent). I'm not sure we can refute its existence in ZFC. Anyways this led to Grothendieck to postulate the following axiom $U$: For every set, there exist a universe containing it.
This has strong set theoretic consequences (for eg. proving consistency of ZFC in ZFC + $U$) but we are straying too far away from our topic. We have the following important lemma (which is a direct consequence of a finer version of result given above but we give a direct proof):

Lemma: If $\mathfrak{U}$ is a universe then for any $X \in \mathfrak{U}$, $|X| \in \mathfrak{U}$ (ie. a universe contains cardinalities of all its elements). In particular, if $\kappa \in \mathfrak{U}$ is a cardinal then $2^{\kappa} \in \mathfrak{U}$. Thus $|\mathfrak{U}|$ is a strong limit cardinal.
Proof: The result is trivial for finite sets (since $\mathbb{N} \in \mathfrak{U}$). Anyways using well ordering theorem, give $X$ a well ordering. Now for any $x \in X$, define $\alpha_x$ as the unique ordinal corresponding to $\{y \ | \ y \lt x \}$. We claim that $\alpha_x \in \mathfrak{U}$ for all $x \in X$.
If the claim was false, since $X$ is well ordered, there exist a least element $x \in X$ such that $\alpha_x \not \in \mathfrak{U}$. But clearly $\alpha_x = \bigcup_{y \lt x} \alpha_y^+ $ (here $^+$ denotes the ordinal successor) and so for at least one $y \lt x$, $\alpha_y^+ \not \in \mathfrak{U}$. But $\alpha_y^+ = \alpha_y \cup \{\alpha_y \}$ and so either $\alpha_y \not \in \mathfrak{U}$ or $\{ \alpha_y \} \not \in \mathfrak{U}$. Either way $\alpha_y \not \in \mathfrak{U}$ which contradicts our choice of least element $x$.
Thus $\alpha_x \in \mathfrak{U}$ for all $x \in X$. Now note that ordinal $\chi$ corresponding to $X$ is $\bigcup_{x \in X} \alpha_x^+$. Thus $\chi \in \mathfrak{U}$. Since $|X| \in \chi$ or $|X| =\chi$, we have $|X| \in \mathfrak{U}$.
$$\tag*{\(\blacksquare\)}$$
Recall that given a poset $P$, we say that $Q \subseteq P$ is cofinal if for every $p\in P$, there exist $q \in Q$ such that $p \le q$. The cofinality of $P$ denoted by $cf(P):=\min \{ |Q| \ | \ Q \subseteq P \text{ is cofinal} \}$.

Now finally after all the yapping, we can state our cute result:

Thm: Let $\mathfrak{U}$ be a universe and let $\kappa \in \mathfrak{U}$ be a cardinal. Then there exist a cardinal $\alpha \in \mathfrak{U}$ such that $cf(\alpha) \gt \kappa$
Proof: Note that $cf(\omega) = \omega$ and $\omega = \mathbb{N} \in \mathfrak{U}$. So if $\kappa$ is finite then we are done. So we can assume $\kappa$ is infinite. Obviously there are ordinals in $\mathfrak{U}$ whose cardinality is strictly greater than $\kappa$ (for eg. $2^{\kappa}$ by previous lemma). Let $\alpha$ be least such ordinal. Clearly $\alpha$ is a limit ordinal (since $\alpha$ is infinite, if it had a predecessor, it would also have the same cardinality, thus contradicting our choice of $\alpha$). In fact, similar reason tells us that it is a cardinal.
Aiming for contradiction, suppose $cf(\alpha) \le \kappa$. So we have a cofinal subset $C \subseteq \alpha$ such that $|C| \le \kappa$. Note for any $\beta \in C \subseteq \alpha$, $|\beta| \lt \alpha$ (since $\alpha$ is a cardinal). So $|\beta| \le \kappa$ (since $\alpha$ is the least choice).
Since $C$ is cofinal and $\alpha$ is limit ordinal, we easily see that $\alpha = \bigcup_{\beta \in C} \beta$. So $\alpha = |\bigcup_{\beta \in C}\beta| \le |C||\beta| \le \kappa^2 = \kappa$ (here operations are cardinal arithmetic) which is absurd since by our choice $\alpha \gt \kappa$.
$$\tag*{\(\blacksquare\)}$$

This lemma is quite useful in homological algebra. However that is a story for another time.








PS: The original title of the post was "Cute set theoretic lemma on universes" and was supposed to contain only the last cute result. But I think I yapped too much about universes and inaccessible cardinals and hence the current title. We freely used axiom of choice (for eg. well ordering theorem, assigning cardinals to any set, infinite cardinal arithmetic etc). Accept it as your friend. All the chuds seething about this axiom, keep sniffing glue. In the lemma, to see that $|\mathfrak{U}|$ is a strong limit cardinal, simply use $2^{2^{\kappa}} \in \mathfrak{U}$ whenever $\kappa \in \mathfrak{U}$.

Tuesday, 12 May 2026

Gabel's Result on Stably Free Modules

All rings are assumed to be commutative and contains $1$. Only elementary module theory is assumed.

Let $R$ be a ring. We say that $M$ is a stably free if there exist some $k \in \mathbb{N}$ such that $M \oplus R^k$ is a free $R$-module. Obviously, stably free modules are projective.

A grammar nazi may retort saying something along the lines of "Um actually ðŸ¤“, the name suggests that we must call $M$ stably free if there exist a free $R$-module $F$ such that $M \oplus F$ is free. There is no reason to restrict $F$ to being finitely generated". The reason why don't use this definition is that we already have an another name for these modules: PROJECTIVE MODULES!!!!

More precisely, suppose you take a projective $R$-module $P$. Then there exist an $R$-module $Q$ such that $P \oplus Q$ is free. But we can rewrite $P \bigoplus_{i \in \mathbb{N}} (Q \oplus P) \cong P \oplus Q \oplus P \oplus \ldots \cong \bigoplus_{i \in \mathbb{N}} (P \oplus Q) $. This sneaky bracketing trick is know as Eilenberg swindle (we saw that for any projective module $M$, there exist a free module $F$ such that $M \oplus F \cong F$).

Usually in textbooks, finite generation is build into the definition of stably free. This is due to a theorem by Gabel:

Thm: Every stably free $R$-module that is not finitely generated is free.

Proof: Let $M$ be such a module. Say $F := M \oplus R^k$ is free. Obviously $F$ is not finitely generated (since $F \twoheadrightarrow M$ and $M$ ain't finitely generated). Consider the projection $\pi:F \twoheadrightarrow R^k$ and by choosing preimages of standard basis of $R^k$, we can find a finitely generated free submodule $G$ of $F$ such that $\pi(G)=R^k$. Also note that $F = G + M$ (this is because for each $x \in F$, we can find $y \in G$ such that $\pi(x)=\pi(y)$ ie. $x-y \in \ker \pi = M$).

By second isomorphism theorem, $$\frac{G}{M \cap G} \cong \frac{G + M}{M} = \frac{F}{M} \cong R^k$$

In other words, we have an exact sequence $0 \to M \cap G \to G \to R^k \to 0$ and since $R^k$ is projective, $G \cong (G \cap M) \oplus R^k$

Again using second isomorphism theorem, $$\frac{M}{M \cap G} \cong \frac{G + M}{G} = \frac{F}{G} \cong \bigoplus_{i \in \mathbb{N}} R$$

(since $G$ has finite rank whereas $F$ has infinite rank)

From above, $\frac{M}{M \cap G}$ is free (hence projective) and thus $M \cong (G \cap M) \oplus \frac{M}{M \cap G}$.

Now we combine all the facts given above:

$$\begin{align*} M & \cong  (G \cap M) \oplus \frac{M}{M \cap G} \\ & \cong (G \cap M) \oplus \bigoplus_{i \in \mathbb{N}} R \\ & \cong (G \cap M) \oplus R^k \oplus \bigoplus_{i \in \mathbb{N}} R \\ & \cong G \oplus \bigoplus_{i \in \mathbb{N}} R  \end{align*}$$

Thus, $M$ is a free $R$-module.

$$\tag*{\(\blacksquare\)}$$

PS: I learned this result from Anand Sawant. Keith Conrad has a good exposition on stably free modules. This is a minipost (I typed this up coz I was pissed at the laundry people)







Friday, 17 April 2026

Amitsur Complex & Faithfully Flat Descent for Modules

 We assume that the reader is familiar with rudimentary Commutative Algebra. Our rings are always commutative with unity and ring maps preserve unity.

Suppose we have a ring map $f:R \to S$ and a $S$-module $M$. One may ask whether $M$ is obtained by extension of scalars from an $R$-module? Obviously you can't just restrict the scalars and then extend it again (for eg. try it for $\mathbb{R} \to \mathbb{C}$ and $M = \mathbb{C}$). This example also shows that even "finite freeness" ain't enough. Turns out that "faithfully flat" & satisfying "cocycle condition" is enough.

Thm 0: Let $f:R \to S$ be a flat map. TFAE:

  1. For any $R$-module $M$, $M =0$ iff $S \otimes_R M =0$
  2. A  sequence of $R$-modules $M_1 \to M_2 \to M_3$ is exact whenever $S \otimes_R M_1 \to  S \otimes_R M_2 \to S \otimes_R M_3$ is exact.
  3. $Spec(S) \xrightarrow{f^*} Spec(R)$ is surjective ie. every prime ideal of $R$ is contracted.
  4. For every maximal ideal $m$ of $R$, $f(m)S \not = S$
We say that $R \xrightarrow{f} S$ is faithfully flat if it is flat and any of the above equivalent conditions are satisfied.

Proof of Thm 0:
(1) implies (2): Suppose we have a sequence $M_1 \xrightarrow{a} M_2 \xrightarrow{b} M_3$ as given above. By exactness of $S \otimes_R -$, $img(ba) \otimes_R S \cong img((b\otimes 1)(a \otimes 1)=0$ and by (1), we have $img(ba)=0$. Again by exactness of $S \otimes_R -$, $\frac{\ker(b)}{img(a)} \otimes_R S \cong \frac{\ker(b \otimes 1)}{img(a \otimes 1)} = 0 $ and again by (1), $\ker(b) = img(a)$.

(2) implies (1): This is easy because $M \xrightarrow{0} M \to 0$ is exact iff $M =0$

(1) implies (3): For $p \in Spec(R)$, let $k(p) :=\frac{R_p}{pR_p}$. Then from basic commutative algebra, we have a homeomorphism ${f^*}^{-1}(q) \cong Spec(S \otimes_R k(p))$ which is nonempty since $S \otimes_R k(p) \not = 0$ (use (1) and $k(p) \not = 0$).

(3) implies (4): This is easy because (3) tells us that for any maximal ideal $m$ of $R$, we can find $m' \in Spec(S)$ such that $m = f^{-1}(m')$ and so $f(m)S \subseteq m' \subsetneq S$

(4) implies (1): Note that from (4), we can actually conclude $f(I)S \not = S$ for any proper ideal $I$ of $R$.
Suppose $M \not = 0$. Then choose $x \in M \setminus \{0\}$ (so $Ann(x) \subsetneq R$). By flatness of $f:R \to S$, its enough to show $Rx \otimes_R S \not = 0$ (instead of $S \otimes_R S \not = 0$). But $Rx \otimes_R S \cong \frac{R}{Ann(x)} \otimes_R S \cong \frac{S}{f(Ann(x))S} \not = 0$.

$$\tag*{\(\blacksquare\)}$$

We need to develop some basic machinery first.

Let $f:R \to S$ be a ring map. Let $S^{\otimes n} := S \otimes_R S \otimes_R \ldots n \text{ times}$ (we shall omit $R$ from subscript henceforth).

We have face maps $d^i_n:S^{\otimes n+1} \to S^{\otimes n+2}$ for $0\le i \le n+1$,  given by inserting $1$ in $i^{\text{th}}$ position ie. $x_0 \otimes x_1 \otimes \ldots \otimes x_n \mapsto  x_0 \otimes x_1 \otimes \ldots x_{i-1} \otimes 1 \otimes x_i \ldots \otimes x_n$.

Lemma 1: $d_{n+1}^jd_{n}^i = d_{n+1}^id_n^{j-1}$ for $0 \le i < j \le n+2$

Proof: Note that both of them take $x_0 \otimes x_1 \otimes \ldots \otimes x_n $ to $x_0 \otimes x_1 \otimes \ldots \otimes x_{i-1} \otimes 1 \otimes x_i \otimes \ldots \otimes x_{j-2} \otimes  1 \otimes x_{j-1} \otimes \ldots \otimes x_n  $ (when $j=i+1$, $x_i \otimes \ldots \otimes x_{j-2}$ is empty).

$$\tag*{\(\blacksquare\)}$$

Let $\delta^n = \sum_{i=0}^{n+1} (-1)^i d^i_n$. Then Amitsur Complex $\mathcal{A}(S/R)$ is defined as a sequence of following $R$-modules:

$0 \xrightarrow{} R \xrightarrow{f} S \xrightarrow{\delta^0} S \otimes S \xrightarrow{\delta^1} S \otimes S \otimes S \xrightarrow{\delta^2} S^{\otimes 4} \to \cdots    $

(we set $\delta^{-1} := f$)


Thm 2: $\mathcal{A}(S/R)$ is indeed a cochain complex.

Proof: $\delta^0 f = 0$ follows from $R$-module structure on $S$. Now we compute $\delta^{n+1}\delta^n$.

$$\begin{align*} \delta^{n+1}\delta^n &= \sum_{j=0}^{n+2} (-1)^j \sum_{i=0}^{n+1} (-1)^i d^j_{n+1} d^i_n \\ &=\sum_{j=0}^{n+2} \sum_{i=0}^{n+1} (-1)^{i+j} d^j_{n+1}d^i_n \\ &= \sum_{0\le j \le i \le n+1} (-1)^{i+j} d^j_{n+1}d^i_n + \sum_{0\le i < j \le n+2} (-1)^{i+j} d^j_{n+1}d^i_n \\  &= \sum_{0\le j \le i \le n+1} (-1)^{i+j} d^j_{n+1}d^i_n + \sum_{0\le i < j \le n+2} (-1)^{i+j} d^i_{n+1}d^{j-1}_n \ \ \ \  \ \ \ (\text{use lemma } 1) \\ &=\sum_{0\le j \le i \le n+1} (-1)^{i+j} d^j_{n+1}d^i_n + \sum_{0\le j < i \le n+2} (-1)^{i+j} d^j_{n+1}d^{i-1}_n \\ &=\sum_{0\le j \le i \le n+1} (-1)^{i+j} d^j_{n+1}d^i_n + \sum_{0\le j \le i \le n+1} (-1)^{i-1+j} d^j_{n+1}d^{i}_n \  \  \ \ \ \ \  \ \ (i \mapsto i-1) \\&= 0 \end{align*}$$

$$\tag*{\(\blacksquare\)}$$

Let $f':R \to R'$ be another ring map. Then we obtain the ring map $R' \xrightarrow{f \otimes 1} S \otimes_R R' =: S'$ (given by $r' \mapsto 1 \otimes r'$). Let ${S'}^{\otimes n} := S' \otimes_{R'} S' \otimes_{R'} \ldots n \text{ times}$. We have ${S}^{\otimes n} \otimes_R R' \cong {S'}^{\otimes n}$ as $R'$-modules given by $(\otimes_{i=1}^n s_i) \otimes r' \mapsto r' (\otimes_{i=1}^n(s_i \otimes 1))$

(Its an easy exercise to show that this map is indeed well defined and its inverse also has an easy description. Can y'all find it?)

We have the following formal consequence:

Lemma 3: Suppose $R \to S$, $R \to R'$ are rings maps. Then the canonical isomorphisms ${S}^{\otimes n} \otimes_R R' \cong {S'}^{\otimes n}$ given above, gives rise to an isomorphism of complexes (of $R'$-modules) $\mathcal{A}(S/R) \otimes R' \cong \mathcal{A}(S'/R')$ 

Proof: Just stare at $d^i_n$ (note $1 \otimes 1$ is unity in $S'$). Also we have the following commutative diagram:


(also recall the $R$-module structure on $S$)

$$\tag*{\(\blacksquare\)}$$

We shall be interested in $M \otimes \mathcal{A}(S/R)$ and we will still use the notation $d^i_n$ or $\delta^n$.

Grothendieck proved that when $R \xrightarrow{f} S$ is faithfully flat, $\mathcal{A}(S/R)$ is exact. More generally, we have the following theorem:

Thm 4: Let $M$ be a $R$-module and let $f:R \to S$ be faithfully flat. Then the cochain complex $M \otimes \mathcal{A}(S/R)$ is exact.

Proof: First, we prove the assertion assuming that $f:R \to S$ has a section $g:S \to R$ (ie. $gf=id_R$). Here, we do not use faithfully flat assumption. We shall use homotopy invariance of homology (its fine if you are not familiar with this concept, you can directly plug in values to prove exactness). For $n \ge -1$, let $h_n:M \otimes_R S^{\otimes n+2} \to M \otimes_R S^{\otimes n+1}$  by $m \otimes (\otimes_{i=0}^{n+1} s_i) \mapsto  m \otimes g(s_0)s_1 \otimes (\otimes_{i=2}^{n+1} s_i) $ (so by convention, $h_{-1}: M \otimes_R S \to M$ is $m \otimes s \mapsto g(s)m$). Note that $h_{-1}$ is left inverse for $M \to M \otimes_R S$.

We shall prove $h_{n+1} \delta^{n+1} + \delta^n h_n = \text{id}_{M \otimes_R S^{\otimes n+2}}$. This is an easy computation and I recommend you to try these on your own (even if you want to read, skip the $n=-1$ case).

Lets deal with $n=-1$ case first for sake of our sanity. 

$$\begin{align*}  h_{0} \delta^{0} + \delta^{-1} h_{-1} (m \otimes s) &=   h_0(m \otimes 1 \otimes s - m \otimes s \otimes 1) + \delta^{-1}(g(s)m) \\&= m \otimes g(s)1 - m \otimes g(1)s + g(s)m \otimes 1 \\&= m \otimes s   \end{align*}$$

Now for the general case $n \ge 0$, lets make some preliminary observations:

$$\begin{align*}  h_{n+1} d^0_{n+1}(m \otimes (\otimes_{i=0}^{n+1} s_i))   &= h_{n+1}(m \otimes 1 \otimes \otimes_{i=0}^{n+1} s_i)) \\ &= m  \otimes (\otimes_{i=0}^{n+1} s_i) \end{align*}$$

Thus $h_{n+1}d^0_{n+1} = \text{id}_{M \otimes_R S^{\otimes n+2}}$

We also compute for $0 \le i \le n+1$: 

$$\begin{align*} d^i_n h_n(m \otimes (\otimes_{i=0}^{n+1} s_i)) &= d^i_n (m \otimes g(s_0)s_1 \otimes (\otimes_{i=2}^{n+1} s_i)) \\ &= m \otimes g(s_0)s_1\otimes s_2 \otimes \ldots \otimes s_i \otimes 1 \otimes  s_{i+1} \otimes \ldots \otimes s_{n+1} \\  h_{n+1} d^{i+1}_{n+1}(m \otimes (\otimes_{i=0}^{n+1} s_i))   &= h_{n+1}(m \otimes s_0 \otimes s_1\otimes s_2 \otimes \ldots \otimes s_i \otimes 1 \otimes  s_{i+1} \otimes \ldots \otimes s_{n+1})  \\&=  m \otimes g(s_0)s_1\otimes s_2 \otimes \ldots \otimes s_i \otimes 1 \otimes  s_{i+1} \otimes \ldots \otimes s_{n+1} \end{align*}$$

So $d^i_n h_n = h_{n+1} d^{i+1}_{n+1}$

Combining the above results, $h_{n+1} \delta^{n+1} + \delta^n h_n = h_{n+1}d^0_{n+1} + \sum_{i=0}^{n+1} (-1)^{i+1} h_{n+1}d^{i+1}_{n+1} + \sum_{i=0}^{n+1} (-1)^i d^i_nh_n = h_{n+1}d^0_{n+1} = \text{id}_{M \otimes_R S^{\otimes n+2}}$

Thus in this case, $M \otimes \mathcal{A}(S/R)$ is exact.

Now for general case (here we do have use faithfully flat assumption), using Lemma 3 we have $M \otimes \mathcal{A}(S/R) \otimes S \cong M \otimes \mathcal{A}(S \otimes_R S / S)$ (the new ring map is $s \mapsto 1 \otimes s$). Note $S \to S \otimes_R S$ has multiplication map $s_1 \otimes s_2 \mapsto s_1s_2$ as its section.

Thus $M \otimes \mathcal{A}(S/R) \otimes S \cong M \otimes \mathcal{A}(S \otimes_R S / S)$ is exact. Since $R \xrightarrow{f} S$ is faithfully flat, $M \otimes \mathcal{A}(S/R)$ is exact.

$$\tag*{\(\blacksquare\)}$$

Cor 5: Let $M$ be a $R$-module and let $f:R \to S$ have a section. Then the cochain complex $M \otimes \mathcal{A}(S/R)$ is exact.

Now its time to prove the naive faithfully flat descent for modules. We shall only need exactness of $0 \to M \to M \otimes_R S \to M \otimes_R S \otimes_R S$.  

Set $p_i := d^i_0$ (so $\delta^0 = p_0 - p_1$). These correspond to the projections of fiber product at $Spec$ level. Set $d_i := d^i_1$. Given a $S$-module $N$, $N \otimes_R S$ can be given a $S \otimes_R S$-module structure $(s_1 \otimes s_2)(n \otimes s) := s_1n \otimes s_2s$. Similarly we can view $S \otimes_R N$ as $S \otimes_R S$-module by $(s_1 \otimes s_2)(s \otimes n) := s_1s \otimes s_2n$ .

A descent datum on a $S$-module $N$ is an $S \otimes_R S$-module isomorphism $\phi: N \otimes_R S\cong S \otimes_R N$ which satisfies the following cocycle condition: the three induced $S^{\otimes 3}$-module isomorphisms (which are identity in respective coordinates):

  • $\phi_0: S \otimes_R N \otimes_R S\cong S \otimes_R S \otimes_R N$
  • $\phi_1: N \otimes_R S \otimes_R S\cong S \otimes_R S \otimes_R N$
  • $\phi_2: N \otimes_R S\ \otimes_R S \cong S \otimes_R N \otimes_R S$
satisfies $\phi_1 = \phi_0 \phi_2$.

The role of descent datum is to take care of $2$-fold and $3$-fold intersections. Let us try to see why cocycle condition is necessary.

Lemma 6: Let $R \to S$ be a ring map and let $M$ be a $R$-module. Then we have a canonical descent datum on $S \otimes_R M$ (viewed as a $S$-module).
Proof: We have an obvious $R$-module isomorphism $\phi: (S \otimes_R M) \otimes_R S \cong S \otimes_R (S \otimes_R M)$ given by $s \otimes m \otimes s' \mapsto s \otimes s' \otimes m$. It is also  $S^{\otimes 2}$-linear (wrt. $S^{\otimes 2}$-module structure described previously). Lets verify the cocycle condition (you should try to do this yourself):
$\phi_0 \phi_2 ( (s_1 \otimes m) \otimes s_2 \otimes s_3)=  \phi_0(s_1 \otimes (s_2 \otimes m) \otimes s_3) = s_1 \otimes s_2 \otimes (s_3 \otimes m) = \phi_1(s_1 \otimes m) \otimes s_2 \otimes s_3))$

Thus cocycle condition $\phi_1 = \phi_0 \phi_2$ is satisfied.
$$\tag*{\(\blacksquare\)}$$

We can define a category $S-\text{Mod}_{f}$ of $S$-modules equipped with a descent datum: the objects are pairs $(N, \phi)$ where $N$ is a $S$ module and $\phi$ is a descent datum. A morphism $(N_1, \phi) \to (N_2, \phi')$ is given by $S$-linear maps $l:N_1 \to N_2$ satisfying:
Note that vertical maps in the diagram are $S^{\otimes 2}$-linear in our sense.

Observe that Lemma 6 (and an easy check on naturality) gives us for each ring map $f:R \to S$, a functor $R-\text{Mod} \xrightarrow{F} S - \text{Mod}_{f} $, $M_1 \xrightarrow{m} M_2 \mapsto (S \otimes_R M_1, \phi) \xrightarrow{id_S \otimes \phi} (S \otimes_R M_2, \phi')$

So our original question which asks when a $S$-module is obtained via extension of scalar can be upgraded functorially to the following question: When is the functor $F$ defined above an equivalence of categories (or at least essentially surjective)? As you have already guessed, $F$ is indeed an equivalence when $f:R \to S$ is faithfully flat. Let us prove the easy bit first.

Thm 7: If $R \xrightarrow{f} S$ is faithfully flat, $R-\text{Mod} \xrightarrow{F} S - \text{Mod}_{f} $ is fully faithful.
Proof: Suppose we have $m,m':M_1 \to M_2$ such that $id_S \otimes m = id_S \otimes m'$. By flatness, $0=img(id_S \otimes m - id_S \otimes m') \cong img(m-m') \otimes_R S$ and by faithfully flatness, $img(m-m') = 0$ ie. $m = m'$. This proves faithfulness.

Suppose $l:S \otimes_R M_1 \to S \otimes_R M_2$ satisfy the diagram given above. By exactness of Amitsur complex (Thm 4), we can identify $M_1$ with $\{1 \otimes x \ | \ x \in M_1 \}$. Pick $1 \otimes x \in M_1$ and suppose $l(1 \otimes x) = \sum_i s_i \otimes x_i$. By the given commutating square and tracing $1 \otimes x \otimes 1$, $\sum_i s_i \otimes 1 \otimes x_i = \sum_i 1 \otimes s_i \otimes x_i$. Thus $l(x) \in \ker(p_0-p_1) \subseteq S \otimes_R M_2$ and again by exactness of Amitsur complex, can be identified with $M_2$.Thus $l(M_1) \subseteq M_2$.
So we get a $R$-linear map $M_1 \xrightarrow{m} M_2$ which by construction satisfies $l(1 \otimes x)=1 \otimes m(x)$. Now $l(s \otimes x) = s l(1 \otimes x)=s(1 \otimes m(x))=s \otimes m(x)$ (here we used $l$ is $S$-linear). Thus $l = id_S \otimes m$. This proves fullness.
$$\tag*{\(\blacksquare\)}$$

The above proof gives us an idea about how to prove essential surjectivity. It strongly indicates that we must use exactness of Amitsur complex.

Thm 8: If $R \xrightarrow{f} S$ is faithfully flat, $R-\text{Mod} \xrightarrow{F} S - \text{Mod}_{f} $ is essentially surjective.
Proof: Suppose we have descent datum $(N, \phi)$. Define two $R$-linear maps $\alpha, \beta: N \to S \otimes_R N$ given by $\alpha(n) = 1 \otimes n$ and $\beta(n)=\phi(n \otimes 1)$. Let $M := \ker(\alpha - \beta)$ (this is a $R$-submodule of $N$, let $i:M \to N$ be inclusion). Let $\mu(m \otimes s)=sm$.
We now claim that the following diagram commutes:
Let us first show the commutativity of the leftmost square. Let $m \otimes s \in M \otimes_R S$. Then we just have show $1 \otimes sm= \phi(m \otimes s)$. Note $\phi(m \otimes 1) = 1 \otimes m$ (by definition of $M$). So $\phi(m \otimes s) = \phi((1 \otimes s)(m \otimes 1))=(1 \otimes s) \phi(m \otimes 1) =(1 \otimes s)(1 \otimes m) = 1 \otimes sm$
Here $S^{\otimes 2}$-structure played a crucial role. Thus we showed left square commutes.
Let us now prove that the right square commutes too. First observe that $p_0\phi = \phi_0 (\alpha \otimes id_S)$ (this is actually vacuous). Now we compute the rest:
$$\begin{align*}  \phi_0(\beta \otimes id_S)(n \otimes s) &= \phi_0 (\phi(n \otimes 1) \otimes s) \\ &= \phi_0 \phi_2 (n \otimes 1 \otimes s) \\ &= \phi_1(n \otimes 1 \otimes s) \\&= p_1 \phi (n \otimes s)\end{align*}$$
Here we used the cocycle condition. Thus $\phi_0 \beta = p_1 \phi$ (note that in our diagram we have used the right-handed version of Amitsur complex, so be careful of how $p_0, p_1$ are defined). Thus we have proved that the right square commutes.
Note that top row is obtained by tensoring the exact sequence (of $R$-modules) $0 \to M \xrightarrow{i} N \xrightarrow{\alpha - \beta} S \otimes_R N$ with $S$. Since $f: R \to S$ is flat, the top row is exact. The bottom row is exact since its the Amitsur complex and $f:R \to S$ is faithfully flat (Thm 4). So by basic diagram chasing (aka. five lemma), $\mu$ is an isomorphism (note $\mu$ is also $S$-linear). Thus $\theta: S \otimes_R M \to N$ given by $s \otimes m \mapsto sm$ is an $S$-linear isomorphism.
Only thing left to check is that the descent datum $\phi$ of $N$ is compatible with canonical descent datum of $S \otimes_R M$ via the $S$-linear isomorphism $\theta$ ie. check commutativity of following diagram:
$$\begin{align*} \phi(\theta \otimes id_S )(s_1 \otimes m \otimes s_2) &=  \phi(s_1m \otimes s_2) \\ &= \phi((s_1 \otimes s_2)(m \otimes 1)) \\&= (s_1 \otimes s_2) \phi(m \otimes 1) \\&= (s_1 \otimes s_2)(1 \otimes m) \\ &= s_1 \otimes s_2m \\ &= (id_S \otimes \theta)(s_1 \otimes s_2 \otimes m) \\ &= (id_S \otimes \theta) \phi' (s_1 \otimes m \otimes s_2) (\end{align*}$$
The $S^{\otimes 2}$-module structure and definition of $M$ was very crucial in above computation. Thus we have proved the commutativity.
$$\tag*{\(\blacksquare\)}$$

Thus Thms 7 & 8, tells us if $R \xrightarrow{f} S$ is faithfully flat, $R-\text{Mod} \xrightarrow{F} S - \text{Mod}_{f} $ is an equivalence of categories. This result is very useful in fpqc descent in algebraic geometry. I will probably post about this later.








References: Etale Cohomology by JS Milne

PS: This was a tiny part of my talk in Etale Cohomology seminar thats happening in TIFR right now.

Geometric Realization of Simplicial Sets (all gory details included)

Geometric Realization of Simplicial Sets I wrote up a small note (see above) on geometric realization. For those who haven't seen Kan ex...