\begin{titlepage} \thispagestyle{empty} \sffamily \setlength{\parindent}{0pt} \vspace*{0.03\textheight} {\large\bfseries\color{DefinitionInk} A Guide to the Formal Proof in Lean\par} \vspace{0.55em} {\color{DefinitionInk}\rule{27mm}{1pt}\par} \vspace{1.35em} {\fontsize{29pt}{36pt}\linespread{1.06}\selectfont\bfseries\color{OxfordNavy} From Theta Lifts to the Proof\par of the Generalized Riemann\par Hypothesis\par} \vspace{1.65em} {\normalsize\rmfamily\color{SlateInk} Based on the readable Lean proof in \href{https://github.com/lsernau/grh-lean}{\texttt{lsernau/grh-lean}} and its accompanying blueprint.\par} \vspace{0.35em} {\small\sffamily\color{SlateInk!75} Upstream build environment: Lean 4.35.0\quad\textperiodcentered\quad Mathlib \texttt{56a00585}\par} \vfill \noindent\input{figures/cover-illustration}\par \end{titlepage} \chapter*{Abstract} \addcontentsline{toc}{chapter}{Abstract} \markboth{Abstract}{Abstract} This monograph follows a streamlined Lean blueprint to give a systematic account of the complete argument for the Riemann hypothesis and the generalized Riemann hypothesis for Dirichlet $L$-functions. The blueprint is based on the simplified Lean~4 formalization by Luke Sernau (\url{https://github.com/lsernau/grh-lean}), which simplifies Levent Alpöge and Claude's GRH Lean proof. The monograph was written as follows. After I had Codex (model: GPT-6.2) generate the Lean blueprint and check that it faithfully captures the formalization in the \texttt{grh-lean} project, I had Gemini Neon polish the language and reorganize the blueprint into a readable book. To understand the background of the proof, I also wrote a draft tracing how the idea of theta lifts goes back to Ramanujan and Hardy's work on representing integers as sums of 24 squares, and I had Gemini and Codex help with the concrete modular form and adelic calculations. The Levent Alpöge and Claude GRH Lean proof still requires verification by the academic community. The details of this monograph would likewise benefit from expert verification, so I have shared it on the \href{https://hexagonmath.org/}{Hexagon} (\url{https://hexagonmath.org/}) platform. The raw blueprint and the source files of the monograph are also available in my repository: \url{https://github.com/Euler2023/grh-blueprint}. \cleardoublepage \pdfbookmark[0]{Contents}{monograph-contents} \tableofcontents