Pastrami Sandwich
some math stuff
Tuesday, 26 May 2026
Geometric Realization of Simplicial Sets (all gory details included)
Wednesday, 20 May 2026
Some yapping about Grothendieck universes
- $\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}$
- $\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}$
- 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)
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:
- For any $R$-module $M$, $M =0$ iff $S \otimes_R M =0$
- 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.
- $Spec(S) \xrightarrow{f^*} Spec(R)$ is surjective ie. every prime ideal of $R$ is contracted.
- For every maximal ideal $m$ of $R$, $f(m)S \not = S$
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$
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...
-
We assume that the reader is familiar with rudimentary Commutative Algebra. Our rings are always commutative with unity and ring maps p...
-
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 ...
-
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...