% Hexagon note H22, version 2, 23 November 2026. CC0 1.0. % Text of version 1: Claude Opus 5.5 at effort max. Edited into version 2 by Claude Fable 5.2 at effort max. % Version 3 (23 Nov 2026, Claude Opus 5.5 at effort max): title (R_0 is a semiring), and the credit to Caviglia-Faul-Manuell-Mesiti, arXiv:2607.12944, read at the source. % Version 4 (24 Nov 2026, Claude Opus 5.5 at effort max, main session 329fb1e6): two sentences corrected (section 1, the known cases; the remark after the proof of Theorem 3, now rem:one-idempotent): an R-module is projective over R_0 only if it is zero. Found by the SPLIT_ZERO_AFTER_FGJM run (GPT-6 Astra, ChatGPT Pro mode, FND-012/013), checked by its intake (Claude Fable 5.2 at effort max). % Deposit text (WB-0008, 24 Nov 2026, Claude Opus 5.5 at effort max, main session 329fb1e6): the depositor's idea credited (the user's word: the split zero is the user's own idea); the pre-deposit correction and the Crossref check of the references recorded; the record links; the date. \documentclass[11pt]{amsart} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern,microtype} \usepackage[margin=27mm]{geometry} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{xcolor} \usepackage[colorlinks=true,linkcolor=blue!50!black,citecolor=blue!50!black,urlcolor=blue!50!black]{hyperref} \usepackage{xurl} \setlength{\emergencystretch}{2em} \newcommand{\workbenchurl}{https://github.com/KokunoYumeto/schemes-and-moduli-workbench/tree/main/work/WB-0008/v1} \newcommand{\recordurl}{https://github.com/KokunoYumeto/mathematics-workbenches/blob/main/works/WB-0008.md} \newtheorem{theorem}{Theorem} \newtheorem{maincor}[theorem]{Corollary} \newtheorem{thm}{Theorem}[section] \newtheorem{lemma}[thm]{Lemma} \newtheorem{proposition}[thm]{Proposition} \theoremstyle{remark} \newtheorem{remark}[thm]{Remark} \newtheorem{example}[thm]{Example} \newcommand{\B}{\mathbb B} \newcommand{\oz}{\widehat{0}} \DeclareMathOperator{\Spec}{Spec} \DeclareMathOperator{\Idl}{Idl} \DeclareMathOperator{\supp}{supp} \DeclareMathOperator{\Ann}{Ann} \title[Spectrum, semimodules and projectives of $R_0$]{Spectrum, semimodules and projectives of the inverse semiring $R_0$ of Faul, Goswami, Joubert and Manuell} \author{} \date{24 November 2026} \begin{document} \begin{abstract} Faul, Goswami, Joubert and Manuell made the case for inverse semirings, the semirings whose additive monoid is an inverse monoid. One of their basic examples is the semiring $R_0$ obtained from a ring $R$ by adjoining a new zero; they showed that $\mathbb Z_0$ is the initial inverse semiring and that every module over an inverse semiring has an inverse additive monoid. Caviglia, Faul, Manuell and Mesiti then described every inverse semiring by an idempotent semiring and a lax monoidal functor from it to abelian groups; for $R_0$ the idempotent semiring is the Boolean semifield. For a nonzero commutative ring $R$ we determine the prime spectrum of $R_0$, its congruences, its semimodules and its finitely generated projective semimodules. The spectrum is $\Spec R$ with one new point below all others, at which the localization is the Boolean semifield. The semimodules are the strong semilattices of $R$-modules: families of $R$-modules indexed by a join-semilattice, with linear maps along the order; this is the counterpart for semimodules of the description of Caviglia, Faul, Manuell and Mesiti. The finitely generated projective ones are classified by finite posets carrying a finitely generated projective $R$-module at each element, and their semilattices of idempotents are exactly the finite distributive lattices. Since the $\mathbb Z_0$-semimodules are the commutative inverse monoids, the case $R=\mathbb Z$ is Clifford's theorem together with a classification of the finitely generated projective commutative inverse monoids. Finally, $R\mapsto R_0$ is fully faithful on commutative rings, and when the units of $R$ have no common nonzero fixed point, the two zeros of $R_0$ are exactly the common fixed points of the units. The construction began as an idea of the depositor's, in a conversation with Gemini~2.5 Pro (Gemini app). The results were produced by Gemini~2.5 Deep Think (Gemini app, Deep Think mode) and by GPT-5-series Pro models (ChatGPT Pro mode, at reasoning effort ultra), checked and written up by Claude Opus 5.5 at effort max, and checked again and edited by Claude Fable 5.2 at effort max. No human has checked the proofs. \end{abstract} \maketitle \section{The construction and the theorems} \subsection{The construction} A \emph{semiring} $(S,+,0,\cdot,1)$ has a commutative monoid $(S,+,0)$ and a monoid $(S,\cdot,1)$, with multiplication distributing over addition and $0x=0=x0$. It is an \emph{inverse semiring} if $(S,+,0)$ is an inverse monoid: every $x$ has a unique $-x$ with $x+(-x)+x=x$ and $(-x)+x+(-x)=-x$ \cite[\S1]{FGJM}. Rings are inverse semirings, with the usual negative, and so are idempotent semirings, with $-x=x$. Following \cite{FGJM} we write $0_x=x+(-x)$. It is an additive idempotent, and in a ring it is the zero. For an inverse semiring $R$, Definition~3.6 of \cite{FGJM} gives the inverse semiring $R_0=R\sqcup\{0\}$. The operations of $R$ are kept on $R$, and the new element $0$ is an identity for addition and absorbing for multiplication. A homomorphism $f\colon R\to S$ is sent to $f_0\colon R_0\to S_0$, which is $f$ on $R$ and sends $0$ to $0$; so $R\mapsto R_0$ is a functor. The zero of $R$ is no longer the zero of $R_0$. In \cite{FGJM} it is written $\oz$, and we keep this notation. Throughout, $R$ is a commutative ring, and $R\ne0$ unless the zero ring is expressly allowed. In $R_0$ the old zero is $\oz=0_1=1+(-1)$. It satisfies $\oz+x=x$ and $\oz\,x=\oz$ for $x\in R$, and $\oz+\oz=\oz=\oz\cdot\oz$, while $0+x=x$ and $0\cdot x=0$ for every $x\in R_0$. So $R_0$ has exactly two additive idempotents, $0$ and $\oz$, and it is neither a ring nor an idempotent semiring. The smallest example is $(\mathbb F_2)_0=\{0,\oz,1\}$, in which $1+1=\oz$ and $\oz+1=1$. We write $\B=\{0,1\}$ for the Boolean semifield, in which $1+1=1$. An \emph{$R_0$-semimodule} is a commutative monoid $(M,+,0_M)$ with an action of $R_0$ that is distributive in both variables and satisfies $(ab)m=a(bm)$, $1m=m$, $0m=0_M$ and $a0_M=0_M$ \cite[Definition 2.13]{FGJM}. Homomorphisms are the additive maps that commute with the action. A semimodule is \emph{finitely generated} if it is a quotient of a free semimodule $R_0^n$, and \emph{projective} if homomorphisms out of it lift along surjective homomorphisms. A finitely generated semimodule is projective exactly when it is a retract of some $R_0^n$. A \emph{strong semilattice of $R$-modules} consists of a join-semilattice $L$ with least element $\bot$, an $R$-module $A_l$ for each $l\in L$, and $R$-linear maps $\rho_{l,l'}\colon A_l\to A_{l'}$ for $l\le l'$, with $\rho_{l,l}=\mathrm{id}$ and $\rho_{l',l''}\rho_{l,l'}=\rho_{l,l''}$. A morphism to $(L',A',\rho')$ is a map $\phi\colon L\to L'$ preserving joins and $\bot$, together with $R$-linear maps $A_l\to A'_{\phi(l)}$ that commute with the maps $\rho$ and $\rho'$. For $R=\mathbb Z$ these are the strong semilattices of abelian groups of semigroup theory \cite[Ch.~4]{Howie}. We also call a strong semilattice of $R$-modules a \emph{support diagram}. \subsection{The theorems} \begin{theorem}[spectrum and congruences]\label{thm:spec} Let $R$ be a nonzero commutative ring. \begin{enumerate} \item[(a)] The ideals of $R_0$ are $\{0\}$ and $J\cup\{0\}$ for the ideals $J$ of $R$. Its prime ideals are $\eta=\{0\}$ and $P\cup\{0\}$ for $P\in\Spec R$. \item[(b)] Every point of $\Spec R_0$ lies in the closure of $\eta$, the set $\{\eta\}$ is open, and its complement $V(\oz)$ is homeomorphic to $\Spec R$. Equivalently, the open sets of $\Spec R_0$ are the empty set and the sets $\{\eta\}\cup U$ with $U$ open in $\Spec R$. The localization of $R_0$ at $\eta$ is $\B$. If $\dim R<\infty$, then $\dim R_0=\dim R+1$. \item[(c)] The congruences of $R_0$ are the following two for each ideal $J$ of $R$. Both restrict to congruence modulo $J$ on $R$. In the first, $0$ lies in the class of $\oz$, and the quotient is the ring $R/J$. In the second, $0$ is alone in its class, and the quotient is $(R/J)_0$; for $J=R$ this is $\B$. \end{enumerate} \end{theorem} \begin{theorem}[semimodules]\label{thm:mod} For an $R_0$-semimodule $M$ put $\varepsilon(m)=\oz\,m$, $L_M=\oz M$ and $M_l=\varepsilon^{-1}(l)$ for $l\in L_M$. Then $L_M$ is the set of additive idempotents of $M$, and it is a join-semilattice under $+$ with least element $0_M$. Each $M_l$ is an $R$-module with zero $l$. The maps $T_{l,l'}(m)=m+l'$, for $l\le l'$, make $(L_M,(M_l),(T_{l,l'}))$ a strong semilattice of $R$-modules, and $m+n=T(m)+T(n)$, the sum on the right being taken in the fibre over $\varepsilon(m)+\varepsilon(n)$. This is an equivalence from the category of $R_0$-semimodules to the category of strong semilattices of $R$-modules. Under it the cancellative semimodules correspond to the $R$-modules. \end{theorem} For a finite poset $J$ let $\Idl(J)$ be the lattice of its order ideals (its down-sets), under union and intersection. For finitely generated projective $R$-modules $Q_j$, $j\in J$, of which some may be zero, let $P(J,Q)$ be the $R_0$-semimodule of the strong semilattice over $\Idl(J)$ with fibre $\bigoplus_{j\in U}Q_j$ over $U$ and the inclusions of summands as maps. \begin{theorem}[projectives]\label{thm:proj} A finitely generated $R_0$-semimodule is projective if and only if it is isomorphic to some $P(J,Q)$. In particular the semilattices of idempotents of the finitely generated projective $R_0$-semimodules are exactly the finite distributive lattices. \end{theorem} \begin{maincor}[the case $R=\mathbb Z$]\label{cor:Z} Every commutative inverse monoid has exactly one structure of $\mathbb Z_0$-semimodule, and the category of $\mathbb Z_0$-semimodules is isomorphic to the category of commutative inverse monoids. Hence a finitely generated commutative inverse monoid is projective if and only if it is isomorphic to $P(J,(\mathbb Z^{n_j})_{j\in J})$ for a finite poset $J$ and integers $n_j\ge0$. \end{maincor} \subsection{What the theorems say, and why they matter} Theorem~\ref{thm:spec} says that $\Spec R_0$ is $\Spec R$ with one point $\eta$ added below all others. At $\eta$ every element of $R$, the old zero included, becomes the unit, and only the new zero stays zero. The semiring $R_0$ is not idempotent, but its localization at $\eta$ is $\B$, the finite semifield that is not a field, which Connes and Consani take as the base of geometry in characteristic one \cite{CCs,CC}. Theorem~\ref{thm:mod} is Clifford's theorem with coefficients. By \cite[Proposition 6.1]{FGJM} the additive monoid of a semimodule over an inverse semiring is an inverse monoid, and by Clifford's theorem a commutative inverse monoid is a strong semilattice of abelian groups \cite{Clifford}. Over $R_0$ the groups are $R$-modules, the maps are linear, and nothing else is needed: the semimodule is the diagram. Theorem~\ref{thm:proj} classifies the finitely generated projectives completely; the poset $J$ and the modules $Q_j$ are determined by the semimodule (Proposition~\ref{prop:unique}). It contains two known cases. For the one-point poset with label $V$ it gives the semimodule $\{0\}\sqcup V$, whose fibre over $\oz$ is the finitely generated projective $R$-module $V$; an $R$-module itself, a semimodule with one idempotent, is projective over $R_0$ only if it is zero (Remark~\ref{rem:one-idempotent}). For the zero ring, $R_0$ is $\B$, a $\B$-semimodule is a join-semilattice with least element, and the statement is that the finite projective ones are the finite distributive lattices, the finite case of the theorem of Horn and Kimura \cite{HK}. In general the two are coupled: the lattice says which sums of the $Q_j$ occur as fibres. The reason to study $R_0$ for all $R$, and $\mathbb Z_0$ above all, is in \cite{FGJM}. The semiring $\mathbb Z_0$ is the initial inverse semiring, so every commutative inverse semiring is a $\mathbb Z_0$-algebra \cite[Proposition 5.1]{FGJM}; and $R_0$ is the simplest kind of inverse semiring that is neither a ring nor idempotent, since it has two additive idempotents \cite[Corollary 4.12]{FGJM}. Theorem~\ref{thm:spec} for $R=\mathbb Z$ therefore describes the base over which every commutative inverse semiring lives: $\Spec\mathbb Z$ with a generic point whose residue semifield is $\B$. Corollary~\ref{cor:Z} says that the module theory over this base is the theory of commutative inverse monoids, and classifies its finitely generated projective objects. \subsection{Credit} The construction $R\mapsto R_0$, as a functor, with the notation $\oz$, is Definition 3.6 of \cite{FGJM}; for a ring $R$ it is the case $A=0$ of their Construction 3.5. The following facts about it are theirs as well. It is the free adjunction of a zero to a zeroless inverse semiring \cite[\S3.1]{FGJM}. The semiring $\mathbb Z_0$ is initial \cite[Proposition 5.1]{FGJM}. Every inverse semiring has a ring reflection and an idempotent reflection \cite[Proposition 4.13]{FGJM}, and an inverse semiring in which idempotents cannot be added to non-idempotents to give idempotents embeds into the product of the two \cite[Theorem 7.2]{FGJM}; for $R_0$ these are the maps to $R$ and to $\B$ of Lemma~\ref{lem:normal}. The elements $x$ with $0_x=0_1$ form a ring of scalars, over which the group of each idempotent is a module \cite[Propositions 4.7 and 4.8]{FGJM}; in $R_0$ the ring of scalars is $R$. Modules over inverse semirings have inverse additive monoids \cite[Proposition 6.1]{FGJM}, and subtractive ideals are the kernels of homomorphisms \cite[Definition 6.3, Theorem 6.5]{FGJM}. Finally, \cite[\S7]{FGJM} announces a paper of Faul and Manuell, which has appeared as \cite{CFMM}, by Caviglia, Faul, Manuell and Mesiti. Its \S\S4--5 recover, through the monoidal Grothendieck construction, the known description of Clifford monoids by functors from their semilattice of idempotents to groups \cite{Pasku}. Its Theorem~8.5 describes an inverse semiring by an idempotent semiring $Q$ and a lax monoidal functor $F\colon Q\to\mathbf{Ab}$, the elements being the pairs $(e,g)$ with $g\in F(e)$; by its Remark~8.7, Construction~3.5 of \cite{FGJM} is the case where $Q$ is the two-element lattice. For $R_0$ this is $Q=\B$, with $F(0)=0$ and $F(1)=R$. That paper does not treat semimodules. Theorem~\ref{thm:mod} is the corresponding statement for the semimodules over $R_0$: their idempotents form a join-semilattice $L$, and the semimodule is a functor from $L$ to $R$-modules. Clifford's theorem is from \cite{Clifford}; see \cite[Ch.~4]{Howie}. Birkhoff's representation of finite distributive lattices \cite{Birkhoff} is used in Section~\ref{sec:proj}. What is supplied here: the spectrum, the localization at $\eta$ and the list of congruences (Theorem~\ref{thm:spec}); the equivalence of Theorem~\ref{thm:mod}; the classification of Theorem~\ref{thm:proj} with its uniqueness; Corollary~\ref{cor:Z}; and, in Section~\ref{sec:sym}, that the functor of \cite{FGJM} is full and faithful on commutative rings, and the description of the two zeros by the action of the units. \subsection{Context} Projective semilattices were determined by Horn and Kimura \cite{HK}, and projective distributive lattices by Balbes and Horn \cite{BH}. Lemma~\ref{lem:retract} is the finite case in the form we need, and we prove it directly. Semirings that are strong distributive lattices of rings are studied under the name of Clifford semirings; \cite[\S1]{FGJM} gives references. Semirings with a negation map and their quasi-zeros $a+(-a)$ are studied by Rowen \cite{Rowen}; the quasi-zero of an element $m$ of an $R_0$-semimodule is $\varepsilon(m)$, so Theorem~\ref{thm:mod} describes the semimodules as fibred over their quasi-zeros. Two conventions for the spectrum of a semiring are in use: all prime ideals, or only the subtractive ones, which are the kernels. For $R_0$ they agree, because every ideal of $R_0$ is subtractive (Proposition~\ref{prop:golan}). The fibre of an $R_0$-semimodule $M$ at the new point is its semilattice of idempotents $L_M$ (Remark~\ref{rem:generic}), a $\B$-module; these are the objects of the homological algebra in characteristic one of Connes and Consani \cite{CC}. We prove nothing about their arithmetic site or scaling site. We searched for the classification of Theorem~\ref{thm:proj} and did not find it; the search is described in the note on method, and it was not exhaustive. \subsection{Scope} Proved: Theorems~\ref{thm:spec}, \ref{thm:mod} and \ref{thm:proj} for every nonzero commutative ring $R$, Corollary~\ref{cor:Z}, and the results of Section~\ref{sec:sym} for every commutative ring. Not treated: projective semimodules that are not finitely generated, injective semimodules, noncommutative $R$, sheaves on $\Spec R_0$, and the other inverse semirings of \cite{FGJM}. \section{Proof overview} A semiring has no subtraction, so the tools of module theory are missing: a submodule is not a kernel, a surjection need not split off a complement, and a projective semimodule is not visibly a summand of a free one. What replaces them over $R_0$ is the old zero. In $R_0$ one has $1+\oz=1$ and $1+(-1)=\oz$, so in every semimodule $m+\oz\,m=m$ and $m+(-1)m=\oz\,m$. Thus $\oz\,m$ is an additive idempotent that serves $m$ as a zero, and $(-1)m$ as a negative. The elements with the same $\oz\,m$ form an abelian group, on which $R$ acts because $r\,\oz=\oz$; the idempotents form a semilattice; and adding an idempotent moves an element from one group to a higher one. This is Theorem~\ref{thm:mod}. The same two identities give Theorem~\ref{thm:spec}: an ideal that contains an element of $R$ contains $\oz$ and is then an ideal of the ring $R$ together with $0$, and a congruence is determined by its restriction to $R$ and by whether it identifies the two zeros. For Theorem~\ref{thm:proj} the difficulty is that a retract of a free semimodule $R_0^n$ is a retract in two layers at once. On idempotents, $R_0^n$ has the Boolean lattice of subsets of $\{1,\dots,n\}$, the support of an element being the set of coordinates where it is not $0$; a retraction restricts to a retraction of this lattice by join-preserving maps, and the retracts of a finite Boolean lattice are exactly the finite distributive lattices (Lemma~\ref{lem:retract}). On fibres one gets retracts of free $R$-modules, hence projective modules, but one must still show that they fit together as sums over order ideals. The step that does this proves that the images of the fibres in a higher fibre form a distributive lattice of submodules, with $M_{l\vee l'}=M_l+M_{l'}$ and $M_l\cap M_{l'}=M_{l\wedge l'}$; here the two zeros are used, an element of $R_0^n$ being cut down to a smaller support by replacing coordinates $\oz$ by $0$. In the other direction, $P(J,R)$ is a retract of $R_0^J$ by the map that fills the down-closure of the support with $\oz$. The hypotheses enter as follows. Commutativity of $R$ is used for the spectrum and the localization. $R\ne0$ is used in Theorem~\ref{thm:spec} only, where it makes $\oz\ne1$ and $\Spec R$ nonempty. Finite generation is used through Lemma~\ref{lem:retract} and Birkhoff's theorem. Section~\ref{sec:sym} uses only that $R_0$ has no zero-sums and no zero divisors: a homomorphism cannot send the old zero to the new one, and a unit $u$ fixes an element of $R$ exactly when $u-1$ kills it. \section{The spectrum and the congruences} This section proves Theorem~\ref{thm:spec}. We begin with the two maps that see the two zeros. \begin{lemma}\label{lem:normal} Let $p\colon R_0\to R$ be the identity on $R$ with $p(0)=\oz$, and let $\chi\colon R_0\to\B$ send $R$ to $1$ and $0$ to $0$. Both are surjective homomorphisms of semirings, and $(p,\chi)\colon R_0\to R\times\B$ is injective, with image $\{(x,b):b=0\Rightarrow x=\oz\}$. \end{lemma} \begin{proof} A sum or a product in $R_0$ involving $0$ is the other summand, respectively $0$; applying $p$ gives the other summand, respectively $\oz$, as it must in $R$. For $\chi$, a sum lies in $R$ if one summand does, and a product lies in $R$ only if both factors do. On $R$ the map $p$ is injective, and $0$ is the only element with $\chi=0$. \end{proof} The map $p$ is the ring reflection of $R_0$ and $\chi$ its idempotent reflection, in the sense of \cite[Proposition 4.13]{FGJM}; the embedding is that of \cite[Theorem 7.2]{FGJM}. We call $\chi$ the \emph{support map}. \begin{proof}[Proof of Theorem~\ref{thm:spec}] (a) An ideal $I\ne\{0\}$ contains some $r\in R$, hence $\oz=\oz\,r$ and $-x=(-1)x$ for each of its elements $x\in R$. So $I\cap R$ is an ideal of $R$ and $I=(I\cap R)\cup\{0\}$; conversely each $J\cup\{0\}$ is an ideal. A product $xy$ equals $0$ only if $x=0$ or $y=0$, so $\{0\}$ is prime, and $P\cup\{0\}$ is prime exactly when $P$ is. (b) Every prime other than $\eta$ contains $\oz$, so $\{\eta\}$ is the complement of the closed set $V(\oz)$, and $P\cup\{0\}\mapsto P$ is a homeomorphism from $V(\oz)$ to $\Spec R$, the closed sets on both sides being given by the ideals $J$. As $\eta$ is contained in every prime, every point lies in its closure; so a nonempty open set contains $\eta$, and the description of the open sets follows. Localizing at $\eta$ inverts the elements of $R$. In the localization the idempotent $\oz$ is invertible, so $\oz=1$, and then every $r\in R$, which satisfies $r\,\oz=\oz$, becomes $1$. The images of $0$ and $1$ stay distinct, because $u\cdot0=u\cdot1$ for no $u\in R$. So the localization is $\{0,1\}$ with $1+1=1$. A chain of primes of $R_0$ is a chain of primes of $R$, possibly with $\eta$ added below it, which gives the dimension. (c) Let $\sim$ be a congruence. If $x\sim y$ with $x,y\in R$, then adding $-y$ gives $x-y\sim\oz$; so the elements of $R$ congruent to $\oz$ form an ideal $J$, and on $R$ the congruence is $x-y\in J$. If $0\sim r$ for some $r\in R$, then $0=0\cdot\oz\sim r\,\oz=\oz$, so the class of $0$ is $J\cup\{0\}$ and the quotient is $R/J$. Otherwise $0$ is alone in its class and the quotient is $(R/J)_0$. Both relations are congruences: they are the kernels of $R_0\to R\to R/J$ and of the map $R_0\to(R/J)_0$ induced by $R\to R/J$. \end{proof} \begin{example} For $R=\mathbb F_2$ the ideals of $R_0=\{0,\oz,1\}$ are $\{0\}\subset\{0,\oz\}\subset R_0$, and the first two are prime: the spectrum has a closed point and the generic point $\eta$. There are four congruences, with quotients $(\mathbb F_2)_0$, $\mathbb F_2$, $\B$ and the zero semiring. For $R=\mathbb Z$ the spectrum is the chain of specializations $\eta\rightsquigarrow\{0,\oz\}\rightsquigarrow p\mathbb Z\cup\{0\}$, of dimension $2$. \end{example} \begin{remark}[products]\label{rem:product} For commutative rings $R$ and $S$, the map $(x,y)\mapsto(x,y)$ on $R\times S$ and $0\mapsto(0,0)$ is an isomorphism from $(R\times S)_0$ to the fibre product $R_0\times_\B S_0$ over the two support maps: a pair $(x,y)$ has $\chi(x)=\chi(y)$ exactly when both entries are old or both are $0$. So $\Spec(R\times S)_0$ is the disjoint union of $\Spec R$ and $\Spec S$ with one generic point common to both. \end{remark} \begin{remark}[counting quotients] For the ring of integers $\mathcal O_K$ of a number field, the finite quotients of $(\mathcal O_K)_0$ of the first kind are the rings $\mathcal O_K/J$, counted by $\sum_JN(J)^{-s}=\zeta_K(s)$, and those of the second kind have $N(J)+1$ elements. For $R=\mathbb Z$, counting all finite quotient semirings of $\mathbb Z_0$ by their number of elements gives $\sum_{n\ge1}n^{-s}+\sum_{n\ge1}(n+1)^{-s}=2\zeta(s)-1$. \end{remark} \section{Semimodules}\label{sec:mod} This section proves Theorem~\ref{thm:mod} and Corollary~\ref{cor:Z}. \begin{proof}[Proof of Theorem~\ref{thm:mod}] In $R_0$ we have $1+\oz=1$, $1+(-1)=\oz$ and $\oz+\oz=\oz=\oz\cdot\oz$. Hence, for $m,n\in M$, \[ m+\varepsilon(m)=m,\qquad m+(-1)m=\varepsilon(m),\qquad\varepsilon(m)+\varepsilon(m)=\varepsilon(m), \] and $\varepsilon(\varepsilon(m))=\varepsilon(m)$, $\varepsilon(m+n)=\varepsilon(m)+\varepsilon(n)$. So $\varepsilon$ is an additive retraction of $M$ onto $L_M$, the elements of $L_M$ are idempotent, and $L_M$ is a join-semilattice under $+$, with $l\le l'$ when $l+l'=l'$ and with least element $0_M=\varepsilon(0_M)$. The fibre $M_l$ is closed under addition, $l$ is an identity for it, since $m+l=m+\varepsilon(m)=m$, and $(-1)m$ lies in $M_l$ and is an inverse of $m$. So each $M_l$ is an abelian group and $M$ is the disjoint union of these groups. An idempotent of $M$ is the identity of the group that contains it, so it lies in $L_M$. This is Clifford's description of the commutative inverse monoid $(M,+)$ \cite{Clifford}, \cite[Ch.~4]{Howie}; its structure maps are the $T_{l,l'}$, which are additive and satisfy $T_{l',l''}T_{l,l'}=T_{l,l''}$ because $l'+l''=l''$. For $r\in R$ we have $r\,\oz=\oz$, so $\varepsilon(rm)=\varepsilon(m)$ and $r\,l=l$ for $l\in L_M$. Thus $R$ acts on each fibre, the fibre is an $R$-module with zero $\oz\,m=l$, and $T_{l,l'}(rm)=rm+l'=r(m+l')$. The formula $m+n=T(m)+T(n)$ is the identity $m+n=(m+l)+(n+l)$ for $l=\varepsilon(m)+\varepsilon(n)$. Conversely, a strong semilattice $(L,A,\rho)$ defines on the disjoint union of the $A_l$ the sum $x\boxplus y=\rho(x)+\rho(y)$ in the fibre over the join, the product $rx$ computed in the fibre of $x$ for $r\in R$, and $0\cdot x=0\in A_\bot$. This is an $R_0$-semimodule with zero $0\in A_\bot$: associativity of $\boxplus$ is the functoriality of $\rho$, and the laws involving $0\in R_0$ hold because $0\in A_\bot$ is an identity for $\boxplus$. Its idempotents are the zeros of the fibres, its fibres are the $A_l$ and its transports the $\rho_{l,l'}$. A homomorphism of semimodules commutes with $\varepsilon$, hence maps idempotents to idempotents and fibres to fibres, linearly and compatibly with the transports; and a morphism of strong semilattices is additive for $\boxplus$. So the two constructions are mutually inverse equivalences. Finally, if $M$ is cancellative, then $l+l=l=l+0_M$ gives $l=0_M$ for every idempotent, so $M$ is one fibre, an $R$-module; and an $R$-module is cancellative. \end{proof} \begin{example}\label{ex:mod} The semimodule $R_0$ has the idempotents $0<\oz$ and the fibres $\{0\}$ and $R$. An $R$-module, regarded as a semimodule through $p$, is one fibre. The semimodule $\B$, through the support map $\chi$, has two idempotents and two zero fibres. The free semimodule $R_0^n$ has the Boolean lattice of subsets of $\{1,\dots,n\}$ as its semilattice, the fibre over $S$ being $R^S$, embedded in $R_0^n$ by $0$ on the other coordinates; its transports extend a vector by $\oz$. \end{example} \begin{remark}[the fibre at the new point]\label{rem:generic} The semilattice $L_M$ is a semimodule on which $R$ acts trivially, that is, a $\B$-module regarded as an $R_0$-semimodule through $\chi$, and $\varepsilon\colon M\to L_M$ is a homomorphism. It is the universal homomorphism from $M$ to a $\B$-module $N$: on $N$ the element $\oz$ acts as the identity, so a homomorphism $f\colon M\to N$ satisfies $f(m)=\oz f(m)=f(\varepsilon(m))$. \end{remark} \begin{proof}[Proof of Corollary~\ref{cor:Z}] Let $(M,+,0_M)$ be a commutative inverse monoid. For $x\in M$ the elements $x$ and $-x$ lie in the maximal subgroup $H_x$ of $M$ with identity $0_x$. Let $n\in\mathbb Z$ act on $x$ by the $n$-th multiple in the group $H_x$, so that $\oz\,x=0_x$, and put $0\cdot x=0_M$. The laws of a semimodule hold: those in the first variable because $n\mapsto nx$ is a homomorphism $\mathbb Z\to H_x$ and $H_{nx}=H_x$, those in the second because $-(x+y)=(-x)+(-y)$ and $0_{x+y}=0_x+0_y$ in a commutative inverse monoid. Conversely, in any $\mathbb Z_0$-semimodule $1x=x$ fixes the action of the positive integers, $(-1)x$ is the inverse of $x$ by the proof of \cite[Proposition 6.1]{FGJM}, $\oz\,x=x+(-1)x$ and $0x=0_M$; so the structure is unique. A homomorphism of monoids between commutative inverse monoids preserves inverses, hence the action. This proves the first statement, which is implicit in \cite[Proposition 5.1 and Example 3.3]{FGJM}. Surjections, free objects and finite generation correspond, so the second statement is Theorem~\ref{thm:proj} for $R=\mathbb Z$, where the finitely generated projective modules are the $\mathbb Z^n$. \end{proof} \section{Projectives}\label{sec:proj} This section proves Theorem~\ref{thm:proj}. The first lemma is the statement on idempotents. \begin{lemma}\label{lem:retract} A finite join-semilattice with least element is a retract of a finite Boolean lattice $\mathcal P(\{1,\dots,n\})$, by maps preserving joins and the least element, if and only if it is a distributive lattice. \end{lemma} \begin{proof} If $L$ is such a retract through $i_0\colon L\to\mathcal P$ and $r_0\colon\mathcal P\to L$, then $\kappa=i_0r_0$ is an idempotent join-endomorphism of $\mathcal P=\mathcal P(\{1,\dots,n\})$ and $L\cong\kappa(\mathcal P)$ as posets. The image is closed under unions, and it has the meet $U\wedge V=\kappa(U\cap V)$: this lies below $U$ and $V$, and above every element of the image below both. As $\kappa$ preserves unions, $U\wedge(V\cup W)=\kappa((U\cap V)\cup(U\cap W))=(U\wedge V)\cup(U\wedge W)$. Conversely, by Birkhoff's theorem a finite distributive lattice is $\Idl(J)$ for a finite poset $J$ \cite{Birkhoff}, and $\Idl(J)\subseteq\mathcal P(J)$ is a retract through $S\mapsto{\downarrow}S$, which preserves unions and fixes order ideals. \end{proof} \begin{example}\label{ex:chain} Let $J=\{a