\documentclass[JEP,XML,SOM,Unicode]{cedram}
\datereceived{2015-09-10}
\dateaccepted{2016-03-29}
\dateepreuves{2016-04-05}

\multlinegap0pt
\def\mto{\mathchoice{\longmapsto}{\mapsto}{\mapsto}{\mapsto}}
\def\To#1{\mathchoice{\xrightarrow{\textstyle\kern4pt#1\kern3pt}}{\stackrel{#1}{\longrightarrow}}{}{}}
\newcommand{\RedefinitSymbole}[1]{%
\expandafter\let\csname old\string#1\endcsname=#1
\let#1=\relax
\newcommand{#1}{\csname old\string#1\endcsname\,}%
}
\RedefinitSymbole{\forall} \RedefinitSymbole{\exists}

\AtBeginDocument{%
\renewcommand{\bigwedge}{\hbox{\larger\larger$\wedge$}}%
}
\let\epsilon\varepsilon

\usepackage[all,cmtip]{xy}
\renewcommand{\labelstyle}{\textstyle}
\newdir^{ (}{{}*!/-5pt/\dir^{(}}
\newdir_{ (}{{}*!/-5pt/\dir_{(}}

\usepackage{mathrsfs}

\newcommand{\scrC}{\mathscr{C}}
\newcommand{\scrD}{\mathscr{D}}
\newcommand{\scrH}{\mathscr{H}}
\newcommand{\scrI}{\mathscr{I}}
\newcommand{\scrK}{\mathscr{K}}
\newcommand{\scrM}{\mathscr{M}}
\newcommand{\scrR}{\mathscr{R}}

\newcommand{\frZ}{\mathfrak{Z}}

\newcommand{\fra}{\mathfrak{a}}
\newcommand{\frb}{\mathfrak{b}}
\newcommand{\frg}{\mathfrak{g}}
\newcommand{\frh}{\mathfrak{h}}
\newcommand{\frk}{\mathfrak{k}}
\newcommand{\fro}{\mathfrak{o}}
\newcommand{\frp}{\mathfrak{p}}
\newcommand{\frs}{\mathfrak{s}}
\newcommand{\frt}{\mathfrak{t}}
\newcommand{\fru}{\mathfrak{u}}

\newcommand{\bbC}{\mathbb{C}}
\newcommand{\bbN}{\mathbb{N}}
\newcommand{\bbZ}{\mathbb{Z}}

\newcommand{\caA}{\mathcal{A}}
\newcommand{\caC}{\mathcal{C}}
\newcommand{\caD}{\mathcal{D}}
\newcommand{\caF}{\mathcal{F}}
\newcommand{\caL}{\mathcal{L}}
\newcommand{\caM}{\mathcal{M}}

\newcommand{\sfH}{\mathsf{H}}
\newcommand{\sfI}{\mathsf{I}}

\newcommand{\coker}{\mathrm{coker}}

\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lemma}[thm]{Lemma}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{prop}[thm]{Proposition}

\theoremstyle{definition}
\newtheorem{defi}[thm]{Definition}
\newtheorem{rmk}[thm]{Remark}
\newtheorem{example}[thm]{Example}

\numberwithin{equation}{section}

\newcommand{\Ad}{\mathrm{Ad}}
\newcommand{\ad}{\mathrm{ad}}
\newcommand{\End}{\mathrm{End}}
\newcommand{\Hom}{\mathrm{Hom}}
\DeclareMathOperator{\imm}{Im}\let\im\imm
\newcommand{\Id}{\mathrm{Id}}
\newcommand{\ind}{\mathrm{ind}}
\newcommand{\SO}{\mathbf{SO}}
\newcommand{\Spin}{\mathbf{Spin}}
\newcommand{\Cl}{\mathrm{Cl}}
\newcommand{\Ext}{\mathrm{Ext}}

\newcommand{\Rk}{\mathrm{Rk}}
\newcommand{\Ep}{\mathrm{EP}}
\newcommand{\bil}[2]{\langle #1,#2 \rangle }
\newcommand{\bilo}{\langle.\,,. \rangle }
\newcommand{\Hdir}{\sfH_{\mathrm{Dir}}}
\newcommand{\Idir}{\sfI_{\mathrm{Dir}}}
\newcommand{\EP}{\mathbf{EP}}

\begin{document}
\frontmatter

\title{Euler-Poincar\'e pairing, Dirac index and elliptic pairing for Harish-Chandra modules}

\author[\initial{D.} \lastname{Renard}]{\firstname{David} \lastname{Renard}}
\address{CMLS, École polytechnique, CNRS, Université Paris-Saclay\\ 91128 Palaiseau Cedex, France}
\email{David.Renard@polytechnique.edu}
\urladdr{http://www.cmls.polytechnique.fr/perso/renard/}

\begin{abstract}
Let $G$ be a connected real reductive group with maximal compact subgroup $K$ of equal rank, and let $\mathscr{M}$ be the category of Harish-Chandra modules for $G$. We relate three differently defined pairings between two finite length modules $X$ and $Y$ in $\mathscr{M}$: the Euler-Poincaré pairing, the natural pairing between the Dirac indices of $X$ and $Y$, and the elliptic pairing of~\cite{Ar}. (The Dirac index $\mathsf{I}_{\mathrm{Dir}}(X)$ is a virtual finite-dimensional representation of $\widetilde K$, the spin double cover of $K$.) We construct index functions $f_X$ for any finite length Harish-Chandra module $X$. Each of these functions is very cuspidal in the sense of Labesse, and its orbital integral on elliptic elements coincides with the character of $X$. From this we deduce that the Dirac index pairing coincide with the elliptic pairing. Analogy with the case of Hecke algebras studied in \cite{CT} and~\cite{COT} and a formal (but not rigorous) computation led us to conjecture that the first two pairings coincide. We show that they are both computed as the indices of Fredholm pairs (defined here in an algebraic sense) of operators acting on the same spaces. Recently, Huang and Sun have established the equality between the Euler-Poincaré and the elliptic pairing, thereby proving directly the analogue of a result of Schneider and Stuhler for $p$-adic groups \cite{ScSt}.
\end{abstract}

\subjclass{22E46, 22E47}

\keywords{Harish-Chandra module, elliptic representation, Euler-Poincaré pairing, elliptic pairing, Dirac cohomology}

\alttitle{Accouplement d'Euler-Poincaré, indice de Dirac et accouplement elliptique des modules de Harish-Chandra}

\begin{altabstract}
Soit $G$ un groupe réductif réel connexe et soit $K$ un sous-groupe compact maximal que l'on suppose de même rang. Nous relions trois accouplements entre modules de Harish-Chandra de longueur finie $X$ et $Y$ : l'accouplement d'Euler-Poincaré, l'accouplement naturel entre les indices de Dirac de $X$ et $Y$ et l'accouplement elliptique d'Arthur \cite{Ar} (l'indice de Dirac $\mathsf{I}_{\mathrm{Dir}}(X)$ est une représentation virtuelle de dimension finie de $\widetilde K$, le revêtement Spin à deux feuillets de $K$). Nous construisons des fonctions indices $f_X$ pour tout module de Harish-Chandra de longueur finie~$X$. Chacune de ces fonctions est très cuspidale au sens de Labesse, et son intégrale orbitale coïncide sur les éléments elliptiques avec le caractère de~$X$. De ceci nous déduisons que l'accouplement naturel des indices de Dirac coïncide avec l'accouplement elliptique. Une analogie avec le cas des algèbres de Hecke considéré dans \cite{CT} et \cite{COT} et un calcul formel (mais non rigoureux) nous ont amenés à conjecturer que les deux premiers accouplements coïncident eux aussi. Nous montrons qu'ils peuvent tout deux être exprimés comme indices de paires de Fredholm (définis ici dans un sens algébrique) d'opérateurs agissant sur les même espaces. Récemment Huang et Sun ont établi l'égalité entre accouplement d'Euler-Poincaré et accouplement elliptique, démontrant ainsi directement l'analogue d'un résultat de Schneider et Stuhler pour les groupes $p$-adiques~\cite{ScSt}.
\end{altabstract}

\altkeywords{Module de Harish-Chandra, représentation elliptique, accouplement d'Euler-Poincaré, accouplement elliptique, cohomologie de Dirac}

\maketitle
\tableofcontents
\mainmatter

\section{Introduction}

Let $G$ be the group of rational points of a connected algebraic reductive group defined
over a local nonarchimedean field $F$ of characteristic $0$.
Assume that $G$ has compact center. Let $\scrM=\scrM(G)$ be the category of smooth
representations of $G$. This is also the category of non-degenerate modules over the
Hecke algebra $\scrH=\scrH(G)$ of $G$. It is known from the work of J.\,Bernstein that $\scrM$
has finite cohomological dimension. Furthermore, for any finitely generated module $(\pi,V)$ in $\scrM$,
Schneider and Stuhler construct an explicit resolution
of $(\pi,V)$ by finitely generated projective modules.
They also establish a general theory of Euler-Poincaré
functions for modules of finite length, generalizing results of Kottwitz (\cite{Kot}).
Namely, for any finite length modules $(\pi,V)$, $(\pi',V')$ in $\scrM$,
one can define their Euler-Poincaré pairing:
\begin{equation}\label{EPp} \EP(\pi,\pi')=\sum_i (-1)^i \; \dim \Ext_{\scrM}^i(\pi, \pi').
\end{equation}
They construct functions $f_\pi$ (Euler-Poincaré functions) in $\scrH$ such that
\begin{equation}\label{EPfunc} \EP(\pi,\pi')= \Theta_{\pi'}(f_\pi),\end{equation}
where $\Theta_{\pi'}$ is the distribution-character of $\pi'$ (a linear form on $\scrH$).
Following \cite{Dat} and~\cite{Vig}, let us now give another point of view on these functions.

Let $\scrK (G)$ be the Grothendieck group of finitely generated projective modules in~$\scrM$.
Since $\scrM $ has finite cohomological dimension, this is also the Grothendieck group of all
finitely generated modules in $\scrM$.
Let $\scrR=\scrR(G)$ be the Grothendieck
group of finite length modules in $\scrM$. If $(\pi,V)$ is a finitely generated (\resp finite length)
module in $\scrM$, we denote by $[\pi]$ its image in Grothendieck group $\scrK$ (\resp $\scrR$).
Set $\scrK_\bbC=\scrK\otimes_\bbZ\bbC$ and $\scrR_\bbC=\scrR\otimes_\bbZ\bbC$.
Let $(\pi,V)$ be a finite length module in $\scrM$, and
\[\cdots \to P_{i+1} \to P_{i} \to \cdots \to P_{1}
\to V \to 0\]
be a resolution of $\pi$ by finitely generated projective modules. Then
\begin{equation}\label{EPmap} \Ep: \; \scrR \to \scrK, \quad
[\pi] \mto \sum_i (-1)^i \; [P_i]
\end{equation}
is a well-defined map.
Let $\overline {\scrH}=\overline {\scrH(G)}=\scrH/[\scrH,\scrH] $ be the abelianization
of $\scrH$. The Hattori rank map
\begin{equation}\label{HatorriRk} \Rk: \; \scrK \to \overline {\scrH}
\end{equation}
is defined as follows. Let $P$ be a finitely generated projective module in $\scrM$. Write
$P$ as a direct factor of some $\scrH^n$ and let $e\in \End_\scrH(\scrH^n)$ be the projector
onto $P$. Then the trace of $e$ is an element of $\scrH$, and its image in $\overline {\scrH}$
is well-defined. This defines $\Rk([P])$. An alternative description of $\overline {\scrH}$
as the ``cocenter'' of the category $\scrM$ gives a natural definition of $\Rk$ for
finitely generated projective modules (see \cite[\S 1.3]{Dat}).

Let $\caD'(G)$ be the space of distributions on $G$, and
let $\caD'(G)^G$ be the subspace of invariant distributions.
Fix a Haar measure on $G$, so that $\scrH$ is identified with
the convolution algebra of compactly supported smooth functions
on $G$. The orthogonal of $\caD'(G)^G$ in $\scrH$
for the natural pairing between $\caD'(G)$ and $\scrH$ is exactly $[\scrH,\scrH]$, so there is
an induced non-degenerate pairing:
\[
\caD'(G)^G \times \overline{\scrH} \to \bbC, \quad (T,f) \mto \bil{T}{f}=T(f).
\]
Let $(\pi',V')$ be a finite length module in $\scrM$. Its distribution character
$\Theta_{\pi'}$ is an element of $\caD'(G)^G$. This defines a pairing
\begin{equation}\label{PairingRH} \scrR_\bbC \times \overline{\scrH} \to \bbC, \quad
(\pi',f)\mto \bil{\Theta_{\pi'}}{f} = \Theta_{\pi'}(f).
\end{equation}

With the notation above, we have the following identity: for all
finite length modules $(\pi,V),(\pi',V')$ in $\scrM$,
\begin{equation}\label{EPpform} \EP(\pi,\pi')=\bil{\Theta_{\pi'}}{\Rk\circ \Ep(\pi)}.
\end{equation}
Thus, the image in $\overline {\scrH}$ of the Euler-Poincaré function
$f_\pi$ constructed by Schneider and Stuhler is $\Rk\circ \Ep(\pi)$ (\cite[Lem.\,3.7]{Dat}).

There is a third way of seeing the space $\overline {\scrH}$, namely, as the space of orbital
integrals on $G$. More precisely, recall that for a regular semisimple element $x$ in $G$, one can
define the orbital integral of $f \in \scrH$ at $x$ as
\[
\Phi(f,x)= \int_{G/T} f(gxg^{-1}) \; d\dot{g},
\]
where $T$ is the unique maximal torus containing $x$, and $d\dot{g}$
is an invariant measure on~$G/T$.
When $f$ is fixed, $x \mto \Phi(f,x)$ is a smooth invariant function on $G_{\mathrm{reg}}$, and we denote
by $\scrI(G)$ the image of $\Phi: f \in \scrH \mto \Phi(f,.) $ in the space of smooth invariant functions on
$G_{\mathrm{reg}}$. This space can be explicitly described (by properties of orbital integrals, see \cite{Vig2}).
Furthermore the kernel of $\Phi$ is exactly $[\scrH,\scrH]$ (this is called the geometric density theorem,
\ie the density of the space generated by the distributions $f \mto \Phi(f,x)$, $ x \in
G_{\mathrm{reg}} $, in $\caD'(G)^G$).
Thus, we have an exact sequence
\[
0\to [\scrH,\scrH]\to \scrH \to \scrI(G)\to
0\]
and $\overline{\scrH}$ is identified with the space $\scrI(G)$ of orbital integrals.

Let us denote by $G_{\mathrm{ell}}$ the space of regular semisimple elliptic elements in
$G$ (\ie elements whose centralizer is a compact maximal torus in $G$), and by
$\scrH_c$ the subspace of functions $f \in \scrH$ such that $\Phi(f,x)=0$
when $x$ is not elliptic. Accordingly, we write~$\overline{\scrH}_c$
for the image of this subspace in $\overline{\scrH}$. This latter space is isomorphic to the
subspace $\scrI(G)_c$ of orbital integrals which vanish outside $G_{\mathrm{ell}}$.
The Selberg principle for Euler-Poincaré functions (\cite[Rem.\,II.4.11]{ScSt}) asserts that
the functions~$f_\pi$ are in~$\scrH_c$. In fact, it is a theorem of Brylinski-Blanc
\cite{BlBr}, (see also \cite{Dat} and \cite{Dat2}) that the image Hattori rank map $\Rk$ is exactly
$\overline{\scrH}_c$.

Recall that by Harish-Chandra regularity theorem, the character $\Theta_{\pi'}$ of a finite length
module $(\pi',V')\in \scrM$ is given by a locally integrable function, denoted by $\theta_{\pi'}$,
on $G$, which is smooth on the open dense subset of regular semisimple elements $G_{\mathrm{reg}}$,
\ie for all $f \in \scrH$,
\[
\bil{\Theta_{\pi'}}{f}=\int_{G_{\mathrm{reg}}} \theta_{\pi'}(x)\, f(x) \; dx.
\]
(Once again, we have chosen a Haar measure on $G$).

Following Kazhdan \cite{Kaz}, let us denote by $C^{\mathrm{ell}}$ the set of regular semisimple elliptic
conjugacy classes in $G$. Then any orbital integral $\Phi(f,.)$ or any character function $\theta_{\pi'}$
can be viewed as functions on $C^{\mathrm{ell}}$.
By \cite[\S3, Lem.\,1]{Kaz}, there is a unique measure $dc$ on $C^{\mathrm{ell}}$
such that for all $f \in \scrH$ with support in $G_{\mathrm{ell}}$,
\[
\int_G f(x) \; dx= \int_{C^{\mathrm{ell}}} \Phi(f,c)\; dc.
\]
The elliptic pairing between two finite length
modules $(\pi,V)$ and $(\pi',V')$ in $\scrM$ is then defined by
\begin{equation} \label{EllPairing}
\bil{\pi}{\pi'}_{\mathrm{ell}}= \int_{C^{\mathrm{ell}}} \theta_\pi(c) \, \theta_{\pi'}(c^{-1})\; dc.
\end{equation}
Let us now relate this elliptic pairing to the Euler-Poincaré pairing (\ref{EPp}).
On a regular semisimple elliptic element $x$, the orbital integrals of the Euler-Poincaré functions
$f_\pi$ at $x$ coincide with the character $\theta_{\pi}$ of $\pi$ at $x^{-1}$ (\cite[Th.\,III.4.16]{ScSt}):
\begin{equation}\label{psCoeff} (\forall x \in G_{\mathrm{ell}}), \qquad \Phi(f_\pi,x)= \theta_{\pi}(x^{-1}).
\end{equation}
Therefore, the following formula is established
(\cite[Th.\,III.4.21]{ScSt}):
\begin{equation}\label{EPelliptic}
\begin{split}
\EP(\pi,\pi')=\bil{\Theta_{\pi'} } {f_\pi }&=\int_{G_{\mathrm{ell}}}
\theta_{\pi'}(x) \, f_\pi(x) \; dx\\
&=\int_{C^{\mathrm{ell}}}
\theta_{\pi'}(c) \, \theta_{\pi}(c^{-1}) \; dc= \bil{\pi}{\pi'}_{\mathrm{ell}}.
\end{split}
\end{equation}
Let us mention that it is explained in \cite{Dat} how these results can be formulated and
proved when the center of $G$ is not compact.

Many of the objects and results described above make sense over an Archimedean field as well.
So assume now that $G$ is a real reductive group, connected (as a Lie group).
Fix a maximal compact subgroup $K$ of $G$ and also assume that $G$ and~$K$
have same rank, \ie $G$ admits discrete series representations. The category of representations
we are now considering is the category of Harish-Chandra modules $\scrM=\scrM(\frg,K)$ (\cite{KV}).
It is also known that $\scrM$ has finite cohomological dimension, and furthermore
resolutions of finite length modules by explicit finitely generated projective
modules can be constructed (\cite[\S II.7]{KV}). Thus, the Euler-Poincaré
pairing of two modules of finite length is well-defined by (\ref{EPp}).
The elliptic pairing (\ref{EPelliptic}) is also defined, and the purpose of this paper is to relate
these two pairings by constructing Euler-Poincaré functions in that case,
\ie compactly supported smooth functions on~$G$ satisfying (\ref{EPfunc}),
but also (\ref{psCoeff}), so that the formula (\ref{EPelliptic}) is valid.
An interesting aspect is that this relation involves a third pairing defined through Dirac cohomology.

Dirac cohomology of Harish-Chandra modules was introduced by D.Vogan\!~(see\,\cite{HPbook}).
Dirac cohomology of a Harish-Chandra module $X$ of finite length
consists in a finite dimensional representation $\Hdir(X)$ of the compact group $\widetilde K$,
the spin cover of $K$.
In fact, $\Hdir(X)$ is $\bbZ /2\bbZ$-graded, and a slightly more refined invariant, the Dirac index
$\Idir(X)$ can be defined as the formal difference $\Idir(X)=\Hdir(X)^{\bar 0}-\Hdir(X)^{\bar 1}$
between the even and odd part of $\Hdir(X)$,
a virtual finite-dimensional representation of $\widetilde K$.
If $\left[\sigma,\sigma'\right]_{\widetilde K}$ is the usual pairing between two virtual
finite-dimensional representations $\sigma, \sigma'$ of $\widetilde K$, then
the third pairing between two Harish-Chandra modules $X$ and $Y$ of finite length that we introduce is
\begin{equation}\label{DirPair} \bil{X}{Y}_{\mathrm{Dir}}= \left[ \Idir(X),\Idir(Y)\right]_{\widetilde K}.
\end{equation}
In Section \ref{EPLab}, we use Labesse ``index'' functions (\cite{Lab})
to construct index functions~$f_X$ for any finite length Harish-Chandra
module $X$, \ie $f_X$ is a smooth compactly supported function on $G$ satisfying
\[
\bil{X}{Y}_{\mathrm{Dir}}= \Theta_Y(f_X)
\]
for any finite length Harish-Chandra module $Y$.
These functions are very cuspidal in the sense
of Labesse, thus their orbital integrals $\Phi(f_X,x)$ vanish on non-elliptic elements.
In Section \ref{OrbInt}, we show that when $x$ is an elliptic element in $G$,
the formula (\ref{psCoeff}) is valid in this context.
This easily implies that the elliptic pairing coincide with the Dirac pairing.
The proof uses the density of tempered characters in the space of invariant distributions to reduce
the problem to the case of limits of discrete series. In the case of discrete series, the
relevant results are well-known and their extension to the case of limits of discrete series is relatively easy.

A formal (but not rigorous) computation given in Section \ref{EPdir} of the paper
led us to conjecture that
\begin{equation}\label{ConjEPD} \EP(X,Y)=\bil{X}{Y}_{\mathrm{Dir}}, \end{equation}
for any Harish-Chandra modules $X$, $Y$ of finite length.
Interestingly enough finding a direct proof of this equality seems much
more intricate than it seems at first sight.

Recently, Jing-Song Huang and Binyong Sun have established directly the equality between
the elliptic and Euler-Poincaré pairings \cite{HuSu}, thereby proving the conjecture.
Jing-Song Huang also obtained independently (by a different computation) the equality between the
Dirac and elliptic pairings \cite{Hell}. Nevertheless, we still believe that
a direct approach to prove (\ref {ConjEPD}) could be of some interest.
We show that both sides of (\ref{ConjEPD}) are indices of suitable Fredholm
pairs defined on the same spaces. We found the definition of Fredholm pairs
(and some properties of their indices) in
\cite{Amb} and we adapted it to our purely algebraic setting. Let us just say here that the index of
a~Fredholm pair is a generalization of the index of a Fredholm operator. The relevant material
is exposed in an appendix. The first of these Fredholm pair is given by the complex computing
the $\Ext$ groups and its differential, and its index is
the Euler-Poincaré characteristic of the complex, {i.e.} the left-hand side of (\ref{ConjEPD}).
The second Fredholm pair is given (on the same space) by actions of Dirac operators and its index
is the right-hand side of (\ref{ConjEPD}). The conjecture thus boils down to the equality of these
two indices.

The idea that the elliptic pairing for Harish-Chandra modules is related to Dirac index
originates in the papers \cite{CT} and \cite{COT} where the result is established for Hecke algebra.
The role of the group $\widetilde K$ is played in that context by the spin cover
$\widetilde W$ of the relevant Weyl group. Since modules for the Hecke algebra are finite-dimensional, the difficulties we met in
proving (\ref{ConjEPD}) do not appear.

We learned from G.\,Zuckerman that
he obtained results on Euler-Poincaré pairing for Harish-Chandra modules
in the late 70's, but that these were never published. Pavle Pand\v zi\'c and Peter Trapa informed us that they
were also led to the identity (\ref{ConjEPD})
in a work in progress with Dan Barbasch, and we thank them for useful conversations.
We also thank the referee for some useful comments.

\section{Dirac cohomology and Dirac index of \texorpdfstring{$(\frg,K)$}{frgK}-modules}\label{Dgk}

\subsection{Notation and structural facts}\label{gK}
Let $G$ be a connected real reductive Lie group with Cartan involution $\theta$ such that $K=G^\theta$
is a maximal compact subgroup of~$G$. We assume that $G$ and $K$ have same rank, \ie $G$ has discrete series
representations. Let us denote by $\frg_0$ the Lie algebra of $G$, $\frg$ its complexification,
with Cartan involutions also denoted by $\theta$.
We fix an invariant nondegenerate symmetric bilinear form $B$ on $\frg_0$,
extending the Killing form on the semisimple part of $\frg_0$. Let
\[
\frg_0=\frk_0 \stackrel{\theta}{\oplus}\frp_0, \qquad \frg=\frk \stackrel{\theta}{\oplus}\frp\]
be the Cartan decompositions of $\frg_0$ and $\frg$ respectively.
We assume furthermore that in extending the Killing form, we made sure that $B_{|\frp_0}$
remains definite positive and~$B_{|\frk_0}$ definite negative.
Remark that since $G$ and $K$ have equal rank, the dimension of $\frp_0$ is even.

Let $\Cl(\frp)=\Cl(\frp;B)$ be the Clifford algebra of $\frp$ with respect to $B$.
We follow here the sign convention of \cite{HPbook}.
We refer to \cite{HPbook}, \cite{Kos1} or \cite{Mein} for material on Clifford algebras and spinor
modules. Let
\[
\Cl(\frp)= \Cl^{\bar 0}(\frp) \oplus \Cl^{\bar 1}(\frp)
\]
be the decomposition of $\Cl(\frp)$ into even and odd parts.
Recall also that the Clifford algebra $\Cl(\frp)$ is isomorphic as a $\bbZ/2\bbZ$-graded
vector space to the exterior algebra $\bigwedge \frp$ by the Chevalley isomorphism. It is convenient
to identify $\Cl(\frp)$ to $\bigwedge \frp$, and to see the latter as a $\bbZ/2\bbZ$-graded
vector space endowed with two different algebra products, the graded commutative wedge product
(denoted $x\wedge y$) and the Clifford product (denoted $xy$).
Let us denote by $\SO(\frp_0)$ (\resp $\SO(\frp)$) the special orthogonal group of $(\frp_0,B)$
(\resp $(\frp, B)$). The subspace $\bigwedge^{\!2}\frp$ is stable under the Clifford Lie bracket
$[x,y]_\Cl=xy-yx$ on $\bigwedge \frp=\Cl(\frp)$ and is isomorphic as a Lie algebra to the Lie algebra
$\frs\fro(\frp)$ of $\SO(\frp)$.

We denote by $\widetilde K$ the spin double cover of $K$, \ie the pull-back of the covering
map $\mathbf{Spin}(\frp_0) \to \mathbf{SO}(\frp_0)$ by the adjoint action map
$\Ad_{|\frp_0}: K \to \SO(\frp_0)$.
The compact groups $\Spin(\frp_0)$ and $\SO(\frp_0)$ embed in their complexification
$\Spin(\frp)$ and $\SO(\frp)$, so we get the following diagram:
\[
\xymatrix@C=1.2cm{
\widetilde{K} \ar[r] \ar[d] & \Spin(\frp_0) \ar@{^{ (}->}[r] \ar[d] &
\Spin(\frp)\ar@{^{ (}->}[r] \ar[d]
& \Cl^{\bar 0}(\frp)^\times \\
K \ar[r]^-{\Ad_{|\frp_0}} & \SO(\frp_0) \ar@{^{ (}->}[r] & \SO(\frp) & \\
}\]
The complexification of the differential at the identity of the Lie
group morphism $\Ad_{|\frp_0}: K \to \SO(\frp_0)$ is the Lie algebra
morphism
\[
\ad_{|\frp}: \frk \to \frs\fro(\frp), \quad X \mto \ad(X)_{|\frp}.
\]
Let us denote by $\alpha$ the composition of this map with the identification
between $\frs\fro(\frp)$ and $\bigwedge^{\!2} \frp$ and the inclusion of $\bigwedge^{\!2} \frp$ in
$\bigwedge \frp=\Cl(\frp)$:
$\displaystyle \alpha: \frk \to \Cl(\frp)$.

A key role is played in the theory of Dirac cohomology of Harish-Chandra modules
by the associative $\bbZ/2\bbZ$-graded superalgebra
$\caA=U(\frg)\otimes \Cl(\frp)$. The $\bbZ/2\bbZ$-grading comes from the $\bbZ/2\bbZ$-grading on
$\Cl(\frp)$, \ie elements in $U(\frg)\otimes 1$ are even. The
super Lie algebra structure on $\caA$ is given by the (super)commutator bracket $[.\,,.]_\caA$.
The group $K$ acts on $U(\frg)$ through $K\subset G$ by the adjoint action, and
on $\Cl(\frp)$ through the map $\widetilde K \to \Cl^{\bar 0}(\frp)^\times $
in the first row of the diagram above and conjugation in $\Cl(\frp)$ (this action of $\widetilde K$
on $\Cl(\frp)$ factors through $K$).
Thus we get a linear action of $K$ on~$\caA$.
Differentiating this action at the identity, and taking the complexification, we get
a Lie algebra representation of $\frk$ in $\caA$.
This representation can be described as follows. The map $\alpha$ above is used to define
a map
\begin{equation*}
\Delta: \frk \to \caA= U(\frg)\otimes \Cl(\frp), \quad
\Delta(X)=X\otimes 1+1\otimes\alpha(X),
\end{equation*}
which is a morphism of Lie algebra (it takes values in the even part
of the super Lie algebra $\caA$). Thus it extends to an algebra morphism
\begin{equation}\label{Delta}
\Delta: U(\frk) \to \caA= U(\frg)\otimes \Cl(\frp).
\end{equation}
The action of an element $X \in \frk$ on $\caA$ is then given by
the adjoint action of $\Delta(X)$, \ie $a\in \caA \mto [\Delta(X),a]_\caA$.
We denote by $\caA^K$ (\resp $\caA^\frk$) the subalgebra of $K$-invariants (\resp
$\frk$-invariants) in $\caA$. Since $K$ is assumed to be connected, $\caA^K=\caA^\frk$.

Recall that $n=\dim(\frp)$ is even. Thus there are:
\begin{itemize}
\item
two isomorphism classes of irreducible $\bbZ/2\bbZ$-graded $\Cl(\frp)$-modules,

\item
one isomorphism class of irreducible ungraded $\Cl(\frp)$-modules,

\item
two isomorphism classes of irreducible $\Cl^{\bar 0}(\frp)$-modules.
\end{itemize}
An irreducible ungraded $\Cl(\frp)$-module $S$ can be realized as follows:
choose a decomposition $\frp=U\oplus U^*$ into dual isotropic subspaces.
As the notation indicates, $U^*$ is identified to the dual of $U$ by the bilinear form $B$.
Set $S=\bigwedge U$. Let $U$ act on~$S$ by wedging and $U^*$ by contracting.
The decomposition $ \bigwedge U = \bigwedge^{\!\bar{0}} U\oplus
\bigwedge^{\!\bar{1}}U$ give a decomposition $S=S^+\oplus S^-$ into the two non-isomorphic
simple $\Cl^{\bar 0}(\frp)$-modules $S^+$ and~$S^-$.
The dual of $S$ is identified with $\bigwedge U^*$.
The modules $S$, $S^+$ and $S^-$ are finite-dimensional representations of $\widetilde K$ and so are
their duals and also $\Cl(\frp)=\bigwedge \frp$, $\Cl(\frp)^{\bar 0}$ and $\Cl(\frp)^{\bar 1}$.

\begin{prop}
As virtual $\widetilde K$ representations,
\begin{equation}\label{LpSS}
 \bigwedge^{\!\bar{\scriptscriptstyle\bullet}} \frp:= \bigwedge^{\!\bar{1}}\frp - \bigwedge^{\!\bar{0}} \frp
\simeq (S^+ -S^-)^* \otimes (S^+ -S^-).
\end{equation}
\end{prop}

\begin{proof}
As $\widetilde K$-modules:
$ \bigwedge \frp \simeq \Cl(\frp)\simeq \End(S)\simeq S^*\otimes S
= (S^+\oplus S^-)^*\otimes
(S^+ \oplus S^-)$.
This can be obtained also using:
$\bigwedge \frp = \bigwedge(U^*\oplus U)\simeq \left(\bigwedge U^*\right)
\otimes \left(\bigwedge U\right) \simeq S^* \otimes S $.
Writing
\[(S^+\oplus S^-)^*\otimes (S^+ \oplus S^-)= ((S^+)^*\otimes S^+)\oplus ((S^-)^*\otimes S^+)
\oplus ((S^+)^*\otimes S^-)\oplus ((S^-)^*\otimes S^-)\]
and identifying the even and odd parts of these $\bbZ/2\bbZ$-graded modules, we get
\[
 \bigwedge^{\!\bar{0}}\frp \simeq ((S^+)^*\otimes S^+)\oplus ((S^-)^*\otimes S^-),\qquad  \bigwedge^{\!\bar{1}} \frp \simeq ((S^+)^*\otimes S^-)\oplus ((S^-)^*\otimes S^+).\]
So, as virtual $\widetilde K$ representations, $\bigwedge^{\!\bar{\scriptscriptstyle\bullet}} \frp= (S^+ - S^-)^* \otimes (S^+- S^-)$.
\end{proof}

\subsection{Dirac cohomology of Harish-Chandra modules}\label{DirCoh}

Let us now introduce the Dirac operator $D$:

\begin{defi}
If $(Y_i)_i$ is a basis of $\frp$ and $(Z_i)_i$
is the dual basis with respect to~$B$, then
\[
D=D(\frg,K)=\sum_i Y_i\otimes Z_i\in U(\frg)\otimes \Cl(\frp)
\]
is independent of the choice of basis $(Y_i)_i$ and $K$-invariant for the adjoint action
on both factors. The Dirac operator $D$ (for the pair $(\frg,K)$) is an element of $\caA^K$ (see~\cite{HPbook}).
\end{defi}

The most important property of $D$ is the formula
\begin{equation}
\label{Dsquared}
D^2=-\mathrm{Cas}_\frg\otimes 1+\Delta(\mathrm{Cas}_{\frk})+(\|\rho_\frk\|^2-\|\rho_\frg\|^2)
1\otimes 1
\end{equation}
due to Parthasarathy \cite{Par} (see also \cite{HPbook}). Here $\mathrm{Cas}_\frg$ (respectively
$\mathrm{Cas}_{\frk}$) denotes the Casimir element of $U(\frg)$. The constant
$(\|\rho_\frk\|^2 -\|\rho_\frg\|^2) $ is explained below.
This formula has several important consequences for Harish-Chandra modules.
To state them, we need more notation.
Let us fix a maximal torus $T$ in $K$, with Lie algebra $\frt_0$. Since~$G$ and $K$ are
connected and have same rank, $T$ is also a Cartan subgroup of $G$.

Let $R=R(\frg,\frt)$ denotes the root system of $\frt$ in $\frg$,
$W=W(\frg,\frt)$ its Weyl group. Let us also choose a positive root system
$R^+$ in $R$. As usual, $\rho$ denotes the half-sum of positive roots, an element in $\frt^*$.
Similarly, we introduce the root system $R_\frk=R(\frk,\frt)$, its Weyl group $W_\frk$,
a positive root system $R_\frk^+$, compatible with $R^+$, and the half-sum of positive roots $\rho_\frk$.
The bilinear form $B$ on $\frg$ restricts to a non degenerate symmetric bilinear form
on $\frt$, which is definite positive on the real form $i\frt_0\oplus \fra_0$.
We denote by $\bilo$ the induced form on $i\frt_0^*$ and in the same way its extension to
$\frt^*$. The norm appearing in (\ref{Dsquared}) is defined for any $\lambda \in \frt^*$
by $\|\lambda\|^2=\bil{\lambda}{\lambda}$.

Recall the Harish-Chandra algebra isomorphism
\begin{equation}\label{HCiso} \gamma_\frg: \frZ(\frg) \simeq S(\frt)^W \end{equation}
between the center $\frZ(\frg)$ of the enveloping algebra $U(\frg)$ and the $W$-invariants in the
symmetric algebra $S(\frt)$ on $\frt$. Accordingly, a character $\chi$ of $\frZ(\frg)$ is given by
an element of $\frt^*$ (or rather its Weyl group orbit). If $\lambda \in \frt^*$, we denote by
$\chi_\lambda$ the corresponding character of $\frZ(\frg)$.
Let $X$ be a Harish-Chandra module. We say that $X$
has infinitesimal character $\lambda$ if any $z\in \frZ(\frg)$ acts on $X$ by the scalar operator
$\chi_\lambda(z)\Id_X$.

Let $\scrM=\scrM(\frg,K)$ be the category of Harish-Chandra modules for the pair $(\frg,K)$
(see \cite{KV} for details). If $X\in \scrM$, then $\caA=U(\frg)\otimes \Cl(\frp)$ acts
on $X\otimes S$. Then~$X$ decomposes as the direct sum of its $K$-isotypic components, these
being finite-dimensional if $X$ is admissible. Accordingly, $X\otimes S$ decomposes
as the direct sum of its (finite-dimensional if $X$ is admissible) $\widetilde K$-isotypic components.
Let us denote by $F_\tau$ the irreducible representation of $\widetilde K$
with highest weight $\tau \in i \frt_0^*$. We denote the corresponding $\widetilde K$-isotypic
component of $X\otimes S$ by $(X\otimes S)(\tau)$. Assume $X$ is admissible and has infinitesimal character
$\Lambda\in\frt^*$. Then $D^2$ acts on $(X\otimes S)(\tau)$ by the
scalar $-\|\Lambda\|^2+\|\tau+\rho_\frk\|^2$.
In particular, we see that in that case $D^2$ acts semi-simply on $X\otimes S$, and
that the kernel of $D^2$ on $X\otimes S$
is a (finite) direct sum of full $\widetilde K$-isotypic components of $X\otimes S$: these
are exactly those $(X\otimes S) (\tau)$ for which
\begin{equation}
\label{HDKtype}
\|\tau+\rho_\frk\|^2=\|\Lambda\|^2.
\end{equation}

Another important fact is that the action of $D$ preserves $\widetilde K$-isotypic
components of $X\otimes S$. If $X$ is unitary (\resp finite-dimensional), one can put a
positive definite hermitian form on $X\otimes S$ and one sees that $D$ is hermitian
(\resp skew-hermitian).
Let us now review Vogan's definition of Dirac cohomology.

\begin{defi} Let $X \in \scrM$. The Dirac operator $D$ acts on $X\otimes S$ with kernel $\ker D$
and image $\im D$.
Vogan's Dirac cohomology of $X$ is the quotient
\[
\Hdir(X) = \ker D/(\ker D\cap \im D).
\]
\end{defi}

Since $D \in \caA^{K}$, $\widetilde K$ acts on $\ker D$, $\im D$ and $\Hdir(X)$.
Also, assume that $X$ is admissible and has infinitesimal character $\Lambda \in \frt^*$.
Then, since $\ker D \subset \ker D^ 2$ and since we have seen that the latter is the sum the full
$\widetilde K$-isotypic components of $X\otimes S$ satisfying (\ref{HDKtype})
(these are obviously in finite number), we see that
$\Hdir(X)$ is a finite-dimensional representation of $\widetilde K$.
This is particularly helpful if $X$ is unitary, admissible and
has infinitesimal character $\Lambda \in \frt^*$. Then
it follows that $D$ acts semisimply on $X\otimes S$ and so
\begin{equation}
\label{HDunit2}
\ker D^2=\ker D = \Hdir(X).
\end{equation}
In this case, the Dirac cohomology of $X$ is a sum the full isotypic components $(X\otimes S)(\tau)$
such that (\ref{HDKtype}) holds.
For general $X$, (\ref{HDunit2}) does not hold, but note that~$D$ is always a differential
on $\ker D^2$, and $\Hdir(X)$ is the usual cohomology of this differential.

Let us state the main result of \cite{HP}, which gives a strong condition on the
infinitesimal character of an admissible Harish-Chandra module $X$ with nonzero Dirac cohomology.

\begin{prop}
\label{mainHP} Let $X \in \scrM$ be an admissible Harish-Chandra module with infinitesimal character
$\Lambda\in\frh^*$. Assume that $F_\tau$ is an irreducible representation of
$\widetilde K$ with highest weight $\tau\in i \frt_0^*$ such that $(X\otimes S)(\tau) $
contributes to $\Hdir(X)$. Then
\begin{equation}
\label{eqHP}
\Lambda=\tau+\rho_\frk\quad\text{up to conjugacy by the Weyl group } W.
\end{equation}
\end{prop}

Thus for unitary $X$, (\ref{HDKtype}) is equivalent to the stronger condition (\ref{eqHP}), provided
that $F_\tau$ appears in $X\otimes S$.

\subsection{Dirac index}

The Dirac index of Harish-Chandra modules
is a refinement of Dirac cohomology. It uses the decomposition $ S=S^+ \oplus S^- $
of the spinor module as a $\Cl(\frp)^{\bar 0}$-module (and thus also as a representation of
$\widetilde K$). Since $D$ is an odd element in $U(\frg)\otimes \Cl(\frp)$ its action
on $X\otimes S$, for any Harish-Chandra module $X$ exchanges $X\otimes S^+$
and $X\otimes S^-$~:
$ D: X\otimes S^+ \longleftrightarrow X\otimes S^- $.
Accordingly, the Dirac cohomology of $X$ decomposes as
\[\Hdir(X)= \Hdir(X)^+\oplus \Hdir(X)^-.\]

The \emph{index of the Dirac operator} acting on $X\otimes S$ is
the virtual representation
\[
\Idir(X)=\Hdir(X)^+- \Hdir(X)^-
\]
of $\widetilde K$.
The following proposition is interpreted as an Euler-Poincaré principle.

\begin{prop}\label{IHD}
Let $X$ be an admissible Harish-Chandra module with infinitesimal character. Then
\[\Idir(X)=X\otimes S^+ - X\otimes S^-
\]
as virtual $\widetilde K$-representations.
\end{prop}

\begin{proof}
A virtual $\widetilde K$-representation is by definition an element of
the Grothendieck group $\scrR(\widetilde K)$ of the category of finite-dimensional representations of
$\widetilde K$. This is the free $\bbZ$-module generated by equivalence classes of
irreducible representations, \ie one can write
\[
\scrR(\widetilde K)=\bigoplus_{\gamma\in (\widetilde K)\, \hat{}} \bbZ.
\]
The right-hand side of the equation in the proposition cannot a~priori be interpreted as an element of
$\scrR(\widetilde K)$, but only of the larger group $\prod_{\gamma\in (\widetilde K)\, \hat{} } \bbZ$.

Let us now prove the equality. We have seen that $D^2$ acts semisimply on $X\otimes S$.
Furthermore, each eigenspace of
$D^2$ in $X\otimes S$ is a sum of full $\widetilde K$-isotypic components and that these
are preserved by the action of $D$. Each of these $\widetilde K$-isotypic components
$(X\otimes S)(\tau)$ decomposes also as
$ (X\otimes S)(\tau)=(X\otimes S)(\tau)^+\oplus (X\otimes S)(\tau)^- $
where $$(X\otimes S)(\tau)^\pm:=(X\otimes S)(\tau) \cap (X\otimes S^\pm).$$

For $\widetilde K$-isotypic components corresponding to a non-zero eigenvalue of $D^2$, we thus get
that $D$ is a bijective intertwining operator (for the $\widetilde K$-action) between
$(X\otimes S)(\tau)^+$ and $(X\otimes S)(\tau)^-$. Thus the contribution of these
$\widetilde K$-isotypic components to
\[
X\otimes S^+ - X\otimes S^-
\]
is zero. So only $\ker D^2$
will contribute, \ie
\[
X\otimes S^+ - X\otimes S^-= (\ker D^2 \cap (X\otimes S^+))-(\ker D^2 \cap (X\otimes S^-)).
\]
Let us write
\[
\ker D^2 \cap (X\otimes S^\pm) =\ker D \cap (X\otimes S^\pm)\oplus W^\pm
\]
for some $\widetilde K$-invariant complementary subspaces $W^\pm$.
Then, as above, $D$ is bijective inter\-twining operator for the $\widetilde K$-action
between \hbox{$W^\pm$ and $D(W^\pm)\!\subset\!\ker D^2\!\cap\! (X\otimes S^\mp)$}. So these contributions
also cancel, and what remains is exactly the virtual $\widetilde K$\nobreakdash-repre\-sentation
$\Hdir(X)^+- \Hdir(X)^-$.
\end{proof}


\subsection{Dirac index pairing}

If $\gamma, \sigma$ are virtual finite-dimensional representations of~$\widetilde K$,
and $\chi_\gamma$, $\chi_\sigma$ are their characters, we denote by
\[\left[\gamma, \sigma \right]_{\widetilde K}=\int_{\widetilde K} \overline{\chi_\gamma(k)} \chi_\sigma(k)\; dk
\]
the usual (hermitian) pairing between these virtual representations ($dk$ is the normalized
Haar measure on~$\widetilde K$).
Since virtual finite-dimensional representations of $K$ are also
virtual representations of $\widetilde K$, we use also the notation for their pairing.
Notice that when $\gamma, \sigma$ are actual finite-dimensional representations, then
$\left[\gamma, \sigma \right]_{\widetilde K}=\dim \Hom_{\widetilde K}(\gamma, \sigma)$.

\begin{defi}
Assume that $X$ and $Y$ are admissible Harish-Chandra modules with infinitesimal character\footnote{A technical remark is in order here:
recall that a Harish-Chandra module with infinitesimal character is of finite length if and only
if it is admissible.}.
Set $ \bil{X}{Y}_{\mathrm{Dir}}=\left[ \Idir(X), \Idir(Y) \right]_{\widetilde K}$, the Dirac index pairing
of $X$ and $Y$.
\end{defi}

\subsection{Dirac index of limits of discrete series}\label{LDS}

Harish-Chandra modules of limits of discrete series of $G$
are obtained as cohomologically induced
$A_\frb(\bbC_\lambda)$-modules (see~\cite{KV}), where
$\frb=\frt\oplus \fru$ is a Borel subalgebra containing $\frt$ with nilpotent radical~$\fru$,
and~$\bbC_\lambda$ is the one-dimensional representation of $T$ with weight
$\lambda \in i\frt_0^*$. Some positivity conditions on $\lambda$ are required, that we now describe.
The Borel subalgebra $\frb$ determines a set of positive roots
$R^+_\frb$ of $R=R(\frg,\frt)$ (the roots of $\frt$ in $\fru$). Let us denote
by $\rho(\frb)$, (\resp $\rho_c(\frb)$, \resp $\rho_n(\frb)$) the half-sum of (\resp compact,
\resp non-compact) roots in $R^+_\frb$. The positivity condition on $\lambda$ is that
\begin{equation} \label{posi} \bil{\lambda+\rho(\frb)}{\alpha}\geq 0, \qquad (\forall\alpha \in R^+_\frb).
\end{equation}
Then, $A_\frb(\bbC_\lambda)$ is a discrete series modules if the inequalities in (\ref{posi})
are strict, and otherwise a limit of discrete series ($\chi=\lambda+\rho(\frb)$ is the infinitesimal
character of~$A_\frb(\bbC_\lambda)$), or $0$.
Assume furthermore that $\chi$ is not singular for $K$, \ie $\bil{\chi}{\alpha}\neq 0$ for all
$\alpha\in R(\frk,\frt)$. Set
\begin{equation}\label{Lambda}
\Lambda=\lambda+2\rho_n(\frb)=\chi+\rho_n(\frb)-\rho_c(\frb)=\chi+\rho(\frb)-2\rho_c(\frb).
\end{equation}
Then, for all simple root $\alpha \in R^+(\frk,\frt)$, we have
$ \bil{\chi}{\alpha}\geq 1, \; \bil{\rho(\frb)}{\alpha}\geq 1, \; \bil{\rho_c(\frb)}{\alpha}=\nobreak1$
and thus $\Lambda$ is dominant for $\frk$.
The lowest $K$-type of $A_\frb(\bbC_\lambda)$
has multiplicity one and highest weight $\Lambda$,
and all other $K$-types have highest weights of the form $\Lambda+ \sum_{\beta \in R(\fru \cap \frp, \frt)}
n_\beta \, \beta$, with $n_\beta$ nonnegative integers.

Let us compute the Dirac cohomology of $A_\frb(\bbC_\lambda)$, following \cite[\S5]{HKP}.
There it is assumed that $A_\frb(\bbC_\lambda)$ is a discrete series, and for these it goes back
more or less explicitly to \cite{AS}.
Let $\mu$ be the highest weight of a $\tilde K$-type in $A_\frb(\bbC_\lambda)\otimes S$.
Weights of~$S$ are of the form $-\rho_n(\frb)+\Phi$
where $\Phi$ is a sum of positive non-compact roots and thus~$\gamma$ must be of the form
\begin{equation} \label{mu}
\mu= \Lambda+\Psi- \rho_n(\frb)+\Phi = \chi-\rho_c(\frb) +\Psi +\Phi,
\end{equation}
where $\Psi$ is an integral linear combination of positive non-compact roots with nonnegative
coefficients. By Proposition \ref{mainHP}, $\gamma$ contributes to the Dirac cohomology of $A_\frb(\bbC_\lambda)$
if and only if there exists $w \in W$ such that $w\cdot \chi=\mu + \rho_c(\frb)$ and in that case, (\ref{mu})
gives
\[
\chi -w\cdot \chi +\Psi +\Phi=0.
\]
Since $\chi$ is dominant, $\chi-w\cdot \chi$ is a an integral linar combination of positive
roots with nonnegative coefficients (\cite[Lem.\,2.3]{HKP}).
Hence $\Psi=\Phi=0$, $w\cdot \chi=\chi$ and
\begin{equation} \label{mu2}\mu= \Lambda- \rho_n(\frb) = \chi-\rho_c(\frb)=\lambda+\rho_n(\frb).
\end{equation}
The $\tilde K$-type $F_\mu$ occurs with multiplicity one in $A_\frb(\bbC_\lambda)$,
thus the Dirac index of $A_\frb(\bbC_\lambda)$ is $\pm F_\mu$.
To determine the sign, recall that the spinor module $S$, as a $\widetilde K$-representation,
doesn't depend on any choice, nor does the set $\{S^+, S^-\}$, in particular not on the way we
realized this module, but the distinction between $S^+$ and $S^-$ does (resulting
on a sign change in the Dirac index). So suppose we have fixed once for all
a Borel subalgebra $\frb_1=\frt\oplus \fru_1$ and choose $\fru_1\cap \frp$ as the isotropic subspace
$U$ of $\frp$ used to construct the spinor modules in Section \ref{gK}.
Then $S^+$ is the $\widetilde K$-representation containing the weight $-\rho_n(\frb_1)$ and
$S^-$ is the one containing the weight $\rho_n(\frb_1)$. With this choice, it is easy
to see that $\Idir(A_\frb(\bbC_\lambda))=\mathrm{sgn}(w) F_\mu$, where $w \in W$ is the Weyl group element
sending $\frb_1$ to $\frb$ and $\mathrm{sgn}$ is the sign character.

Let us now determine the Dirac index of the virtual modules $X$ which are the linear combinations
of limits of discrete series with the same infinitesimal character, whose characters are the
supertempered distributions constructed by Harish-Chandra (see \cite{HC} and \cite[\S 7]{Bouaziz}).
Namely take an integral but non necessarily regular weight $\chi$ in $i\frt_0^*$, but assume that
$\chi$ is regular for $\frk$,
and consider the limits of discrete series $A_\frb(\bbC_\lambda)$ as above
with $\chi=\lambda+\rho(\frb)$ satisfying (\ref{posi}). Notice that $\chi$ being fixed,
$\frb$ determines $A_\frb(\bbC_\lambda)$ and that Borel subalgebras $\frb$
which occurs are the one such that the corresponding Weyl chamber $C_\frb$ has $\chi$ in its closure.
So we can forget the $\lambda$ in the notation, and the set of limits of discrete series
we are considering is \hbox{$\caL=\{ A_\frb\mid \chi \in \overline{C_\frb} \}$}.
Choose one of them as a base point, say $A_{\frb_2}$. Then the linear combination introduced
by Harish-Chandra is
\begin{equation}\label{supertempered}
X_{\chi, \frb_2}=\frac{1}{\vert W_\chi \vert } \sum_{A_\frb \in \caL } \epsilon(\frb) A_\frb \end{equation}
where $\epsilon(\frb)= \mathrm{sgn}(w)$, and $w \in W$ is the Weyl group element sending
$\frb_2$ to $\frb$ and $W_\chi=\{w\in W|\, w\cdot \chi=\chi\}$. This construction is made because all the the
$\epsilon(\frb) A_\frb$
have the same character formula on $T$ and this is also the formula for
the character of $X_{\chi, \frb_2}$. Notice that a different choice of $\frb_2$ as base
point would result in at most a sign change.

The fact that $\chi$ is regular for $\frk$ implies that the corresponding Weyl chambers $C_\frb$ are all
included in a single Weyl chamber for $R(\frk,\frt)$. In particular, the various
$\rho_c(\frb)$ are all equal (let say to $\rho_c$). This shows that the Dirac cohomology of all the
$ A_\frb \in \caL$ is the same, namely the multiplicity-one $\widetilde K$-type $F_\mu$ with
highest weight $\mu=\chi-\rho_c$. Taking signs into account, we see that all the
$\epsilon(\frb) A_\frb $ have same Dirac index $\mathrm{sgn}(w) F_\mu$
where $w$ is the Weyl group element sending $\frb_1$ to $\frb_2$. This is thus also the Dirac index of
$X_{\chi,\frb_2}$.

For discrete series, $\chi$ is regular, so $\caL$ contains only one element $A_\frb(\lambda)$
with $\lambda=\chi-\rho(\frb)$.

\begin{rmk} \label{singular}
If $\chi$ is singular for $\frk$, the virtual representation (\ref{supertempered})
is still defined, but it is $0$.
\end{rmk}

\begin{prop}\label{OrtInd} Let the notation be as above, with $\chi$ regular for $\frk$.
If $\Idir(X_{\chi,\frb})= \pm \Idir(X_{\chi',\frb'})$, then $\chi$ and $\chi'$
are conjugate by a element of $W(\frk,\frt)$, and thus by an element in $K$.
Therefore $X_{\chi,\frb}= X_{\chi',\frb'}$.
\end{prop}

\begin{proof}
Say that $\Idir(X_{\chi,\frb})= \pm F_\mu= \pm I(X_{\chi',\frb'})$.
For any $g\in G$ normalizing $T$, $X_{g\cdot \chi, g \cdot \frb}= X_{\chi,\frb}$,
so we can assume that
$C_\frb$ and $C_{\frb'}$ are in the same Weyl chamber for $R(\frk,\frt)$.
We have then $\mu=\chi-\rho_c(\frb)=\chi'-\rho_c(\frb')$ and $\rho_c(\frb)=\rho_c(\frb')$
so that $\chi=\chi'$.
\end{proof}

\section{Labesse index functions and Euler-Poincaré functions} \label{EPLab}

Let us compute the Dirac index pairing for two admissible Harish-Chandra
modules~$X$ and $Y$ with infinitesimal character. We have
\[
\bil{X}{Y}_{\mathrm{Dir}} =
\left[ \Idir(X), \Idir(Y) \right]_{\widetilde K} = \sum_{\gamma\in (\widetilde K)\, \hat{}}
\left[\gamma, \Idir(X) \right]_{\widetilde K} \times
\left[ \gamma, \Idir(Y) \right]_{\widetilde K}.\]
Let us now introduce some material from \cite{Lab}. If $\gamma$ is a genuine
virtual finite-dimensional representation of $\widetilde K$, let us denote
by $I_K(\gamma)$ the virtual finite-dimensional representation
\[
\gamma\otimes (S^+ -S^-)^*
\]
of $K$ and by $\tilde \chi_\gamma$ of the character of $I_K(\gamma)$ (a conjugation invariant function on $K$).
If $(\pi,X)$ is an admissible Harish-Chandra module, with $\pi$ denoting the action of~$K$ on~$X$,
the operator
\[
\pi(\overline{\widetilde{\chi_\gamma}})=\int_K \pi(k) \, \overline{\tilde \chi_\gamma (k)} \; dk
\]
is of finite rank, and so is a trace operator. Let us denote its trace by
$I(X,\gamma)$. If furthermore $X$ has infinitesimal character, we have
\[I(X,\gamma)=\left[ \gamma\otimes (S^+-S^-)^*, X \right]_{\widetilde K}=
\left[ \gamma, X \otimes (S^+-S^-)\right]_{\widetilde K}= \left[ \gamma, \Idir(X)\right]_{\widetilde K}.\]

Labesse main result is the existence for all
$\gamma\in (\widetilde K)\, \hat{}$ of a
smooth, compactly supported and bi-$K$-finite function $f_{ \gamma}$
which satisfies, for all finite length Harish-Chandra module $X$, with $\Theta_X$ denoting the
distribution-character of $X$,
\[
\Theta_X(f_\gamma)= I(X,\gamma).
\]
The main ingredient in Labesse's construction is
the Paley-Wiener theorem of Arthur~\cite{Ar}.
From this, we get
\[
\bil{X}{Y}_{\mathrm{Dir}} = \sum_{\gamma\in (\widetilde K)\, \hat{}} I(X,\gamma)\times I(Y,\gamma)
= \sum_{\gamma\in (\widetilde K)\, \hat{}} \Theta_X(f_\gamma)
\Theta_Y(f_\gamma).
\]

Let us call
\[
f_Y= \sum_{\gamma\in (\widetilde K)\, \hat{}} \Theta_Y(f_\gamma)
\; f_\gamma
\]
an index function for $Y$.
Note that the sum above has finite support, so that
$f_Y$ is smooth, compactly supported and bi-$K$-finite. Furthermore, Labesse shows
(\cite[Prop.\,7]{Lab}) that the functions $f_\gamma$ are ``very cuspidal'', \ie
that their constant terms for all proper parabolic subgroups of $G$ vanish.
Thus the same property holds for $f_Y$. This implies the vanishing of the orbital integrals
$\Phi(f_Y,x)$ on regular non-elliptic element~$x$ in~$G$. We have obtained:

\begin{thm}
For any admissible Harish-Chandra module $Y$ with infinitesimal character, there exists a
smooth, compactly supported, bi-$K$-finite and very cuspidal function
$f_Y$ on $G$ such that for any admissible Harish-Chandra module $X$ with infinitesimal character,
\[
\bil{X}{Y}_{\mathrm{Dir}} = \Theta_X(f_Y).
\]
\end{thm}

\section{Orbital integral of \texorpdfstring{$f_Y$}{fY} as the character of \texorpdfstring{$Y$}{Y} on elliptic elements}\label{OrbInt}

The goal of this section is to show that the value of the orbital integral $\Phi(f_Y,x)$ of~$f_Y$ at
an elliptic regular element $x$ coincides with the value of the character $\theta_Y$ of~$Y$ at $x^{-1}$.
The character $\Theta_Y$ of $Y$ is a distribution on $G$, but recall that
according to Harish-Chandra regularity theorem, there is an analytic, conjugation invariant function
that we will denote by $\theta_Y$ on the set $G_{\mathrm{reg}}$ such that for
all $f\in\caC^\infty_c(G)$,
\[\Theta_Y(f)=\int_G \theta_Y(x) \; f(x)\; dx.
\]
Using Weyl integration formula, this could be written as
\[\Theta_Y(f)=\sum_{[H]} \frac{1} {\vert W(G,H) \vert } \int_{H} \vert D_G(h)\vert \,
\theta_Y(h) \; \Phi(f, h)\; dh,
\]
where the first sum is on a system of representative of conjugacy classes of Cartan subgroups $H$ of $G$,
$W(G,H)=N_G(H)/H$ is the real Weyl group of $H$ and $\vert D_G\vert$ is the usual Jacobian.
The assertion is thus that:
\begin{equation}\label{assertion} \theta_Y(x^{-1})=\Phi(f_Y,x), \qquad
(x\in G_{\mathrm{ell}}).\end{equation}
The characterization of orbital integrals due to A.\,Bouaziz \cite{Bouaziz} shows that there indeed
exists a function $\psi_Y$ in $\caC^\infty_c(G)$ such that
\[
\Phi(\psi_Y,x)=\begin{cases} \theta_Y(x^{-1}) \text{ if } x\in G_{\mathrm{ell}}, \\
0 \text{ if } x\in G_{\mathrm{reg}}\setminus G_{\mathrm{ell}}.\end{cases}
\]

Let $\caF$ be a family of elements $X$ in $\scrR_\bbC$ such that the space generated by the $\Theta_X$
is dense in the space of invariant distributions $\caD'(G)^G$ on $G$. For instance, $\caF$ could be the
set of characters of all irreducible tempered representations, but we will rather take $\caF$
to be the family of virtual representations with characters $\Theta_{h^*}$ defined in \cite[\S 7]{Bouaziz}.
The density of this family of invariant distributions is a consequence of the inversion
formula of orbital
integrals \cite{Bouaziz2}. Elements in $\caF$ are generically irreducible tempered representations,
but in general, they are linear combinations of some of these with same infinitesimal character.
The distributions $\Theta_{h^*}$ are supertempered in the sense of Harish-Chandra \cite{HC}.
In any case to prove (\ref{assertion}), it is enough by density to show that for
all $X\in \caF$, we have:
\begin{equation}\label{reduc} \Theta_X(f_Y)=\Theta_X(\psi_Y).\end{equation}
If $X$ is a linear combination of parabolically induced representations, then both side are $0$ since
$\Theta_X$ vanishes on elliptic elements. Thus, it is sufficient to prove (\ref{reduc}) for~$X$
corresponding to the $\Theta_{h^*}$ of \cite{Bouaziz} attached to the compact Cartan subgroup $T$. Then~$X$ is either a discrete series or a linear combination of limits of discrete series (with same infinitesimal
character) described in Section \ref{LDS}.

Assume that (\ref{assertion}) is established for all such $X$.
The left-hand side of (\ref{reduc}) then also equals
\begin{align*}
\Theta_Y(f_X)&=\frac{1} {\vert W(G,T) \vert } \int_{T} \vert D_G(t)\vert \, \theta_Y(t) \; \Phi(f_X,t) \;
dt\\
&=\frac{1} {\vert W(G,T) \vert } \int_{T} \vert D_G(t)\vert\, \theta_Y(t) \; \theta_X(t^{-1}) \; dt
\end{align*}
and equals the right-hand side, by using the definition of $\psi_Y$ and the Weyl integration formula again.
By definition of the measure $dc$ on the set $C^{\mathrm{ell}}$ of regular semisimple
elliptic conjugacy classes in $G$ and of the elliptic pairing recalled in the introduction, we have also
\[\Theta_Y(f_X)= \int_{ C^{\mathrm{ell}} } \theta_Y(c) \; \theta_X(c^{-1}) \; dc=\bil{X}{Y}_{\mathrm{ell}}.\]

Thus we have reduced the proof of (\ref{assertion}) for all $Y$ to the case when
$Y$ is either a discrete series or a linear combination of limits of discrete series as described above.
In turns, it is enough to show (\ref{reduc}) when both $X$ and $Y$ are of this kind.
In case $Y$ corresponds to a parameter $h^*$ of \cite{Bouaziz2}, $\psi_Y$ is exactly
the function denoted $\psi_{h^*}$ there, and in particular:
\[
\Theta_X(\psi_Y)=\begin{cases}
1& \text{if } X=Y, \\ 0& \text{if } X\neq \pm Y.
\end{cases}
\]

With the notation of Section \ref{LDS}, we can take $X=X_{\chi,\frb}$ and $Y=X_{\chi',\frb'}$.
Then $f_X=\sum_{\gamma\in (\widetilde K)\, \hat{}} \Theta_X(f_\gamma)f_\gamma=
\sum_{\gamma\in (\widetilde K)\, \hat{}} \left[\gamma, I(X,\gamma) \right]_{\widetilde K} \, f_\gamma$
and by the results in Section \ref{LDS}, we get $f_X=\epsilon(\frb) f_{\chi-\rho_c(\frb)}$.
Similarly we get $f_Y=\epsilon(\frb') f_{\chi'-\rho_c(\frb')}$ and
\[
\Theta_X(f_Y)= \left[ \Idir(X), \Idir(Y) \right]_K = \left[ \epsilon(\frb) \, F_{\chi-\rho(\frb)},
\epsilon(\frb')\, F_{\chi'-\rho(\frb')} \right]_K.\]
By Proposition \ref{OrtInd}, we see that this is $0$ if $X\neq \pm Y$ and $1$ if $X=Y$.
This finishes the proof of (\ref{reduc}) in the case under consideration.
We have proved:
\begin{thm}
Let $X$ and $Y$ be finite length Harish-Chandra modules with infinitesimal character in
$\scrM$ and let $f_X$, $f_Y$ be
the Euler-Poincaré functions for $X$ and $Y$ respectively, constructed in Section \ref{EPLab}.
Then, the orbital integral $\Phi(f_X,x)$ at a regular element $x$ of $G$ is $0$ if
$x$ is not elliptic, and equals $ \theta_X(x^{-1})$
if $x$ is elliptic.
Furthermore:
\[
\bil{X}{Y}_{\mathrm{Dir}}=\Theta_X(f_Y)=\Theta_Y(f_X)= \int_{ C^{\mathrm{ell}} } \theta_Y(c) \;
\theta_X(c^{-1}) \; dc= \bil{X}{Y}_{\mathrm{ell}}.
\]
\end{thm}

\section{Euler-Poincaré pairing and Dirac pairing}\label{EPdir}

For two finite length Harish-Chandra modules $X$ and $Y$, one can define their
Euler-Poincaré pairing as the alternating sum of dimensions of $\Ext$ functors as
in (\ref{EPp}).
Recall that $\scrM$ has finite cohomological dimension, so this sum has finite support.
More precisely, an explicit projective resolution of $X$ in $\caM(\frg,K)$
is given by (\hbox{\cite[II.7]{KV}})
\[
\cdots \to P_{i+1} \to P_{i} \to \cdots \to P_{0}\to X \to 0
\]
with $P_i =(U(\frg)\otimes_{U(\frk)}\bigwedge^ i \frp)\otimes X$.
Set
$C^i=\Hom_\scrM(P_i, Y)\simeq \Hom_{K}( {\bigwedge^i }\frp\otimes X, Y)$.
Thus $\Ext^i(X,Y)$ is given by the $i$-th cohomology group of the complex $\boldsymbol{C}=(C^i)_i$, with differential
$d^i$ given explicitly in \loccit

\begin{thm}\label{Main1}
Let $X$ and $Y$ be two admissible Harish-Chandra modules with infinitesimal character.
Then
\[\EP(X,Y)= \left[ \Idir(X), \Idir(Y) \right]_{\widetilde K}= \bil{X}{Y}_{\mathrm{Dir}}.
\]
\end{thm}

\begin{proof}
We have seen in the previous section that $\bil{X}{Y}_{\mathrm{Dir}}=\bil{X}{Y}_{\mathrm{ell}} $.
Huang and Sun \cite{HuSu} have proved that $\bil{X}{Y}_{\mathrm{ell}} =\EP(X,Y)$.
\end{proof}

The main content of this statement is that the $\EP$ pairing of two finite length Harish-Chandra
modules with infinitesimal character factors through their Dirac indices, and thus through their Dirac cohomology.
In particular, the results on Dirac cohomology and Dirac index
recalled in Section \ref{DirCoh} put severe conditions on modules $X$ and $Y$ for their Dirac pairing to be
non-zero. For many interesting modules, the Dirac index is explicitly known, and then so is
the Dirac pairing between these modules.

\begin{rmk}
In the case where $X=F$ is a finite-dimensional irreducible Harish-Chandra module, $\Ext^i(F,Y)$
is also the $i$-th $(\frg,K)$-cohomology group of $Y\otimes F^*$.
Thus, in that case,
\[\sum_i (-1)^i \dim H^i(\frg, K; Y\otimes F^*)= \left[ \Idir(F), \Idir(Y) \right]_{\widetilde K}.\]
In the case where $Y$ is unitary, we have much stronger results:
the differential $d$ on $\Hom_K(\bigwedge \frp \otimes F, Y)$ is $0$,
so
\begin{align*}
\bigoplus_{i} H^i(\frg, K; Y\otimes F^*)&=\bigoplus_{i} \Hom_K( \bigwedge^i \frp \otimes F, Y)\\
&=\Hom_K(\bigwedge \frp \otimes F, Y) \simeq \Hom_{\widetilde K}(F\otimes S, Y\otimes S)
\end{align*}
and the only common $\widetilde K$-types between $F\otimes S$ and $Y\otimes S$
have their isotypic components in $\ker (D_{\vert F\otimes S})=\ker (D_{\vert F\otimes S}^2)=\Hdir(F)$
and $\ker (D_{\vert X\otimes S})=\ker (D_{\vert X\otimes S}^2)=\Hdir(X)$ respectively.
See \cite[\S 9.4]{Wal} and \cite[\S 8.3.4]{HPbook}.
\end{rmk}

We would like a direct proof of the equality in the theorem. Consider the following computation:
\begin{align*}
\EP(&X,Y)=\sum_i (-1)^i \; \dim \Ext^i(X,Y)
= \sum_i (-1)^i \; \dim \Hom_{K}\left( {\bigwedge^i} \frp\otimes X, Y\right) \\[-5pt]
& = \sum_i (-1)^i \; \left[ {\bigwedge^i} \frp \otimes X, Y\right]_{\widetilde K}
= \biggl[ \sum_i (-1)^i \; {\bigwedge^i} \frp\otimes X, Y \biggr]_{\widetilde K}
= \left[ {\bigwedge^{\!\bar{\bullet}}} \frp\otimes X, Y\right]_{\widetilde K} \\
&= \left[(S^ +-S^-)^*\otimes (S^ +-S^-) \otimes X, Y\right]_{\widetilde K}
= \left[ (S^ +-S^-) \otimes X, (S^ +-S^-)\otimes Y\right]_{\widetilde K} \\
&= \left[ \Hdir(X)^+ - \Hdir(X)^-,
\Hdir(Y)^+- \Hdir(Y)^- \right]_{\widetilde K}
= \left[ \Idir(X), \Idir(Y) \right]_{\widetilde K}.
\end{align*}

The second equality is the Euler-Poincaré principle. We have also used (\ref{LpSS}) and Proposition \ref{IHD}.
The attentive reader probably noticed a small problem with the application of
the Euler-Poincaré principle since the terms $C^i= \Hom_{K}\left( {\bigwedge^i}
\frp\otimes X, Y\right) $ could be infinite dimensional. We were not able
to find a direct proof of the equality of the two extreme terms so far, but let us try to give some
ideas of how this could be done. More details on this can be found in \cite{ReArx}.
We may assume that the infinitesimal characters of $X$ and $Y$ are the same, since otherwise, both side
of the identity we aim to prove are $0$.

Let $\scrC=\Hom_{\widetilde K}(X\otimes S, Y\otimes S)$. Then $\scrC=\scrC^{\bar 0}\oplus \scrC^{\bar 1}$, with
\begin{align*}
\scrC^{\bar 0}&= \Hom_{\widetilde K}(X\otimes S^+, Y\otimes S^+)\oplus
\Hom_{\widetilde K}(X\otimes S^-, Y\otimes S^-),
\\
\scrC^{\bar 1}&= \Hom_{\widetilde K}(X\otimes S^+, Y\otimes S^-)\oplus
\Hom_{\widetilde K}(X\otimes S^-, Y\otimes S^+).
\end{align*}

Let us consider the following various actions of the Dirac operator:
\begin{gather*}
D_X^{+-}: X\otimes S^+\to X\otimes S^-, \qquad
D_X^{-+}: X\otimes S^-\to X\otimes S^+,
\\
D_Y^{+-}: Y\otimes S^+\to Y\otimes S^-, \qquad
D_Y^{-+}: Y\otimes S^-\to Y\otimes S^+,
\end{gather*}

For $\phi^{++}\in \Hom_{\widetilde K}(X\otimes S^+, Y\otimes S^+)$, and
$\phi^{--}\in \Hom_{\widetilde K}(X\otimes S^-, Y\otimes S^-)$ set
\begin{align*}
S\phi^{++}&=-\phi^{++}\circ D_X^{-+}+D_Y^{+-}\circ \phi^{++}.\\
S\phi^{--}&=-\phi^{--}\circ D_X^{+-}-D_Y^{-+}\circ \phi^{--}.
\end{align*}
This defines a linear map $S: \scrC^{\bar 0} \to \scrC^{\bar 1}$.

For $\psi^{+-}\in \Hom_{\widetilde K}(X\otimes S^+, Y\otimes S^-)$, and
$\psi^{-+}\in \Hom_{\widetilde K}(X\otimes S^-, Y\otimes S^+)$, set
\begin{align*}
T\psi^{+-}&=-\psi^{+-}\circ D_X^{-+}+D_Y^{-+}\circ \psi^{+-}.\\
T\psi^{-+}&=-\psi^{-+}\circ D_X^{+-}-D_Y^{+-}\circ \psi^{-+}.
\end{align*}
This defines a linear map $T: \scrC^{\bar 1} \to \scrC^{\bar 0}$.

Let us take $\phi^{++}+\phi^{--}$ in $\ker S$. We see easily that
$\phi^{++}$ induces
\[\bar \phi^{++}:\Hdir(X)^+= \frac{\ker (D_X^{+-}) }{ \ker (D_X^{+-})\cap \im(D_X^{-+}) }
\to \Hdir(Y)^+=\frac{\ker (D_Y^{+-}) }{\ker (D_Y^{+-})\cap \im(D_Y^{-+})},
\]
and
$\phi^{--}$ induces
\[\bar \phi^{--}: \Hdir(X)^-=\frac{\ker (D_X^{-+}) }{ \ker (D_X^{-+})\cap \im(D_X^{+-})}
\to \Hdir(Y)^-=\frac{\ker (D_Y^{-+}) }{ \ker (D_Y^{-+})\cap \im(D_Y^{+-})}.
\]

Furthermore, if $\phi^{++}+\phi^{--}\in \ker S\cap \im T$, then $(\bar \phi^{++}, \bar \phi^{--})=(0,0)$.
Therefore, there are well-defined morphisms $\phi^{++}+\phi^{--}\mto \bar \phi^{++}+\bar\phi^{--}$
from $ \ker S/\ker S\cap \im T $ to
\[
\Hom_{\widetilde K} \left(\Hdir(X)^+,\Hdir(Y)^+\right)
\oplus
\Hom_{\widetilde K} \left(\Hdir(X)^-,\Hdir(Y)^- \right).
\]
and $\psi^{+-}+\psi^{-+}\mto \bar \psi^{+-}+\bar\psi^{-+}$
from $ \ker T/\ker T\cap \im S $ to
\[
\Hom_{\widetilde K} \left(\Hdir(X)^+,\Hdir(Y)^-\right)
\oplus
\Hom_{\widetilde K} \left(\Hdir(X)^-,\Hdir(Y)^+ \right).
\]

\begin{lemma}\label{chiant} The two morphisms defined above are isomorphisms:
\[
\ker S/\ker S\cap \im T\simeq \Hom_{\widetilde K} \left(\Hdir(X)^+,\Hdir(Y)^+\right)
\oplus
\Hom_{\widetilde K} \left(\Hdir(X)^-,\Hdir(Y)^- \right),
\]
\[\ker T /\ker T\cap \im S \simeq \Hom_{\widetilde K} \left(\Hdir(X)^+,\Hdir(Y)^-\right)
\oplus
\Hom_{\widetilde K} \left(\Hdir(X)^-,\Hdir(Y)^+ \right).\]
\end{lemma}

\begin{proof}
See \cite{ReArx}.
\end{proof}


Let us introduce now the index $\ind(S,T)$ of the Fredholm pair $(S,T)$.
The material about Fredholm pairs and their indices is exposed in the appendix, and by definition
\[
\ind(S,T)= \dim \Bigl(\frac{\ker S}{ \ker S\cap \im T}\Bigr)
-\dim\Bigl(\frac{\ker T}{ \ker T\cap \im S }\Bigr).
\]

\begin{cor}With the notation as above,
$\ind(S,T)=\left[ \Idir(X), \Idir(Y)\right]_{\widetilde K} $.
\end{cor}

\begin{proof}
We have
\begin{multline*}
\ind(S,T)= \dim \Bigl(\frac{\ker S}{ \ker S\cap \im T}\Bigr) -\dim\Bigl(\frac{\ker T}{ \ker T\cap \im S }\Bigr) \\
=\dim \bigl(\Hom_{\widetilde K} \bigl(\Hdir(X)^+,\Hdir(Y)^+\bigr)\bigr) +
\dim \bigl(\Hom_{\widetilde K} \bigl(\Hdir(X)^-,\Hdir(Y)^- \bigr)\bigr)\\
\shoveright{-
\dim \bigl(\Hom_{\widetilde K} \bigl(\Hdir(X)^+,\Hdir(Y)^-\bigr) \bigr) -
\dim \bigl(\Hom_{\widetilde K} \bigl(\Hdir(X)^-,\Hdir(Y)^+ \bigr)\bigr)}\\
=\bigl[ \Idir(X), \Idir(Y)\bigr]_{\widetilde K}.\qedhere
\end{multline*}
\end{proof}

Theorem \ref{Main1} is then equivalent to the fact that $\ind(S,T)$ is equal
to the Euler-Poincaré characteristic of the complex computing the $\Ext$ groups of $X$ and $Y$, namely
$\boldsymbol{C}=\sum_{i\in \bbN} C^i$, where $C^i=\Hom_K(\bigwedge^i\frp\otimes X,Y)$.
By example \ref{Fredholmcomplexe}, this Euler-Poincaré characteristic is
also the index of the Fredholm pair given by the differentials between the even and odd part of the complex.
More precisely, with
\[d^+: \boldsymbol{C}^{\bar 0} =\bigoplus_{i\in \bbN} C^{2i}\to \boldsymbol{C}^{\bar 1}=
\bigoplus_{i\in \bbN} C^{2i+1},\]
and $d^-: \boldsymbol{C}^{\bar 1} \to \boldsymbol{C}^{\bar 0}$, we have
$\EP(X,Y)=\ind(d^+, d^-)$.
So we would like to show that $\ind(S,T)=\ind(d^+, d^-)$. To facilitate the comparison, first notice that
\[
\boldsymbol{C}=\bigoplus_{i\in \bbN} C^i = \bigoplus_{i\in \bbN} \Hom_K({ \bigwedge}^i\frp\otimes X,Y)
\simeq \Hom_K(\bigwedge\frp\otimes X,Y)\simeq \Hom_{\widetilde K}(X\otimes S, Y\otimes S)=\scrC
\]
Then transport $(S,T)$ to $(\scrD^+, \scrD^-)$ via this isomorphism. Thus
\[\scrD^+: \boldsymbol{C}^{\bar 0}\to \boldsymbol{C}^{\bar 1},
\quad \scrD^-: \boldsymbol{C}^{\bar 1}\to \boldsymbol{C}^{\bar 0},
\]
and set $\scrD=\scrD^+\oplus \scrD^-$, an operator on $\boldsymbol{C}$.
So we would like to establish that
\begin{equation}\label{Conj2}\ind (d^+, d^-)= \ind(\scrD^+, \scrD^-).
\end{equation}
The point here is that we want to prove the equality of the indices of two Fredholm pairs
living on the same spaces.

\section{Appendix: Fredholm pairs}\label{Fred}

In this section, we adapt from \cite{Amb} the definition of the index of a Fredholm pair.
We do this in a purely algebraic setting, while
the theory is developed for Banach spaces in \cite{Amb}.

\begin{defi}\label{FredholmPair} Let $X$, $Y$ be complex vector spaces and let
$S \in \caL(X; Y)$, $T \in \caL(Y;X)$.
Then $(S, T)$ is called a Fredholm pair if the following dimensions are finite:
\[
a:= \dim \ker(S)/ \ker(S) \cap \im(T); \quad b:= \dim \ker (T) / \ker(T) \cap \im(S).\]
In this case, the number $\ind(S, T):= a -b $
is called the index of $(S, T)$.
\end{defi}

\begin{example}\label{FredhomOp}
Take $T=0$. Then $(S,0)$ is a Fredholm pair if and only if $S$ is a Fredholm operator
and
\[\ind(S,0)=\ind(S)=\dim\ker (S)-\dim\coker (S).\]
\end{example}

\begin{example}\label{Fredholmcomplexe}
Consider a differential complex
\[
\cdots\to C^{i-1}\To{d^{i-1}}C^{i}\To{d^{i}}C^{i+1}
\to \cdots
\]
Suppose the cohomology groups $H^i:=\ker d^i/ \im d^{i-1}$ of this complex are finite dimensional, and non zero only
for a finite number of them.
Put $X=\bigoplus_{i \in \bbZ}C^{2i}$, $Y=\bigoplus_{i \in \bbZ}C^{2i+1}$, $S=\oplus_{i \in 2\bbZ} d^{2i}$,
$T=\oplus_{i \in 2\bbZ} d^{2i+1}$. Then $(S,T)$ is a Fredholm pair and its index is equal to the Euler-Poincaré
characteristic of the complex:
\[\ind(S,T)=\sum_{i\in \bbZ} (-1)^i \dim H^i.\]
\end{example}

\backmatter
\bibliographystyle{jepplain}
\bibliography{renard}
\end{document}
