%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                              %
% visibility_of_sha.tex                                        %
%                                                              %
% Visibility of Shafarevich-Tate groups of Abelian Varieties   %
%                                                              %
% AUTHORS: William A. Stein and Amod Agashe.                   %
%                                                              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\documentclass[jnth, draft]{apjrnl}
\documentclass[jnth]{apjrnl}

\usepackage{amsmath}
\usepackage{amssymb}

\newcommand{\done}{{\bf [[DONE]]}}
\newcommand{\notdone}{{\bf [[NOT DONE!!!]]}}
\newcommand{\sM}{\boldsymbol{\mathcal{M}}}
\newcommand{\sS}{\boldsymbol{\mathcal{S}}}
\newcommand{\sB}{\boldsymbol{\mathcal{B}}}
\newcommand{\Adual}{A^{\vee}}
\newcommand{\Bdual}{B^{\vee}}
\newcommand{\defn}[1]{{\em #1}}
\newcommand{\an}{{\rm an}}
\newcommand{\e}{\mathbf{e}}
\DeclareFontEncoding{OT2}{}{} % to enable usage of cyrillic fonts
  \newcommand{\textcyr}[1]{%
    {\fontencoding{OT2}\fontfamily{wncyr}\fontseries{m}\fontshape{n}%
     \selectfont #1}}
\newcommand{\Sha}{{\mbox{\textcyr{Sh}}}}
\newcommand{\Shaan}{\Sha_{\mbox{\tiny \rm an}}}
\newcommand{\Gam}{\Gamma}
\newcommand{\cA}{\mathcal{A}}
\newcommand{\cAdual}{\mathcal{A}^{\vee}}
\newcommand{\cJ}{\mathcal{J}}
\newcommand{\h}{\mathfrak{h}}
\newcommand{\U}{\mathcal{U}}
\newcommand{\Kbar}{\overline{K}}
\newcommand{\q}{\mathbf{q}}
\newcommand{\union}{\cup}
\newcommand{\intersect}{\cap}
\newcommand{\cross}{\times}
\newcommand{\ra}{\rightarrow}
\newcommand{\la}{\leftarrow}
\newcommand{\alp}{\alpha}
\newcommand{\tensor}{\otimes}
\newcommand{\vphi}{\varphi}
\newcommand{\comment}[1]{}
\newcommand{\Q}{\mathbf{Q}}
\newcommand{\R}{\mathbf{R}}
\newcommand{\D}{{\mathbb D}}
\newcommand{\cC}{\mathcal{C}}
\newcommand{\K}{{\mathbb K}}
\newcommand{\C}{\mathbf{C}}
\newcommand{\Qbar}{\overline{\Q}}
\newcommand{\T}{\mathbf{T}}
\newcommand{\Z}{\mathbf{Z}}
\newcommand{\F}{\mathbf{F}}
\newcommand{\Fbar}{\overline{\F}}
\newcommand{\Fp}{\F_p}
\newcommand{\Ad}{Ad}
\newcommand{\A}{\mathcal{A}}
\newcommand{\isom}{\cong}
\newcommand{\ncisom}{\approx}
\newcommand{\cB}{\mathcal{B}}
\newcommand{\p}{\mathfrak{p}}
\newcommand{\m}{\mathfrak{m}}
\newcommand{\magma}{{\sc Magma}}
\renewcommand{\Re}{\mbox{\rm Re}}
\renewcommand{\L}{\mathcal{L}}
\renewcommand{\l}{\ell}
\renewcommand{\t}{\tau}
\renewcommand{\P}{\mathbf{P}}
\renewcommand{\O}{\mathcal{O}}
\renewcommand{\a}{\mathfrak{a}}
\DeclareMathOperator{\Ann}{Ann}
\DeclareMathOperator{\ch}{char}
\DeclareMathOperator{\coker}{coker}
\DeclareMathOperator{\Br}{Br}
\DeclareMathOperator{\Gal}{Gal}
\DeclareMathOperator{\Pic}{Pic}
\DeclareMathOperator{\Vis}{Vis}
\DeclareMathOperator{\Res}{Res}
\DeclareMathOperator{\id}{id}
\DeclareMathOperator{\ind}{ind}
\DeclareMathOperator{\new}{new}
\DeclareMathOperator{\op}{op}
\DeclareMathOperator{\tor}{tor}
\DeclareMathOperator{\SL}{SL}
\DeclareMathOperator{\Spec}{Spec}
\DeclareMathOperator{\Div}{Div}
\DeclareMathOperator{\res}{res}
\DeclareMathOperator{\Ker}{Ker}
\DeclareMathOperator{\GL}{GL}
\DeclareMathOperator{\ur}{ur}
\DeclareMathOperator{\Tr}{Tr}
\DeclareMathOperator{\Hom}{Hom}

%%%% Theoremstyles
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{conjecture}[theorem]{Conjecture}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{question}[theorem]{Question}

\theoremstyle{remark}
\newtheorem{goal}[theorem]{Goal}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{remarks}[theorem]{Remarks}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}

\numberwithin{equation}{section}

\usepackage[all]{xy}

\DeclareMathOperator{\Princ}{Princ}
\font\cyrbig=wncyr10 scaled \magstep 1
\newcommand{\BigSha}{\mbox{\cyrbig X}}

\title{Visibility of Shafarevich-Tate Groups of\\ Abelian Varieties}
\author{Amod Agashe
\\University of Texas
\\Austin, TX
\\{\tt agashe@math.utexas.edu}
\and
William Stein
\\Harvard University
\\Cambridge, MA
\\{\tt was@math.harvard.edu}
}
\date{\today}

\begin{document}
\UseTips
\maketitle

\begin{abstract}
We investigate Mazur's notion of visibility of elements of
Shafarevich-Tate groups of abelian varieties.  We give a proof that
every cohomology class is visible in a suitable abelian variety,
discuss the visibility dimension, and describe a construction of
visible elements of certain Shafarevich-Tate groups.  This
construction can be used to give some of the first evidence for the
Birch and Swinnerton-Dyer Conjecture for abelian varieties of large
dimension.  We then give examples of visible and invisible
Shafarevich-Tate groups.
\end{abstract}
\keywords{Visibility, Shafarevich-Tate Group, Birch and Swinnerton-Dyer Conjecture, Modular Abelian Variety}


\section*{Introduction}\label{sec:intro}
If a genus~$0$ curve~$X$ over~$\Q$ has a point in every local field
$\Q_p$ and in $\R$, then it has a global point over~$\Q$.  For
genus~$1$ curves, this ``local-to-global principle'' frequently fails.
For example, the nonsingular projective curve defined by the equation
$3x^3+4y^3+5z^3=0$ has a point over each local field and
$\R$, but has no $\Q$-point.  
The Shafarevich-Tate group of an elliptic curve~$E$, denoted 
$\Sha(E)$,  is a group that measures the extent to which a 
local-to-global principle fails for the genus one curves
with Jacobian~$E$.  More generally, if~$A$ is an abelian variety over
a number field~$K$, then the elements of
the Shafarevich-Tate group $\Sha(A)$ of~$A$ correspond to the
torsors for~$A$ that have a point everywhere locally, but not
globally.  In this paper, we study a geometric way of realizing (or
``visualizing'') torsors corresponding to elements of~$\Sha(A)$.

Let~$A$ be an abelian variety over a
field~$K$.  If $\iota: A\hookrightarrow J$ is
a closed immersion of abelian varieties, 
then the subgroup of $H^1(K,A)$ 
{\em visible in~$J$} (with respect to~$\iota$) is 
$\ker(H^1(K,A)\ra H^1(K,J))$.
We prove that every element of $H^1(K,A)$ is visible in
some abelian variety, and give bounds on the smallest size of an
abelian variety in which an element of $H^1(K,A)$ is visible.  
Next assume that~$K$ is a number field.  We give a construction of visible
elements of $\Sha(A)$, which we demonstrate by giving evidence for the
Birch and Swinnerton-Dyer conjecture for a certain $20$-dimensional
abelian variety.  We also give an example of an elliptic curve~$E$
over~$\Q$ of conductor~$N$ whose Shafarevich-Tate group is not 
visible in $J_0(N)$ but is visible in $J_0(N p)$ for some prime~$p$.

This paper is organized as follows.  Section~\ref{sec:defs} contains
the definition of visibility for cohomology classes and elements of
Shafarevich-Tate groups.  Then in 
Section~\ref{sec:torsors}, we use a restriction of
scalars construction to prove that every cohomology class is visible
in some abelian variety.  Next, in Section~\ref{sec:visdim}, we
investigate the visibility dimension of cohomology classes.
Section~\ref{sec:construction} contains a theorem that can be used to
construct visible elements of Shafarevich-Tate groups.  The final
section, Section~\ref{sec:examples}, contains examples and applications
of our visibility results in the context of modular abelian varieties.

\begin{acknowledge} 
We thank Barry Mazur for
his generous guidance, Brian Conrad for his extensive assistance,
Ralph Greenberg for suggesting the use of
restriction of scalars in Section~\ref{sec:torsors}, Fabrizio
Andreatta for suggesting that a semistability hypothesis was
unnecessary in Theorem~\ref{thm:shaexists},
and Loic Merel, Bjorn Poonen, and Ken Ribet for helpful conversations.
The first author would like to thank the Mathematical Sciences
Research Institute in Berkeley and the Institut des Hautes \'Etudes
Scientifiques in France, and the second author the Max Planck Institute
in Bonn, for their generous hospitality.  
\end{acknowledge}


\section{Visibility}\label{sec:defs}
In Section~\ref{sec:visdef} we introduce visible cohomology classes,
then in Section~\ref{sec:visshadef} we discuss visible elements of
Shafarevich-Tate groups.  In Section~\ref{sec:torsors}, we use
restriction of scalars to deduce that every cohomology class is
visible somewhere.

For a field~$K$ and a smooth commutative $K$-group scheme~$G$, we
write $H^i(K,G)$ to denote the group cohomology
$H^i(\Gal(K_s/K),G(K_s))$ where $K_s$ is a fixed separable closure
of~$K$; equivalently, $H^i(K,G)$ denotes the $i$th \'etale
cohomology of~$G$ viewed as an \'etale sheaf on
$\Spec(K)_{\mbox{\small\rm \'et}}$.

\subsection{Visible Elements of $H^1(K,A)$}
\label{sec:visdef}
In \cite{mazur:visthree}, Mazur introduced the following definition. 
Let~$A$ be an abelian variety over an arbitrary field~$K$.  


\begin{definition}
Let $\iota:A\hookrightarrow J$
be an embedding of~$A$ into an abelian variety~$J$ over~$K$.
Then the \defn{visible subgroup of $H^1(K,A)$ with respect 
to the embedding~$\iota$} is
        $$\Vis_J(H^1(K,A)) = \Ker(H^1(K,A)\ra{}H^1(K,J)).$$
\end{definition}
The visible subgroup $\Vis_J(H^1(K,A))$ depends on the choice of
embedding~$\iota$, but we do not include~$\iota$ in the notation, as
it is usually clear from context.

The Galois cohomology group $H^1(K,A)$ has a geometric interpretation
as the group of classes of torsors~$X$ for~$A$ (see~\cite{lang-tate}).
To a cohomology class $c\in H^1(K,A)$, there is a corresponding
variety~$X$ over~$K$ and a map $A\cross X \ra X$ that satisfies axioms
similar to those for a simply transitive group action.  The set of
equivalence classes of such~$X$ forms a group, the Weil-Chatelet group
of~$A$, which is canonically isomorphic to $H^1(K,A)$.

There is a close relationship between visibility and the geometric
interpretation of Galois cohomology.  Suppose $\iota: A\ra J$ is an
embedding and $c\in \Vis_J(H^1(K,A))$.  We have an exact sequence of
abelian varieties $0\ra A\ra J\ra C\ra 0$, where $C=J/A$.  A piece of
the associated long exact sequence of Galois cohomology is
$$0 \ra A(K) \ra J(K)\ra C(K) \ra H^1(K,A) \ra H^1(K,J) \ra \cdots,$$
so there is an exact sequence
\begin{equation}\label{eqn:vis}
  0  \ra J(K)/A(K) \ra C(K) \ra \Vis_J(H^1(K,A)) \ra 0.
\end{equation}
Thus there is a point $x\in C(K)$ that maps to~$c$.  The fiber~$X$
over~$x$ is a subvariety of~$J$, which, when equipped with its natural
action of~$A$, lies in the class of torsors corresponding to~$c$.
This is the origin of the terminology ``visible''.  Also, we remark
that when~$K$ is a number field, $\Vis_J(H^1(K,A))$ is finite 
because it is torsion 
and is the surjective image of the finitely generated group $C(K)$.



\subsection{Visible Elements of $\Sha(A)$}
\label{sec:visshadef}
Let~$A$ be an abelian variety over a number field~$K$. 
The Shafarevich-Tate group of~$A$, which is defined below,
measures the failure of the local-to-global principle for 
certain torsors.
The \defn{Shafarevich-Tate group} of $A$ is
  $$\Sha(A) := \Ker\left(H^1(K,A) \ra \prod_{v} H^1(K_v,A)\right),$$
where the product is over all places of~$K$.


\begin{definition}
If $\iota:A\hookrightarrow J$ is an embedding, then the 
{\em visible subgroup of $\Sha(A)$ with respect to~$\iota$} 
is
  $$\Vis_J(\Sha(A)) := \Sha(A) \intersect \Vis_J(H^1(K,A)) 
       = \Ker(\Sha(A)\ra \Sha(J)).$$
\end{definition}

\subsection{Every Element is Visible Somewhere}\label{sec:torsors}
\begin{proposition}\label{prop:allvisible}
Every element of $H^1(K,A)$ is visible in some abelian variety~$J$.
\end{proposition}
\begin{proof}
Fix $c\in H^1(K,A)$.  There is a finite separable extension~$L$ of~$K$ such 
that
$\res_L(c) = 0\in H^1(L,A)$.  Let $J=\Res_{L/K}(A_L)$ be the
Weil restriction of scalars from~$L$ to~$K$ of the abelian variety~$A_L$
(see \cite[\S7.6]{neronmodels}).  
Thus~$J$ is an abelian variety over~$K$ of dimension $[L:K]\cdot \dim(A)$,
and for any scheme~$S$ over~$K$, we have a natural (functorial)
group isomorphism $A_L(S_L)\isom{}J(S)$.
The functorial injection $A(S) \hookrightarrow A_L(S_L) \isom{}J(S)$
corresponds via Yoneda's Lemma to a natural $K$-group scheme
map $\iota:A \rightarrow J$, and by construction~$\iota$
is a monomorphism.  
But~$\iota$ is proper and thus
is a closed immersion (see \cite[\S8.11.5]{ega4_3}).
Using the Shapiro lemma one finds, after a tedious computation,  that
there is a canonical isomorphism 
$H^1(K,J)\isom H^1(L,A)$
which identifies $\iota_*(c)$ with $\res_L(c)=0$.
\end{proof}

\begin{remark}\mbox{}\vspace{-1ex}
\begin{enumerate}
\item 
In \cite{cremona-mazur}, de Jong gave a totally different proof
of the above proposition in the case when~$A$ is an elliptic
curve over a number field.   His argument actually displays~$A$
as visible inside the Jacobian of a curve.
\item
L.~Clozel has remarked that the method of proof above is a 
standard technique in the theory of algebraic groups.
\end{enumerate}
\end{remark}


\section{The Visibility Dimension}\label{sec:visdim}
Let~$A$ be an abelian variety over a field~$K$
and fix $c\in H^1(K,A)$.  

\begin{definition}
The {\em visibility dimension} of~$c$ is the
minimum of the dimensions of the abelian varieties~$J$
such that~$c$ is visible in~$J$. 
\end{definition}

In Section~\ref{sec:simple_bound} we prove an elementary lemma which,
when combined with the proof of Proposition~\ref{prop:allvisible},
gives an upper bound on the visibility dimension of~$c$ in terms of
the order of~$c$ and the dimension of~$A$.  Then, in
Section~\ref{sec:visdim1}, we consider the visibility dimension in the
case when~$A=E$ is an elliptic curve.  After summarizing the results
of Mazur and Klenke on the visibility dimension, we apply a theorem of
Cassels to deduce that the visibility dimension of $c\in \Sha(E)$ is
at most the order of~$c$.


\subsection{A Simple Bound}\label{sec:simple_bound}
The following elementary lemma, which the second author learned from
Hendrik Lenstra, will be used to give a bound on the visibility
dimension in terms of the order of~$c$ and the dimension of~$A$.
\begin{lemma}\label{lem:splitbound}
Let~$G$ be a group, ~$M$ be a finite (discrete) $G$-module, 
and $c \in H^1(G,M)$.  Then there is a subgroup $H$ of
$G$ such that $\res_H(c)=0$ and $\#(G/H) \leq \#M$.
\end{lemma}
\begin{proof}
Let $f:G \ra M$ be a cocycle corresponding to~$c$, so $f(\tau\sigma) =
f(\tau) + \tau f(\sigma)$ for all $\tau, \sigma\in G$.  Let $H =
\ker(f) = \{\sigma \in G : f(\sigma) = 0\}$.  The map $\tau H \mapsto
f(\tau)$ is a well-defined injection from the coset space $G/H$
to~$M$.
\end{proof}

The following is a general bound on the visibility dimension.
\begin{proposition}\label{prop:visdim}
The visibility dimension of any~$c\in H^1(K,A)$ 
is at most $d\cdot{}n^{2d}$
where~$n$ is the order of~$c$ and~$d$ is the dimension of~$A$.
\end{proposition}
\begin{proof}
The map $H^1(K,A[n])\ra H^1(K,A)[n]$ is surjective
and $A[n]$ has order $n^{2d}$, 
so
Lemma~\ref{lem:splitbound} implies that there is an extension~$L$
of~$K$ of degree at most $n^{2d}$ such that $\res_L(c)=0$.
The proof of Proposition~\ref{prop:allvisible} implies
that~$c$ is visible in an abelian variety of dimension 
$[L:K]\cdot \dim A\leq d n^{2d}$.
\end{proof}

\subsection{The Visibility Dimension for Elliptic Curves}
\label{sec:visdim1}
We now consider the case when $A=E$ is
an elliptic curve over a number field~$K$.
Mazur proved in \cite{mazur:visthree} that every nonzero $c\in
\Sha(E)[3]$ has visibility dimension~$2$ (note that
Proposition~\ref{prop:visdim} only implies that the visibility
dimension is $\leq 3$).  Mazur's result is particularly nice because it
shows that~$c$ is visible in an abelian variety that is isogenous to
the product of two elliptic curves.  Using similar techniques,
T.~Klenke proved in \cite{klenke:phd} that every nonzero $c\in
H^1(K,E)[2]$ has visibility dimension~$2$ (note that 
Proposition~\ref{prop:visdim} only implies that the visibility
dimension of any $c\in H^1(K,E)[2]$ is $\leq 4$). 	
It is unknown whether the visibility dimension of every nonzero element of
$H^1(K,E)[3]$ is~$2$, and it is not known whether elements of
$\Sha(E)[5]$ must have visibility dimension~$2$.

When~$c$ lies in $\Sha(E)$ we use a classical result of Cassels to
strengthen the conclusion of Proposition~\ref{prop:visdim}.  
\begin{proposition}\label{prop:visdimsha}
Let~$E$ be an elliptic curve over a number field~$K$
and let $c\in \Sha(E)$.  
Then the visibility dimension of~$c$
is at most the order of~$c$.
\end{proposition}
\begin{proof}
Let $n$ be the order of~$c$.
In view of the restriction of scalars construction in the proof of
Proposition~\ref{prop:allvisible}, it suffices to show that there is
an extension~$L$ of~$K$ of degree~$n$ such that $\res_L(c)=0$.
Without the hypothesis that~$c$ lies in $\Sha(E)$, such an
extension~$L$ might not exist, as Cassels observed in
\cite{cassels:arithmeticV}.  However, in that
same paper, Cassels proved that such
an~$L$ exists when $c\in \Sha(E)$
(see also \cite{coneil} for another proof).% (see the last remark in \S2).
\comment{
Let~$X$ be a genus one curve in the torsor class 
corresponding to~$c$.  The long exact sequence associated to
$$0\ra \Pic^0(X_{\Kbar}) \ra \Pic(X_{\Kbar})
        \xrightarrow{ \text{deg} } \Z\ra 0$$
begins
$$0\ra H^0(K,\Pic^0(X_{\Kbar})) \ra H^0(K,\Pic(X_{\Kbar}))
        \xrightarrow{ \text{deg} } \Z\xrightarrow{ \delta } H^1(K,E) \ra 
\cdots,$$
and $\delta(1)=c$ has order~$n$.
Letting $\Princ(X_{\Kbar})$ denote the principal divisors on $X_{\Kbar}$, 
we have an exact sequence
$$0\ra \Princ(X_{\Kbar}) \ra \Div(X_{\Kbar}) \ra \Pic(X_{\Kbar})\ra 0,$$
from which we obtain the exact sequence
$$\Div(X) \ra H^0(K,\Pic(X_{\Kbar})) \ra H^1(K,\Princ(X_{\Kbar})).$$
Since $\Princ(X_{\Kbar})=K(\overline{X})^*/\Kbar^*$, 
Hilbert's theorem 90 produces
an injection 
 $$H^1(K,\Princ(X_{\Kbar}))\hookrightarrow H^2(K,\Kbar^*)=\Br(K),$$
so 
$\coker(\Div(X)\ra H^0(K,\Pic(X_{\Kbar})))$  is
isomorphic to the image of $H^0(K,\Pic(X_{\Kbar}))$ in $\Br(K)$.
Because~$X$ has a point everywhere locally, this image is locally
zero; hence, by the local-to-global principle for the Brauer
group, this image is globally zero.  
In other words, every $K$-rational divisor class on~$X$ 
contains a $K$-rational divisor.

We now show that there is a point on~$X$ defined over an extension of degree
at most~$n$. Since $n\in \ker(\delta)$, there exists $D\in \Div(X)$ which maps
to $n \in \Z$ under the degree map.
By the Riemann-Roch theorem, there is an effective divisor linearly 
equivalent to~$D$.  Since this divisor is effective and of degree~$n$, 
each point in the support of~$D$ is defined over an extension~$L$ of~$K$
of degree at most~$n$ (alternatively, the residue field of each 
scheme-theoretic
point is of degree at most~$n$).  Thus the index of~$c$ is at most~$n$
(recall that $X(L)\neq \emptyset$ if and only if $\res_L(c)=0$).
This completes the proof because the order of~$c$, which is~$n$,
divides the index of~$c$, which is at most~$n$.
}
\end{proof}

\begin{remark}
In contrast to the case of dimension~$1$, it seems to be an open
problem to determine whether or not elements of $\Sha(A)[n]$ split
over an extension of degree~$n$.
\end{remark}


\section{Construction of Visible Elements}
\label{sec:construction}
The goal of this section is to state and prove
the main result of this paper, which we use to
construct visible elements of Shafarevich-Tate groups and
sometimes give a nontrivial lower bound for the order of the
Shafarevich-Tate group of an abelian variety, thus
providing new evidence for the conjecture of Birch and 
Swinnerton-Dyer (see Section~\ref{sec:exvissha389E} and
\cite{agashe-stein:shacomp}).  The Tamagawa numbers $c_{A,v}$ and $c_{B,v}$
will be defined in Section~\ref{sec:tamagawa} below.

\begin{theorem}\label{thm:shaexists}
Let~$A$ and~$B$ be abelian subvarieties of an abelian 
variety~$J$ over a number field~$K$ such that $A\intersect B$ is finite.
Let~$N$ be an integer divisible by the residue characteristics 
of primes of bad reduction for~$B$.
Suppose~$n$ is an integer such that for each prime $p\mid n$, 
we have $e_p<p-1$ where $e_p$ is 
the largest ramification of any
prime of~$K$ lying over~$p$, and that
$$\gcd\left(n, \,\,N \cdot \#(J/B)(K)_{\tor}\cdot\#B(K)_{\tor}\cdot
          \prod_{\text{\rm all places $v$}} \left(c_{A,v}\cdot c_{B,v}\right)\right)=1,$$
where $c_{A,v} = \#\Phi_{A,v}(\F_\ell)$  (resp., $c_{B,\ell}$)  is 
the Tamagawa number of~$A$ (resp., $B$) 
at~$v$ (see Section~\ref{sec:tamagawa} for the definition 
of $\Phi_{A,v}$).  Suppose furthermore that 
$B[n] \subset A$ as subgroup schemes of~$J$.
Then there is a natural map 
$$
    \vphi:B(K)/nB(K)\ra \Vis_J(\Sha(A)),
$$
such that $\ker(\vphi)\subset J(K)/(B(K)+A(K))$.
If $A(K)$ has rank~$0$, then $\ker(\vphi)=0$
(more generally, $\ker(\vphi)$ has order at
most $n^r$ where~$r$ is the rank of $A(K)$).
\end{theorem}

\begin{remark}
Mazur has proved similar results for elliptic curves
using flat cohomology (unpublished),
and discussions with him motivated this theorem.
\end{remark}

In Section~\ref{sec:tamagawa} we recall a definition of the Tamagawa
numbers of an abelian variety.  In Section~\ref{sec:divide_by_n} we
prove a lemma, which gives a condition under which there is an
unramified $n$th root of an unramified point.  In
Section~\ref{sec:visclasses}, we use the snake lemma to produce a map
$$
  B(K)/n B(K)\hookrightarrow \Vis_J(H^1(K,A))
$$ 
with bounded kernel.  Finally, in Section~\ref{sec:thmproof}, we
use a local analysis at each place of~$K$ to show that the 
image of the above map lies in $\Sha(A)$.

\subsection{Tamagawa Numbers}\label{sec:tamagawa}
Let~$A$ be an abelian variety over a local
field~$K$ with residue class field~$k$, 
and let $\cA$ be the N\'eron model of~$A$ over the ring
of integers of~$K$.  The closed fiber $\cA_{k}$ of $\cA$ need not be 
connected.
Let $\cA^0_k$ denote the geometric component of $\cA$
that contains the identity.  The group $\Phi_{\cA} = \cA_k /
\cA^0_k$ of connected components is a finite group scheme over~$k$.
This group scheme is called the {\em component group} of $\cA$,
and the {\em Tamagawa number} of~$A$ is $c_A = \#\Phi_{\cA}(k)$.

Now suppose that~$A$ is an abelian variety over a global field~$K$.
For every place~$v$ of~$K$, the {\em Tamagawa number} of~$A$ at~$v$,
denoted $c_{A,v}$ or just~$c_v$, is the Tamagawa number of $A_{K_v}$,
where $K_v$ is the completion of~$K$ at~$v$.


\subsection{Smoothness and Surjectivity}\label{sec:divide_by_n}
In this section, we recall some well-known lemmas that we will use in
Section~\ref{sec:thmproof} to produce unramified cohomology classes.
The authors are grateful to B.~Conrad for explaining the proofs of
these lemmas.

\begin{lemma}\label{lem:surj}
If~$G$ is a finite-type smooth commutative group scheme over a
strictly henselian local ring~$R$ and the fibers of~$G$ over~$R$ are
(geometrically) connected, then the multiplication map
$$n_G:G(R) \rightarrow G(R)$$
is {\em surjective} when $n \in R^{\times}$.
\end{lemma}
\begin{proof}
Pick an element $g \in G(R)$ and form the cartesian diagram
$$\xymatrix@=3pc{ 
Y_g \ar[rr]^{\psi}\ar[d] && {\Spec(R)}\ar[d]^{g}\\
G\ar[rr]^{n_G} && G}$$
We want to prove that $\psi$ has a section.
Since $R$ is strictly henselian, by \cite[18.8.1]{ega4_4}
it suffices to show that $Y_g$ is \'etale over $R$ with non-empty
closed fiber, or more generally that $n_G$ is \'etale and
surjective.

By Lemma~2(b) of \cite[\S7.3]{neronmodels},
$n_G$ is \'etale.
The image of the \'etale $n_G$ must be an open subgroup scheme, and on
fibers over $\Spec(R)$ we get surjectivity since an open subgroup
scheme of a smooth connected (hence irreducible)
group scheme over a field must fill up the whole 
space \cite[VI$_{\rm{A}}$,~0.5]{sga3.1}.
\end{proof}



\begin{lemma}\label{lem:roots}
Let~$A$ be an abelian variety over the fraction field~$K$ of a 
strictly henselian
dvr (e.g.,~$K$ could be the maximal unramified extension 
a local field).  
Let~$n$ be an integer not divisible by 
the residue characteristic of~$K$.
Suppose that~$x$ is a point of $A(K)$ whose reduction lands in the
identity component of the closed fiber of the N\'eron model
of~$A$. Then there exists $z\in A(K)$ such that $nz=x$.
\end{lemma}

\begin{proof}
Let $\cA$ denote the N\'eron model of $A$ over the
valuation ring $R$ of $K$, and let $\cA^0$ denote
the ``identity component'' (i.e., the open subgroup scheme
obtained by removing the non-identity components of
the closed fiber of $\cA$). The hypothesis on the reduction of
$x \in A(K) = \cA(R)$ says exactly that $x \in \cA^0(R)$.
Since connected schemes
over a field are geometrically connected
when there is a rational point \cite[Prop.~4.5.13]{ega4_2},
the fibers of $\cA^0$ over $\Spec(R)$ are
geometrically connected.
The lemma now follows from Lemma~\ref{lem:surj} with $G=\cA^0$.
\end{proof}

\begin{remark}
M. Baker noted that this argument can also be
formulated in terms of formal groups when~$R$ 
is the strict henselization of a {\em complete} dvr.
\end{remark}


\begin{lemma}\label{lem:smoothness}
Let $\cJ \stackrel{\phi}{\ra} \cC$ be a smooth surjective morphism of 
schemes over a strictly Henselian local ring~$R$.  Then the 
induced map $\cJ(R) \ra \cC(R)$ is surjective.
\end{lemma}

\begin{proof}
The argument is similar to that of the proof of Lemma~\ref{lem:surj}. 
Pick an element $g \in \cC(R)$ and form the cartesian diagram
$$\xymatrix@=3pc{ 
Y_g \ar[rr]^{\psi}\ar[d] && {\Spec(R)}\ar[d]^{g}\\
\cJ \ar[rr]^{\phi} && \cC}$$
We want to prove that~$\psi$ has a section.
Since $\phi$ is smooth, $\psi$ is also smooth.
By \cite[18.5.17]{ega4_4}, to show that $\psi$ has a section,
we just need to show that the closed fiber of~$\psi$ has 
a section (i.e., a rational point). But this closed fiber
is smooth and non-empty (since $\phi$ is surjective); also
its base field is separably closed since $R$ is strictly Henselian.
Hence by 
\cite[Cor.~2.2.13]{neronmodels}, the closed fiber has 
an $R$-rational point.
\end{proof}

\subsection{Visible Elements of $H^1(K,A)$}
\label{sec:visclasses}
In this section, we produce a map 
$B(K)/n B(K)\ra \Vis_J(H^1(K,A))$ 
with bounded kernel.
\begin{lemma}\label{lemma:visibility_map}
Let~$A$ and~$B$ be abelian subvarieties of an abelian 
variety~$J$ over a number field~$K$ such that $A\intersect B$ is finite.
Suppose~$n$ is a natural number such that
    $$\gcd\left(n,\,\,\#(J/B)(K)_{\tor}\cdot\#B(K)_{\tor}\right) = 1$$
and $B[n] \subset A$ as subgroup schemes of~$J$.
Then there is a natural map 
         $$\vphi:B(K)/nB(K)\ra \Vis_J(H^1(K,A))$$
such that $\ker(\vphi)\subset J(K)/(B(K)+A(K))$.
If $A(K)$ has rank~$0$, then $\ker(\vphi)=0$
(more generally, $\ker(\vphi)$ has order at
most $n^r$ where~$r$ is the rank of $A(K)$).
\end{lemma}
\begin{proof}
First we produce a map $\vphi:B(K)/n B(K) \ra \Vis(H^1(K,A))$ by
using that $B[n]\subset A$ hence a certain map factors
through multiplication by~$n$.  Then we use the snake lemma
and our hypothesis that~$n$ does not divide the orders of certain
torsion groups to bound the dimension of the kernel of~$\vphi$.

The quotient $J/A$ is an abelian variety~$C$ over~$K$.  The long exact
sequence of Galois cohomology associated to the short exact sequence
$$0 \ra A \ra J \ra C \ra 0$$ 
begins
\begin{equation}\label{eqn:les}
0\ra A(K) \ra J(K) \ra C(K) \xrightarrow{\,\delta\,}
          H^1(K,A) \ra \cdots.
\end{equation}
Let~$\psi$ be map $B\ra C$ obtained by composing
the inclusion $B\hookrightarrow J$ with the quotient map $J\ra C$.
Since $B[n]\subset A$, we see that~$\psi$ factors through 
multiplication by~$n$, so the following diagram commutes:
$$\xymatrix{
& B\ar[d]\ar[dr]^{\psi} \ar[r]^{n}& B\ar[d]\\
A\ar[r]&J\ar[r]&C.}$$
Using that $B[n](K)=\{0\}$, we 
obtain the following commutative diagram, all 
of whose rows and columns are exact:
\begin{equation}\label{eqn:bigcd}
\xymatrix{
         & K_0\ar[d] & K_1\ar[d]& K_2\ar[d]\\
0 \ar[r] & B(K) \ar[r]^{n}\ar[d] & B(K)\ar[dr]^{\pi} \ar[r]\ar[d]
         & B(K)/nB(K)\ar[r]\ar[d]^{\vphi}  & 0\\
0 \ar[r] & J(K)/A(K)\ar[r]\ar[d] & C(K) \ar[r] & \delta(C(K)) \ar[r] & 0\\
         & K_3,
}
\end{equation}
where $K_0$, $K_1$ and $K_2$ are the indicated kernels and $K_3$ is the 
indicated cokernel.  Exactness of the top row expresses the fact that
$B[n](K)=\{0\}$, and the bottom exact row arises from the exact sequence 
(\ref{eqn:les}) above.  The first vertical map $B(K)\ra J(K)/A(K)$ is induced
by the inclusion $B(K)\hookrightarrow J(K)$ composed with the quotient map
$J(K)\ra J(K)/A(K)$.   The second vertical map $B(K)\ra C(K)$ 
exists because the composition $B\hookrightarrow J\ra C$ has kernel 
$B\intersect A$, which contains $B[n]$, by assumption. 
The third vertical map exists because~$\pi$
contains $nB(K)$ in its kernel, so that~$\pi$ factors through 
$B(K)/nB(K)$.

The sequence (\ref{eqn:vis}) on page~\pageref{eqn:vis} implies
that the image of~$\vphi$ is contained in $\Vis_J(H^1(K,A))$.
The snake lemma gives an exact sequence
  $$K_0\ra K_1 \ra K_2 \ra K_3.$$
Because $B\ra C$ has finite kernel, $K_1\subset B(K)_{\tor}$.
Since $B[n](K)=\left\{0\right\}$ and $K_2$ is an $n$-torsion group, the map
$K_1\ra K_2$ is the~$0$ map.
Thus $K_2=\ker(\vphi)$ is isomorphic to a subgroup of
$K_3=J(K)/(A(K)+B(K))$, as claimed.

Any torsion in the quotient
$J(K)/B(K)$ is of order coprime to~$n$ because
$J(K)/B(K)$ is a subgroup  of $(J/B)(K)$, and
$\gcd(n,\#(J/B)(K)_{\tor})=1$, by assumption.
Thus if $A(K)$ is a torsion group, 
$K_3 = (J(K)/B(K))/A(K)$ has no nontrivial
torsion of order dividing~$n$, so when $A(K)$ has
rank zero, $\ker(\vphi)=0$.

Consider the map $\psi: A(K) \ra J(K)/B(K)$. To show that
$\ker(\phi)$ has order at most~$n^r$, where $r$ is the rank
of~$A(K)$, it suffices to show that $\coker(\psi)[n]$ has
order at most~$n^r$. To prove the latter statement, 
by the structure theorem for finite abelian groups, 
it suffices to prove it for the case when $n$ is a power of a prime.
Moreover, we may assume that
$A(K)$ and $J(K)/B(K)$ have no prime-to-$n$ torsion.
Then $J(K)/B(K)$ is in fact torsion-free,
and so we may also assume $A(K)$ is torsion-free.
With these assumptions, the statement we want to prove
follows easily by elementary group-theoretic arguments 
(in particular, by considering of the Smith normal form of the
matrix representing~$\psi$).
\end{proof}

\subsection{Proof of Theorem~\ref{thm:shaexists}}
\label{sec:thmproof}
\begin{proof}[Proof of Theorem~\ref{thm:shaexists}]
The proof proceeds in two steps.  The first step is to use the
hypothesis that $B[n]\subset A$ to produce a map $B(K)/n B(K)\ra
\Vis_J(H^1(K,A))[n]$.
This was done in Section~\ref{sec:visclasses}.
The second step is to perform a local analysis at each place~$v$
of~$K$ in order to prove that the image of this map consists of
locally-trivial cohomology classes.  We divide this local analysis 
into three cases:  
\begin{enumerate}
\item When~$v$ is real archimedian, we use that $\gcd(2,n)=1$.  
(We know that for any $p\mid n$ we have
$p>2$ because $1\leq e_p<p-1$, by assumption.)
\item When $\gcd(\ch(v),n)=1$, we use the result of 
Section~\ref{sec:divide_by_n} and a relationship between unramified
cohomology and the cohomology of a component group.
\item When $\gcd(\ch(v),n)\neq 1$, for each prime $p\mid n$, 
the reduction of~$J$ is abelian 
and by hypothesis $e_p < p-1$, so we can apply an exactness theorem 
from \cite{neronmodels}.
\end{enumerate}


We now deduce that the image of $B(K)/n B(K)$ in $H^1(K,A)$ lies in
$\Sha(A)$.  Fix an element $x\in B(K)$.  To show that $\pi(x)\in
\Sha(A)$, it suffices to show that $\res_v(\pi(x))=0$ for all
places~$v$ of~$K$.
\vspace{1ex}

{\bf Case 1. $\mathbf{v}$ real archimedian:} 
At a real archimedian place~$v$,
the restriction $\res_v(\pi(x))$ is killed by~$2$ and the odd~$n$, 
hence $\res_v(\pi(x))=0$.
\vspace{2ex}

{\bf Case 2.} $\gcd(\ch(v),n)=1$:
Suppose that $\gcd(\ch(v),n)=1$.
Let $m=c_{B,v}= \Phi_{B,v}(\F_v)$ be the Tamagawa
number of~$B$ at~$v$.
The reduction of $m x$ lies in the identity component
of the closed fiber $\cB_{\F_v}$ 
of the N\'eron model of~$B$ 
at~$v$,  so by Lemma~\ref{lem:roots}, 
there exists $z \in B(K_v^{\ur})$ such that $n z= m x$.
Thus the cohomology class $\res_v(\pi(m x))$
is defined by a cocycle that sends 
$\sigma \in \Gal(\overline{K_v}/K_v)$ to $\sigma(z) - z 
\in A(K_v^{\ur})$
(see diagram (\ref{eqn:bigcd}) for the definition of~$\pi$).
In particular, $\res_v(\pi(m x))$ is unramified at~$v$.
By \cite[Prop.~3.8]{milne:duality}, 
$$H^1(K_v^{\ur}/K_v,A(K_v^{\ur}))
  =H^1(K_v^{\ur}/K_v,\Phi_{A,v}(\Fbar_v)),$$
where $\Phi_{A,v}$ is the component group of~$A$ at~$v$.
The Herbrand quotient of a finite module is~$1$ (see, e.g., 
\cite[VIII.4.8]{serre:localfields}), so
$$\#\Phi_{A,v}(\F_v) = \#H^1(K_v^{\ur}/K_v,\Phi_{A,v}(\Fbar_v)).$$
Thus the order of $\res_v(\pi(m x))$ divides both
$\#\Phi_{A,v}(\F_v)$ and~$n$.  Since by assumption
$\gcd(\#\Phi_{A,v}(\F_v), n)=1$, it follows that
$\res_v(\pi(m x))=0$, hence $m\res_v(\pi(x))=0$.
Again, since the order of $\pi(x)$ divides~$n$, 
and $\gcd(n,m)=1$, we have $\res_v(\pi(x))=0$. 
\vspace{2ex}



{\bf Case 3.} $\gcd(\ch(v),n)=p\neq 1$:
Suppose that $\ch(v)=p\mid n$.  
Let~$R$ be the ring of integers of~$K_v^{\ur}$, 
and let $\cA$, $\cJ$, and $\cC$ be the 
N\'eron models of~$A$,~$J$, and~$C$, respectively.
Since $e_p<p-1$ and~$J$ has abelian reduction at~$v$ (since $p\nmid N$), 
by \cite[Thm.~7.5.4(iii)]{neronmodels}, 
the induced sequence 
$0\ra \cA\ra\cJ\stackrel{\phi}{\ra} \cC\ra 0$
is exact,
which means that~$\phi$ is faithfully flat 
and surjective with scheme-theoretic 
kernel $\cA$. Since $\phi$ is faithfully flat with smooth kernel,~$\phi$ 
is smooth (see, e.g., \cite[2.4.8]{neronmodels}).
By Lemma~\ref{lem:smoothness}, 
$\cJ(R) \ra\cC(R)$ is a surjection; i.e., 
$J(K_v^{\ur}) \ra C(K_v^{\ur})$ is a surjection.

So $\res_v(\pi(x))$ is 
unramified, and again by
\cite[Prop.~3.8]{milne:duality},
 $$H^1(K_v^{\ur}/K_v,A) \isom H^1(K_v^{\ur}/K_v,\Phi_{A,v}(\Fbar_v)).$$
But $H^1(K_v^{\ur}/K_v,\Phi_{A,v}(\Fbar_v))=\{0\}$,
since $\Phi_{A,v}(\Fbar_v)$ is trivial,
as~$A$ has good reduction at~$v$ (because $p\nmid N$).
Thus $\res_v(\pi(x))=0$.
\end{proof}



\section{Some Examples}
\label{sec:examples}

This section contains some examples of visible and invisible elements of
Shafarevich-Tate groups.  
Section~\ref{sec:exvissha389E} uses Theorem~\ref{thm:shaexists} to
produce nontrivial visible elements of $\Sha(A)$, where~$A$ is a
$20$-dimensional modular abelian variety, thus giving evidence for the
BSD conjecture.  In Section~\ref{sec:exinvissha_higherlevel} we show
that an invisible Shafarevich-Tate group from \cite{cremona-mazur}
becomes visible at a higher level.  

In~\cite{agashe-stein:shacomp}, we describe the notation used below
(which is standard) and the algorithms that we used to carry out the
computations described below. We also report on a large number of
similar computations, which were performed using the
second author's modular symbols package, which is part of 
\magma{} (see \cite{magma}).

\subsection{Visibility in an Abelian Variety of Dimension~$20$}
\label{sec:exvissha389E}
Using the methods described in~\cite{agashe-stein:shacomp},
we find that $S_2(\Gamma_0(389))$ contains exactly five Galois-conjugacy
classes of newforms, and these are defined over extensions of~$\Q$ of
degrees $1$, $2$, $3$, $6$, and $20$.  Thus $J=J_0(389)$ decomposes,
up to isogeny, as a product $A_1\cross A_2 \cross A_3\cross A_6 \cross
A_{20}$ of abelian varieties, where $d=\dim A_d$ and $A_d$ is the
quotient corresponding to the appropriate Galois-conjugacy class 
of newforms.

Next we consider the arithmetic of each $A_d$. 
Using~\cite{agashe-stein:shacomp}, we find that 
        $$L(A_1,1)=L(A_2,1)=L(A_3,1)=L(A_6,1)=0,$$ 
and
$$\frac{L(A_{20},1)}{\Omega_{A_{20}}} = \frac{5^2\cdot 2^?}{97},$$
where $2^?$ is a power of~$2$.
Using~\cite{agashe-stein:shacomp}, we find that $\#A_{20}(\Q) = 97$ and
the Tamagawa number of $A_{20}$ at $389$ is also $97$.
The BSD Conjecture then 
predicts that $\#\Sha(A_{20}) = 5^2\cdot 2^?$.
The following proposition provides support for this conjecture.

\begin{proposition}\label{prop:389}
There is an inclusion
$$(\Z/5\Z)^2 \isom A_1(\Q)/5 A_1(\Q) 
       \hookrightarrow \Vis_{J}(\Sha(A_{20}^{\vee})).$$
\end{proposition}
\begin{proof}
Let $A=A_{20}^{\vee}$, $B=A_{1}^{\vee}=A_1$
and $J=A+B\subset J_0(389)$.
Using algorithms in \cite{agashe-stein:shacomp}, 
we find that $A\intersect B \isom (\Z/4)^2\cross
(\Z/5\Z)^2$, so $B[5] \subset A$.  Since~$5$ does not divide the
numerator of $(389-1)/12$, it does not divide the Tamagawa numbers or
the orders of the torsion subgroups of $A$, $B$, $J$, and $J/B$
(we also verified this using a modular symbols computations), so
Theorem~\ref{thm:shaexists} implies that there
is an injective map 
$$A_1(\Q)/5 A_1(\Q) 
       \hookrightarrow \Vis_{J}(\Sha(A_{20}^{\vee}).$$
To finish, note that Cremona \cite{cremona:algs} has verified that
$A_1(\Q) \ncisom \Z\cross\Z$.
\end{proof}

\subsection{Invisible Elements that Becomes Visible at Higher Level}
\label{sec:exinvissha_higherlevel}
Consider the elliptic curve~$E$ of conductor $5389=17\cdot 317$ 
defined by the equation
       $$y^2+xy+y =x^3 - 35590x-2587197.$$
In \cite{cremona-mazur}, Cremona and Mazur observe that
the BSD conjecture implies that $\#\Sha(E)=9$,
but they find that $\Vis_{J_0(5389)}(\Sha(E)[3])=\{0\}$.
We will now verify, without assuming any conjectures, 
that $9\mid \#\Sha(E)$ and 
that these $9$ elements of $\Sha(E)$
are visible in $J_0(5389\cdot 7)$.
%in the sense that
%their images in the image of~$E$ in $J_0(5389\cdot 7)$ are
%visible in $J_0(5389\cdot 7)$.


First note that the mod~$3$ representation
$\rho_{E,3}$ attached to~$E$ is irreducible because~$E$ 
is semistable and admits no $3$-isogeny (according
to \cite{cremona:onlinetables}).
The newform attached to~$E$ is
 $$f_E = q + q^2 - 2q^3 - q^4 + 2q^5 - 2q^6 - 2q^7 + \cdots,$$
and
$a_7^2 = (-2)^2 \equiv (7+1)^2 \pmod{3}$, 
so Ribet's level-raising theorem~\cite{ribet:raising} 
implies that there is a newform~$g$ of 
level $7\cdot 5389$ that is congruent modulo~$3$ to~$f_E$.
This observation led us to the following proposition.
\begin{proposition}
Map~$E$ to $J_0(7\cdot 5389)$ by the sum of the two maps
on Jacobians induced by the two degeneracy maps
$X_0(7\cdot 5389) \ra X_0(5389)$.
The image $E'$ of $E$ in $J_0(7\cdot 5389)$ is 
$2$-isogenous to~$E$ and
 $$(\Z/3\Z)^2 \subset \Vis_{J_0(7\cdot 5389)}(\Sha(E')).$$
\end{proposition}
\begin{proof}
It is easy to see from the discussion in \cite{ribet:raising} that the
kernel of the sum of the two degeneracy maps $J_0(5389) \ra J_0(7\cdot
5389)$ is a group of $2$-power order, so $E'$ is isogenous to~$E$ via
an isogeny of degree a power of~$2$.

Consider the elliptic curve~$F$ defined by 
$y^2 - y = x^3 + x^2 + 34x - 248$.
Using Cremona's programs {\tt tate} and {\tt mwrank} we find that~$F$ 
has conductor $7\cdot 5389$, and that $F(\Q) \isom \Z\cross\Z$.
The Tamagawa numbers of~$F$ at $7$, $17$, and $317$ are
$1$, $2$, and $1$, respectively.
The newform attached to~$F$ is
$$f_F = q - 2q^2 + q^3 + 2q^4 - q^5 - 2q^6 - q^7 + \cdots$$ and, by
\cite{sturm:cong}, we prove that $f_E(q) + f_E(q^7) \equiv f_F\pmod{3}$ by
checking this congruence for the first
$7632=[\SL_2(\Z):\Gamma_0(7\cdot 5389)]/6$ terms.
Since $2\leq k < 3$ and $3\nmid 7\cdot 5389$, the first part of
the multiplicity one theorem of \cite[\S9]{edixhoven:weight}
implies that $F[3] = E'[3]$.

Finally, we apply Theorem~\ref{thm:shaexists} with $A=E'$, $B=F$,
$J=A+B\subset J_0(7\cdot 5389)$, $N=7\cdot 5389$, and $n=3$.  It
is routine to check the hypothesis.  For example,
the hypothesis that $J/B$ has no $\Q$-rational $3$-torsion
can be checked as follows. 
Cremona's online tables imply that~$E$ admits no $3$-isogeny,
so $E[3]$ is irreducible.  Since $J/B$ is isogenous to~$E$,
the representation $(J/B)[3]$ is also irreducible, so $(J/B)(\Q)[3]=\{0\}$.
Thus, by Theorem~\ref{thm:shaexists}, we have
  $(\Z/3\Z)^2 \subset \Vis_J(\Sha(E')).$
To finish the proof, note that
$
   \Vis_J(\Sha(E')) \subset \Vis_{J_0(7\cdot 5389)}(\Sha(E')).
$
\end{proof}
Since $E'$ is $2$-isogenous to~$E$ and $9\mid \#\Sha(E')$, it
follows that $9\mid \#\Sha(E)$, as predicted by the 
BSD conjecture.



\begin{thebibliography}{BCP97}

\bibitem[AS02]{agashe-stein:shacomp} A.~Agashe and
W.\thinspace{}A. Stein, \emph{{V}isible {E}vidence for the {B}irch and
{S}winnerton-{D}yer {C}onjecture for {R}ank~$0$ {M}odular 
{A}belian {V}arieties}, Preprint.

\bibitem[BCP97]{magma}
W.~Bosma, J.~Cannon, and C.~Playoust, \emph{The {M}agma algebra system. {I}.
  {T}he user language}, J. Symbolic Comput. \textbf{24} (1997), no.~3-4,
  235--265, Computational algebra and number theory (London, 1993).

\bibitem[BLR90]{neronmodels}
S.~Bosch, W.~L{\"u}tkebohmert, and M.~Raynaud, \emph{N\'eron models},
  Springer-Verlag, Berlin, 1990.

\bibitem[Cas63]{cassels:arithmeticV}
J.\thinspace{}W.\thinspace{}S. Cassels, \emph{Arithmetic on curves of genus 1.
  {V}. {T}wo counterexamples}, J. London Math. Soc. \textbf{38} (1963),
  244--248.


\bibitem[CM00]{cremona-mazur}
J.\thinspace{}E. Cremona and B.~Mazur, \emph{Visualizing elements in the
  {S}hafarevich-{T}ate group}, Experiment. Math. \textbf{9} (2000), no.~1,
  13--28.

\bibitem[Cre]{cremona:onlinetables}
J.\thinspace{}E. Cremona, \emph{Elliptic curves of conductor \protect{$\leq
  12000$},\hfill\\ {\tt http://www.maths.nott.ac.uk/personal/jec/ftp/data/}}.

\bibitem[Cre97]{cremona:algs}
J.\thinspace{}E. Cremona, \emph{Algorithms for modular elliptic curves}, 
second
  ed., Cambridge University Press, Cambridge, 1997.

\bibitem[Edi92]{edixhoven:weight}
B.~Edixhoven, \emph{The weight in \protect{S}erre's conjectures on modular
  forms}, Invent. Math. \textbf{109} (1992), no.~3, 563--594.

\bibitem[Gro65]{ega4_2}
A.~Grothendieck, \emph{\'{E}l\'ements de g\'eom\'etrie alg\'ebrique. {I}{V}.
  \'{E}tude locale des sch\'emas et des morphismes de sch\'emas. {I}{I}}, 
Inst.
  Hautes \'Etudes Sci. Publ. Math. (1965), no.~24, 231.

\bibitem[Gro66]{ega4_3}
A.~Grothendieck, \emph{\'{E}l\'ements de g\'eom\'etrie alg\'ebrique. {I}{V}.
  \'{E}tude locale des sch\'emas et des morphismes de sch\'emas. {I}{I}{I}},
  Inst. Hautes \'Etudes Sci. Publ. Math. (1966), no.~28, 255.

\bibitem[Gro67]{ega4_4}
A.~Grothendieck, \emph{\'{E}l\'ements de g\'eom\'etrie alg\'ebrique. {I}{V}.
  \'{E}tude locale des sch\'emas et des morphismes de sch\'emas {I}{V}}, Inst.
  Hautes \'Etudes Sci. Publ. Math. (1967), no.~32, 361.

\bibitem[Gro70]{sga3.1}
A.~Grothendieck, \emph{Sch\'emas en groupes. {I}: {P}ropri\'et\'es
  g\'en\'erales des sch\'emas en groupes}, Springer-Verlag, Berlin, 1970.

\bibitem[Kle01]{klenke:phd}
T.~Klenke, \emph{Modular {V}arieties and {V}isibility}, Ph.D. thesis, Harvard
  University (2001).

\bibitem[LT58]{lang-tate}
S.~Lang and J.~Tate, \emph{Principal homogeneous spaces over abelian
  varieties}, Amer. J. Math. \textbf{80} (1958), 659--684.

\bibitem[Maz99]{mazur:visthree}
B.~Mazur, \emph{Visualizing elements of order three in the 
{S}hafarevich-{T}ate
  group}, Asian J. Math. \textbf{3} (1999), no.~1, 221--232.

\bibitem[Mil86]{milne:duality}
J.\thinspace{}S. Milne, \emph{Arithmetic duality theorems}, Academic Press
  Inc., Boston, Mass., 1986.

\bibitem[O'N01]{coneil}
C.~O'Neil, \emph{The period-index obstruction for elliptic curves}, to appear
in Journal of Number Theory.

\bibitem[Rib90]{ribet:raising}
K.\thinspace{}A. Ribet, \emph{Raising the levels of modular representations},
  S\'eminaire de Th\'eorie des Nombres, Paris 1987--88, Birkh\"auser Boston,
  Boston, MA, 1990, pp.~259--271.

\bibitem[Ser79]{serre:localfields}
J-P. Serre, \emph{Local fields}, Springer-Verlag, New York, 1979, Translated
  from the French by Marvin Jay Greenberg.

\bibitem[Ste00]{stein:phd}
W.\thinspace{}A. Stein, \emph{Explicit approaches to modular abelian
  varieties}, Ph.D. thesis, University of California, Berkeley (2000).

\bibitem[Stu87]{sturm:cong}
J.~Sturm, \emph{On the congruence of modular forms}, Number theory (New York,
  1984--1985), Springer, Berlin, 1987, pp.~275--280.
 
\end{thebibliography}
\end{document}

