%~Mouliné par MaN_auto v.0.40.4 (550756fa) 2026-08-17 14:40:54
\documentclass[CRMATH,Unicode,biblatex,published]{cedram}

\TopicFR{Géométrie algébrique}
\TopicEN{Algebraic geometry}

\addbibresource{CRMATH_Illusie_20250742.bib}

\usepackage{mathtools}

\let\SP\relax
\DeclareMathOperator{\SP}{Spec}

\DeclareMathOperator{\Ext}{Ext}
\DeclareMathOperator{\Hom}{Hom}
\DeclareMathOperator{\pro}{pro}
\DeclareMathOperator{\Homm}{\mathcal{H}{\mkern -3mu}\mathit{om}}

\newcommand{\coh}{\mathrm{coh}}

\newcommand{\ZZ}{\mathbf{Z}}
\newcommand{\QQ}{\mathbf{Q}}
\newcommand{\FF}{\mathbf{F}}

\providecommand\noopsort[1]{}

%%%---------------------------------------------------------------------------

%%% ARROWS

%%% \to
\renewcommand*{\to}{\mathchoice{\longrightarrow}{\rightarrow}{\rightarrow}{\rightarrow}}

\newcommand{\inj}{\hookrightarrow}

%%%---------------------------------------------------------------------------

%%% DELIMITERS

\DeclarePairedDelimiter{\parens}{\lparen}{\rparen}

%%%---------------------------------------------------------------------------

\newcommand*{\relabel}{\renewcommand{\labelenumi}{(\theenumi)}}
\newcommand*{\romanenumi}{\renewcommand*{\theenumi}{\roman{enumi}}\relabel}
\newcommand*{\Romanenumi}{\renewcommand*{\theenumi}{\Roman{enumi}}\relabel}
\newcommand*{\alphenumi}{\renewcommand*{\theenumi}{\alph{enumi}}\relabel}

\graphicspath{{./figures/}}

\newcommand*{\mk}{\mkern -1mu}
\newcommand*{\Mk}{\mkern -2mu}
\newcommand*{\mK}{\mkern 1mu}
\newcommand*{\MK}{\mkern 2mu}

\hypersetup{urlcolor=purple, linkcolor=blue, citecolor=red}

\let\oldtilde\tilde
\renewcommand*{\tilde}[1]{\mathchoice{\widetilde{#1}}{\widetilde{#1}}{\oldtilde{#1}}{\oldtilde{#1}}}
\let\oldhat\hat
\renewcommand*{\hat}[1]{\mathchoice{\widehat{#1}}{\widehat{#1}}{\oldhat{#1}}{\oldhat{#1}}}

\makeatletter
\def\@setafterauthor{%
  \vglue3mm%
\begingroup\hsize=11.5cm\advance\hsize\abstractmarginL\raggedright
\noindent
   \leftskip\abstractmarginL
  \normalfont\Small
  \@afterauthor\par
\endgroup
\vskip2pt plus 3pt minus 1pt
}
\makeatother

\title{The posterity of ``Residues and duality''}
\alttitle{La postérité de \og Residues and duality \fg{}}

\author{\firstname{Luc} \lastname{Illusie}\CDRorcid{0000-0002-6634-6325}}
\address{Institut de Mathématique d'Orsay, Bât.~307, Université Paris-Saclay, 91405 Orsay Cédex, France}
\email{luc.illusie@wanadoo.fr}

\begin{abstract}
We discuss various developments that occurred in the wake of Robin Hartshorne's seminar ``Residues and duality''. This seminar was based on notes written by Alexander Grothendieck in the summer of 1963, that have recently been published (\emph{Résidus et dualité --- Prénotes pour un ``Séminaire Hartshorne''} (R.~Hartshorne, ed.), Documents Mathématiques, vol.~21, Société Mathématique de France, 2024).
\end{abstract}

\begin{altabstract}
Le séminaire de Robin Hartshorne \og Residues and duality \fg{} était basé sur des notes rédigées par Alexandre Grothendieck à l'été 1963, et récemment publiées (\emph{Résidus et dualité --- Prénotes pour un ``Séminaire Hartshorne''} (R.~Hartshorne, ed.), Documents Mathématiques, vol.~21, Société Mathématique de France, 2024). Nous examinons divers développements issus de ce séminaire.
\end{altabstract}

\keywords{\kwd{Derived categories} \kwd{Grothendieck duality} \kwd{six-functor formalism} \kwd{cotangent complex}}
\altkeywords{\kwd{Catégories dérivées} \kwd{dualité de Grothendieck} \kwd{formalisme des six foncteurs} \kwd{complexe cotangent}}

\subjclass{14-03, 14A30, 14B25, 14F08, 14F10, 18G80}

\COI{The author does not work for, advise, own shares in, or receive funds from any organization that could benefit from this article, and has declared no affiliations other than their research organizations.}

\dateposted{2026-10-06}
\begin{document}
%\input{CR-pagedemetas}
%\end{document}
\maketitle

\section*{Introduction}

In 1962--1963, Alexander Grothendieck was elaborating a general theory of duality for coherent sheaves. In the spring of 1963, Robin Hartshorne wrote him that he would like to run a seminar at Harvard on this in the fall of the same year and asked him for his permission to do so. Grothendieck agreed and in the summer of 1963 he had completed a long manuscript, entitled \emph{Résidus et dualité~; prénotes pour un Séminaire Hartshorne}, that he sent to Hartshorne to serve as a basis for his seminar. This is a very remarkable document, that has recently been published~\cite{Hartshorne24}. The reader will find there historical comments on the genesis of the \emph{prénotes} and a brief discussion of the main constructions. Hartshorne's seminar was published in 1966~\cite{Hartshorne66}.

The present text, written at the suggestion of Hartshorne, was supposed to be included in~\cite{Hartshorne24}, of which I was to be a co-editor. The editors of the collection had given their agreement. However, in May 2023 they explained to me that Grothendieck's children would grant their permission to publish only if I withdrew from the project, which I did. Hence, despite the (pleasant) collaboration I had had with Hartshorne on this project from 2019 to 2023, I was not a co-editor, my text was removed, and all references to my name were eradicated, except for two lines of thanks at the end of the preface.

\section{Derived categories}

Derived and triangulated categories have changed the face of homological algebra. Since their introduction in \cite{Hartshorne66} and Verdier's notes~\cite{Verdier63}, the theory has undergone considerable developments (among the most notable ones, let me just mention filtered derived categories, t-structures and perverse sheaves, derived $\infty$-categories). It is of common use today in almost all parts of algebraic geometry and homotopy theory. I will limit myself here to discussing a few points that are more or less directly related to~\cite{Hartshorne24,Hartshorne66}.

\subsection{Signs}

Sign problems have plagued homological algebra since the very beginning. Derived categories and derived functors and the ensuing formalism of \emph{six operations} made it hard to elaborate a coherent system of sign conventions. Deciding whether a given diagram involving canonical maps between various derived functors commutes is often a highly nontrivial matter. Grothendieck didn't pay too much attention to signs, considering that it was a matter of ``routine verification''. Some discrepancies in~\cite{Hartshorne66} were observed by Deligne in~\cite[Appendice, Signes]{Deligne84}. Here he proposes a system of conventions, which he thinks is coherent. They are based on those he developed in~\cite[\nopp XVII, 1.1~and~1.2]{SGA4_3} (see~\cite[p.~312]{SGA4_half} for an erratum). A concise summary of them is given in~\cite[\nopp 0.3]{Berthelot82}. Sign conventions are also discussed in detail in Conrad's book (see~\cite[Section~1.3]{Conrad00}), the purpose of which is to provide proofs for delicate compatibilities left unproved in~\cite{Hartshorne66} and straighten the signs. However, discrepancies were later found in it by Gabber (see Conrad's homepage~\cite{Conradxx} for corrections and updates).

\subsection{Unbounded derived categories}

Leaving aside the questions of finiteness (such as coherence or constructibility of cohomology sheaves), it was long tacitly assumed that the definition of the usual derived functors such as $Rf_*$, $Lf^*$, $\otimes^L$, etc., required degree restrictions on their sources. For example, for a morphism of schemes $f \colon X \to Y$, denoting by $D(X)$ (resp.\ $D(Y)$) the derived category of $\mathcal{O}_X$-modules (resp.\ $\mathcal{O}_Y$-modules), if no assumption of finiteness or cohomological dimension was made, the functor $Rf_*$ was defined only on the bounded below category $D^+(X)$. In the early 1960s Grothendieck asked whether, if one worked with \emph{good} abelian categories (such as the category of $\mathcal{O}_X$-modules on a scheme, or a ringed topos, or more generally what is now called a \emph{Grothendieck abelian category} (see~\cite[\nopp 8.3.24]{Kashiwara06}), one could get rid of these restrictions (see e.g.~\cite[\nopp 2.2.3(3)]{Hartshorne24}). It is only in 1988 that a satisfactory solution was proposed, by Spaltenstein~\cite{Spaltenstein88}, using the new notion of \emph{homotopically injective} (resp.\ \emph{projective}) \emph{resolution}. A more systematic treatment is given in~\cite[Sections 14~and~18]{Kashiwara06}. However, this theory had no great bearing on duality, as duality theorems (whether global or local) require a combination of boundedness and finiteness assumptions.\footnote{(Note added in November, 2023.) Bogdan Zavyalov (private communication) points out that nowadays it is possible to drop boundedness assumptions in Poincaré duality type results. For example, see~\cite[Proposition~2.9.31]{Mann22} for the case of discrete adic spaces (and schemes), and~\cite[Theorems 1.3.1~and~1.3.2]{Zavyalov23} for étale cohomology of schemes/adic spaces. In fact, the categorical approach used to construct six-functor formalisms in~\cite{Mann22} or~\cite{Zavyalov23} \emph{requires} functors to be defined on the unbounded categories $\mathcal{D}$.}

\subsection{Descent in derived categories}

As recalled in~\cite[Introduction to Prénotes]{Hartshorne24}, morphisms or objects of derived categories in general do not glue on open covers. A notable exception was discovered long after \cite{Hartshorne66}, namely \emph{perverse sheaves} in the étale context (see~\cite[\nopp 3.2.4]{Beilinson18}). Grothendieck was of course well aware of the difficulty, and that led him to sketch his theory of \emph{pseudo-complexes} in~\cite[\nopp 5.2]{Hartshorne24}, which brought a partial solution to the gluing problem. I remember his excitement when in a talk at the IHES in the mid 1960s (see~\cite{Illusie09}) Deligne explained his theory of \emph{cohomological descent} (later written up by Saint-Donat, see~\cite[V~bis]{SGA4_2}), which fully solved the problem. However, the conjectural approach via ``pseudo-complexes'' can be seen as a first attempt to defining a ``higher'' way of gluing in derived categories, which has nowadays been achieved by the enhancement of derived categories to derived $\infty$-categories. Classical derived functors can be enhanced to functors between derived $\infty$-categories, and objects of these enhanced categories can be glued on open covers, see~\cite{Lurie09,Lurie11,Lurie17}. This formalism, which supersedes that of Deligne, is being increasingly used today. In~\cite{Scholze19}, it is shown how it can be combined with inputs from Huber's adic geometry to yield another approach to the $f^!$ functor of~\cite{Hartshorne24,Hartshorne66}, and even to a full six-operation formalism of coherent duality. See the end of Section~\ref{section_3} for more references.

\section{The avatars of the $f^!$ functor}

The central object in~\cite{Hartshorne24,Hartshorne66} is the $f^!$ functor. As recalled in~\cite[Introduction to Prénotes]{Hartshorne24}, Grothendieck in~\cite{Hartshorne24} discussed two ways of constructing it. In the appendix to \cite{Hartshorne66} Deligne proposed a third construction.

\subsection{The three constructions}

For a noetherian scheme $Z$, let $D^+_{\coh}(Z)$ denote the full subcategory of $D^+(Z,\mathcal{O}_Z)$ consisting of complexes with coherent cohomology sheaves. Let $f \colon X \to Y$ be a morphism of finite type between noetherian schemes. There are three ways of constructing
\[
f^! \colon D^+_{\coh}(Y) \to D^+_{\coh}(X).
\]
Each one requires additional hypotheses. Let me briefly recall the constructions.

\begin{enumerate}[leftmargin=*]\alphenumi
\item \label{constr_a} \emph{Via embeddings into a smooth scheme}. Assume that we have a factorization $f = gi$, where $i \colon X \to Z$ is a closed immersion, and $g \colon Z \to Y$ is smooth, of pure relative dimension $d$. Using the \emph{fundamental local isomorphism} (see~\cite[\nopp 3.1.4]{Hartshorne24} and~\cite[\nopp III~7]{Hartshorne66}), Grothendieck proves that, up to a transitive system of isomorphisms, the composite functor
\[
i^! \parens[\big]{g^*(-) \otimes \Omega^d_{Z/Y}[d]} \colon D^+_{\coh}(Y) \to D^+_{\coh}(X),
\]
sending $M$ to $i^!\parens[\big]{g^*M \otimes \Omega^d_{Z/Y}[d]}$, where $i^!L$ is $R\Homm_{\mathcal{O}_Z}(i_*\mathcal{O}_X,L)$ restricted to $X$, is independent of the factorization. The corresponding limit of this system is denoted by $f^!$. He then shows (see~\cite[\nopp 3.4]{Hartshorne24} and~\cite[\nopp III~11]{Hartshorne66}) that, for $f$ \emph{projective}, $f^!$ is right adjoint to $Rf_* \colon D^+_{\coh}(X) \to D^+_{\coh}(Y)$. This uses the construction of a \emph{trace map} $Rf_*f^! \to \mathrm{Id}$ (and reduction to the projection of a standard projective space onto its base scheme).
\item \label{constr_b} \emph{Using residual complexes and biduality}. Assume that $Y$ admits a \emph{dualizing complex} $K_Y$, and that $X$ and $Y$ are of finite Krull dimension.\footnote{This ensures that dualizing complexes on $X$ and $Y$ are bounded, and that pointwise dualizing complexes are dualizing.} Then $K_Y$ determines a codimension function on $Y$, hence a canonical filtration of the underlying set of $Y$ by subsets stable under specialization, and a corresponding \emph{Cousin complex} $E(K_Y)$, which is isomorphic to $K_Y$ in $D^b_{\coh}(Y)$. Then $E(K_Y)$ is what Grothendieck calls a \emph{residual complex} on $Y$, i.e., a dualizing complex, which, as a graded $\mathcal{O}_Y$-module, is isomorphic to the direct sum over all points~$y$ of~$Y$ of~$i_{y*}I(y)$, where $I(y) = H^{d_y}_{\{y\}}(\mathcal{O}_{Y,y})$ is an injective envelope of the residue field $k(y)$, with $d_y = \dim(\mathcal{O}_{Y,y})$, and $i_y \colon \{y\} = \SP\parens[\big]{k(y)} \to Y$. Using his (conjectural) theory of pseudo-complexes and rigidity properties of residual complexes, Grothendieck shows in~\cite{Hartshorne24} that the Cousin complexes of the various $E\parens[\big]{i^!\parens[\big]{g^*\parens[\big]{E(K_Y)} \otimes \Omega^d_{Z/Y}[d]}}$ for closed embeddings $i \colon U \inj Z$ of open subschemes $U$ of $X$ in schemes $Z$ equipped with a smooth map $g \colon Z \to Y$ can be glued to a residual complex $E(K_X)$ on $X$ associated with a dualizing complex $K_X$. A proof independent of the theory of pseudo-complexes is given in~\cite[\nopp VI]{Hartshorne66}. Issues in~\cite[\nopp IV 3.2 and~3.4]{Hartshorne66} concerning the equivalence between dualizing and residual complexes are fixed in~\cite[\nopp 3.1.3]{Conrad00}, and a proof of the unchecked compatibilities~\cite[VI 3.1 VAR~5 and~VII 3.4(a)]{Hartshorne66} is given in~\cite[\nopp 3.3.1]{Conrad00}. Then, taking $D_X \coloneqq R\Homm(-,K_X)$, $D_Y \coloneqq R\Homm(-,K_Y)$, the $f^!$ functor is defined as
\[
f^! \coloneqq D_XLf^*D_Y \colon D^+_{\coh}(Y) \to D^+_{\coh}(X).
\]
For $f$ \emph{proper}, $f^!$ thus defined is again shown to be a right adjoint to $Rf_*$, using a trace map defined by means of a \emph{residue homomorphism}. The formulas stated in~\cite[\nopp III~9]{Hartshorne66} for the corresponding \emph{residue symbol} are proved in~\cite[\nopp A2]{Conrad00}. Various sign issues concerning it are discussed in~\cite{Conradxx}.
\item \label{constr_c} \emph{Using formal adjunction.} Assume that $Y$ is of finite Krull dimension and $f$ is \emph{compactifiable}, i.e., that there exists a factorization $f =gj$, where $j \colon X \to Z$ is an open immersion, and $g \colon Z \to Y$ is proper, with $Z$ of finite Krull dimension. Using an analogue of Verdier's construction of the $f^!$ functor in the topological case~\cite{Verdier66}, Deligne shows in~\cite[Appendix]{Hartshorne66} that the functor $Rg_* \colon D^+_{\coh}(Z) \to D^+_{\coh}(Y)$ admits a right adjoint $g^!$. Then $f^!$ is defined as
\[
j^*g^! \colon D^+_{\coh}(Y) \to D^+_{\coh}(X).
\]
The fact that, up to a transitive system of isomorphisms, $j^*g^!$ is independent of the factorization is non-trivial.

In~\cite[Appendix]{Hartshorne66} Deligne sketches one method to prove it. For $f$ not necessarily proper, he defines a functor $Rf_! \colon \pro D^b_{\coh}(X) \to \pro D^b_{\coh}(Y)$ between categories of pro-objects, by $Rf_! = Rg_*j_!$, where $j_!$ is a pro-coherent version of the extension by zero, obtained by sending a coherent sheaf $\mathcal{F}$ on $X$ to the pro-coherent sheaf $``\varprojlim$''~$I^n\overline{\mathcal{F}}$, where $\overline{\mathcal{F}}$ is a coherent extension of $\mathcal{F}$ on $Z$ and $I$ an ideal of $\mathcal{O}_Z$ defining a closed subscheme with support $Z-X$. The independence of $j^*g^!$ of the compactification is then reduced to the independence of $Rf_!$, which is easy by standard Artin--Rees--Krull arguments. By a different method, a full proof is given by Verdier in~\cite[Corollary~1]{Verdier69}.

Verdier's construction of $f^!$ in the topological case as a right adjoint to $Rf_!$, and its subsequent use by Deligne, first in the coherent context in~\cite[Appendix]{Hartshorne66}, and later in the étale one in~\cite[\nopp XVIII]{SGA4_3}, relies on an elementary lemma~\cite[\nopp XVIII, 3.1.3]{SGA4_3} to the effect that any contravariant functor from a Grothendieck abelian category to abelian groups transforming arbitrary small inductive limits into projective ones is representable. A precursor of this lemma can be found in Gabriel's thesis~\cite[II, 6 Théorème~2]{MR232821}. Variants and generalizations for triangulated categories (see~\cite[\nopp 10.5.3 and~14.2.3]{Kashiwara06}), inspired by Brown's representability theorem, were later developed (and applied to coherent duality) by Neeman, Lipman et~al.~\cite{Neeman96,Lipman09}. However, these apply to ``classical derived categories''. In the $\infty$-categorical setting, the adjoint functor theorem of~\cite[Corollary~5.5.2.9]{Lurie09} for presentable $\infty$-categories is in general needed.
\end{enumerate}

\subsection{Comparison and base change}

For each of the three constructions several natural compatibilities for composition and base change have to be checked. This is done only partially in the original texts. Also, while for $f$ proper the fact that $f^!$ is right adjoint to $Rf_*$ ensures the existence and uniqueness of isomorphisms between the three approaches in their common domain of definition, the extension of these to the non-proper case raises delicate questions.

Comparison between \eqref{constr_a}~and~\eqref{constr_b} is carried out in \cite{Hartshorne66} and with many more details in~\cite{Conrad00}, where a main base change theorem for the trace map for proper, flat Cohen--Macaulay maps is proved (see~\cite[Theorem~3.6.5]{Conrad00}).

Comparison between \eqref{constr_a} (or~\eqref{constr_b}) and~\eqref{constr_c} is more difficult. Some cases (e.g., $f$ compactifiable, flat, and locally of complete intersection) are sketched in~\cite[Appendix]{Hartshorne66}. The smooth case is (fully) treated by Verdier in~\cite[Theorem~3]{Verdier69}. In addition, Verdier proves a base change theorem for $f^!$ for a flat base change (see~\cite[Theorem~2]{Verdier69}), from which the calculation of $f^!G$, $G \in D^+_{\coh}(Y)$ for $f$ of finite tor-dimension is reduced to the case where $G = \mathcal{O}_Y$. Another approach to this calculation is given in~\cite{Iyengar15}. However, there remained delicate issues concerning explicit forms of the trace and residue maps and compatibility of $f^!$ with non-flat base change. These have been recently addressed by Nayak and Sastry~\cite{Nayak19a,Nayak19b}. One can also consult the Stacks Project~\cite{Stacks}.

\subsection{Further developments}

Let me discuss a few problems mentioned in~\cite{Hartshorne24} that were tackled later or are still of interest today.

\subsubsection{The non-noetherian case}

Grothendieck insisted on eliminating noetherian hypotheses. To him it was the relative structure of a morphism that mattered, not its base. This is already apparent at various places of~\cite{Hartshorne24}. Over a non-noetherian scheme the notion of coherent sheaf is no longer adapted. In~3.2.4 Grothendieck introduces the notion of sheaf of modules of $\infty$-finite presentation, which he generalizes into that of \emph{pseudo-coherent complex} in~4.1.1(e). He also defines the notion of \emph{pseudo-coherent morphism} in~5.4.5\@. These notions were to be systematically studied and developed in~\cite[\nopp I--III]{SGA6}. Complexes that are both pseudo-coherent and of finite tor-dimension, considered on p.~80, will be called \emph{perfect} in~\cite{SGA6}. They are interesting already in the noetherian case and they have since then played a crucial role in many parts of arithmetic geometry. In~5.8(B) Grothendieck sketches the construction of the \emph{determinant} of a perfect complex, a fundamental invariant, defined and studied in detail by Knudsen and Mumford in~\cite{Knudsen76}, and which is still an object of attention today in the framework of derived geometry. Partial generalizations of the duality theorem to the non-noetherian case (using the notion of pseudo-coherence) and to diagrams of schemes were given in~\cite{Lipman09} (see e.g., Corollary~4.4.2). However, a full six-functor formalism in the non-noetherian case was constructed only recently~\cite{Mann22}, systematically using derived geometry and condensed mathematics.

\subsubsection{Cotangent complex and self-intersection complex}

In~\cite[\nopp 5.8]{Hartshorne24}, Grothendieck defines the (truncated of length~$1$) \emph{cotangent complex} of a homomorphism of rings $A \to B$. This is, historically, the first appearance of this object. As he told me, he got the idea from his work with Dieudonné on \emph{imperfection modules} in~\cite[\nopp 10.6]{EGA_IV}: he conjectured that these modules should be (in good cases) interpreted as $H_1$ of a finer invariant, the cotangent complex of $A \to B$, whose $H_0$ would be the classical module of Kähler differentials. At about the same time, and independently, Lichtenbaum and Schlessinger defined a (truncated of length~$2$) cotangent complex of $A \to B$~\cite{Lichtenbaum67}. However, the two problems mentioned by Grothendieck in~\cite[\nopp 5.8]{Hartshorne24}, namely:
\begin{enumerate}\romanenumi
\item \label{prob_i} getting a theory giving a transitivity triangle for a composition $A \to B \to C$;
\item \label{prob_ii} globalizing to morphisms of schemes;
\end{enumerate}
were solved only a few years later. As for~\eqref{prob_ii}, that was done by Grothendieck himself for the (truncated of length~$1$) complex in~\cite{Grothendieck68}. Problem~\eqref{prob_i} was solved by Quillen~\cite{Quillen68} (a definition and study of the homology and cohomology objects of the cotangent complex was made independently by M.~André~\cite{Andre74}). The globalization of Quillen's construction was carried out in~\cite{Illusie71}.

Already the cotangent complex played a key role in the formulation of the Riemann--Roch theorem for projective morphisms $f \colon X \to Y$ that are lci, i.e., \emph{locally of complete intersection},\footnote{In this case the truncated cotangent complex agrees with the full one.} $Y$ being quasi-compact and admitting an ample line bundle (see~\cite[\nopp VIII, Théorème~3.6]{SGA6}). It~is also in~\cite{Hartshorne24} that the notion of lci morphism appears for the first time (see~\cite[\nopp 4.8~C]{Hartshorne24}). The basic formula~\cite[\nopp 5.8.2(ii)]{Hartshorne24}, to the effect that for $X \to Y$ flat and lci, of relative dimension $d$, $f^!\mathcal{O}_Y = \det (L_{X/Y})[d]$ was not reproduced in \cite{Hartshorne66} (perhaps for lack of a suitable reference for the construction of the determinant of a perfect complex), and, curiously, not even in~\cite{Conrad00}. The flat lci morphisms, later called \emph{syntomic morphisms}, were to play an important role in $p$-adic Hodge theory.

In~\cite[p.~60]{Hartshorne24}, Grothendieck describes a construction of Cartier of the residue homomorphism for a morphism of rings $A \to B$, based on what he calls the \emph{self-intersection complex} of $B/A$, namely $B \otimes^L_{B\otimes_A B} B$, which he denotes by $L_{\bullet B/A}$. The analogy of notation with the cotangent complex $L_{B/A}$ of $B/A$ is not fortuitous. Deep relations between this self-intersection complex and $L_{B/A}$, for $B$ flat over $A$, and in general, with $B \otimes^L_{B\otimes_A B} B$ replaced by $B \otimes^L_{B \otimes^{\smash{L}}_{A} B} B$ were discovered by Quillen (see~\cite[\nopp 8]{Quillen68}) in relation with \emph{associative algebra cohomology} and \emph{Hochschild cohomology}. This topic is still actively studied today in relation with $p$-adic Hodge theory.

\subsubsection{Complexes of differential operators}

In~\cite[\nopp 3.5]{Hartshorne24}, Grothendieck proposes an extension of the duality theorem to complexes of differential operators. As far as I know, the problem has not yet been addressed in general. Over complex manifolds, duality theorems involving $\mathcal{D}$-modules and complexes of differential operators are established in~\cite{Saito89}.

\subsubsection{Homology, cycle classes, Lefschetz--Verdier formula}

Let $f \colon X \to S$ be a morphism of finite type between noetherian schemes of finite dimension, where $S$ admits a dualizing complex $K_S$ and $K_X \coloneqq f^!K_S$ is the corresponding dualizing complex on $X$. In~\cite[\nopp 8.4]{Hartshorne24}, elaborating on ideas he had sketched in his talk at the 1958 ICM, Grothendieck defines, for $L \in D^-(X,\mathcal{O}_X)$, the \emph{homology groups} of $X$ with coefficients in $L$ as
\[
H^{-i}R \Hom (L,K_X) = H^{-i}\parens[\big]{X,R\Homm(L,K_X)} = \Ext^{-i}(L,K_X).
\]
This definition was later transposed in the settings of topological spaces (by Verdier, see~\cite[\nopp VI]{Douady76}) and étale cohomology (by Grothendieck in the oral seminar\footnote{Written up later by Laumon~\cite[\nopp VIII]{Douady76} and Deligne~\cite[Cycle]{SGA4_half}.} SGA~5). Since then it has often been abusively called \emph{Borel--Moore homology}, by reference to~\cite{Borel60}, where no derived categories, a~fortiori, no dualizing complexes appear. Grothendieck intended to write in Section~9 properties of variance for these groups, and use them to construct a theory of \emph{cycle classes} in Hodge cohomology, satisfying compatibilities with cup-products and Gysin maps. As explained in~\cite[Introduction to Prénotes]{Hartshorne24}, this part was not written. In~\cite{ElZein78} El Zein discusses variants of these cycle classes in de~Rham and Hodge homology groups.

In his letter to Serre of August~8, 1964 (see~\cite[p.~165]{Colmez01}, Grothendieck thus comments on the Woods~Hole Lefschetz fixed point formula that Serre had described in the first section of his letter of August~2--3, 1964: ``Le n.~1 ne m'excite guère, malgré les jolies applications~; le théorème des points fixes lui-même ne me semble pas plus qu'un exercice sur un air connu~!'' In~\cite{Hartshorne24}, at the end of Commentaires, Grothendieck hinted that such fixed point formulas would follow from his duality formalism. It was at that time that Verdier was elaborating his general Lefschetz fixed point formula for cohomological correspondences in étale cohomology, later called the \emph{Lefschetz--Verdier formula}~\cite{Verdier67} (see also~\cite[\nopp III]{SGA5}), relying on the étale analogue of the duality formalism of \cite{Hartshorne66}. A variant of this formula in the coherent setting was later established in~\cite[III~6, Appendice]{SGA5}, generalizing the Woods~Hole formula. Hodge cohomology classes and residues of~\cite[\nopp III~9]{Hartshorne66} play a crucial role in it.

\section{Glimpses of duality in other contexts}\label{section_3}

The duality formalism of \cite{Hartshorne66} has inspired similar theories in many other contexts. A full description of them, or even of the state of the art today, would require a whole volume. I will list some of them below, with no references, as the literature is too large:
\begin{itemize}
\item topological spaces: Verdier (1965);
\item complex analytic spaces: Ramis--Ruget, Verdier (1971);
\item étale cohomology: Artin--Grothendieck--Verdier, Deligne, Gabber, and many others (1964--...);
\item $\mathcal{D}$-modules and mixed Hodge theory: Bernstein, Deligne, Kashiwara--Schapira, Mebkhout, M.~Saito, and many others (1970--...);
\item crystalline cohomology, rigid cohomology: Berthelot, Ekedahl, Kedlaya, and many others (1970--...).
\end{itemize}

It is by far the étale theory that has undergone the most extensive developments (up to today). In many respects, it has served as a model for the others.

Quite recently there has been a renewal of interest in the general formalism of the six operations\footnote{``Formalisme des six opérations'' was Grothendieck's terminology in~\cite{Grothendieck22}. Nowadays, ``six-functor formalism'' is a preferred terminology.} in various settings, in connection with the new tools provided by the language of derived geometry and the theory of condensed mathematics, see~\cite{Scholze19, Ayoub22, Clausen22, Scholze23, Zavyalov23, Mann22}.

For a historical study of Grothendieck's work, ideas and reflections on the theme of duality in the light of~\cite{Grothendieck22}, see L.~Lafforgue's essay~\cite{Lafforgue23}.

\section*{Acknowledgments}

I warmly thank Hélène Esnault and Bogdan Zavyalov for their careful reading of this text and several helpful comments and suggestions. I am very grateful to the referee for pointing out corrections regarding English and typography.

\printCOI

\setlength\bibitemsep{.1\baselineskip}

\printbibliography

\end{document}