\documentclass[english]{bourbaki}
\usepackage{amscd}


\date{Mars 2000}
\bbkannee{52\` eme ann\'ee, 1999-2000}
\bbknumero{871}
\title{Rational elliptic curves are modular}
\subtitle{after Breuil, Conrad, Diamond and Taylor}
\author{Bas EDIXHOVEN\footnote{partially supported by the 
Institut Universitaire de France, and by the European TMR Network 
Contract ERB FMRX 960006 ``arithmetic algebraic geometry''.}}
\address{I.R.M.A.R., U.M.R. 6625 du CNRS\\
Universit\'e de Rennes I\\
Campus de Beaulieu\\
F-35042 RENNES Cedex}
\email{edix@maths.univ-rennes1.fr}

\renewcommand{\baselinestretch}{1.205}

\newcommand{\ol}{\overline}
\newcommand{\lto}{\longrightarrow}
\newcommand{\ZZ}{{\mathbb Z}}
\newcommand{\QQ}{{\mathbb Q}}
\newcommand{\FF}{{\mathbb F}}
\newcommand{\CC}{{\mathbb C}}
\newcommand{\RR}{{\mathbb R}}
\renewcommand{\AA}{{\mathbb A}}
\newcommand{\PP}{{\mathbb P}}
\newcommand{\TT}{{\mathbb T}}
\newcommand{\HH}{{\mathbb H}}
\newcommand{\DD}{{\mathbb D}}
\newcommand{\rhobar}{\ol{\rho}}
\newcommand{\Fbar}{\ol{\FF}}
\newcommand{\Qbar}{{\ol{\QQ}}}
\newcommand{\Zbar}{{\ol{\ZZ}}}
\newcommand{\GL}{{\rm GL}}
\newcommand{\PGL}{{\rm PGL}}
\newcommand{\Gal}{{\rm Gal}}
\newcommand{\rH}{{\rm H}}
\newcommand{\eps}{\varepsilon}
\newcommand{\Frob}{{\rm Frob}}
\newcommand{\Aut}{{\rm Aut}}
\newcommand{\cF}{{\mathcal F}}
\newcommand{\cG}{{\mathcal G}}
\newcommand{\cM}{{\mathcal M}}
\newcommand{\cN}{{\mathcal N}}
\newcommand{\cO}{{\mathcal O}}
\newcommand{\AAf}{\AA_{\rm f}}
\newcommand{\et}{{\rm et}}
\newcommand{\Zhat}{\hat{\ZZ}}
\newcommand{\WD}{{\rm WD}}
\newcommand{\ab}{{\rm ab}}
\newcommand{\Spec}{{\rm Spec}}
\newcommand{\Ann}{{\rm Ann}}
\newcommand{\Hom}{{\rm Hom}}
\newcommand{\ad}{{\rm ad}}
\newcommand{\End}{{\rm End}}
\newcommand{\Sym}{{\rm Sym}}
\newcommand{\univ}{{\rm univ}}
\newcommand{\ur}{{\rm unr}}
\newcommand{\rank}{{\rm rank}}
\newcommand{\length}{{\rm length}}
\newcommand{\Fitt}{{\rm Fitt}}
\newcommand{\Ind}{{\rm Ind}}
\newcommand{\tame}{{\rm tame}}
\newcommand{\wild}{{\rm wild}}
\newcommand{\st}{{\rm st}}
\newcommand{\abs}{{\rm abs}}
\newcommand{\bF}{{\bf F}}
\newcommand{\bV}{{\bf V}}
\newcommand{\cond}{{\rm cond}}

%in order to prevent formulas in text to be broken: 
\relpenalty=10000
\binoppenalty=10000

\sloppy
\begin{document}
\maketitle

\section{Introduction}\label{sec1}
In 1994, Wiles and Taylor-Wiles proved that every semistable
elliptic curve over $\QQ$ is modular, in the sense that it is a
quotient of the jacobian of some modular curve (see \cite{Wiles1},
\cite{TW}). This work has been reported upon in this seminar in
\cite{Serre1} and~\cite{Oesterle1}; see especially
\cite[\S1.2]{Serre1} for a historical account. As a consequence,
Fermat's Last Theorem, known to be a consequence of this modularity
result since work of Ribet based on a conjecture of Serre
(see~\cite{Oesterle2}), was finally proved. For a more detailed
account of all this, see the book~\cite{Boston}, and also
\cite{DDT}. Since 1994, this modularity result has been generalized by
an increasing sequence of groups of authors: \cite{Diamond1},
\cite{CDT}, and~\cite{BCDT}.
\begin{theo}[Diamond]\label{thm1.1}
Every elliptic curve over $\QQ$ that is semistable at $3$ and $5$ is
modular. 
\end{theo}
\begin{theo}[Conrad, Diamond, Taylor]\label{thm1.2}
Every elliptic curve over $\QQ$ that acquires semistable reduction
over a tame extension of $\QQ_3$ is modular. 
\end{theo}
\begin{theo}[Breuil, Conrad, Diamond, Taylor]\label{thm1.3}
Every elliptic curve over $\QQ$ is modular. 
\end{theo}
The method of the proofs is basically that of Wiles, i.e., for a given
elliptic curve $E$ over $\QQ$ one tries to prove that the mod $l$
Galois representation $\rhobar_{E,l}$ on $E(\Qbar)[l]$ is modular for
some prime number $l$, and then that all lifts of $\rhobar_{E,l}$ to
$l$-adic representations of a suitable type are modular. The second
step involves studying deformations of Galois representations, the
systematic theory of which was initiated by Mazur, triggered by work
of Hida. The key result for the first step is the celebrated theorem
of Langlands \cite{Langlands1} and Tunnell \cite{Tunnell1} that says
that $\rhobar_{E,3}$ is modular, as $\GL_2(\FF_3)$ is solvable and has
a faithful two-dimensional complex representation. The complications
that arise in the proofs of the theorems above simply come from having
to prove results as in Wiles and Taylor--Wiles, but with fewer
hypotheses. In particular, choosing the right deformations of the
restriction of $\rhobar_{E,l}$ to $G_l:=\Gal(\Qbar_l/\QQ_l)$ becomes
much more complicated if $E$ does not have semistable reduction
at~$l$.

The aim of this report is to give a reasonable sketch of the proofs of
the theorems above, to describe the relation to some conjectures by
Fontaine and Mazur and by Langlands, and to mention some related
results. For some applications of the modularity results above, we
refer to~\cite{Darmon1}. The author of this report does not claim to
have checked the computations in \cite{BCDT}, but he has studied
\cite{BCDT} quite seriously and has not encountered any real
problem. Let us also state the following theorem (Theorem~B of
\cite{BCDT}), whose proof is intricately linked to that of
Theorem~\ref{thm1.3} above. 
\begin{theo}[Breuil, Conrad, Diamond, Taylor]\label{thm.BCDT.B}
Every irreducible continuous representation $\rhobar\colon
G_\QQ\to\GL_2(\FF_5)$ with cyclotomic determinant is modular.
\end{theo}

\section{Relation with conjectures by Langlands, Fontaine and Mazur}
\label{sec2}
The Langlands program predicts, among many other things, that all
$L$-functions coming from algebraic geometry are in fact automorphic,
i.e., arise from automorphic representations. More precisely, every
absolutely irreducible motive of rank $n$ over a number field $F$ and
with coefficients in a subfield $E$ of $\Qbar$ should correspond to a
cuspidal algebraic automorphic representation of $\GL_n(\AA_F)$ with
coefficients in $E$: see \cite[Question~4.16]{Clozel1}, and the paragraph
after that. 

In that paragraph, Clozel explains how this conjecture relates to the
conjecture of Hasse--Weil type that says that the $L$-function of such
a motive extends meromorphically to all of $\CC$ and satisfies a
certain functional equation. He finishes by remarking that the only
cases for which the Hasse--Weil conjecture has been proved are cases
where one actually proves the stronger conjecture, i.e., the existence
of an automorphic representation; this remains true after the work of
Wiles and its generalizations.

Of course, if $E$ is an elliptic curve over $\QQ$, the Langlands
program predicts that $E$ is modular. Hence the modularity theorem for
elliptic curves over $\QQ$ is just a tiny part of the Langlands
program. 

Fontaine and Mazur stated the following conjecture (Conjecture~1
of~\cite{FM}).
\begin{conj}\label{FMconj}
Let $l$ be prime, $n\geq0$, and let
$\rho\colon\Gal(\Qbar/\QQ)\to\GL_n(\QQ_l)$ be an irreducible continuous
representation. Then $\rho$ is isomorphic to a subquotient of some
etale cohomology group $\rH^i(X_\Qbar,\QQ_l(r))$ with $X$ a smooth
projective variety over $\QQ$, if and only if $\rho$ satisfies the
following two conditions: 
\begin{enumerate}
\item $\rho$ is ramified at only finitely many primes;
\item the restriction $\rho|_{G_l}$ to a decomposition group at $l$
is potentially semistable (see \cite{Fontaine1} for this notion).
\end{enumerate}
\end{conj}
In one direction, this conjecture has been proved: the
$\rH^i(X_\Qbar,\QQ_l(r))$ are known to be unramified at almost all
primes, and the restriction to $G_l$ is known to be potentially
semistable by work of Tsuji and de Jong (see
\cite[\S6.3.3]{Berthelot1}). It is the other direction that is even
more spectacular: it is amazing that just these two conditions should
imply, for example, that the Frobenius elements at almost all primes
have eigenvalues that are algebraic numbers, and even Weil numbers,
and that $\rho$ should be part of a compatible system of $l$-adic
representations. The evidence that one has today for this direction of
the conjecture consists of the potentially abelian cases (treated in
\cite[\S6]{FM}; $\rho$ occurs in the tensor category generated by
representations with finite image and representations which arise from
potentially CM abelian varieties), and the cases treated by Wiles'
method. However, see \cite{Noot1} for a representation that does
satisfy the two conditions above, but for which one does not know if
it satisfies Conjecture~\ref{FMconj}.

Combined with the Langlands program, Conjecture~\ref{FMconj} implies
(Conjecture~3c of \cite{FM}) that every 2-dimensional $\rho$
satisfying the two conditions, up to Tate twist, either has a finite
image, or arises from a modular form of weight at least two.

Since the space of modular forms of a given weight and level is finite
dimensional, one also expects certain finiteness results concerning
$\rho$ as in Conjecture~\ref{FMconj}, which become semistable over a
given extension of $\QQ$, and are of fixed Hodge-Tate type:
see~\cite[\S3]{FM}.  Most of \cite{FM} is in fact concerned with a
deformation theoretic study of these finiteness conjectures.

Suppose now that $l>2$. For a given absolutely irreducible continuous
$\rhobar\colon G_\QQ\to\GL_2(\FF_l)$ one considers all lifts
$\rho\colon G_\QQ\to\GL_2(\ZZ_l)$ that are unramified outside a fixed
set of primes. The $l$-adic variety (over $\QQ_l$) of such lifts is
conjecturally three dimensional. Now suppose moreover that
$\rhobar|_{G_l}$ is absolutely irreducible. Then the variety of lifts
of $\rhobar|_{G_l}$ is smooth and of dimension five by
\cite[Thm~4.1]{Ramakrishna1}. Since one expects the locus of global
lifts that are potentially semistable and of a given type (i.e.,
Hodge-Tate type at $l$, and semistable over a fixed extension of
$\QQ$) to be zero dimensional, one expects that the locus of such
local lifts is of codimension three in the five dimensional variety.
Indeed, in the crystalline case with Hodge-Tate weights in the
interval $[0,l-1]$, this was proved in~\cite{Ramakrishna1} (moreover,
the two-dimensional space is smooth). 
%Fontaine and Mazur show in \S13 of \cite{FM} that the locus of local
%lifts of $\rhobar$ that are potentially Barsotti-Tate is either empty 
%or a union of two two-dimensional smooth components. 
We note that, by \cite{Breuil1}, ``potentially Barsotti-Tate'' is
equivalent to ``potentially crystalline with Hodge-Tate weights in
$[0,1]$'' (we recall that $l>2$).

Of course, the computations done by Ramakrishna and by Fontaine and
Mazur are not directly in terms of representations of
$G_l$. Ramakrishna uses the results of Fontaine and Laffaille, and
Fontaine and Mazur work with filtered $(\phi,N)$-modules. We note that
by recent work of Colmez and Fontaine, \cite{CF}, one actually has an
equivalence of tensor categories between semistable $l$-adic
representations of $G_l$ and weakly admissible filtered
$(\phi,N)$-modules, which makes it possible to translate problems on
the Galois side into problems in linear algebra, even more than before
the equivalence between ``weakly admissible'' and ``admissible'' was
known. On the other hand, what is still not available in this
generality is a theory that works for $\ZZ_l$-lattices instead of
$\QQ_l$-vector spaces. 


\section{Review of Wiles' method}
\label{sec3}
Before turning to the work of Breuil, Conrad, Diamond and Taylor, let
us review Wiles' method. Good references for this part are \cite{DDT},
\cite{Boston}, \cite{Serre1}, \cite{Oesterle1}, and of course
\cite{Wiles1} (the introduction of which gives the story of the proof)
and~\cite{TW}. For simplicity, we only discuss this method in a case
that suffices for modularity of semistable elliptic curves.

Let $E$ be a semistable elliptic curve over~$\QQ$. The first
observation is that there are many elliptic curves $E'$ over $\QQ$
such that $E[5]$ and $E'[5]$ are symplectically isomorphic; this is
due to the fact that the modular curve that parameterizes such $E'$
(over $\QQ$-schemes) is a non-empty open part of~$\PP^1_\QQ$.  One
proves that there is such an $E'$, semistable, and such that the
representation $\rhobar_{E',3}\colon
G_\QQ\to\Aut(E'[3](\Qbar))\cong\GL_2(\FF_3)$ is surjective (see
\cite[\S3]{Serre1}). By Langlands and Tunnell, the representation
$\rhobar_{E',3}$ is modular. The aim is now to show that
$\rho_{E',3}\colon G_\QQ\to\Aut(E'(\Qbar)[3^\infty])\cong\GL_2(\ZZ_3)$
is modular, by showing that all 3-adic lifts of $\rhobar_{E',3}$ with
reasonable properties are modular, and hence so is~$E'$. Before we
discuss how that works, let us see how one then establishes the
modularity of $E$ itself.

Of course, if $\rhobar_{E,3}$ is surjective, then we could have taken
$E'=E$, so let us assume that $\rhobar_{E,3}$ is not surjective. Then
$E[3]$ is in fact reducible (this uses the semistability at all
primes; see \cite[Proposition~1]{Serre1}). But then $\rhobar_{E,5}$ is
irreducible, or $E_\Qbar$ is isogeneous to the elliptic curve $E_1$
over $\Qbar$ that has $j$-invariant $-5{\cdot}29^3/2^5$,
%%%%or is it +????? Rubin in \cite{Boston} says -, and I copy him. 
as one sees by looking at the modular curve $X_0(15)$, which has genus
one and exactly eight rational points, four of which are cusps
(see~\cite[\S2.1]{Rubin1}). The elliptic curve $E_1$ has a model over
$\QQ$ with conductor $50$, which can be checked to be modular. Since
modularity is invariant under isogeny and twisting, we may now 
assume that $\rhobar_{E,5}$ is irreducible, and hence surjective
(\cite[Proposition~1]{Serre1}). In this case, we already know that
$\rhobar_{E,5}$ is modular, because $E'$ is, and one proves the same
type of result for modularity of $5$-adic liftings as in the $3$-adic
case.

Let us now give a precise statement of these lifting results. We need
some terminology and notation, adapted to the type of representations
that we are interested in, i.e., those coming from modular forms of
weight two. For each prime $p$, we choose an embedding
$\Qbar\to\Qbar_p$, and we let $G_p$ and $I_p$ denote the corresponding
decomposition and inertia subgroups of~$G_\QQ$. We let $\eps\colon
G_\QQ\to\ZZ_l^*$ denote the $l$-cyclotomic character, given by the
action on the elements of $l$-power order in~$\Qbar^*$. 

\begin{defi}
Let $l$ be a prime number, and $k$ a finite field of
characteristic~$l$. Let $R$ be a complete local noetherian ring with
residue field $k$, and let $M$ be a free $R$-module of rank 2 with a
continuous action by $G_\QQ$; a choice of basis then gives a
continuous representation $\rho\colon G_\QQ\to\GL_2(R)$. For $p$ prime
and different from $l$, $M$ is called semistable at $p$ if, with
respect to a suitable basis, $\rho|_{I_p}$ is of the form
$(\begin{smallmatrix}1& *\\0 & 1\end{smallmatrix})$. The
representation $M$ is called Barsotti-Tate (at $l$) if for each finite
quotient $\ol{M}$ of $M$ there exists a finite group scheme $\ol{\cM}$
over $\ZZ_l$ such that $M$ and $\ol{\cM}(\Qbar_l)$ are isomorphic as
$\ZZ_l[G_l]$-modules. The representation $M$ is called semistable at
$l$ if it is Barsotti-Tate or if, with respect to a suitable basis,
$\rho|_{I_p}$ is of the form $(\begin{smallmatrix}\eps& *\\0 &
1\end{smallmatrix})$.
\end{defi}

\begin{theo}[Wiles, Taylor-Wiles]\label{thm3.2}
Let $l\neq 2$ be a prime number. Let $K$ be a finite extension of
$\QQ_l$, $O$ its ring of integers, and $k$ its residue field. Let
$\rho\colon G_\QQ\to\GL_2(O)$ be an odd continuous representation such
that:
\begin{enumerate}
\item its reduction $\rhobar\colon G_\QQ\to\GL_2(k)$ is modular and
its restriction to the quadratic subfield of $\QQ(\mu_l)$ is
absolutely irreducible;
\item $\rho|_{G_l}$ is semistable; 
\item $\rho$ is ramified at only finitely many primes;
\item $\det(\rho)=\eps$; \item for every $p\equiv-1$ mod $l$ such that $\rhobar|_{I_p}$ is
reducible, $\rhobar|_{G_p}$ is reducible too. 
\end{enumerate}
Then $\rho$ is modular. 
\end{theo}
In view of what has been said above, this result implies that all
semistable elliptic curves over $\QQ$ are modular. Wiles' strategy
to prove Theorem~\ref{thm3.2} is to compare systematically all
deformations of $\rhobar$ with certain properties when restricted to
decomposition groups to those coming from modular forms of a given
level. For simplicity, we will now assume that $\rho$ is semistable
at all primes, and follow the exposition in \cite{Oesterle1}, with
some modifications, anticipating our discussion of \cite{Diamond1},
\cite{CDT} and~\cite{BCDT}. 

So suppose that $\rhobar$ is as in Theorem~\ref{thm3.2}, and moreover
that $\rho$ is semistable at all primes. We will now forget about
$\rho$, for the moment, but keep~$\rhobar$. So $\rhobar$ is a
continuous representation of $G_\QQ$ on a 2-dimensional $k$-vector
space, with $k$ a finite extension of $\FF_l$ with $l\neq2$, and has
the following properties: it is modular, absolutely irreducible after
restriction to the quadratic subfield of $\QQ(\mu_l)$, semistable at
all primes, and $\det(\rhobar)=\ol{\eps}$. As nothing about these
hypotheses changes if we replace $k$ by a finite extension of it, we
may suppose, for example, that the characteristic polynomials of the
$\rhobar(\sigma)$, $\sigma$ in $G_\QQ$, are all split. Let $O$ be the
ring of integers in a finite extension $K$ of $\QQ_l$, with residue
field~$k$. (Later in the proof, we need a modular form of ``minimal
level'' giving rise to $\rhobar$, and with coefficients in~$O$.) For
any finite set $\Sigma$ of primes we define two $O$-algebras
$R_{O,\Sigma}$ and $\TT_{O,\Sigma}$, as follows.

\begin{defi}
Let $R$ be a complete local noetherian $O$-algebra with residue
field~$k$. A deformation of\/ $\rhobar$ to $R$ is a free $R$-module
$M$ of rank two, with a continuous $G_\QQ$ action, such that
$k\otimes_RM$ is isomorphic to~$\rhobar$. A deformation $\rho$ is said
to be of type\/ $\Sigma$ if\/ $\det(\rho)=\eps$, and\/ $\rho$ is
semistable at $l$ and ``minimally ramified'' outside~$\Sigma$:
\begin{enumerate}
\item if\/ $l\not\in\Sigma$ and $\rhobar$ is Barsotti-Tate, then
$\rho$ is Barsotti-Tate;
\item if $p\not\in\Sigma\cup\{l\}$ and $\rhobar$ is unramified at $p$,
then $\rho$ is unramified at~$p$; 
\item if $p\not\in\Sigma\cup\{l\}$ and $\rhobar$ is ramified at $p$
(and hence semistable, with our hypotheses), then $\rho$ is
semistable at~$p$. 
\end{enumerate}
\end{defi}
With these definitions, there is, for each $\Sigma$, a universal
deformation ring $R_{O,\Sigma}$ that represents the functor that sends
$R$ to the set of isomorphism classes of deformations of type $\Sigma$
over~$R$. A very good reference for this is~\cite{dSL}. If $K\to K'$
is a finite extension, then $R_{O',\Sigma}=O'\otimes_O R_{O,\Sigma}$.

Let us now turn to the definition of~$\TT_{O,\Sigma}$. The reader is
referred to Appendix~\ref{App.A} for certain properties of the Galois
representation $\rho_f$ associated to a modular form $f$ of weight two
with coefficients in~$\Qbar_l$. We define $\cN_\Sigma$ to be the set
of weight two newforms $f$ with coefficients in $\Qbar_l$ such that
$\rho_f\colon G_\QQ\to\GL_2(O_f)$ is of type $\Sigma$, where $O_f$ is
the sub-$O$-algebra of $\Qbar_l$ generated by the coefficients
of~$f$. The results in Appendix~\ref{App.A} imply that there is an
integer $N_\Sigma$, such that for each $f$ in $\cN_\Sigma$, the level
of $f$ divides~$N_\Sigma$. This implies that $\cN_\Sigma$ is a finite
set. One can take $N_\Sigma$ as follows:
$$
N_\Sigma:=
l^\delta\cdot\prod_{p|N(\rhobar)}p\cdot\prod_{p\in\Sigma-\{l\}}p^2,
$$
where $\delta$ is $0$ if $\rhobar$ is Barsotti-Tate and $l$ not in
$\Sigma$, and $\delta$ is $1$ otherwise, and where $N(\rhobar)$ is the
level associated to $\rhobar$ by Serre in \cite{Serre3} (i.e.,
$N(\rhobar)$ is given by the usual formula for the Artin conductor of
a representation, in terms of the ramification subgroups at all $p\neq
l$). The reason that such a $N_\Sigma$ suffices is that the wild parts
of the conductors of $\rho_f$ and $\rhobar_f$ are equal. For
simplicity, we will now only consider $\Sigma$ that do not contain
primes dividing $N(\rhobar)$ (this suffices for the application to
semistable lifts of~$\rhobar$). For each $f$ in $\cN_\Sigma$, we have
a morphism $R_{O,\Sigma}\to O_f$, and we define $\TT_{O,\Sigma}$ to be
the image of $R_{O,\Sigma}$ in the product of the~$O_f$. Since
$R_\Sigma$ is generated, as $O$-algebra, by the traces of elements in
the universal representation, $\TT_{O,\Sigma}$ is generated by the
elements $a_p\colon f\mapsto a_p(f)$ for $p$ not dividing~$lN_\Sigma$.

The method of Wiles is now to show that the surjections
$R_{O,\Sigma}\to\TT_{O,\Sigma}$ are isomorphisms, by studying how they
change as $\Sigma$ varies. The first step in this is to use what has
been proved about Serre's conjectures on modularity of mod $l$
representations in~\cite{Serre3}: $\cN_\emptyset$ is not empty
(see~\cite{Ribet1} and \cite{Diamond4}). This implies that we can
suppose (and we will) that we have a section $\pi=\pi_\emptyset\colon
\TT_\emptyset\to O$.  We let $P_\Sigma$ denote the corresponding
$O$-valued points of $\Spec(\TT_{O,\Sigma})$ and
$\Spec(R_{O,\Sigma})$, for each~$\Sigma$. Wiles introduced the
following $O$-modules associated to each $\Sigma$: on the one hand the
cotangent spaces at the $P_\Sigma$, i.e.,
$P_\Sigma^*\Omega^1_{R_{O,\Sigma}/O}$ and
$P_\Sigma^*\Omega^1_{\TT_{O,\Sigma}/O}$, and on the other hand the
``module of congruences'' $P_\Sigma^*\cO_{Z_\Sigma}$, defined as
follows. Since $\TT_{O,\Sigma}$ is finite free as $O$-module,
$\Spec(\QQ\otimes\TT_{O,\Sigma})$ is the disjoint union of two open
and closed subschemes $P_{\Sigma,K}$ and $Z_{\Sigma,K}$, with
$P_{\Sigma,K}$ consisting of the point~$P_\Sigma(\Spec(K))$.  We let
$Z_\Sigma$ be the scheme theoretic closure of $Z_{\Sigma,K}$ in
$\Spec(\TT_{O,\Sigma})$ (note that the $\TT_{O,\Sigma}$ are reduced by
construction).  These modules, that will intervene only via their
lengths, are usually introduced as
$\ker(P_\Sigma^*)/\ker(P_\Sigma^*)^2$ and
$P_\Sigma^*\Ann_{\TT_{O,\Sigma}}(\ker(P_\Sigma^*))$. (This last module
has finite length if and only if $\Spec(\QQ\otimes\TT_{O,\Sigma})$ is
reduced at~$P_{\Sigma,K}$.)

The fact that $R_{O,\Sigma}$ represents the functor of isomorphism
classes of deformations of type $\Sigma$ implies the following Galois
cohomological description of $P^*\Omega^1_{R_{O,\Sigma}/O}$: 
$$
\Hom_O(P^*\Omega^1_{R_{O,\Sigma}/O},K/O) =
\rH^1_\Sigma(G_\QQ,\ad^0(\rho)\otimes K/O), 
$$
where $\rho$ is the representation corresponding to $P=P_\Sigma$,
where $\ad^0(\rho)$ is the representation of $G_\QQ$ on the
sub-$O$-module of trace zero elements of $\End_O(M_\rho)$, and where
$\rH^1_\Sigma(G_\QQ,\ad^0(\rho)\otimes K/O)$ denotes the subgroup of
$\rH^1(G_\QQ,\ad^0(\rho)\otimes K/O)$ of classes that map, at all $p$, to the
subgroups $L_{\Sigma,p}$ of the $\rH^1(G_p,\ad^0(\rho)\otimes K/O)$
that reflect the conditions for deformations to be of type~$\Sigma$. 
To be explicit, these $L_{\Sigma,p}$ are: 
\begin{itemize}
\item $L_{\Sigma,p}=\rH^1(G_p/I_p,(\ad^0(\rho)\otimes K/O)^{I_p})$ if
$p\not\in\Sigma\cup\{l\}$;
\item $L_{\Sigma,p}=\rH^1(G_p,\ad^0(\rho)\otimes K/O)$ if
$p\in\Sigma$ and $p\neq l$;
\item $L_{\Sigma,l}$ is the subspace of
$\rH^1(G_l,\ad^0(\rho)\otimes K/O)$ that corresponds to deformations
that are Barsotti-Tate, if $l\not\in\Sigma$;
\item $L_{\Sigma,l}$ is the subspace of
$\rH^1(G_l,\ad^0(\rho)\otimes K/O)$ that corresponds to deformations
that are semistable at $l$, if $l\in\Sigma$.
\end{itemize}
The results of Poitou-Tate on local duality and global Euler
characteristic show that, for $M$ a finite discrete $G_\QQ$-module,
with a Selmer datum $L_v\subset\rH^1(G_v,M)$ at all places $v$ of
$\QQ$, one has:
$$
\frac{\#\rH^1_L(G_\QQ,M)}{\#\rH^1_{L^\perp}(G_\QQ,M^*)} = 
\frac{\#\rH^0(G_\QQ,M)}{\#\rH^0(G_\QQ,M^*)}\cdot
\prod_v\frac{\# L_v}{\#\rH^0(G_v,M)}, 
$$
where $M^*$ is the Cartier dual $\Hom(M,\Qbar^*)$ of $M$, and where,
for each $v$, $L^\perp_v$ is the orthogonal of~$L_v$. Moreover, if
$L\subset L'$ are two Selmer data for $M$, then one has an exact
sequence: 
$$
0\to\rH^1_L(G_\QQ,M)\to\rH^1_{L'}(G_\QQ,M)\to\prod_vL_v'/L_v\to
\rH^1_{L^\perp}(G_\QQ,M^*)^\vee\to\rH^1_{{L'}^\perp}(G_\QQ,M^*)^\vee\to
0. 
$$
Having established this, Wiles first proves that
$R_{O,\emptyset}\to\TT_{O,\emptyset}$ is an isomorphism, and then that
this remains so if one enlarges~$\Sigma$. The argument for the first
step is really amazing, he somehow manages to ``patch'', for a
suitable sequence of $\Sigma_n$, the $R_{O,\Sigma_n}$ and the
$\TT_{O,\Sigma_n}$ into power series rings, with the same number of
generators, and deduce from that that
$R_{O,\emptyset}\to\TT_{O,\emptyset}$ is an isomorphism. (This
patching argument was introduced in \cite{TW}, and used to show that
$\TT_{O,\emptyset}$ is a complete intersection, but Faltings pointed
out that one could also use the argument directly in proving
$R_{O,\emptyset}\to\TT_{O,\emptyset}$ to be an isomorphism.)  We will
now take a closer look at this argument, in order to see which
conditions have to be satisfied by the type of deformations that one
considers for it to work.

So suppose that one wants to do this argument for~$R_{O,\Sigma}$. The
primes $p$ that one wants to add to $\Sigma$ are congruent to $1$
modulo a high power of $l$, and such that $\rhobar$ is unramified at
$p$ with distinct Frobenius eigenvalues in~$k^*$. For such a $p$, and
for $\Sigma'$ containing~$p$, $\rho^\univ_{O,\Sigma'}|_{G_p}$ is a
direct sum of two characters, whose restrictions to $I_p$ factor
through the $l$-part $\Delta_p$ of
$\Gal(\QQ_p^\ur(\mu_p)/\QQ_p^\ur)=(\ZZ/p\ZZ)^*$. Choosing one of the
two Frobenius eigenvalues gives $R_{O,\Sigma'}$ the structure of an
$O[\Delta_p]$-algebra. The $\Sigma'$ that one wants to consider are of
the form $\Sigma'=\Sigma\cup Q$, with $Q$ a set of $r$ elements, for
some fixed $r$, and such that $R_{O,\Sigma'}$ can also be
topologically generated by $r$ elements. (Note that $R_{O,\Sigma'}$ is
an algebra over $O[\Delta_Q]$ with $\Delta_Q=\prod_{p\in Q}\Delta_p$,
and that $O[\Delta_Q]$ looks more and more as a power series ring in
$r$ variables, as the primes $p$ are closer to $1$, $l$-adically.) Let
$L$ and $L'$ be the Selmer data corresponding to $\Sigma$ and
$\Sigma'$. Then $\dim_k\prod_vL_v'/L_v=r$, so one finds, by the exact
sequence above, that
$\dim_k\rH^1_{L^\perp}(G_\QQ,\ad^0(\rhobar)^*)\geq
\dim_k(\rH^1_L(G_\QQ,\ad^0(\rhobar)))$. But in the displayed formula
above, one has
$\dim_kL_p\geq\dim_k\rH^1(G_p/I_p,\ad^0(\rhobar)^{I_p})=
\dim_k(\rH^0(G_p,\ad^0(\rhobar))$, for all $p\neq l$, whereas
$\dim_kL_\infty=0$ and
$\dim\rH^0(G_\infty,\ad^0(\rhobar))=1$. Moreover, in that formula one
has $\#\rH^0(G_\QQ,M)=1$ (since $\rhobar$ is absolutely irreducible),
and $\#\rH^0(G_\QQ,M^*)=1$ (since the restriction of $\rhobar$ to the
quadratic subfield of $\QQ(\mu_l)$ is absolutely irreducible). It
follows that this setup can only work if
$L_p=\rH^1(G_p/I_p,\ad^0(\rhobar)^{I_p})$ for all $p\neq l$, and
$\dim_k(L_l)\leq 1+\dim_k\ad^0(\rhobar)^{G_l}$. This means that
$\Sigma$ must be $\emptyset$, and that $L_l$ must be of dimension $1$,
unless $\rhobar|_{I_l}\cong\ol{\eps}\oplus 1$. This last condition
puts a very strong restriction on the type of local deformations at
$l$ that one can use.

In order to prove that $R_{O,\emptyset}\to\TT_{O,\emptyset}$ is an
isomorphism, Taylor and Wiles use that, in their situation, the
localization at $\rhobar$ of $\rH^1(X_0(N_\emptyset)(\CC),O)$ is a
free $\TT_{O,\emptyset}$-module, and similarly for the $\Sigma$'s that
they choose. Such results are quite delicate to prove. In the next
section we will discuss how Diamond and Fujiwara have gotten around
this, and actually obtain such freeness results as a consequence of
the method. In \cite{DDT}, the freeness assumption is not used, but
the given proof still relies on $q$-expansions (see
\cite[Remark~4.15]{DDT}).

Let us now briefly discuss how Wiles proved that the
$R_{O,\Sigma}\to\TT_{O,\Sigma}$ are isomorphisms. This is done by
induction on the number of elements of $\Sigma$, but, in order to
carry out this induction, one actually proves more, namely, that these
$O$-algebras are complete intersections. Indeed, Wiles found a
criterion for doing the induction, in terms of the changes of the
lengths of $P^*\Omega^1_{R_{O,\Sigma}/O}$ and $P^*\cO_{Z_\Sigma}$ when
comparing between $\Sigma$ and $\Sigma':=\Sigma\cup\{p\}$. On the
Galois side, the exact sequence above gives an upper bound for the
length of $P^*\Omega^1_{R_{O,\Sigma'}/O}$. On the Hecke side,
\cite[\S4.4]{DDT} gives a new proof of the lower bound for the length
of $P^*\cO_{Z_\Sigma'}$ that was proved by Wiles. This proof does not
use freeness, and it nicely relates this change of length to the
residue at $2$ of the $L$-function of the symmetric square of the
system of representations associated to $P$, giving a relation to the
Bloch-Kato conjectures. Wiles' argument, which is to
compute the composite $J_0(N_\Sigma)\to J_0(N_{\Sigma'})\to
J_0(N_\Sigma)$, is also sketched in~\cite[\S4.4]{DDT}.


\section{Improvements of the commutative algebra part}
\label{sec4}
The results in commutative algebra that are used in \cite{CDT} and
\cite{BCDT} are improvements of those in \cite{Wiles1}
and~\cite{TW}. These improvements were found independently by Diamond
\cite{Diamond2} and Fujiwara \cite{Fujiwara1}, motivated by Fujiwara's
work on modularity over totally real number fields. We also note that
Lenstra, de Smit, Rubin, and Schoof have established isomorphism and
complete intersection criteria as in Wiles, without the Gorenstein
hypothesis, and without the limiting process, see~\cite{dSRS}. Let us
now state the criteria as in~\cite[Theorems~2.1 and 2.4]{Diamond2}.

\begin{theo}\label{thm4.1}
Let $k$ be a finite field, and $r\geq0$ an integer. Let
$A:=k[[S_1,\ldots,S_r]]$, $B:=k[[X_1,\ldots,X_r]]$, let $R$ be a
$k$-algebra, and let $H$ be a non-zero $R$-module that has finite
$k$-dimension. Suppose that for every $n\geq1$ one has a commutative
diagram:
$$
\begin{CD}
A @>\phi_n>> B \\
@VVV @VVV\psi_n \\
k @>>> R
\end{CD}
$$
and a $B$-module $H_n$ with a morphism $\pi_n\colon H_n\to H$ such
that as an $A$-module, $H_n$ is free over $A/m_A^n$, and such that the
morphism $k\otimes_AH_n\to H$ induced by $\pi_n$ is an
isomorphism. Then $H$ is free over $R$, and $R$ is a (zero
dimensional) complete intersection. 
\end{theo}
In the application of this result, $k$ is as above, $A$ is a
projective limit of $k$-algebras of the form $k[\Delta_Q]$, with $Q$ a
set of $r$ distinct primes $p\equiv 1$ mod $l^n$ and $\Delta_Q$ the
product of the $(\ZZ/p\ZZ)^*_l$, $B$ is a projective limit of
$k\otimes_OR_{O,Q}$'s, $R=k\otimes_OR_{O,\emptyset}$, and $H$ and
$H_n$ come from (co)homology groups of modular curves. The freeness of
$H_n$ over $A/m_A^n$ basically comes from standard facts about
cohomology of locally constant sheaves and unramified covers of affine
Riemann surfaces. The Hecke algebra $k\otimes_O\TT_{O,\emptyset}$ is
the image $T$ of $R$ in $\End_k(M)$, so the conclusion that $H$ is
free over $R$ implies that $R=T$. The freeness version of Wiles'
numerical criterion is as follows.
\begin{theo}\label{thm4.2}
Let $O$ be a complete discrete valuation ring with finite residue
field $k$, and let $R$ be a complete noetherian local $O$-algebra. Let
$H$ be an $R$-module, finite free over $O$, let $\phi\colon R\to T$ be
the quotient by $\Ann_R(H)$, and suppose that $T$ has a section
$\pi_T\colon T\to O$. Put $\pi_R:=\phi\pi_T$. Define
$\Omega:=H/(H[\ker(\pi_T)]+H[\Ann_T(\ker(\pi_T))])$. Let $d$ be the
$O$-rank of $H[\ker(\pi_R)]$. If $\Omega$ has finite length over $O$,
then the following are equivalent:
\begin{enumerate}
\item $\rank_OH\leq d{\cdot}\rank_OT$ and 
$\length_O\Omega\geq d{\cdot}\length_O(\ker(\pi_R)/\ker(\pi_R)^2)$;
\item $\rank_OH = d{\cdot}\rank_OT$ and 
$\Omega\cong (O/\Fitt_O(\ker(\pi_R)/\ker(\pi_R)^2))^d$; 
\item $R$ is a complete intersection and $H$ is free (of rank $d$) over~$R$. 
\end{enumerate}
\end{theo}


\section{The work of Breuil, Conrad, Diamond, and Taylor}
\label{sec5}
We are now ready to discuss the work of the four authors mentioned
above in \cite{Diamond1}, \cite{CDT}, and~\cite{BCDT}. Before getting
into any details, let us see what problems were solved in each of
these three articles. In \cite[Theorem~5.3]{Diamond1}, Diamond gets rid
of condition~(5) in Theorem~\ref{thm3.2}. To be precise, let us state
his result.
\begin{theo}[Diamond]\label{thm5.1}
Let $l>2$ be prime, $K$ a finite extension of $\QQ_l$, $O$ its ring of
integers, $k$ its residue field, and $\rho\colon G_\QQ\to \GL_2(O)$ an
odd continuous representation such that:
\begin{enumerate}
\item its reduction $\rhobar\colon G_\QQ\to\GL_2(k)$ is modular, and
its restriction to the quadratic subfield of $\QQ(\mu_l)$ is
absolutely irreducible;
\item $\rho|_{G_l}$ is Barsotti-Tate and
$\det(\rho)|_{I_l}=\eps|_{I_l}$ , or, with respect to a suitable
basis, $\rho|_{G_l}$ is of the form $(\begin{smallmatrix}\phi & *\\0 &
\psi\end{smallmatrix})$, with $\psi$ unramified,
$\ol{\psi}\neq\ol{\phi}$, and $\phi|_{I_l}=\chi\eps^{k-1}|_{I_l}$ for
some integer $k\geq2$ and $\chi$ of finite order;
\item $\rho$ is ramified at only finitely many primes. 
\end{enumerate}
Then $\rho$ is modular. 
\end{theo}
We should note here that Theorem~\ref{thm3.2} is weaker than the
result that was proved by Wiles. What is proved in \cite{Wiles1} is
the theorem above, with the extra condition (5) of
Theorem~\ref{thm3.2}. Let us now explain what the problem is in a case
that does not satisfy this condition~(5). 

So suppose that $\rhobar$ satisfies the conditions of
Theorem~\ref{thm5.1}, that $p\neq l$, that $\rhobar_p=\rhobar|_{G_p}$
is irreducible, but $\rhobar|_{I_p}$ is reducible. Then $\rhobar_p$ is
of the form $\Ind_{\QQ_{p^2}}^{\QQ_p}\psi$, with $\QQ_{p^2}$ the
unramified extension of degree two of $\QQ_p$, and $\psi\colon
G_{\QQ_{p^2}}\to k^*$ a continuous character such that
$\psi^\sigma\neq\psi$.  (To prove this, note that $\rhobar(I_p)$ must
have exactly two fixed points on $\PP^1(\FF_p)$, that are interchanged
by $\Frob_p$, since otherwise $\rhobar_p$ would be reducible.) But
then, if $l$ divides $p+1$, there are nontrivial deformations of
$\rhobar_p$ of the form $\rho_p=\Ind_{\QQ_{p^2}}^{\QQ_p}(\psi\mu)$
from $G_p$ to $\GL_2(O')$, with $O'$ a finite extension of $O$,
$\psi\colon G_p\to{O'}^*$ the Teichm\"uller lift of $\psi\colon G_p\to
k^*$, and with $\mu\colon G_{\QQ_{p^2}}\to{O'}^*$ of order~$l$. One
checks that $\det(\rho)|_{I_p}$ is the Teichm\"uller lift of
$\det(\rhobar)|_{I_p}$ (use that $\Frob_p$ acts on the tame inertia
group $I_p^\tame=\Zhat^{(p)}(1)$ by multiplication by~$p$). The whole
problem arises from the fact that, on the one hand, $\rhobar_p$ and
$\rho_p$ have the same Artin conductor, namely, the square of the
conductor of $\psi$, but that, on the other hand, $\rhobar_p$ admits
different lifts with this conductor. This means that if we consider
lifts of $\rhobar$ to be minimally ramified at $p$ if they have Artin
conductor $\cond(\psi)^2$ at $p$, then we get an
$L_p\subset\rH^1(G_p,\ad^0(\rhobar))$, in the notation of
Section~\ref{sec3}, that is nonzero, making already Wiles' method at
the minimal level impossible.

The conclusion is that, on the automorphic side, levels of newforms
are not fine enough invariants to work with; one should impose finer
conditions on the restrictions to the $G_p$ (at the Galois side), and
corresponding conditions on the irreducible admissible representations
on the other side. Wiles already notes this in the second remark
following Conjecture~2.16 in~\cite{Wiles1}.

The finer conditions that will be imposed are in terms of what are
called ``types'' and ``extended types'' in the articles that we
discuss here. An extended type, at a prime $p$ ($p=l$ is allowed) is
simply an isomorphism class of two-dimensional representations over
$\Qbar_l$ of the Weil-Deligne group $W_p'$ of $\QQ_p$ (see
Appendix~\ref{App.A}), and then types are isomorphism classes of
restrictions to $I_p$ of extended types. The local Langlands
correspondence makes extended types correspond to isomorphism classes
of infinite dimensional irreducible admissible representations of
$\GL_2(\QQ_p)$, over~$\Qbar_l$. We will not discuss the proof of
Theorem~\ref{thm5.1} here, as it is repeated in \cite{CDT} and
\cite{BCDT}, with some changes, however. Diamond used, in order to
simplify the representation theory at the automorphic side, the
Jacquet-Langlands correspondence to work with a quaternion algebra
over $\QQ_p$ instead of the matrix algebra. In the two subsequent
articles, one works directly with modular curves. We recommend
\cite{Diamond3} for an overview of \cite{Diamond1}, that does not
become too technical. But, as the reader can already guess, the rest
of this section will get more technical, especially on the automorphic
side, because of these finer restrictions.

With Theorem~\ref{thm5.1} above, it is not hard to prove that all
elliptic curves over $\QQ$ that are semistable at $3$ and $5$ are
modular; we refer to \cite[\S5]{Diamond1} for details. So the only
remaining problem to get modularity for all elliptic curves over $\QQ$
is to get rid of the semistability conditions at $3$ and~$5$. Since
modularity is invariant under twisting, Diamond's result actually
implies that the only elliptic curves $E$ that remain to be dealt with
are those that have potentially good reduction at $3$ and $5$, but
that do not have a twist with good reduction at $3$ and~$5$. Since one
knows that the two $j$-invariants that correspond to $E$ with more
than two automorphisms are modular, the only twists to consider are
quadratic twists. 

The first step in the direction of relaxing the conditions at $3$ and
$5$ was made in \cite{CDT}, where it is proved that $E$ is modular if
it acquires good reduction over a tame extension of~$\QQ_3$. The main
new ingredient of this paper, compared to \cite{Diamond1}, is a new
type of deformation problem, for a mod $l$ representation
of~$G_l$. Roughly speaking, one considers deformations $\rho$ over $R$
of $\rhobar$ over $k$ such that the restriction of $\rho$ to $G_F$, or
a twist of it by a fixed quadratic character, is Barsotti-Tate, for
$F$ a fixed finite extension of $\QQ_l$ with ramification index $e\leq
l-1$. We have seen, in Section~\ref{sec3}, that it is crucial that the
tangent space over $k$ of the universal deformation ring of the type
of deformations of $\rhobar|_{G_l}$ that one considers be of dimension
at most one. This crucial result for \cite{CDT} was proved by Conrad
in \cite{Conrad1}, using his description of finite free group schemes
over the rings of integers of such $F$ obtained in~\cite{Conrad2},
generalizing earlier work of Fontaine in \cite{Fontaine2}. Using
Conrad's result, it was then proved (\cite[Theorem~7.1.2]{CDT}) that
any elliptic curve $E$ over $\QQ$ that acquires good reduction over a
tame extension of $\QQ_3$ is modular.

The final step in relaxing the conditions at $3$ is done
in~\cite{BCDT}. It is the work of Breuil \cite{Breuil1}, summarized in
\cite{Breuil2}, that gives a workable enough description of certain
finite free group schemes over rings of integers of arbitrary finite
extensions $F$ of $\QQ_l$, that makes this possible. With this tool
available, it is then proved that the remaining $E$, i.e., those that
acquire good reduction only after a wild extension of $\QQ_3$, are
modular. The article \cite{BCDT} consists for about 70\% (of 77 pages)
of the proof that, in the cases that are needed, the local deformation
space at $l$ has dimension at most one.  

In order to keep this section of reasonable length, we postpone the
discussion of these results at $l$ to the next one, and in this one we
focus more on the global aspects of the proof, and on Conjecture~1.3.1
of \cite{BCDT}, which says for which $\rho\colon G_\QQ\to\GL_2(O)$ one
hopes to be able to prove modularity.

We will now follow \cite[\S1]{BCDT}, in order to introduce the
necessary terminology, and to state the conjecture just mentioned. We
suppose $l>2$. An extended $l$-type is defined as an isomorphism class
of two-dimensional representations of $W'_l$ over $\Qbar_l$ (with open
kernel), and $l$-types are isomorphism classes of restrictions to
$I_l$ of extended $l$-types.

Suppose that $\tau'$ is an extended $l$-type, with restriction $\tau$
to~$I_l$. 
\begin{defi}
A continuous representation $\rho\colon G_l\to\GL_2(O)$ (with $O$ the
ring of integers in a finite extension $K$ of $\QQ_l$) is said to be
of extended type $\tau'$ (resp. of type $\tau$) if: 
\begin{enumerate}
\item $\rho$ is potentially Barsotti-Tate; 
\item $\WD(\rho)$ (as in Appendix~\ref{App.B}) is in $\tau'$
(\/resp. $\WD(\rho)|_{I_l}$ is in $\tau$);
\item the character $\eps^{-1}\det(\rho)$ has finite order prime to $l$.
\end{enumerate}
\end{defi}
Now fix a finite extension $K$ of $\QQ_l$, let $O$ be its ring of
integers and $k$ be its residue field. Let $\rhobar$ be a
two-dimensional continuous representation of $G_l$ over $k$, say on a
vector space $V$, such that $\End_{G_l}(V)=k$ (i.e., either $\rhobar$
is absolutely irreducible, or it is a non-split extension of a
character by another character). Under this last hypothesis, we have a
universal deformation ring $R^l_O$ representing the functor of
deformations of $\rhobar$ to complete noetherian local $O$-algebras
with residue field~$k$. (The superscript $l$ is there to indicate that
we are considering representations of~$G_l$.) We remark that extended
types will only be considered if their restriction to $I_l$ is
irreducible. Now consider $\Spec(R^l_O)$. In it, we have a minimal
closed subset that contains all deformations of $\rhobar$ to finite
extensions $O'$ of $O$ that are of type $\tau$, and similarly for
extended type~$\tau'$. These minimal closed subsets correspond to
(reduced) quotients $R^l_{O,\tau}$ and~$R^l_{O,\tau'}$.
A deformation $\rho$ over $R$ of $\rhobar$ is said to be {\em weakly
of type $\tau$} (resp. {\em weakly of extended type $\tau'$}), if the
corresponding morphism $R^l_O\to R$ factors through $R^l_{O,\tau}$
(resp.  through~$R^l_{O,\tau'}$).

\begin{defi}
A type $\tau$ (resp. an extended type $\tau'$) is {\em weakly
acceptable} for $\rhobar$ if there exists a surjection of $O$-algebras
$O[[X]]\to R^l_{O,\tau}$ (resp. $O[[X]]\to R^l_{O,\tau'}$). A type
$\tau$ (resp. an extended type $\tau'$) is {\em acceptable}
for $\rhobar$ if moreover $R^l_{O,\tau}\neq0$ (resp.
$R^l_{O,\tau'}\neq0$), i.e., if there exists at least one $l$-adic
deformation of type $\tau$ (resp. of extended type~$\tau'$). We will
also speak of $\rhobar$ accepting $\tau$ (resp.~$\tau'$). 
\end{defi}
Of course, with these definitions, it is very hard to check whether a
given $\rhobar$ accepts a given $\tau$ or~$\tau'$. It is precisely
this kind of verifications that occupy the most of \cite{BCDT}, and it
is there that crucial use is made of Conrad's and Breuil's results on
finite group schemes. We note that \cite{BCDT} conjectures that an
$l$-adic lift of $\rhobar$ is of type $\tau$ (resp. extended type
$\tau'$) if and only if it is weakly of that kind (Conjecture~1.1.1 of
\cite{BCDT}), but this has no importance for what follows. What is
much more important, is that \cite[Conjecture~1.3.1]{BCDT} tries to
predict acceptability purely in computable, representation theoretic
terms. In order to state this conjecture, \cite{BCDT} needs about 4
pages of preparation, consisting mostly of definitions. Instead of
trying to state all these definitions, we will try to see where they
come from.

The question one should ask oneself is: if $f$ is a newform over
$\Qbar_l$, then what can one say about $\rhobar_{f,l}\colon
G_l\to\GL_2(\Fbar_l)$ in terms of $\pi_{f,l}$, assuming
$\rhobar_f$ irreducible? In particular, for a given $\rhobar$,
what are the irreducible admissible representations that occur as
$\pi_{f,l}$, for $f$ with $\rhobar_{f,l}\cong\rhobar$?

An answer to this question will then say for which $\tau$ and $\tau'$
there does exist an $l$-adic lift of $\rhobar$ of that type. Moreover,
from the mechanism that is used to find this, one may guess under what
conditions one expects $R^l_{O,\tau}$ or $R^l_{O,\tau'}$ to be
topologically generated by one element.

To find the answer to the question (and for other reasons as well),
\cite{BCDT} constructs certain $l$-adic sheaves on certain modular
curves, that pick out a non-zero part of exactly those $\pi_f$ such
that $\pi_{f,l}$ has a prescribed type (or extended type). For each
$\tau$ and for each $\tau'$,with $\tau'|_{I_l}$ irreducible, one
defines open subgroups $U_\tau$ of $\GL_2(\ZZ_l)$ and $U_{\tau'}$ of
$\GL_2(\QQ_l)$, and irreducible representations $\sigma_\tau$ and
$\sigma_{\tau'}$ on finite dimensional $\Qbar_l$-vector spaces, with
open kernel.  The choice of these subgroups and representations is
justified by \cite[Lemma~1.2.1]{BCDT}: for every irreducible
admissible representation $\pi$ of $\GL_2(\QQ_l)$ over $\Qbar_l$ one
has
\begin{itemize}
\item $\Hom_{U_\tau}(\sigma_\tau,\pi)=\Qbar_l$ if
$\WD(\pi)|_{I_l}\cong\tau$, and $\Hom_{U_\tau}(\sigma_\tau,\pi)=0$ if
$\WD(\pi)|_{I_l}\not\cong\tau$;
\item $\Hom_{U_{\tau'}}(\sigma_{\tau'},\pi)=\Qbar_l$ if
$\WD(\pi)\cong\tau'$, and $\Hom_{U_{\tau'}}(\sigma_{\tau'},\pi)=0$ if
$\WD(\pi)\not\cong\tau'$.
\end{itemize}
The fact that such subgroups and representations exist is not
particular to our situation. There is a general theory, called (no
surprise) type theory, whose goal it is to describe smooth
representations of $p$-adic groups in terms of their restrictions to
compact open subgroups; see \cite{Bushnell1}. Before we go on, let us
mention that Khare has also asked and answered the question above, at
least in the case of types, in~\cite{Khare1}. 

With these $(U_\tau,\sigma_\tau)$ and $(U_{\tau'},\sigma_{\tau'})$ one
constructs sheaves on modular curves as follows. One defines $U_l$ to
be $U_\tau$ if one considers a type, and $U_{\tau'}\cap\GL_2(\ZZ_l)$
if one considers an extended type. In each case, one has a
representation $\sigma_l$ of $U_l$, namely, $\sigma_\tau$ and the
restriction of~$\sigma_{\tau'}$. Let $U^{(l)}$ be a sufficiently small
open subgroup of $\GL_2(\Zhat^{(l)})$, and let $\sigma$ be the
representation of $U:=U_lU^{(l)}$ given by~$\sigma_l$. Then the
modular curve and the sheaf are: 
$$
Y_U:=\GL_2(\QQ)\backslash\GL_2(\AA)/U\CC^*,\quad
\cF_\sigma:=\GL_2(\QQ)\backslash\left(\GL_2(\AA)\times
M_\sigma^\vee\right)/U\CC^*,
$$
with $M_\sigma$ the $\Qbar_l[U]$-module given by~$\sigma$. In the case
where one considers an extended type, one also gets an automorphism
$w_l$ of the pair $(Y_U,\cF_\sigma)$. By construction, the duals of
the two-dimensional Galois representations $\rho$ that occur in
$\rH^1_!(Y_U,\cF_\sigma)$ if one considers a type (resp. in
$\rH^1_!(Y_U,\cF_\sigma)^{w_l=1}$ if one considers an extended type)
for some $U^{(l)}$ are precisely those that correspond to newforms $f$
such that $\pi_{f,l}$ are of the prescribed kind that is described by
$\tau$ or~$\tau'$. Let $U':=\GL_2(\ZZ_l)U^{(l)}$, and consider the
morphism $\pi\colon Y_U\to Y_{U'}$. Then one has
$\rH^1_!(Y_U,\cF_\sigma)=\rH^1_!(Y_{U'},\pi_*\cF_\sigma)$. In order to
get information on the corresponding $\rhobar_l$'s, one now reduces
the sheaf modulo $l$, i.e, one chooses a $\Zbar_l$-lattice for
$\sigma$, and one reduces modulo the maximal ideal. By construction,
the Jordan-H\"older constituents of this reduction are of the form
$\cF_{n,m}:=\Sym^n(\ol{\cF})\otimes\det(\ol{\cF})^{\otimes m}$, with
$0\leq n<l$ and $m$ in $\ZZ/(l-1)\ZZ$, and with $\ol{\cF}$ the locally
constant sheaf of two-dimensional $\Fbar_l$-vector spaces given by the
standard representation of $\GL_2(\FF_l)$, or, if one wishes, by the
dual of the $l$-torsion of the universal elliptic curve. Moreover, the
$(n,m)$ that occur, and their multiplicities, can be computed by
representation theory (Brauer characters). But now one can use the
results of Deligne and Fontaine stated in \cite[Theorems~2.5
and~2.6]{Edixhoven1} that describe the $\rhobar_{f,l}$ for newforms of
prime to $l$ level, and weight between $2$ and $l+1$, in order to see
which $\rhobar$ occur in the $\rH^1_!(Y_{U'},\cF_{n,0})$. Since
$\det(\ol{\cF})$ is simply $\Fbar_l(\eps)$,
$\rH^1_!(Y_{U'},\cF_{n,m})$ is just
$\rH^1_!(Y_{U'},\cF_{n,0})(\eps^{-m})$. Let us note that in the case
of an extended type, one also has to deal with the automorphism~$w_l$;
this is done in~\cite[\S1.4]{BCDT}. The role played by the $\cF_{n,m}$
explains that the dependence upon $\rhobar$ of ``$\tau$ (resp. $\tau'$)
admits $\rhobar$'' is via its properties that determine the weight
that Serre has attached to $\rhobar|_{I_l}$ (see \cite[Sections
2--4]{Edixhoven1}).

Having seen this, we can understand what goes on behind the definition
of the notion of ``$\tau$ (resp. $\tau'$) admits $\rhobar$'' in
\cite[\S1.3]{BCDT}: this means that there exist newforms $f$ of that
type such that $\rho_f$ is a lift of $\rhobar$ of the required
type. What is harder to understand, is what is behind the
corresponding two notions ``simply admits'', because \cite{BCDT}
defines this by simply listing all elements of this relation. A
reasonable guess seems that this condition means that
$\ol{\pi_*\cF_\sigma}$ has exactly one Jordan-H\"older constituent
that can give rise to~$\rhobar^\vee$. (In fact, the freeness results
in Theorems~\ref{thm4.1} and \ref{thm4.2} and the definition of the
Hecke modules that are used imply that in the situations where these
theorems can be applied, $\ol{\pi_*\cF_\sigma}$ has exactly one
Jordan-H\"older constituent that can give rise to~$\rhobar^\vee$.)
%I have verified that the $\rH^1_!(Y_{U'},\cF_{n,m})$ are non-zero for
%small enough $U^{(l)}$. So the only thing that matters are the
%sheaves. 
It would be interesting to know how much of the relation between
$\pi_{f,l}$ and $\rhobar_{f,l}$ can be computed using Fontaine's
functors.  Let us now state this Conjecture~1.3.1, and the two main
theorems (1.4.1 and 1.4.2) of~\cite{BCDT}.
\begin{conj}
Let $k$ be a finite subfield of $\Fbar_l$, $\rhobar\colon
G_l\to\GL_2(k)$ a continuous representation, $\tau$ an $l$-type and
$\tau'$ an extended $l$-type with irreducible restriction
to~$I_l$. Suppose that the centraliser of the image of $\rhobar$ is
$k$ and that the image of $\tau$ is not contained in the center of
$\GL_2(\Qbar_l)$. 
\begin{enumerate}
\item $\tau$ (resp. $\tau'$) admits $\rhobar$ if and only if
$R^l_{O,\tau}\neq\{0\}$ (resp. $R^l_{O,\tau'}\neq\{0\}$), i.e., if and
only if there is a finite extension $K'$ of $\QQ_l$ in $\Qbar_l$ and a
continuous representation $\rho\colon G_l\to\GL_2(O_{K'})$ which
reduces to $\rhobar$ and has type $\tau$ (resp. has extended type $\tau'$). 
\item $\tau$ (resp. $\tau'$) simply admits $\rhobar$ if and only if
$\tau$ (resp. $\tau'$) is acceptable for~$\rhobar$. 
\end{enumerate}
\end{conj}

\begin{theo}\label{thm5.5}
Let $l>2$ be prime, $K$ a finite extension of $\QQ_l$ in $\Qbar_l$ and
$k$ its residue field. Let $\rho\colon G_\QQ\to\GL_2(K)$ be an odd
continuous representation, ramified at only finitely many
primes. Assume that its reduction $\rhobar\colon G_\QQ\to\GL_2(k)$ is
absolutely irreducible after restriction to the quadratic subfield of
$\QQ(\mu_l)$, and is modular. Further, suppose that:
\begin{itemize}
\item $\rhobar|_{G_l}$ has centraliser $k$;
\item $\rho|_{G_l}$ is potentially Barsotti-Tate with $l$-type $\tau$
(resp. with extended $l$-type $\tau'$);
\item $\tau$ (resp. $\tau'$) admits $\rhobar$;
\item $\tau$ (resp. $\tau'$) is weakly acceptable for $\rhobar$.
\end{itemize}
Then $\rho$ is modular. 
\end{theo}
The proof of this theorem is very parallel to the proof of
\cite[Theorem~7.1.1]{CDT}, and is just written in terms of the changes
to make. The strategy is of course the same as Wiles', especially in
the way that we have described it, but now one imposes, at all primes
where this is required (i.e., $l$ and the so-called vexing primes of
\cite{Diamond3}), these finer restrictions to define the right notion
of minimally ramified deformations. The commutative algebra that is
used consists of the results that we have described in
Section~\ref{sec4}. The required Hecke modules are constructed as
cohomology groups of sheaves on modular curves just as the
$\cF_\sigma$ above, with the difference that one will also have types
$\tau_p$ at some primes $p\neq l$.

Of course, in order to apply this theorem, one has to prove that the
last condition holds, i.e., that there exists a surjection $O[[X]]\to
R^l_{O,\rhobar}$. This condition has indeed been proved in
sufficiently many cases in order to prove Theorem~\ref{thm.BCDT.B}, by
Conrad in \cite{Conrad1} for tamely ramified types with small image,
and in \cite{BCDT} for some more types, using Breuil's work. We will
come back to this question of proving weak acceptability in the next
section.

Let us now see what is still required in order to prove the theorem that
all elliptic curves $E$ over $\QQ$ are modular. The proof of this is
divided into three cases: 
\begin{enumerate}
\item $\rhobar_{E,5}|_{\Gal(\Qbar/\QQ(\sqrt{5}))}$ is irreducible;
\item $\rhobar_{E,5}|_{\Gal(\Qbar/\QQ(\sqrt{5}))}$ is reducible, but 
$\rhobar_{E,3}|_{\Gal(\Qbar/\QQ(\sqrt{-3}))}$ is absolutely irreducible;
\item the remaining cases.
\end{enumerate}
First of all, the last case corresponds to rational points on a few
modular curves of small level. It is proved in
\cite[Lemma~7.2.3]{CDT}, with help of Elkies, that the set of all such
elliptic curves has, up to isogeny and twist, just three elements,
which are known to be modular by calculations. Let us consider the
second case. Then $E$ acquires semistable reduction over a tame
extension of $\QQ_3$ because $\rhobar_{E,5}(I_3)$ has order dividing
$(5-1)^25$. If a quadratic twist $E'$ of $E$ is semistable at $3$, one
switches to $E'$, and one is in the situation considered
in~\cite{Diamond1}. If not, then any ramified quadratic twist of $E_K$
with $K$ a ramified quadratic extension of $\QQ_3$ has good reduction,
so that one can use \cite[Theorem~4.2.1]{Conrad1}. Let us finally
consider the first case. In this case, Theorem~\ref{thm.BCDT.B} says that
$\rhobar_{E,5}$ is modular. Moreover, since $5>3$, $E$ acquires
semi-stable reduction over a tame extension of $\QQ_5$ of degree
dividing $4$ or dividing $6$; in the first case, where $E$ is
potentially ordinary at $5$, Theorem~5.3 of \cite{Diamond1} applies, in
the second case, there is a ramified extension $K$ of $\QQ_5$ of
degree $3$, such that a ramified quadratic twist of $E_K$ has good,
supersingular reduction, and \cite[Theorem~4.2.1]{Conrad1} applies. 

So it remains to explain how Theorem~\ref{thm.BCDT.B} is proved. Let
$\rhobar$ be as in that theorem. One first twists $\rhobar$ by a
suitable quadratic character, such that $\rhobar|_{G_3}$ falls into
one of the 6 cases of \cite{BCDT}, page~3, whose Artin conductors at
$3$ are $3^i$, $0\leq i\leq 5$. Then one considers elliptic curves $E$
over $\QQ$ such that $\rhobar_{E,5}$ is isomorphic to~$\rhobar$. The
moduli space of these is the union of two non-empty open subschemes of
$\PP^1_\QQ$, hence there are plenty of such~$E$. Using Hilbert
irreducibility, and some computations by Manoharmayum
\cite{Manoharmayum1}, one can show that there exists such an $E$ such
that $\rhobar_{E,3}$ is surjective on $\GL_2(\FF_3)$, and such that,
in the cases of conductor $3^i$ with $i\geq3$, $\rho_{E,3}$ is such
that Theorem~\ref{thm5.5} above can be applied to it, i.e., such that
the type, or extended type, can be proved to be weakly acceptable for
$\rhobar_{E,3}$. These results are proved in \cite[\S2.1]{BCDT}. The
use of an extended type is required only in the case of
conductor~$3^5$.


\section{Deformation problems at $l$}
Let us now discuss the results concerning weak acceptability, obtained
in \cite{Conrad1}, \cite{CDT}, and in Sections~4--9 of \cite{BCDT}. We
recall what this means. Let $l>2$ be prime, $K$ a finite extension of
$\QQ_l$, with ring of integers $O$ and residue field~$k$. Let
$\rhobar$ be a two-dimensional representation of $G_l$ over $k$, with
centraliser~$k$. Let $\tau$ be an $l$-type, and $\tau'$ an extended
$l$-type with irreducible restriction to~$I_l$. Then the quotients
$R^l_{O,\tau}$ and $R^l_{O,\tau'}$ of the universal deformation ring
$R^l_O$ of $\rhobar$ have been defined in the previous section, by
taking the Zariski closures in $\Spec(R^l_O)$ of the sets of $l$-adic
lifts of type $\tau$ (resp. extended type $\tau'$). Weak admissibility
of $\tau$ (resp. $\tau'$) just means that there exists a surjection
$O[[X]]\to R^l_{O,\tau}$ (resp. $O[[X]]\to R^l_{O,\tau'}$). So what
one wants to compute is the dimension over $k$ of the space of
deformations over $k[t]/(t^2)$ of $\rhobar$ that are weakly of type
$\tau$ (or extended type~$\tau'$). But the way that these kind of
deformations have been defined makes this impossible. So, in order to
deal with this problem, one defines other deformation problems, whose
universal deformation rings surject to the ones above, and for which
one then proves that they admit a surjection from~$O[[X]]$. The aim of
this section is just to describe these new deformation problems, and
to sketch the tools that are used in their study. 
Let us mention that there seems to be some hope that one can deal
directly with the rings $R^l_{O,\tau}$ and $R^l_{O,\tau'}$ (see the
beginning of \cite[\S4]{BCDT}). In what follows, we drop the
superscript $l$ from the notation, as we are only considering
representations of~$G_l$. 

We follow \cite[\S4]{BCDT}. We first discuss some generalities, and
then what happpens in the worst case, i.e., the conductor $3^5$
case. Let $F$ be a finite Galois extension of $\QQ_l$, with
group~$\Gamma$. We let $R$ be the ring of integers in $F$, and $k$ its
residue field (if we need to refer to the residue field of $O$, we
will call it~$k_O$). For $\cG$ a finite free group scheme over $R$, of
$l$-power order, we let $\DD(\cG)$ denote the contravariant
Dieudonn\'e module of $\cG_k$; it is a $W(k)$-module, equipped with
operators $\bF$ and $\bV$, such that $\bF\bV=\bV\bF=l$ and, for all $x$
in $W(k)$: $\bF x=\Frob_l(x)\bF$. A {\em descent datum} for a finite
free group scheme $\cG$ over $R$ is a right action of $\Gamma$ on
$\cG$, compatible with its action on $\Spec(R)$, i.e., for each
$\gamma$ in $\Gamma$, one has a commutative diagram: 
$$
\begin{CD}
\cG @>[\gamma]>\sim> \cG \\
@VVV @VVV \\
\Spec(R) @>\sim>\Spec(\gamma)> \Spec(R)
\end{CD}
$$
such that $[\gamma_1\gamma_2]=[\gamma_2][\gamma_1]$ for all $\gamma_1$
and $\gamma_2$ in~$\Gamma$.  Note that, since $\ZZ_l\to R$ may be
ramified, this is not what one should call a descent datum; however,
it is a descent datum after restriction to~$F$. In particular, we can
associate in this way, to a pair $(\cG,[{\cdot}])$, a group scheme
over~$\QQ_l$. A descent datum as above gives an action of $\Gamma$ on
$\DD(\cG)$, compatible with the action of $\Gamma$ on $W(k)$, and
commuting with $\bF$ and $\bV$, i.e., it becomes a module over the
ring $W(k)[\bF,\bV][\Gamma]$ (with suitable commutation
relations). The idea is now that to $\tau$ and $\tau'$, one can
associate ideals $I$ and $I'$ of this ring, that will impose the right
conditions on $l$-adic lifts of $\rhobar$ to be of type $\tau$ or of
extended type~$\tau'$.

Let us now describe the kind of deformation problems that are
considered. The extension $F$ of $\QQ_l$ should be taken such that the
type $\tau$ (or the extended type $\tau'$) becomes unramified over
it. Then one fixes a {\em model} over $R$ for $\rhobar$, i.e., a pair
$(\cG_0,[{\cdot}])$ as above, giving $\rhobar$ as the module of its
$\Qbar_l$-points, and such that $I$ (or $I'$)
annihilates~$\DD(\cG_0)$. Once a model is chosen, one can consider all
deformations $\rho$ of $\rhobar$, say to artinian rings, that admit a
model $(\cG,[{\cdot}])$ with $\DD(\cG)$ killed by $I$ (or by $I'$),
with a filtration in which each successive quotient is isomorphic to
$(\cG_0,[{\cdot}])$. A nice condition to impose is then that such
models are unique, and indeed, this can be realized in the situations
that are needed (this is what \cite[\S4.2]{BCDT} is about). Let us
denote by $R_{O,I}$ and $R_{O,I'}$ the universal deformation rings
thus obtained.

This is where the generalities end, and where one considers each of
the 3 cases (conductor $3^3$, $3^4$ and $3^5$) separately. Let us just
describe what happens in the worst case: conductor~$3^5$. In that
case, Conjecture~1.3.1 of \cite{BCDT} suggests 3 extended types
$\tau'_i$, $i\in\ZZ/3\ZZ$. One can take $O=\ZZ_3$. The restrictions of
the $\tau_i'$ to $W_{\QQ_3(\sqrt{-3})}$ are given by a morphism
$$
\QQ_3(\sqrt{-3})^* \lto \QQ_3(\zeta)^*, \qquad
\left\{
\begin{array}{ccc}
\sqrt{-3} & \mapsto & \zeta-\zeta^{-1}\\
-1 & \mapsto & -1\\
4 & \mapsto & 1\\
1+3\sqrt{-3} & \mapsto  & \zeta\\
1+\sqrt{-3} & \mapsto  & \zeta^i
\end{array}
\right.
$$
with $\zeta$ of order~3. This defines abelian extensions $F_i$ of
$\QQ_3(\sqrt{-3})$ of degree 12, that are Galois over~$\QQ_3$. The
ideals $I_i$ that one uses are all three generated by: $\bF+\bV$,
$[\gamma_4^2]+1$, and $([\gamma_3]-[\gamma_3^{-1}])[\gamma_2]-\bF$,
with $\gamma_2$, $\gamma_3$ and $\gamma_4$ certain elements of
$\Gal(F_i/\QQ_3)$. In particular, $\gamma_2$ is not in the inertia
subgroup of $\Gal(F_i/\QQ_3)$, hence the last generator of the $I_i$
reflects that one works with an extended type. Without this condition,
or even with a similar condition coming from other possible extended
types, one wouldn't expect the tangent space of the deformation
problem to be of dimension one. 

Theorem~4.6.1 of \cite{BCDT} says that, for each $i$, there exist four
models of $\rhobar$ with the property that models for deformations as
above are unique, and, moreover, that each deformation of $\rhobar$ as
above has a filtration with all successive quotients isomorphic to one
of these four. Theorem~4.6.2 of \cite{BCDT} then says that all four
have the property that the universal deformation ring is topologically
generated by one element, but three of them have universal deformation
ring $\FF_3[[X]]$ (\cite[Theorem~4.6.3]{BCDT}). Using this, it is
finally proved that every $3$-adic lift of $\rhobar$ that is of
extended type $\tau_i'$, say over a finite extension $O$ of $\ZZ_3$,
comes from a morphism $R_O\to R_{O,\tau_i'}$ that factors through the
universal deformation ring $R_{O,I_i'}$ associated to this last
model. Hence, finally, this proves that each of the $\tau_i'$ weakly
accepts~$\rhobar$.

To finish this section, let us point out that proving the theorems in
the preceding paragraph takes about 45 pages in \cite{BCDT}, with
about 30 of them filled with computations with Breuil's
$\phi_1$-modules. It is my hope that these notes will encourage
readers to take a look at those pages, and understand what is going
on. In order to say at least something about these modules, let us
give the definition of the $l$-torsion $\phi_1$-modules over $R$, the
category of which is anti-equivalent to that of finite free group
schemes over $R$ that are killed by~$l$.

Let $R$ etc. be as in the second paragraph of this section. Let $\pi$
be a uniformizer of $R$, and $E_\pi(u)=u^e-lG_\pi(u)$ its minimal
polynomial over $W(k)$. Let $\phi$ denote the $l$-th power map
on~$k[u]/(u^{el})$. An $l$-torsion $\phi_1$-module is then a triple
$(M,M_1,\phi_1)$ with $M$ a finite free $k[u]/(u^{el})$-module, with
$M_1$ a $k[u]/(u^{el})$-submodule containing $u^eM$, and with
$\phi_1\colon M_1\to M$ $\phi$-semilinear, such that $\phi_1(M_1)$
generates $M$ as $k[u]/(u^{el})$-module.

We note that the category just described does not depend on the choice
of the uniformizer $\pi$, but that the functors giving the
anti-equivalence mentioned above do depend on that choice. This fact
causes a lot of trouble in \cite{BCDT}, as one has to study the action
of $\Gal(F/\QQ)$ on models $\cG$ over $\Spec(R)$, and, of course,
$\Gal(F/\QQ)$ will not fix the choice of~$\pi$.


\section{Two related results}
The aim of this section is to briefly state two modularity results on
two-dimensional Galois representations that are obtained by others
than those mentioned in the title. They can be found in \cite{SW2}
and~\cite{BDST}.

\begin{theo}[Skinner, Wiles]
Let $l>2$ be prime, and let $\rho\colon G_\QQ\to\GL_2(\Qbar_l)$ be an
odd continuous representation, ramified at only finitely many primes,
with $\det(\rho)=\psi\eps^{k-1}$ with $\psi$ of finite order,
$\eps\colon G_\QQ\to\ZZ_l^*$ the cyclotomic character and $k\geq2$ an
integer. Suppose that $\rho|_{G_l}$ is the extension of a character
$\psi_2$ by a character $\psi_1$ with $\psi_2|_{I_l}$ of finite order
and such that $\ol{\psi_1}|_{G_l}\neq\ol{\psi_2}|_{G_l}$.  If
$\rhobar\colon G_\QQ\to\GL_2(\Fbar_l)$ is irreducible, then suppose
that $\rhobar$ is modular. Then $\rho$ is modular.
\end{theo}
In fact, they even prove a stronger result, with $\QQ$ replaced by an
arbitrary totally real field. This generality is actually even
necessary for the theorem above, since the proof involves changing the
field~$\QQ$. Let us note that the representations $\rho$ considered by
Skinner and Wiles are very different from those considered by Breuil,
Conrad, Diamond, and Taylor, which mostly have irreducible restrictions
to any open subgroup of~$G_l$.

\begin{theo}[Buzzard, Dickinson, Shepherd-Barron, Taylor]
Let $\rho$ be a continuous, irreducible, odd representation from
$G_\QQ$ to $\GL_2(\CC)$ with unsolvable image. Suppose that $\rho$ is
unramified at $2$ and at $5$, and that the image of $\rho(\Frob_2)$ in
$\PGL_2(\CC)$ has order~$3$. Then $\rho$ is modular.
\end{theo}
Let us note that all continuous representations $\rho\colon
G_F\to\GL_2(\CC)$ with solvable image and with $F$ a number field are
known to be associated to automorphic representations, by Hecke (in
the dihedral case) and Langlands and Tunnell (\cite{Langlands1},
\cite{Tunnell1}).  The strategy of the proof is explained in
\cite{Taylor1}, and carried out in \cite{BT}, \cite{ST}, and
\cite{Dickinson1}. The paper \cite{BDST} mainly pulls everything
together, and provides slight technical but needed improvements of
previously obtained results.

In a nutshell, the strategy consists in realizing a suitable twist of
$\rho$ over a number field in $\CC$, such that it has a reduction
$\rhobar$ mod $2$ with values in $\GL_2(\FF_4)$. Then one shows that
$\rhobar$ is modular, that $\rho$ arises
from an overconvergent $2$-adic modular form, and finally that $\rho$
arises from a weight one form. 


\section{Latest news}
This section has been added at the time the final version of this text
was written (June 2000). Its aim is just to direct the reader to some
developments that took place after the lecture (March). 

Taylor has released two preprints \cite{Taylor2} and
\cite{Taylor3}. In the first one, he proves, using work of Skinner and
Wiles (\cite{SW2}, \cite{SW3}, \cite{SW4}), and of many other people,
the following result.

\begin{theo}[Taylor]\label{thm8.1}
Let $l$ be an odd prime, and $\rho\colon G_\QQ\to \GL_2(\Qbar_l)$ a
continuous irreducible representation such that:
\begin{enumerate}
\item $\rho$ is unramified at all but finitely many primes;
\item $\rho$ is odd (i.e., $\det\rho(c)=-1$);
\item $\rho|_{G_l}$ is an extension of $\chi_2$ by $\eps^n\chi_1$,
with $\chi_1|_{I_l}$ and $\chi_2|_{I_l}$ of finite order and $n$ a
non-zero positive integer, such that $\eps^n\chi_1\chi_2^{-1}(I_l)$ is
not pro-$l$. 
\end{enumerate}
Then there is a totally real number field $E$, a regular algebraic
cuspidal automorphic representation $\pi$ of $\GL_2(\AA_E)$ and a
place $\lambda$ of the field of coefficients of $\pi$ above $l$ such
that $\rho_{\pi,\lambda}$ (the $\lambda$-adic representation
associated to $\pi$) is equivalent to~$\rho|_{G_E}$.
\end{theo}
As a consequence, such a $\rho$ has an $L$-function, and this
$L$-function is meromorphic and satisfies the expected functional
equation. Also, under some mild hypothesis, it follows that $\rho$
occurs in some $\rH^i(X_\Qbar,\QQ_l(r))$, as in
Conjecture~\ref{FMconj}. The idea that allows one to use the results
of Skinner and Wiles, and others, concerning $\rho$ such that
$\rhobar$ has a soluble image, is to use abelian varieties with real
multiplications such that the $\rhobar$ of the Theorem above is
related to the $l$-torsion, and such that the $p$-torsion (for some
other prime $p$) gives a suitable soluble image. The existence of such
abelian varieties is proved by applying Skolem type results to
Hilbert-Blumenthal modular varieties (see for example~\cite{MB1}).

Ramakrishna proved in \cite{Ramakrishna2} that, under mild hypotheses,
a continuous mod $l$ representation $\rhobar\colon G_\QQ\to\GL_2(k)$
(not supposed to be modular) can be lifted to a representation
$\rho\colon G_\QQ\to\GL_2(W(k))$ over the Witt vectors of $k$, with
$\rho$ unramified at almost all primes. More recently, in
\cite{Ramakrishna3}, he has proved that one can even obtain that
$\rho$ is semi-stable or crystalline at~$l$. His main innovation is to
consider deformation problems that lead to a universal deformation
ring~$W(k)$. He requires $\rho|_{G_p}$ to be of the form
$(\begin{smallmatrix}\eps&*\\0&1\end{smallmatrix})$ for
suitable~$p$. Note that this is stronger than a condition on
$\rho|_{I_p}$ (until now, only conditions on $\rho|_{I_p}$ were
imposed), which makes it reasonable that the deformation ring will be
small. One finds a slight generalization of Ramakrishna's results
in~\cite{Taylor3}, where they are used to prove some more cases of the
Artin conjecture. Combined with Theorem~\ref{thm8.1}, one obtains that
$\rhobar$ as above becomes modular after restriction to $G_E$ with $E$
a suitable totally real extension of $\QQ$ (see \cite{Taylor2}). This
can be seen as a ``potential'' version of Serre's conjecture. 

Khare has used Ramakrishna's work (\cite{Khare2}) to give another
proof of certain ``$R=T$'' theorems. Assuming $\rhobar$ to be modular,
one gets an ``$R=T$'' theorem for Ramakrishna's deformation problem
(the main result of \cite{DT} implies that Ramakrishna's lift $\rho$
is modular). Starting with this result, Khare proves that for large
enough $\Sigma$, $R_{O,\Sigma}\to\TT_{O,\Sigma}$ is an isomorphism;
his proof avoids the special arguments of Wiles and Taylor-Wiles in
the minimal case. Of course, this last result suffices for proving
modularity results. (It seems that from this one also easily obtains
the result for all~$\Sigma$.) 

Breuil and M\'ezard have released a preprint (\cite{BreuilMezard1}) in
which they give a conjectural description of the Samuel multiplicity
of local deformation rings $R^l_{O,\tau}$ in automorphic terms. They
also prove this conjecture in many cases. 

%\section{Some applications}
%Maybe say that it is important to know that elliptic curves
%are modular, if one is interested at all in their arithmetic. So give
%some examples of that (Darmon, etc.; see Berkeley conference). 
%see also what Darmon writes in the Notices. 
%see DDT, 3.6, in particular, make reference to their Theorem3.53, and to
%Flach's stuff mentioned there. 


\appendix
\section{Galois representations associated to modular forms}
\label{App.A}
The aim of this section is to recall what we need about the Galois
representations associated to modular forms. For simplicity, we only
discuss the case of forms of weight two, so that we only need to deal
with the cohomology of the constant sheaf on modular curves. We use
the now standard point of view that was initiated by Deligne
in~\cite{Deligne1}. As a general reference for this section, we
recommend~\cite{DI}. 

The object from which everything originates here is the Shimura datum
$(\GL_2,\HH^\pm)$, with $\GL_2(\RR)$ acting on
$\HH^\pm=\PP^1(\CC)-\PP^1(\RR)$ in the usual way. Let $\AA$ denote the
ring of ad\`eles of $\QQ$, and $\AAf$ its subring of the finite
ad\`eles. For every compact open subgroup $U$ of $\GL_2(\AAf)$, let 
$X^0_U(\CC)$ denote the complex analytic variety
$\GL_2(\QQ)\backslash(\HH^\pm\times\GL_2(\AA_f)/U)$; it can be
compactified, by adding a finite number of points, to a smooth compact
Riemann surface (usually not connected) $X_U(\CC)$. We denote the
associated complex algebraic curve by $X_{U,\CC}$. The interpretation
of these curves as moduli spaces of elliptic curves with level
structures give models $X_{U,\QQ}$ over~$\QQ$. The inverse limit
$X_\QQ$ of the $X_{U,\QQ}$ has an action, from the right, by
$\GL_2(\AA_f)$. For $l$ prime, the $\Qbar_l$-vector space: 
$$
H_l:=\lim_{U}\rH^1(X_{U,\Qbar,\et},\Qbar_l)
$$
has an action by $G_\QQ\times\GL_2(\AAf)$. In order to understand the
decomposition of $H_l$ as a representation of $\GL_2(\AAf)$, one uses
the Hodge decomposition: 
$$
\rH^1(X_U(\CC),\CC) = \Omega^1(X_U(\CC)) \oplus \ol{\Omega^1(X_U(\CC))}.
$$
On $\Omega^1(X_U(\CC))$ one no longer has an action of $\GL_2(\AAf)$,
but is still is a module over the Hecke algebra associated to $U$: the
convolution algebra of compactly supported bi-$U$-invariant functions
on $\GL_2(\AAf)$ (say that $\GL_2(\Zhat)$ has measure one). 
The $q$-expansion principle and some theory of smooth irreducible
representations of the $\GL_2(\QQ_p)$ show that $\Omega^1(X(\CC))$
decomposes into a direct sum of irreducible ones, each one occurring
only once: 
$$
\Omega^1(X(\CC)) = \lim_U\Omega^1(X_U(\CC))=\bigoplus_f\pi_f, 
$$
where $f$ runs through the set of newforms of weight two with
coefficients in~$\CC$. We recall that for all $p$ we have a chosen
embedding $\Qbar\to\Qbar_p$. It follows that $H_l$ decomposes as a
direct sum:
$$
H_l \cong \bigoplus_f\rho_f^\vee\otimes\pi_f, 
$$
with $f$ running through the set of weight two newforms with
coefficients in $\Qbar_l$, and with $\rho_f\colon
G_\QQ\to\GL_2(\Qbar_l)$ a continuous representation. We note that
$\rho_f$ is realized over any finite extension over which $\pi_f$ is
defined. The representation $\pi_f$ is a restricted tensor product
$\otimes'_p\pi_{f,p}$ over all primes, with each $\pi_p$ an infinite
dimensional irreducible admissible representation
of~$\GL_2(\QQ_p)$. On the Galois side, we define, for each prime $p$,
$\rho_{f,p}:=\rho_f|_{G_p}$. With these definitions, one knows that,
for $p\neq l$, $\pi_{f,p}$ and $\rho_{f,p}$ determine each other via a
suitably normalized local Langlands correspondence. (This was first
proved at the unramified places by Eichler and Shimura, then for
$\pi_{f,p}$ principal series or special by Langlands, then for
$p\neq2$ by Deligne, and finally for all $p$ by Carayol, and
simplified by Nyssen.) The representation $\rho_{f,l}$ is usually not
determined by $\pi_{f,l}$ (just think of the case where $f$
corresponds to an elliptic curve with split multiplicative reduction
at $l$, where $\rho_{f,l}$ almost determines the elliptic curve), but
Saito has shown in \cite{Saito1} that the $(\phi,N,G_l)$-module
obtained by forgetting the filtration of the filtered
$(\phi,N,G_l)$-module corresponding to $\rho_{f,l}$ via Fontaine's
functor (\cite[\S10]{FM}) corresponds to~$\pi_{f,l}$. (Actually, in
the weight two case that we consider this is in fact easily deduced
from the results for $p\neq l$; see \cite[Appendix~B]{CDT}.)

In order to fix notation, let us give a precise description of this
local correspondence, so that there is no ambiguity about the
normalization. To do this, we first recall that the best way to
formulate the local Langlands correspondence is in terms of the
Weil-Deligne group (see \cite[\S4]{Tate2} and \cite{Deligne2}). For
$p$ prime, the Weil group $W_p$ of $\QQ_p$ is the subgroup of $G_p$
consisting of elements whose image in $G_{\FF_p}$ is in $\Frob_p^\ZZ$
($\Frob_p\colon x\mapsto x^p$ is the arithmetic Frobenius). The
Weil-Deligne group is an object $W_p'$ that is defined so that a
representation of $W_p'$ on a finite dimensional $E$-vector space
($E\supset\QQ$) is a pair $(V,N)$ with $V$ a continuous representation
of $W_p$ (with the discrete topology on $V$), and a nilpotent
endomorphism $N$ of $V$ such that $wNw^{-1}v=pNv$ for all $v$ in $V$
and $w$ in $W_p$ mapping to~$\Frob_p$. Such a pair is called
$F$-semisimple if $V$ is semisimple as a representation of~$W_p$.
With these definitions, there are canonical bijections between the set
of (isomorphism classes of) infinite dimensional irreducible
admissible representations of $\GL_2(\QQ_p)$ over $\Qbar$, and the set
of 2-dimensional $F$-semisimple representations of $W_p'$
over~$\Qbar$.  These bijections are such, that local $L$ and
$\eps$-factors on both sides (suitably normalized) correspond, and
they are compatible with the action of $G_\QQ$ on both sides.  For
$p\neq2$, this is easy, since one can easily write down the elements
on both sides (on the Galois side, one uses that the wild inertia acts
reducibly). For $p=2$, this is harder; the general case was worked out
by Kutzko. If $V$ is a finite dimensional $K$-vector space, with $K$ a
finite extension of $\QQ_l$, and $p\neq l$, there is an equivalence
between representations of $W_p'$ on $V$ as above, and continuous
representations of $W_p$ on~$V$.

Following \cite{CDT}, we normalize the local Langlands correspondence
$\WD$ in such a way that $\rho_{f,p}|_{W_p}$, viewed as a
representation of $W_p'$ over $\Qbar_l$, is isomorphic to
$\Qbar_l\otimes_\Qbar\WD(\pi_{f,p})$, for each newform $f$ with
coefficients in~$\Qbar$. If $\sigma(\pi_{f,p})$ is as in
\cite{Carayol1}, then we have
$\WD(\pi_{f,p})=\sigma(\pi_{f,p})\otimes\chi$, where $\chi$ is the
unramified character that sends $\Frob_p$ to~$p$. 
If $\pi_{f,p}$ is unramified, i.e., if $p$ does not divide the level
of $f$, then $\rho_{f,p}$ is unramified and $\rho_{f,p}(\Frob_p)$ is
semisimple (remember that we are in weight two) and has characteristic
polynomial $X^2-t_pX+ps_p$, where $t_p$ and $s_p$ are the eigenvalues
of $f$ for the Hecke and diamond operators $T_p$ and $S_p$ that are
defined by the double cosets
$U(\begin{smallmatrix}p&0\\0&1\end{smallmatrix})U$ and
$U(\begin{smallmatrix}p&0\\0&p\end{smallmatrix})U$, with
$U=\GL_2(\ZZ_p)$. The determinant of $\rho_{f,p}$ is
$\eps\chi_{\pi_{f,p}}$, where $\chi_{\pi_{f,p}}$ is the central
character of $\pi_{f,p}$, viewed as a character of $W_p^\ab$ via the
isomorphism of class field theory under which the image of $p$ in
$\QQ_p^*/\ZZ_p^*$ corresponds to~$\Frob_p$. If $\chi$ is a continuous
character $\QQ_p^*\to\Qbar^*$, then
$\WD(\pi_{f,p}\otimes(\chi\det))\cong\WD(\pi_{f,p})\otimes\chi$.  

To finish this section, let us recall some facts about the
classification of the two-dimensional semisimple representations of
$W_p$, over $\CC$, say. Let $\rho$ be such a representation, on a
$\CC$-vector space $V$, say. If $\rho$ is reducible, it is a sum of
two characters. Suppose $\rho$ irreducible. Since the wild inertia
subgroup $I_p^\wild$ of $I_p$ acts on $V$ via a finite $p$-group, it
acts via two characters (possibly equal), unless $p=2$ (recall that
the dimension of an irreducible complex representation of a finite
group divides the order of the group). Suppose that $\rho|{I_p^\wild}$
splits as a sum of two distinct characters. Then $W_p$ acts on the set
of the two corresponding lines in $V$, and non-trivially because
$\rho$ is irreducible. It follows that $\rho$ becomes reducible over a
quadratic extension of~$\QQ_p$. Suppose now that $I_p^\wild$ acts via
scalars on~$V$. Then, considering the action of $W_p/I_p$ (which is
the semi-direct product of $\ZZ$ by $I_p^\tame$) on $\PP(V)$, one sees
that, again, $\rho$ becomes reducible over a quadratic extension
of~$\QQ_p$. So the conclusion is this: the two-dimensional complex
semisimple representations of $W_p$ are sums of two characters, or
induced from a character of $W_K$ with $K$ quadratic over $\QQ_p$, or
such that $p=2$ and $I_p^\wild$ acts irreducibly (these latter ones
were first classified by Weil~\cite{Weil1}, in his ``exercices
dyadiques''; clearly, the title of \cite{BCDT} is inspired by this).


\section{Types associated to $l$-adic representations and to elliptic
curves}
\label{App.B}
Let $l$ be any prime. We recall that an extended $l$-type (over
$\Qbar_l$) is an isomorphism class of two-dimensional representations
over $\Qbar_l$ of the Weil-Deligne group $W_l'$ of $\QQ_l$ (see
Appendix~\ref{App.A}), and that types are isomorphism classes of
restrictions to $I_l$ of extended $l$-types. We want to describe how
one attaches an extended type to a continuous representation
$\rho\colon G_l\to\GL_2(O)$, with $O$ the ring of integers of a finite
extension $K$ of $\QQ_l$ contained in $\Qbar_l$, under the assumption
that $\rho$ is potentially Barsotti-Tate. So let $\rho$ be such a
representation, and let $F$ be a finite extension of $\QQ_l$ over
which $\rho$ becomes Barsotti-Tate, i.e., such that $\rho|_{G_F}$ is
isomorphic to $\cG(\Qbar_l)$ for some $l$-divisible group with
$O$-action over the ring of integers $O_F$ of~$F$. Of course, one
solution to this is simply to apply Fontaine's $D_{\st,F}$ functor as
in \cite[\S10(b)]{FM}, but in this simple case of $p$-divisible group
schemes one can be more explicit. Another reason for doing this more
explicitly is that one wants to do computations in the case of
elliptic curves. For more details we refer to \cite[Appendix~B]{CDT}. 

The representation $\rho$ we have corresponds to an $l$-divisible
group $\cG_{\QQ_l}$ over $\QQ_l$, with $O$-action. Let $F$ be a finite
Galois extension of $\QQ_l$ such that $\cG_F$ extends (uniquely, by
\cite[Theorem~4]{Tate1}) to an $l$-divisible group $\cG_{O_F}$ over
$O_F$, with $O$-action. Let $\Gamma$ denote~$\Gal(F/\QQ_l)$. For every
$\sigma$ in $\Gamma$, we have commutative diagrams:
$$
\begin{CD}
\cG_{O_F} @>[\sigma]>\sim> \cG_{O_F} \\
@VVV @VVV \\
\Spec(O_F) @>\sim>\Spec(\sigma)> \Spec(O_F)
\end{CD}
\qquad
\begin{CD}
\cG_{k_F} @>[\sigma]>\sim> \cG_{k_F} \\
@VVV @VVV \\
\Spec(k_F) @>\sim>\Spec(\sigma)> \Spec(k_F)
\end{CD}
$$
with $k_F$ the residue field of~$O_F$. The last diagram gives a right
action of $G_l$ on $\cG_{k_F}/k_F$. Let $d\colon W_l\to\ZZ$ be the
morphism such that $\sigma$ in $W_l$ induces the $d(\sigma)$th power
of the absolute Frobenius on~$\Fbar_l$. Then we get a morphism from
$W_l$ to $(\QQ\otimes\End_{k_F}(\cG_{k_F}))^*$ by sending $\sigma$ to
$[\sigma]^{-1}\Frob_\abs^{d(\sigma)}$. Now let $\DD$ denote the
contravariant Dieudonn\'e module functor. Then
$\QQ\otimes\DD(\cG_{k_F})^\vee$, with ${}^\vee$ denoting $W(k_F)$-dual,
is a free $K\otimes_{\ZZ_l}W(k_F)$-module of rank two, with a left
action by~$W_l$. The extended $l$-type $\WD(\rho)$ associated to
$\rho$ is then the two-dimensional $\Qbar_l$ vector space obtained by
base change via $K\otimes_{\ZZ_l}W(k_F)\to\Qbar_l$ (note that both $K$
and $F$ are subfields of~$\Qbar_l$); the monodromy operator is defined
to be zero, as we have good reduction. 

We can repeat the construction above, with $\cG_{\QQ_l}$ replaced by
an elliptic curve $E$ over $\QQ_l$, with good reduction $E_{O_F}$
over~$O_F$. Then one gets morphisms: 
$$
W_l\lto(\ZZ[1/l]\otimes\End_{k_F}(E_{k_F}))^* \lto
(\Qbar\otimes\End_{k_F}(E_{k_F}))^*\cong\GL_2(\Qbar). 
$$
More generally, one can start with a newform $f$ with coefficients in
$\Qbar$, and then one has:
$$
\WD(\rho_{f,l}) = \Qbar_l\otimes_\Qbar\WD(\pi_{f,l}), 
$$
by the results of Appendix~\ref{App.A}. 

In \cite{Volkov1} one can find a complete description of all $\rho_l$
that arise from elliptic curves over $\QQ_l$, in terms of their
associated filtered $(\phi,N,G_l)$-modules.

\subsection*{Acknowledgements}
I would like to thank Christophe Breuil, Fred Diamond, Reinie Ern\'e,
Eyal Goren, Chandrashekhar Khare, Rutger Noot and Richard Taylor for
their comments on an earlier version of this text, and Michel Gros for
the reference to~\cite{Bushnell1}.  Attending the conference
``Modularity of Elliptic Curves and Beyond'' at the MSRI in Berkeley,
December 6--10, 1999, was very useful, as well as the series of talks
given by Brian Conrad on this subject in Rome, July 1999.


\begin{thebibliography}{66}

\bibitem{Berthelot1} P.~BERTHELOT -- {\it Alt\'erations de vari\'et\'es
alg\'ebriques.} S\'eminaire Bourbaki, 1995--96,
expos\'e~815, Ast\'erisque {\bf 241}, S.M.F.~(1997), 273--311.

\bibitem{Breuil2} C.~BREUIL --{\it Sch\'emas en groupes et modules
filtr\'es.} C.\ R.\ Acad.\ Sci.\ Paris {\bf 328} (1999), 93--97. 

\bibitem{Breuil1} C.~BREUIL --{\it Groupes $p$-divisibles, groupes
finis et modules filtr\'es.} Preprint, 1999. To appear in Annals of
Mathematics. 

\bibitem{BCDT} C.~BREUIL, B.~CONRAD, F.~DIAMOND, R.~TAYLOR -- {\it On
the modularity of elliptic curves over~$\QQ$: wild $3$-adic
exercises.} \hfill \\ 
Preprint, \verb'http://www.math.harvard.edu/'

\bibitem{BreuilMezard1} C.~BREUIL, A.~MEZARD -- {\it Multiplicit\'es
modulaires et repr\'esentations de $\GL_2(\ZZ_p)$ et de
$\Gal(\Qbar_p/\QQ_p)$ en $l=p$.} Preprint, June 2000, Orsay.

\bibitem{Bushnell1} C.J.~BUSHNELL -- {\it Smooth representations of
$p$-adic groups: the role of compact open subgroups.} Proceedings of
the international congress of mathematicians, Vol.~1, 2 (Z\"urich,
1994), 770--779, Birkha\"user, Basel, 1995. 

\bibitem{BDST} K.~BUZZARD, M.~DICKINSON, N.~SHEPHERD-BARRON, R.~TAYLOR
-- {\it On icosahedral Artin representations.}\hfill\\ Preprint,
\verb'http://www.math.harvard.edu/'

\bibitem{BT} K.~BUZZARD, R.~TAYLOR -- {\it Companion forms and
weight one forms.} Ann. of Math.~(2) {\bf 149} (1999), no.~3, 905--91

\bibitem{Carayol1} H.~CARAYOL -- {\it Sur les repr\'esentations
$l$-adiques associ\'ees aux formes modulaires de Hilbert.} Ann.\ Sci.\
\'Ec.\ Norm.\ Sup.~{\bf 19} (1986), 409--468.  

\bibitem{Clozel1} L.~CLOZEL -- {\it Motifs et formes automorphes.}
Automorphic forms, Shimura varieties, and $L$-functions, Vol.~I, edited by
L.~Clozel and J.S.~Milne, Perspectives in Mathematics~10, Academic
Press (1990), 77--159. 

\bibitem{CF} P.~COLMEZ, J-M.~FONTAINE -- {\it Construction des
repr\'esentations $p$-adiques semi-stables.} Preprint Ecole Normale
Sup\'erieure, LMENS-99-18. 

\bibitem{Conrad2} B.~CONRAD -- {\it Finite group schemes over bases
with low ramification.} Compositio Math.~{\bf 119} (1999),
239--320. 

\bibitem{Conrad1} B.~CONRAD -- {\it Ramified deformation problems.}
Duke Math.\ J.~{\bf 97} (1999), 439--513.

\bibitem{CDT} B.~CONRAD, F.~DIAMOND, R.~TAYLOR -- {\it Modularity
of certain potentially Barsotti-Tate Galois representations.}
J.A.M.S.~{\bf 12} (1999), 521--567. 

\bibitem{Boston} G.~CORNELL, J.~SILVERMAN, G.~STEVENS, editors --
{\it Modular Forms and Fermat's Last Theorem} Springer-Verlag, 1997. 

\bibitem{Darmon1} H.~DARMON -- {\it A proof of the full
Shimura-Taniyama-Weil conjecture is announced.} Notices of the
A.M.S., December 1999. 

\bibitem{DDT} H.~DARMON, F.~DIAMOND, R.~TAYLOR -- {\it Fermat's Last
Theorem.}  Elliptic curves, modular forms and Fermat's last theorem
(Hong Kong, 1993). Second edition.  International Press, Cambridge,
MA, 1997, 2--140.

\bibitem{Deligne1} P.~DELIGNE -- {\it Formes modulaires et
repr\'esentations $l$-adiques.} S\'eminaire Bourbaki, 1968--69,
expos\'e~355, Lecture Notes in Mathematics {\bf 179}, Springer~(1969),
139--172.

\bibitem{Deligne2} P.~DELIGNE -- {\it Formes modulaires et
repr\'esentations de $\GL(2)$.} Antwerp II, Lecture Notes in Math.\
{\bf 349}, Springer~(1973), 55--106. 

\bibitem{dSL} B.~DE~SMIT, H.~LENSTRA -- {\it Explicit construction of
universal deformation rings.} In \cite{Boston}, pp.~313--326. 

\bibitem{dSRS} B.~DE~SMIT, K.~RUBIN, R.~SCHOOF -- {\it Criteria for
complete intersections.} In \cite{Boston}, 343--355. 

\bibitem{Diamond4} F.~DIAMOND -- {\it The refined conjecture of
Serre.} In Elliptic curves, modular forms and Fermat's last
theorem (Hong Kong, 1993). International Press, 1995, 22--37. 

\bibitem{Diamond3} F.~DIAMOND -- {\it An extension of Wiles' results.}
In \cite{Boston}, 475--498. 

\bibitem{Diamond1} F.~DIAMOND -- {\it On deformation rings and Hecke
rings.} Ann.\ Math.~{\bf 144} (1996), 137--166. 

\bibitem{Diamond2} F.~DIAMOND -- {\it The Taylor--Wiles construction
and multiplicity one.} Invent. math.~{\bf 128} (1997), 379--391. 

\bibitem{DI} F.~DIAMOND, J.~IM -- {\it Modular forms and modular
curves.} In ``Seminar on Fermat's last theorem'', Canadian
Mathematical Society Conference Proceedings 17, 1995 (V.\ Kumar Murty,
editor).

\bibitem{DT} F.~DIAMOND, R.~TAYLOR -- {\it Lifting modular mod $l$
representations.} Duke Math.\ J.\ {\bf 74} (1994), no.~2, 253--269. 

\bibitem{Dickinson1} M.~DICKINSON -- {\it On the modularity of certain
$2$-adic Galois representations.} Preprint. 

\bibitem{Edixhoven1} S.J.~EDIXHOVEN -- {\it The weight in Serre's
conjectures on modular forms.} Invent.\ math.~{\bf 109} (1992),
563--594. 

\bibitem{Fontaine2} J-M.~FONTAINE -- {\it Groupes $p$-divisibles sur
les corps locaux.} Ast\'erique {\bf 47--48}, S.M.F., 1977. 

\bibitem{Fontaine1} J-M.~FONTAINE -- {\it Repr\'esentations
$p$-adiques semi-stables.} In ``P\'eriodes $p$-adiques,''
Ast\'erisque~{\bf 223}, S.M.F., 1994, p.~113--184. 

\bibitem{FM} J-M.~FONTAINE, B.~MAZUR -- {\it Geometric Galois
representations.} In ``Elliptic curves, modular forms and Fermat's
Last Theorem'' (Hong Kong, 1993), International Press, 1995,
pp.~41--78. 

\bibitem{Fujiwara1} K.~FUJIWARA -- {\it Deformation rings and Hecke
rings in the totally real case.} Preprint. 

\bibitem{Khare1} C.~KHARE -- {\it A local analysis of congruences in
the $(p,p)$-case: Part~II.} To appear in Invent.\ math. 

\bibitem{Khare2} C.~KHARE -- {\it On isomorphisms between deformation
and Hecke rings.} Work in progress. 

\bibitem{Langlands1} R.P.~LANGLANDS -- {\it Base change for $GL(2)$.}
Ann. of Math.\ Studies {\bf 96}, Princeton University Press,
Princeton, 1980. 

\bibitem{Manoharmayum1} J.~MANOHARMAYUM -- {\it Pairs of mod $3$ and
mod $5$ representations arising from elliptic curves.} Thesis,
Cambridge University, 1998. 

\bibitem{MB1} L.~MORET-BAILLY -- {\it Groupes de Picard et probl\`emes
de Skolem II.} Ann.\ Sci.\ ENS {\bf 22} (1989), 181--194. 

\bibitem{Noot1} R.~NOOT -- {\it Abelian varieties arising from
Mumford's Shimura curves.} Preprint, Rennes, 1997. 

\bibitem{Oesterle2} J.~OESTERL\'E -- {\it Nouvelles approches du
``th\'eor\`eme'' de Fermat.} S\'eminaire Bourbaki, 1987--88,
expos\'e~694, Ast\'erisque {\bf 161--162}, S.M.F.~(1988), 175--186. 

\bibitem{Oesterle1} J.~OESTERL\'E -- {\it Travaux de Wiles (et
Taylor,\ldots), partie~II.} S\'eminaire Bourbaki, 1994--95,
expos\'e~804, Ast\'erisque {\bf 237}, S.M.F.~(1996), 333--355. 

\bibitem{Ramakrishna1} R.~RAMAKRISHNA -- {\it On a variation of
Mazur's deformation functor.} Compositio Math.~{\bf 87} (1993),
269--286. 

\bibitem{Ramakrishna2} R.~RAMAKRISHNA -- {\it Lifting Galois
representations.} Invent.\ math. {\bf 138} (1999), 537--562. 

\bibitem{Ramakrishna3} R.~RAMAKRISHNA -- {\it Deforming Galois
representations and the conjectures of Serre and Fontaine-Mazur.}
Preprint. 

\bibitem{Ribet1} K.A.~RIBET, -- {\it On modular representations of
$\Gal(\Qbar/\QQ)$ arising {from} modular forms.}  Invent.\ math.~{\bf
100} (1990), 431--476.

\bibitem{Rubin1} K.~RUBIN -- {\it Modularity of mod 5
representations.} In \cite{Boston}, 463--474. 

\bibitem{Saito1} T.~SAITO -- {\it Modular forms and $p$-adic Hodge
theory.} Invent. math.~{\bf 129} (1997), 607--620. 

\bibitem{Serre2} J-P.~SERRE -- {\it Repr\'esentations $l$-adiques.}
Kyoto Int.\ Symposium on Algebraic Number Theory, Japan Soc. for the
Promotion of Science (1977), pp.~177--193, (Oeuvres, t.~III, pp.~384--400). 

\bibitem{Serre3} J-P.~SERRE -- {\it Sur les repr\'e\-sen\-ta\-ti\-ons
mo\-du\-laires de de\-gr\'e $2$ de $\Gal(\Qbar/\QQ)$.} Duke Math.\
J.~{\bf 54} (1987), 179--230.

\bibitem{Serre1} J-P.~SERRE -- {\it Travaux de Wiles (et
Taylor,\ldots), partie~I.} S\'eminaire Bourbaki, 1994--95,
expos\'e~803, Ast\'erisque {\bf 237}, S.M.F.~(1996), 319--332. 

%\bibitem{SW1} C.~SKINNER, A.~WILES -- {\it Ordinary representations
%and modular forms.} Proc.\ Nat.\ Acad.\ Sci.\ U.S.A.~{\bf 94} (1997),
%10520--10527. 

\bibitem{SW2} C.~SKINNER, A.~WILES -- {\it Residually reducible
representations and modular forms.} Preprint. To appear in Pub.\
Math.\ IHES. 

\bibitem{SW3} C.~SKINNER, A.~WILES -- {\it Base change and a problem
of Serre.} Preprint.

\bibitem{SW4} C.~SKINNER, A.~WILES -- {\it Nearly ordinary
deformations of irreducible residual representations.} Preprint.

\bibitem{ST} N.~SHEPHERD-BARRON, R.~TAYLOR -- {\it Mod $2$ and mod
$5$ icosahedral representations.} J.\ Amer.\ Math.\ Soc.~{\bf 10}
(1997), 281--332. 

\bibitem{Tate1} J.~TATE -- {\it $p$-divisible groups.} Proceedings of
a conference on local fields, (Driebergen, 1966), Springer, 1967,
158--183. 

\bibitem{Tate2} J.~TATE -- {\it Number theoretic background.}
Proceedings of Symposia in Pure Mathematics {\bf 33} (1979), part~2,
3--26. 

\bibitem{Taylor1} R.~TAYLOR -- {\it Icosahedral Galois
representations.} Pacific J.\ Math.: Special issue: Olga Taussky-Todd:
in memoriam (1997), 337--347.

\bibitem{Taylor2} R.~TAYLOR -- {\it Remarks on a conjecture of
Fontaine and Mazur.} \hfill \\ 
Preprint, \verb'http://www.math.harvard.edu/'

\bibitem{Taylor3} R.~TAYLOR -- {\it On icosahedral Artin 
representations II.} \hfill \\ 
Preprint, \verb'http://www.math.harvard.edu/'

\bibitem{TW} R.~TAYLOR, A.~WILES -- {\it Ring-theoretic properties of
certain Hecke algebras.} Ann.\ Math.~{\bf 141} (1995), 553--572.

\bibitem{Tunnell1} J.~TUNNELL -- {\it Artin's conjecture for
representations of octahedral type.} Bull.~A.M.S. {\bf 5} (1981),
173--175. 

\bibitem{Volkov1} M.~VOLKOV -- {\it Les repr\'esentations $l$-adiques
associ\'ees aux courbes elliptiques sur~$\QQ_p$.} Preprint,
\verb'http://www.math.uiuc.edu/Algebraic-Number-Theory/'

\bibitem{Weil1} A.~WEIL -- {\it Exercices dyadiques.} Invent.\
math.~{\bf 27} (1974), 1--22. 

\bibitem{Wiles1} A.~WILES -- {\it Modular elliptic curves and Fermat's
Last Theorem.} Ann.\ Math.~{\bf 141} (1995), 443--551.

\end{thebibliography}
\end{document}









