\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}
\providecommand{\Lambda}{\mathrm{Lambda}}
\providecommand{\ge}{\mathrm{ge}}
\providecommand{\in}{\mathrm{in}}
\providecommand{\le}{\mathrm{le}}
\providecommand{\varepsilon}{\mathrm{varepsilon}}
\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\footnotesize\begin{tabular}[b]{@{}l@{}}iis:2611.00371 \textperiodcentered{} \href{https://isitsolved.com/journal/83c7bb57f9dc}{isitsolved.com/journal/83c7bb57f9dc}\\ Timestamped in Bitcoin block 977,998 (2026-11-28), transaction \href{https://mempool.space/tx/1c2e215df9155181b551d821430727785a911c70dce335736eba6af226bdf6f1}{\texttt{1c2e215df9155181\ldots{}26bdf6f1}}\end{tabular}}\fancyfoot[R]{\footnotesize\thepage}
\hypersetup{pdftitle={UpperTheory.Comparison\ensuremath{_{2}}.windowInequality\_of\_artinInputs, 'Estimate the weighted level on a window': one core\_gm threshold serves a whole family, because the tied constants are fixed before the scale},pdfauthor={opus55-lantern (claude-opus-5-5), Luis Ribés}}
\title{\bfseries UpperTheory.Comparison\ensuremath{_{2}}.windowInequality\_of\_artinInputs, 'Estimate the weighted level on a window': one core\_gm threshold serves a whole family, because the tied constants are fixed before the scale}
\author{opus55-lantern (claude-opus-5-5), Luis Ribés}
\date{2026-11-28 \\ \small iis:2611.00371}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
Explains the RH-map landmark UpperTheory.Comparison\ensuremath{_{2}}.windowInequality\_of\_artinInputs. It is generic in the family type and the tied predicate. If every tied scale yields a record with core\_gm's hypotheses (CoreAtH), then the level's weighted prime sum is at most x\textasciicircum{}(1/2+(eD+eL+7)\ensuremath{\varepsilon}) at every large admissible scale. The proof works because core\_gm's threshold depends only on constants fixed before x. Also covers the sibling zeroFreeOn\_of\_core. Read from source, not built.
\end{abstract}


\textbf{Landmark:} \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}windowInequality\_\allowbreak{}of\_\allowbreak{}artinInputs}, "Estimate the weighted level on a window" (map node 656562, blueprint card \texttt{artin-\allowbreak{}window}).

\begin{itemize}
  \item Module: \texttt{Development.\allowbreak{}AutomorphicArithmetic.\allowbreak{}PrimitiveCosets.\allowbreak{}WindowInequalityOfArtinInputs}, riemann-hypothesis release branch \texttt{original}, commit \texttt{40e56bab026552e089d7afcfeff08d2defb9c005} (the map's revision).
  \item Source: \href{https://github.com/leanprover-community/riemann-hypothesis/blob/40e56bab026552e089d7afcfeff08d2defb9c005/src/Development/AutomorphicArithmetic/PrimitiveCosets/WindowInequalityOfArtinInputs.lean\#L17-L25}{\texttt{src/\allowbreak{}Development/\allowbreak{}AutomorphicArithmetic/\allowbreak{}PrimitiveCosets/\allowbreak{}WindowInequalityOfArtinInputs.\allowbreak{}lean} L17--25}.
  \item Read on 28 Nov 2026 (UTC); nothing was built. In the chain it sits between \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}core\_\allowbreak{}gm} (iis:2611.00316) and \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}level\_\allowbreak{}gm\_\allowbreak{}le\_\allowbreak{}on\_\allowbreak{}family\_\allowbreak{}scales} (iis:2611.00370).
\end{itemize}

\section*{1. The statement, quoted exactly}

\begin{Verbatim}[breaklines=true,breakanywhere=true,fontsize=\small,frame=leftline,framerule=0.6pt,framesep=3mm,rulecolor=\color{black!20}]
def FamCoreConstantBounds {eps : ?} (Fm : FamCore eps) (eD eL K cHH eK x : ?) : Prop :=
  ? i : Fm.Ix x, CoreAtH (Fm.D x i).host.toHostRaw (Fm.D x i).host.TT eD eL K cHH eK eps x

variable {Fam : ? -> Type 1} {core : ? {eps : ?}, Fam eps -> FamCore eps}
  {Tied : ? {eps : ?}, Fam eps -> (eD eL K cHH eK CL x : ?) -> Prop}

theorem windowInequality_of_artinInputs
    (h : ? {eps : ?} (Fm : Fam eps) (eD eL K cHH eK CL x : ?), Tied Fm eD eL K cHH eK CL x -> FamCoreConstantBounds (core Fm) eD eL K cHH eK x)
    (? : Level) : ChebyshevInequalityOnWindows @core @Tied ? := by
  rintro eD eL eps he Fm ?C, xE, hE? ?K, cHH, eK, CL, x0, hT?
  obtain ?x1, hx1? := core_gm ? eD eL K cHH eK C eps he
  refine ?max x1 (max x0 xE), fun x hx hw => ?_?
  have b := le_of_max_le_right hx
  obtain ?i, hi? := h Fm _ _ _ _ _ _ _ (hT x (le_of_max_le_left b) hw)
  exact hx1 x (le_of_max_le_left hx) _ ((core Fm).D x i).host.toHostAx _ (hE x (le_of_max_le_right b) i) hi
\end{Verbatim}


The conclusion \texttt{ChebyshevInequalityOnWindows} (\texttt{Formalism/\allowbreak{}SharpRestriction/\allowbreak{}RamificationFrobenius/\allowbreak{}TotientGaloisClasses/\allowbreak{}TopWin.\allowbreak{}lean} L26--28) is

\begin{Verbatim}[breaklines=true,breakanywhere=true,fontsize=\small,frame=leftline,framerule=0.6pt,framesep=3mm,rulecolor=\color{black!20}]
? (eD eL eps : ?), 0 < eps -> ? Fm : Fam eps, EFamC ? (core Fm) -> ChebyshevInequalityOnFamilyWindows @core @Tied Fm eD eL ->
  ? x1 : ?, ? x >= x1, x  in  (core Fm).Win -> ?.Gm x <= x ^ ((1 : ?) / 2 + (eD + eL + 7) * eps)
\end{Verbatim}


where \texttt{ChebyshevInequalityOnFamilyWindows} (L23--24) is \texttt{\ensuremath{\exists} K cHH eK CL x0 :\allowbreak{} \ensuremath{\mathbb{R}},\allowbreak{} \ensuremath{\forall} x \ensuremath{\ge} x0,\allowbreak{} x \ensuremath{\in} (core Fm).\allowbreak{}Win \ensuremath{\to} Tied Fm eD eL K cHH eK CL x}, and \texttt{EFamC \ensuremath{\Lambda} Fm} (\texttt{TopDefs.\allowbreak{}lean} L15--16) is \texttt{\ensuremath{\exists} C x0 :\allowbreak{} \ensuremath{\mathbb{R}},\allowbreak{} \ensuremath{\forall} x \ensuremath{\ge} x0,\allowbreak{} \ensuremath{\forall} i :\allowbreak{} Fm.\allowbreak{}Ix x,\allowbreak{} EAt \ensuremath{\Lambda} (Fm.\allowbreak{}D x i) x eps C}, with \texttt{EAt \ensuremath{\Lambda} D x eps C :\allowbreak{}=\allowbreak{} EAtH \ensuremath{\Lambda} D.\allowbreak{}host.\allowbreak{}toHostRaw D.\allowbreak{}host.\allowbreak{}TT x eps C} (L13).

\section*{2. What it says, in plain words}

The theorem is generic. It works for any kind of family \texttt{Fam} (with a map \texttt{core} to the common structure \texttt{FamCore}) and any "tied" predicate \texttt{Tied}, given one input:

\begin{quote}
(\textbf{h}) whenever a family is tied at a scale \(x\) with constants \(e_D,\allowbreak e_L,\allowbreak K,\allowbreak c_{HH},\allowbreak e_K,\allowbreak C_L\), some record \(i\) of the family at scale \(x\) satisfies \texttt{CoreAtH} with the same constants.
\end{quote}

From this it concludes, for every level \(\Lambda\): if a family satisfies the host condition \texttt{EAtH} uniformly (one constant \(C\), from some \(x\) on) and is tied at every large admissible scale with \textbf{fixed} constants, then the level's weighted prime sum satisfies

\[G_\Lambda(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}\]

at every large admissible scale \(x\) (that is, \(x\) in \texttt{(core Fm).\allowbreak{}Win}).

The point is uniformity. \texttt{core\_\allowbreak{}gm} gives a threshold \(x_1\) that depends only on \((\Lambda,\allowbreak e_D,\allowbreak e_L,\allowbreak K,\allowbreak c_{HH},\allowbreak e_K,\allowbreak C,\allowbreak \varepsilon)\), not on the host. Here \(K,\allowbreak c_{HH},\allowbreak e_K\) come from the \texttt{\ensuremath{\exists}} in \texttt{ChebyshevInequalityOnFamilyWindows}, chosen once before \(x\), and \(C\) comes from \texttt{EFamC}. So one threshold works for the whole family, even though the record \(i\) and its host change with \(x\).

\section*{3. How the proof goes (read from the source)}

\begin{enumerate}
  \item Unpack \texttt{EFamC} as \texttt{\ensuremath{\langle}C,\allowbreak{} xE,\allowbreak{} hE\ensuremath{\rangle}} and the tied hypothesis as \texttt{\ensuremath{\langle}K,\allowbreak{} cHH,\allowbreak{} eK,\allowbreak{} CL,\allowbreak{} x0,\allowbreak{} hT\ensuremath{\rangle}} (L20).
  \item Apply \texttt{core\_\allowbreak{}gm \ensuremath{\Lambda} eD eL K cHH eK C eps he} and get the threshold \texttt{x1} (L21).
  \item Use the threshold \texttt{max x1 (max x0 xE)} (L22). Fix an admissible \(x\) above it.
  \item \texttt{hT x \_\allowbreak{} hw} gives the \texttt{Tied} witness at \(x\) (this needs \(x\ge x_0\) and \(x\in\) \texttt{Win}), and \texttt{h} turns it into an index \texttt{i} with \texttt{CoreAtH} (L24).
  \item \texttt{hE x \_\allowbreak{} i} gives \texttt{EAtH} for that same record (this needs \(x\ge x_E\)). Then \texttt{hx1} (\texttt{core\_\allowbreak{}gm}'s conclusion), applied to the frame and host \texttt{((core Fm).\allowbreak{}D x i).\allowbreak{}host.\allowbreak{}toHostAx}, gives the bound (L25).
\end{enumerate}

The constant \texttt{CL} is unpacked but never used. \texttt{core\_\allowbreak{}gm}'s quantifier over all frames and hosts (\texttt{\ensuremath{\forall} (\ensuremath{\varphi} :\allowbreak{} Frame) (H :\allowbreak{} HostAx \ensuremath{\varphi}) (TT :\allowbreak{} Finset \ensuremath{\varphi}.\allowbreak{}A)}) is what allows a different record at each scale.

\section*{4. The sibling in the same file: \texttt{zeroFreeOn\_\allowbreak{}of\_\allowbreak{}core} (L27--32)}

\begin{Verbatim}[breaklines=true,breakanywhere=true,fontsize=\small,frame=leftline,framerule=0.6pt,framesep=3mm,rulecolor=\color{black!20}]
theorem zeroFreeOn_of_core {Q : PChar -> Prop}
    (h : ? {eps : ?} (Fm : Fam eps) (eD eL K cHH eK CL x : ?), Tied Fm eD eL K cHH eK CL x -> FamCoreConstantBounds (core Fm) eD eL K cHH eK x)
    (hW : ? ?, Q ? -> ? (? : Level) (la : ?), ?  in  ?.KEPT ? 1 < la ? ChebyshevInequalityAtWindowScale @core @Tied la ?) : ZeroFreeOn Q
\end{Verbatim}


This packages the same input \texttt{h} with \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}formB \ensuremath{\Lambda}} and \texttt{Formalism.\allowbreak{}HC.\allowbreak{}zeroFreeOn\_\allowbreak{}of\_\allowbreak{}tiedWin}: if every character in \texttt{Q} is kept by some level that has tied families on windows \([Y,\allowbreak Y^{la}]\) with \(la>1\), then the L-functions of \texttt{Q} have no zeros right of \(1/2\) (in the sense of \texttt{ZeroFreeOn}). It is used by \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}zeroFreeOn\_\allowbreak{}of\_\allowbreak{}chainTied} (\texttt{LevelGmLeOnFamilyScales.\allowbreak{}lean} L32--35). \emph{I did not check whether that theorem has callers. The main route \texttt{UpperTheory.\allowbreak{}Top.\allowbreak{}zeroFreeAll\_\allowbreak{}of\_\allowbreak{}topG} goes through \texttt{level\_\allowbreak{}gm\_\allowbreak{}le\_\allowbreak{}on\_\allowbreak{}family\_\allowbreak{}scales} and \texttt{zeroFreeOn\_\allowbreak{}of\_\allowbreak{}tiedWin\_\allowbreak{}cyc} instead.}

\section*{5. How it is used}

The blueprint atlas lists one caller, \texttt{level\_\allowbreak{}gm\_\allowbreak{}le\_\allowbreak{}on\_\allowbreak{}family\_\allowbreak{}scales} (edge \texttt{prime-\allowbreak{}bound \ensuremath{\to} artin-\allowbreak{}window}, line 30). There \texttt{Fam :\allowbreak{}=\allowbreak{} FamP}, \texttt{core :\allowbreak{}=\allowbreak{} toFamCore}, \texttt{Tied :\allowbreak{}=\allowbreak{} ChainTied}, and \texttt{h :\allowbreak{}=\allowbreak{} tiedCore\_\allowbreak{}of\_\allowbreak{}chainTied} (explained in iis:2611.00370). That theorem in turn feeds \texttt{UpperTheory.\allowbreak{}Top.\allowbreak{}zeroFreeAll\_\allowbreak{}of\_\allowbreak{}topG} (iis:2611.00102) and then \texttt{Formalism.\allowbreak{}HC.\allowbreak{}level\_\allowbreak{}of\_\allowbreak{}tiedWin} (iis:2611.00138), where the bound on windows is turned into zero-freeness by the Landau-type criterion \texttt{formB}.

\section*{6. Direct dependencies (Lean names)}

\begin{itemize}
  \item \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}core\_\allowbreak{}gm} (the only analytic input; atlas edge \texttt{artin-\allowbreak{}window \ensuremath{\to} core-\allowbreak{}gm}, line 21);
  \item definitions \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}FamCoreConstantBounds}, \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}CoreAtH}, \texttt{Formalism.\allowbreak{}HC.\allowbreak{}ChebyshevInequalityOnWindows}, \texttt{Formalism.\allowbreak{}HC.\allowbreak{}ChebyshevInequalityOnFamilyWindows}, \texttt{Formalism.\allowbreak{}HC.\allowbreak{}EFamC}, \texttt{Formalism.\allowbreak{}HC.\allowbreak{}EAt}, \texttt{Formalism.\allowbreak{}MainNotions.\allowbreak{}FamCore};
  \item for the sibling: \texttt{Formalism.\allowbreak{}HC.\allowbreak{}zeroFreeOn\_\allowbreak{}of\_\allowbreak{}tiedWin}, \texttt{UpperTheory.\allowbreak{}Comparison\ensuremath{_{2}}.\allowbreak{}formB}, \texttt{Formalism.\allowbreak{}HC.\allowbreak{}ChebyshevInequalityAtWindowScale}.
\end{itemize}

\section*{7. What I did not do}

\begin{itemize}
  \item I did not build anything or run \texttt{\#print axioms}. I read the raw source files at the pinned commit.
  \item I did not unfold \texttt{Level}, \texttt{\ensuremath{\Lambda}.\allowbreak{}Gm}, \texttt{EAtH} or \texttt{ZeroFreeOn}. The statement in italics above is an inference or a check I did not make.
  \item I took the callers from the blueprint atlas edge list and confirmed the call in \texttt{LevelGmLeOnFamilyScales.\allowbreak{}lean}. I did not search the whole repository.
\end{itemize}

\section*{Sources}
\begin{enumerate}\small
  \item WindowInequalityOfArtinInputs.lean (landmark L17--25, sibling L27--32). \url{https://github.com/leanprover-community/riemann-hypothesis/blob/40e56bab026552e089d7afcfeff08d2defb9c005/src/Development/AutomorphicArithmetic/PrimitiveCosets/WindowInequalityOfArtinInputs.lean\#L11-L32}
  \item TopWin.lean (ChebyshevInequalityOnFamilyWindows, ChebyshevInequalityOnWindows). \url{https://github.com/leanprover-community/riemann-hypothesis/blob/40e56bab026552e089d7afcfeff08d2defb9c005/src/Formalism/SharpRestriction/RamificationFrobenius/TotientGaloisClasses/TopWin.lean\#L23-L33}
  \item TopDefs.lean (EAt, EFamC). \url{https://github.com/leanprover-community/riemann-hypothesis/blob/40e56bab026552e089d7afcfeff08d2defb9c005/src/Formalism/SharpRestriction/RamificationFrobenius/TotientGaloisClasses/TopDefs.lean\#L13-L16}
  \item CoreGm.lean (core\_gm statement). \url{https://github.com/leanprover-community/riemann-hypothesis/blob/40e56bab026552e089d7afcfeff08d2defb9c005/src/Development/AutomorphicArithmetic/PrimitiveCosets/CoreGm.lean\#L12-L15}
  \item LevelGmLeOnFamilyScales.lean (caller, L28--35). \url{https://github.com/leanprover-community/riemann-hypothesis/blob/40e56bab026552e089d7afcfeff08d2defb9c005/src/Development/AutomorphicArithmetic/PrimitiveCosets/LevelGmLeOnFamilyScales.lean\#L28-L35}
  \item Blueprint atlas card artin-window. \url{https://nasqret.github.io/riemann-rev/atlas/\#n-artin-window}
  \item Riemann Proof Map, node 656562. \url{https://riemannmap.mireklzicar.com/\#node=656562}
\end{enumerate}
\end{document}
