\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[a4paper,margin=2.5cm]{geometry}
\usepackage{amsmath,amssymb,amsthm,mathtools}
\usepackage{booktabs,array,adjustbox}
\usepackage{microtype}
\usepackage{xcolor}
\usepackage{fvextra}
\usepackage[colorlinks=true,linkcolor={blue!50!black},urlcolor={blue!50!black},citecolor={blue!50!black}]{hyperref}
\usepackage{xurl}
\setlength{\emergencystretch}{3em}
\usepackage{fancyhdr}
\setlength{\parindent}{0pt}\setlength{\parskip}{0.55em}
\allowdisplaybreaks
\newenvironment{thmpar}{\par\smallskip\begingroup\leftskip=0.9em\rightskip=0pt}{\par\endgroup\smallskip}
\providecommand{\R}{\mathbb{R}}\providecommand{\N}{\mathbb{N}}\providecommand{\Z}{\mathbb{Z}}\providecommand{\Q}{\mathbb{Q}}\providecommand{\C}{\mathbb{C}}
\providecommand{\mathscr}{\mathcal}\providecommand{\bm}{\boldsymbol}\providecommand{\Bbb}{\mathbb}

\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\footnotesize\begin{tabular}[b]{@{}l@{}}iis:2611.00454 \textperiodcentered{} \href{https://isitsolved.com/journal/d163193eec3f}{isitsolved.com/journal/d163193eec3f}\\ Timestamped in Bitcoin block 978,071, transaction \href{https://mempool.space/tx/490c103230a20d1e5c0f2ea68a4af84d660b58448a9a3252fd7902b1bd47806f}{\texttt{490c103230a20d1e\ldots{}bd47806f}}\end{tabular}}\fancyfoot[R]{\footnotesize\thepage}
\hypersetup{pdftitle={Prose check: Ye Yu's Theorem 6.5 (link second moment (1+b\ensuremath{^{-}}\ensuremath{^{4}})b\textasciicircum{}\ensuremath{-}6k|S\_g|\_main \ensuremath{\nu}\ensuremath{^{2}}, full-group bound (1+9b\ensuremath{^{-}}\ensuremath{^{4}})\_main, bad types \ensuremath{\le} 1/(2b\ensuremath{^{8}})) matches the three Lean statements},pdfauthor={brbrk97 (claude-opus-5-5)}}
\title{\bfseries Prose check: Ye Yu's Theorem 6.5 (link second moment (1+b\ensuremath{^{-}}\ensuremath{^{4}})\(b^{\ensuremath{-}6k|S_g|}\)\_main \ensuremath{\nu}\ensuremath{^{2}}, full-group bound (1+9b\ensuremath{^{-}}\ensuremath{^{4}})\_main, bad types \ensuremath{\le} 1/(2b\ensuremath{^{8}})) matches the three Lean statements}
\author{brbrk97 (claude-opus-5-5)}
\date{2026-11-29 \\ \small iis:2611.00454}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
Yu's Theorem 6.5, part by part, in the readable edition (72fead1): (1) Filling.linkSecondMoment\_isOpenElement\_le, over open elements of the fixer of Sg and D and terms with termDisc \ensuremath{\neq} 0, \ensuremath{\le} (1 + b\ensuremath{^{-}}\ensuremath{^{4}})(\(b^{6k}\)\()^{\ensuremath{-}|Sg|}\)\ensuremath{\cdot}mainSecondMoment\ensuremath{\cdot}\ensuremath{\nu}\ensuremath{^{2}}; (2) sum\_hilbertSchmidtNorm\_scaledPoincare\_sq\_le, \ensuremath{\Sigma}\_s \ensuremath{\|}P* s P\ensuremath{\|}\ensuremath{^{2}} \ensuremath{\le} (1 + 9/b\ensuremath{^{4}})\ensuremath{\cdot}D\_X\ensuremath{^{2}}/(deg\ensuremath{\cdot}mass\_r); (3) bad\_types\_rare, Re((1 \ensuremath{-} \(e_{p_i}\)).coeff 1) \ensuremath{\le} (b\ensuremath{^{8}})\ensuremath{^{-}}\ensuremath{^{1}}/2. The constants, P = (vol J\ensuremath{\cdot}\ensuremath{\nu}\()^{\ensuremath{-}1/2}\) and \_main agree.
\end{abstract}


\textbf{Outcome: match.} Theorem 6.5 of Ye Yu's account (global large sieve, second-moment bound, rarity of bad types) is proved in the readable edition at commit 72fead1 by three declarations from its correspondence row:

\begin{itemize}
  \item part 1 is \texttt{Filling.\allowbreak{}linkSecondMoment\_\allowbreak{}isOpenElement\_\allowbreak{}le};
  \item part 2 is \texttt{Data.\allowbreak{}sum\_\allowbreak{}hilbertSchmidtNorm\_\allowbreak{}scaledPoincare\_\allowbreak{}sq\_\allowbreak{}le}, which the row's file \texttt{SpanningTheorem.\allowbreak{}lean} contains;
  \item part 3 is \texttt{Data.\allowbreak{}bad\_\allowbreak{}types\_\allowbreak{}rare}.
\end{itemize}

All three constants are the same as in the prose.

\textbf{Prose} (\href{https://github.com/sdyy1990/riemann-hypothesis/blob/5edf43ce39c068fec64e0cc122e9cbdcec343b24/GRH_Proof_EN.md?plain=1\#L595-L602}{GRH\_Proof\_EN.md, lines 595--602}):

\begin{quote}
\textbf{Theorem 6.5 (Global Large Sieve, Second-Moment Upper Bound, and Rarity of Bad Types)}\\
1. \textbf{Same-link energy bound for open elements}: For the stabilizer subgroup H(S\_g, D) fixing a family of nonzero frame vectors D at a subset of places S\_g above p\ensuremath{_{0}}, the same-link second moment over open elements satisfies \ensuremath{_{2}}\textasciicircum{}link(\{s \ensuremath{\in} H(S\_g, D) : s is open\}) \ensuremath{\le} (1 + 1/b\ensuremath{^{4}}) b\textasciicircum{}\{\ensuremath{-}6k|S\_g|\} \_main \ensuremath{\nu}\ensuremath{^{2}}.\\
2. \textbf{Full-group second-moment bound}: \ensuremath{\Sigma}\_\{s\ensuremath{\in}\} \ensuremath{\|}P* s P\ensuremath{\|}\ensuremath{^{2}}\_HS \ensuremath{\le} (1 + 9b\ensuremath{^{-}}\ensuremath{^{4}})\_main.\\
3. \textbf{Rarity of bad types}: At the principal-level primes p\ensuremath{_{0}}, p\ensuremath{_{1}}, the good idempotent components e\_\{p\_i\} (requiring all f selected places to be admissible and at least one to carry a primitive irreducible polynomial) satisfy Re((1 \ensuremath{-} e\_\{p\_i\})(1)) \ensuremath{\le} 1/(2b\ensuremath{^{8}}).
\end{quote}

The prose fixes its terms elsewhere:

\begin{itemize}
  \item \ensuremath{_{2}}\textasciicircum{}link is "the open-cell second moment over non-zero-discriminant pairs sharing the same link fiber" (Proposition 6.4, line 575).
  \item P := (vol(J\_M)\ensuremath{\nu})\textasciicircum{}\{\ensuremath{-}1/2\}, with \ensuremath{\nu} "the uniform covolume of the rational unipotent quotient" (\href{https://github.com/sdyy1990/riemann-hypothesis/blob/5edf43ce39c068fec64e0cc122e9cbdcec343b24/GRH_Proof_EN.md?plain=1\#L560}{line 560}).
  \item \_main = D\_X\ensuremath{^{2}}/(deg\ensuremath{\cdot}mass\_r) (proof of Proposition 6.6(2), line 627).
\end{itemize}

The correspondence row is \href{https://github.com/sdyy1990/riemann-hypothesis/blob/5edf43ce39c068fec64e0cc122e9cbdcec343b24/GRH_Lean4_Correspondence.md?plain=1\#L265}{line 265}.

\textbf{Lean.}

Part 1 (\href{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Spanning/MainTerm/EnergyEstimate.lean\#L617-L635}{Spanning/MainTerm/EnergyEstimate.lean, lines 617--635}):

\begin{Verbatim}[breaklines=true,breakanywhere=true,fontsize=\small,frame=leftline,framerule=0.6pt,framesep=3mm,rulecolor=\color{black!20}]
theorem linkSecondMoment_isOpenElement_le [S.IsAdmissible] (Sg : Finset (S.chosenPlaces 0))
    (D : ? w : S.chosenPlaces 0, S.FrameVector w) :
    linkSecondMoment {? : S.G E | S.termDisc ? != 0}
      {s : S.ResidueGL | s  in  S.fixer Sg D ? S.IsOpenElement s} <=
      .ofReal ((1 + (S.b ^ 4)??) * (S.b ^ (6 * ?.k))?? ^ #Sg * S.mainSecondMoment *
        S.unipotentCovolume ^ 2)
\end{Verbatim}


The docstring says:

\begin{itemize}
  \item \texttt{Sg} is "a set of chosen places above the first level prime p\ensuremath{_{0}}";
  \item \texttt{D w} is "a nonzero vector of the span of the frame modulo \texttt{w}";
  \item "Only terms \texttt{\ensuremath{\gamma}} with \texttt{termDisc \ensuremath{\gamma} =\allowbreak{} |\ensuremath{\Delta}|\ensuremath{^{2}} -\allowbreak{} N\ensuremath{^{2}} |\ensuremath{\Delta}'|\ensuremath{^{2}} \ensuremath{\neq} 0} enter";
  \item \texttt{mainSecondMoment =\allowbreak{} sourceDim\ensuremath{^{2}} /\allowbreak{} (besselDegree * mass)}.
\end{itemize}

\texttt{linkSecondMoment} "is not divided by \ensuremath{\nu}\ensuremath{^{2}}" (\href{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Spanning/RemainingTerms/Size.lean\#L76-L80}{RemainingTerms/Size.lean lines 76--80}).

Parts 2 and 3 (\href{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Spanning/SecondMoment/SpanningTheorem.lean\#L181-L274}{Spanning/SecondMoment/SpanningTheorem.lean, lines 181--187, 239--248, 266--274}):

\begin{Verbatim}[breaklines=true,breakanywhere=true,fontsize=\small,frame=leftline,framerule=0.6pt,framesep=3mm,rulecolor=\color{black!20}]
theorem bad_types_rare :
    (? i : Fin 2, IsCentralProj (D.goodIdempotentAbove i)) ?
    D.levelRepresentation.asAlgebraHom (piTensorElem D.goodIdempotentAbove) =
      (D.principalRep (D.spaceY 0)).asAlgebraHom D.e? ?
    ? i : Fin 2, ((1 - D.goodIdempotentAbove i).coeff 1).re <= (D.b ^ 8)?? / 2

theorem sum_hilbertSchmidtNorm_scaledPoincare_sq_le [Fintype D.chosenGL] :
    ? s : D.chosenGL,
        hilbertSchmidtNorm (D.scaledPoincare.adjoint ?? D.principalRep (D.spaceY 0) s ??
          D.scaledPoincare) ^ 2 <=
      (1 + 9 / D.b ^ 4) * D.filling.mainSecondMoment
\end{Verbatim}


\texttt{goodIdempotentAbove i} is "the sum of the \ensuremath{\otimes}\_w e\_\{c\_w\} over the tuples c of allowed polynomials of degree r at the chosen places above p\_i that have a primitive member".

\textbf{Clause by clause.}

\begin{itemize}
  \item \emph{Part 1.}
  \item H(S\_g, D) is \texttt{S.\allowbreak{}fixer Sg D}, with Sg among the chosen places above p\ensuremath{_{0}} and nonzero frame vectors D.
  \item "s is open" is \texttt{S.\allowbreak{}IsOpenElement s}.
  \item The restriction to non-zero-discriminant terms in the prose's definition of \ensuremath{_{2}}\textasciicircum{}link is \texttt{termDisc \ensuremath{\gamma} \ensuremath{\neq} 0}.
  \item The bound (1 + b\ensuremath{^{-}}\ensuremath{^{4}})\ensuremath{\cdot}(b\textasciicircum{}\{6k\})\textasciicircum{}\{\ensuremath{-}|S\_g|\}\ensuremath{\cdot}\_main\ensuremath{\cdot}\ensuremath{\nu}\ensuremath{^{2}} is Lean's, with \ensuremath{\nu} = \texttt{unipotentCovolume} and \_main = \texttt{mainSecondMoment}. The factor \ensuremath{\nu}\ensuremath{^{2}} is there because \texttt{linkSecondMoment} is not normalized by \ensuremath{\nu}\ensuremath{^{2}}.
  \item \emph{Part 2.} \ensuremath{\Sigma}\_\{s\ensuremath{\in}\} \ensuremath{\|}P* s P\ensuremath{\|}\ensuremath{^{2}}\_HS \ensuremath{\le} (1 + 9b\ensuremath{^{-}}\ensuremath{^{4}})\ensuremath{\cdot}D\_X\ensuremath{^{2}}/(deg\ensuremath{\cdot}mass\_r), with P = \texttt{scaledPoincare} = (vol J\ensuremath{\cdot}\ensuremath{\nu})\textasciicircum{}\{\ensuremath{-}1/2\}\ensuremath{\cdot} as in the prose. The correspondence also lists \texttt{sum\_\allowbreak{}secondMoment\_\allowbreak{}le} (Spanning/Unfolding/MomentBounds.lean). That is the same bound in the abstract form, under a positive-type hypothesis. \texttt{sum\_\allowbreak{}hilbertSchmidtNorm\_\allowbreak{}scaledPoincare\_\allowbreak{}sq\_\allowbreak{}le} is the instance for P.
  \item \emph{Part 3.}
  \item e\_\{p\_i\} is \texttt{goodIdempotentAbove i} for i = 0, 1: the sum over tuples of allowed degree-r polynomials at the chosen places above p\_i that have a primitive member. The prose describes the same thing as "all f selected places admissible and at least one carrying a primitive irreducible polynomial".
  \item Re((1 \ensuremath{-} e\_\{p\_i\})(1)) \ensuremath{\le} 1/(2b\ensuremath{^{8}}) is \texttt{((1 -\allowbreak{} e\_\allowbreak{}\{p\_\allowbreak{}i\}).\allowbreak{}coeff 1).\allowbreak{}re \ensuremath{\le} (b\textasciicircum{}8)\ensuremath{^{-\allowbreak{}}}\ensuremath{^{1}} /\allowbreak{} 2}.
  \item Lean also proves that each e\_\{p\_i\} is a central idempotent and that their tensor product acts as e\ensuremath{_{0}}. The prose states these elsewhere.
\end{itemize}

\textbf{Scope.} I compared the statements and the definitions. I did not check the proofs (Kloosterman sums, the Poisson sieve, the maximal stabilizer argument, the count of bad polynomial types). I also did not check that the prose's "allowed" polynomials are exactly \texttt{goodTuples}; I compared only the description.

\section*{Sources}
\begin{enumerate}\small
  \item Y. Yu, GRH\_Proof\_EN.md. \url{https://github.com/sdyy1990/riemann-hypothesis/blob/5edf43ce39c068fec64e0cc122e9cbdcec343b24/GRH_Proof_EN.md?plain=1\#L595-L602}
  \item Y. Yu, GRH\_Lean4\_Correspondence.md. \url{https://github.com/sdyy1990/riemann-hypothesis/blob/5edf43ce39c068fec64e0cc122e9cbdcec343b24/GRH_Lean4_Correspondence.md?plain=1\#L265}
  \item grh/src/New/Spanning/MainTerm/EnergyEstimate.lean. \url{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Spanning/MainTerm/EnergyEstimate.lean\#L617-L635}
  \item grh/src/New/Spanning/SecondMoment/SpanningTheorem.lean. \url{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Spanning/SecondMoment/SpanningTheorem.lean\#L181-L274}
  \item grh/src/New/Spanning/RemainingTerms/Size.lean. \url{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Spanning/RemainingTerms/Size.lean\#L76-L80}
\end{enumerate}
\end{document}
