Theorems › Weighted prime-sum bound

Edit history of the whole page

6 versions of the whole page of Weighted prime-sum bound, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.

Version 6 , changes from version 5 are marked

23 unchanged paragraphs We prove the assertion with $e_D=2$ and $e_L=0$. The arithmetic input is "Arithmetic interval realization for a primitive character", which establishes the hypotheses needed by "Compatible arithmetic data on intervals" with these fixed exponent bounds. First we describe finite-group and counting data at a single scale $x$. Averaging over a subgroup converts a bound for prime-power counts into a bound for $G_\psi$, with at most $4o$ additional character sums to estimate. Step 3 states the existence result that provides these data throughout arbitrarily distant intervals. 6 unchanged paragraphs Step 3: choose these data simultaneously on intervals. Apply "Compatible arithmetic data on intervals" to $\psi$. Write $\varepsilon_1$ for the resulting positive bound on $\varepsilon$. For $0<\varepsilon<\min\{\varepsilon_1,1/52\}$, this gives a threshold $x_0\ge3$ and a set $\mathcal W\subset[3,\infty)$ such that $$\forall Z\in\mathbb R\quad\exists Y\ge\max\{1,Z\}:\qquad [Y,Y^{3/2}]\subset\mathcal W.$$ For every $x\in\mathcal W$ with $x\ge x_0$, the data in Steps 1 and 2 exist simultaneously. The counting error exponents are at most $2$ and $0$, so we take $e_D=2,e_L=0$ throughout the remaining estimates. The threshold $x_0$ is uniform over $x\in\mathcal W$; the groups, primes, weights and numerical parameters may depend on $x$. To combine the analytic and counting conditions, it suffices to construct, for each $x\in\mathcal W$, a nonempty collection of choices with the following two properties. Beyond a threshold $x_A$, every choice satisfies Step 1 and the coset proportions in Step 2. Beyond a threshold $x_C$, at least one choice satisfies all the remaining conditions of Step 2. Both thresholds must be independent of $x$. Selecting this latter choice and taking $x_0=\max\{3,x_A,x_C\}$ gives both sets of conditions for the same group, primes and weights. The cyclic subgroup in Step 1 comes from the construction of the finite group. For an integer $e\ge2$, put $$Q=\operatorname{lcm}(2^{e+2},M),\qquad C_e=(\mathbb Z/2^{e+2}\mathbb Z)^\times/\{\pm1\},\qquad B_\psi=\{\psi(a):a\in\mathbb Z,\ (a,M)=1\}\subset\mathbb C^\times.$$ Write $[a]$ for reduction modulo $2^{e+2}$ followed by the quotient by $\{\pm1\}$. Take $H$ to be the image of the homomorphism $$(\mathbb Z/Q\mathbb Z)^\times\longrightarrow C_e\times B_\psi,\qquad a\longmapsto([a],\psi(a)),$$ and take $H_0$ to be the kernel of the second projection on $H$, writing these groups additively in Steps 1 and 2. The first projection is injective on $H_0$. Since $C_e$ is cyclic, generated by the class of $5$, $H_0$ is cyclic. The second projection has image $B_\psi$, so $[H:H_0]=o$. Cyclicity is inherited from this construction; Steps 4–7 use $T_2\subset H_0$ and the index $o$. The prime congruences are requirements of the number-field construction. "Auxiliary primes with controlled twists" imposes them together with $q\mid d+1$ and $p\mid d+1$ for every odd prime $p\le U^{\varepsilon/5}$, where $U\ge1$ is the scale at which the primes are chosen. "Simultaneous auxiliary-prime and cohomological windows" retains these conditions while choosing the same primes for the analytic estimates and the localization-kernel bound. The quadratic fields $\mathbb Q(\sqrt{-q})$ and $\mathbb Q(\sqrt{-d})$ have discriminants $-q$ and $-d$; the congruences make $2$ inert in the first and split in the second. The divisibilities give $-d\equiv1\pmod q$ and $-d\equiv1\pmod p$ for the indicated odd primes, so these primes also split in $\mathbb Q(\sqrt{-d})$. Put $F_e=\mathbb Q(\zeta_{2^{e+2}})^+$, where $\zeta_{2^{e+2}}$ is a primitive $2^{e+2}$th root of unity and the superscript $+$ denotes the maximal real subfield. The stronger congruence modulo $16$ prevents an odd power of Frobenius at $d$ from acting trivially on $F_e$: every odd power of $d$ is $7\pmod{16}$ and hence is neither $1$ nor $-1$ modulo $2^{e+2}$. Quadratic reciprocity and $(-d/q)=1$ give $(-q/d)=-1$, with the parenthesized expressions denoting Legendre symbols. Thus complex conjugation cannot belong to a decomposition group at $d$ in $F_e\mathbb Q(\sqrt{-q},\sqrt{-d})$: its action on $\mathbb Q(\sqrt{-q})$ would require an odd power of Frobenius, whose action on $F_e$ is nontrivial, whereas complex conjugation fixes $F_e$. These restrictions enter the number-field construction; Steps 4–7 use the inertia and Frobenius conditions displayed in Step 1. Step 3: choose these data simultaneously on intervals. Apply "Arithmetic interval realization for a primitive character" to $\psi$. This gives the conclusions of "Compatible arithmetic data on intervals" with counting-exponent bounds $E_D=2$ and $E_P=0$. Write $\varepsilon_1>0$ for its bound on $\varepsilon$. For $0<\varepsilon<\min\{\varepsilon_1,1/52\}$, choose its family, threshold $x_0\ge3$ and set $\mathcal W\subset[3,\infty)$ of occupied scales, satisfying $$\forall Z\in\mathbb R\quad\exists Y\ge\max\{1,Z\}:\qquad [Y,Y^{3/2}]\subset\mathcal W.$$ For every $x\in\mathcal W$ with $x\ge x_0$, take the group $H$, subgroup $H_0$, primes $q,d$, and the other data of Steps 1 and 2 from this family. Restrict its translation index set from $H$ to $H_0$; the counting and weight conditions hold for every translation in $H$, hence also for every translation in $H_0$. The threshold $x_0$ is independent of $x$; the groups, primes and weights may depend on $x$. The analytic conditions hold for every sufficiently large member of the family, while the counting conditions select a member at each sufficiently large occupied scale. Choosing this member beyond both thresholds gives all conditions on the same data. The exponents remain bounded by $2,0$, independently of $\varepsilon$ and the member. 1 unchanged paragraph For $\gamma\in\mathcal K\setminus\{1\}$, the character $t\mapsto\gamma(\iota(t))$ is nontrivial by Step 1 and is trivial on $H_0$ because $\mathcal K\subset\Psi_0$. "Coset proportions and character averages", with constant contribution $3c|T|$, additional contribution $c|T|$ on $H_0$, and error $x^{-1+\varepsilon}|T|$, gives $$\left|\sum_{t\in T}\gamma(\iota(t))-c|T|\right|\le ox^{-1+\varepsilon}|T|.$$ Here is the coset calculation for this application. The character is constant on each of the $o$ cosets of $H_0$, with values of modulus one. By Step 2, replacing each coset size $|T\cap(h+H_0)|$ by $\lambda(h)|T|$ changes the character sum by at most $ox^{-1+\varepsilon}|T|$. The replacement sum equals $c|T|$: the contribution $3c|T|$ on every coset sums to zero by nontrivial-character orthogonality on $H/H_0$, and the additional contribution on $H_0$ is $c|T|$. For the trivial character the sum over $T$ is $|T|$. 3 unchanged paragraphs Every hypothesis of "From uniform prime counts to a character sum" holds when $x\in\mathcal W$ and $x\ge\max\{x_0,x_1\}$. The coefficient identity and the definition of $\kappa$ in Step 1 identify its smoothed sums with $h_\gamma$, including the principal term. Step 1 gives its subgroup and arithmetic conditions, Step 2 gives its size and weight conditions, and Step 4 gives its character conditions. The error in Step 4 is at most the permitted $4ox^{-1+\varepsilon}|T|$. Step 5 gives its count hypothesis, since $$\frac{|T_2|kbx^\varepsilon}{n(nx^{-\varepsilon})}=\frac{|T_2|kbx^{2\varepsilon}}{n^2}.$$ The normalizationcoefficient of the trivial character is $1$. Every other member of $\mathcal K$ is nontrivial on $\iota(H)$ by Step 1, so its coefficient is $c$. The bijection in Step 4 therefore identifies the conclusion of "From uniform prime counts to a character sum" uses "Normalizing the numerical error bracket". Dividing the bracket in Step 5 by the positive factor $|T|mb(|T_2|/n)/2$ gives contributions involving $x/m$ and $m$, multiplied by powers of $x^\varepsilon$; the remaining terms are controlled by the bounds on $k,|T|,|T_2|$. The construction in "Arithmetic interval realization for a primitive character" has $$x^{1/2-\varepsilon/16}\le m\le2x^{1/2-\varepsilon/16}.$$ Thus both competing terms have size $x^{1/2}$ up to powers of $x^\varepsilon$. The precise inequalities in "Normalizing the numerical error bracket" give the exponent $1/2+(C+3)\varepsilon=1/2+8\varepsilon$ used here.as $$G_\psi(x)\le x^{1/2+8\varepsilon}+\Sigma(x),\qquad \Sigma(x)=\sum_{\gamma\in\Psi_0\setminus\mathcal K}|h_\gamma(x)|.$$ The coefficient of the trivial character is $1$. Every other member of $\mathcal K$ is nontrivial on $\iota(H)$ by Step 1, so its coefficient is $c$. The bijection in Step 4 therefore identifies the conclusion of "From uniform prime counts to a character sum" as $$G_\psi(x)\le x^{1/2+8\varepsilon}+\Sigma(x),\qquad \Sigma(x)=\sum_{\gamma\in\Psi_0\setminus\mathcal K}|h_\gamma(x)|.$$ 1 unchanged paragraph

Version 5 , changes from version 4 are marked

INTRODUCTION In this proof of the Riemann hypothesis for Dirichlet $L$-functions, the zeros with real part greater than $1/2$ are excluded by an upper bound for sums over prime powers. The theorem of this page derives that bound from conditions on arithmetic data; that data with these conditions exist is proved on other pages. The sums are the functions $g_\chi$ of "Regularized smoothed character sums". For a nonprincipal primitive Dirichlet character $\chi$ and a real number $x>0$, $$g_\chi(x)=\sum_{1\le r\le x}\Lambda(r)\chi(r)\Bigl(\frac xr-1\Bigr)+x\kappa_\chi,\qquad \kappa_\chi=\frac{L'(1,\chi)}{L(1,\chi)},$$ where $\Lambda$ is the von Mangoldt function. For the principal character of modulus $1$, written $1$, the function $g_1$ has the same sum, with $\chi(r)$ replaced by $1$, and the term $-x\log x+(1+\gamma_{\!E})x$ in place of $x\kappa_\chi$, where $\gamma_{\!E}$ is Euler's constant. The theorem concerns a sum of these functions with two weights. Let $\mathcal K$ be a finite set of primitive Dirichlet characters that contains $1$ and, with every $\chi$, its conjugate $\overline\chi$. Let $o\ge0$ be an integer, and let $\xi$ be an odd real-valued character in $\mathcal K$, or let no such character be chosen. The weighted sum attached to $\mathcal K$, $\xi$ and $o$ is $$G_{\mathcal K}(x)=g_1(x)+\sum_{\chi\in\mathcal K\setminus\{1\}}w_\chi\,\Re g_\chi(x)\qquad(x>0),$$ where $w_\xi=1$ if a character $\xi$ is chosen, and $w_\chi=(3o+1)^{-1}$ for every other $\chi$. The proof uses the following case. Fix a primitive Dirichlet character $\psi$ of conductor $M$ and order $o$. For $0\le j<o$, let $\chi_j$ be the primitive character that induces $\psi^j$: the primitive character of conductor dividing $M$ that agrees with $\psi^j$ on the integers coprime to $M$. Thus $\chi_0=1$ and $\chi_1=\psi$. Put $\mathcal P_\psi=\{\chi_j:0\le j<o\}$, choose no character $\xi$, and write $$G_\psi(x)=g_1(x)+\frac1{3o+1}\sum_{\chi\in\mathcal P_\psi\setminus\{1\}}\Re g_\chi(x)$$ for the weighted sum attached to $\mathcal P_\psi$ and the order $o$ of $\psi$. The theorem bounds $G_{\mathcal K}(x)$ by $x^{1/2+(E_D+E_P+7)\varepsilon}$. Part 1 is an estimate at a single real number $x$. Its hypotheses concern a finite abelian extension $E$ of $\mathbb Q$ that is a CM field, a subset $T$ of a subgroup $H$ of its Galois group, and numerical data, all subject to conditions that involve $x$ and $\varepsilon$; the numbers $E_D$ and $E_P$ are upper bounds for two exponents that occur in these conditions. Part 2 is the same estimate for the fields of an arithmetic family, at the numbers $x$ of the set $\mathcal W$ of the family. "Arithmetic interval realization for a primitive character" supplies such families. For every primitive character $\psi$ and every sufficiently small $\varepsilon>0$, it gives a family whose members satisfy the character conditions for $\mathcal P_\psi$ at every sufficiently large $x$, which realizes the counting data at every sufficiently large $x\in\mathcal W$ with the bounds $E_D=2$ and $E_P=0$, and whose set $\mathcal W$ contains intervals $[Y,Y^{3/2}]$ with $Y$ arbitrarily large. Applied to these families, the theorem gives the bound in the form in which the proof uses it: there is $\varepsilon_1>0$ such that, for every $0<\varepsilon<\varepsilon_1$ and every real number $Y_0$, some $Y\ge\max\{1,Y_0\}$ satisfies $$G_\psi(x)\le x^{1/2+9\varepsilon}\qquad\text{for every }x\in[Y,Y^{3/2}].$$ We call this the interval bound. The proof uses the interval bound in the theorem "Zero-freeness for all Dirichlet characters", through the criterion "Landau theorem on intervals". The criterion concerns a combination, with positive coefficients, of the functions $\Re g_\chi$ of finitely many characters. If, for some $0<\theta<1$ and $\lambda>1$, the combination is at most a fixed multiple of $x^\theta$ on intervals $[Y,Y^\lambda]$ with $Y$ arbitrarily large, then none of the functions $L(s,\chi)$ has a zero with $\Re s>\theta$. The function $G_\psi$ is such a combination, with coefficients $1$ and $(3o+1)^{-1}$, because $g_1$ is real-valued. Let $1/2<\theta<1$ and choose $\varepsilon<\varepsilon_1$ so small that $9\varepsilon\le\theta-1/2$. Every $x$ in the intervals of the interval bound satisfies $x\ge1$, hence $G_\psi(x)\le x^\theta$, and the criterion applies with $\lambda=3/2$. It follows that $L(s,\chi)$ has no zero with $\Re s>1/2$ for every $\chi\in\mathcal P_\psi$, in particular for $\chi=\psi$, and $\psi$ is an arbitrary primitive character. Ihara, Murty and Shimura study the values $L'(1,\chi)/L(1,\chi)$ through the same sums. For a primitive Dirichlet character $\chi$ of a number field and $x>1$, they consider an average of the partial sums of the series for $-L'(1,\chi)/L(1,\chi)$ \cite[§2.2]{IMS09}. Over $\mathbb Q$ this average is $$\frac1{x-1}\sum_{1\le r\le x}\Bigl(\frac xr-1\Bigr)\chi(r)\Lambda(r),$$ the sum in $g_\chi(x)$ divided by $x-1$. Their explicit formula expresses the average through the nontrivial zeros $\rho$ of $L(s,\chi)$, counted with multiplicity \cite[Theorem 1]{IMS09}. Over $\mathbb Q$, and multiplied by $x-1$, the formula becomes $$g_\chi(x)=\sum_\rho\frac{x^\rho-1}{\rho(1-\rho)}+r_\chi(x)\qquad(x>1)$$ for every primitive Dirichlet character $\chi$, the principal character of modulus $1$ included, where $r_\chi(x)=O(\log x)$ as $x\to\infty$; the formula of \cite[Theorem 1]{IMS09} gives $r_\chi$ explicitly. The terms $x\kappa_\chi$ and $-x\log x+(1+\gamma_{\!E})x$ in the definition of $g_\chi$ therefore cancel the sum over prime powers up to the contribution of the zeros and a term $O(\log x)$. If every nontrivial zero of $L(s,\chi)$ has real part $1/2$, then $|x^\rho-1|\le\sqrt x+1$, the sum over the zeros is $O(\sqrt x)$, and $g_\chi(x)=O(\sqrt x)$. Ihara, Murty and Shimura apply the formula in this way, assuming the generalized Riemann hypothesis \cite[§3.2]{IMS09}. Under the generalized Riemann hypothesis for the characters in $\mathcal P_\psi$, therefore, $G_\psi(x)=O(\sqrt x)$. The interval bound is an upper bound of this order for $G_\psi$, up to the factor $x^{9\varepsilon}$, and the absence of zeros with $\Re s>1/2$ is deduced from it. The bound is one-sided, it concerns the combination $G_\psi$ and not the single functions $g_\chi$, and it holds on the intervals $[Y,Y^{3/2}]$; this is the form of the hypothesis of "Landau theorem on intervals". The weights $1$ and $(3o+1)^{-1}$, the exponent and the intervals come from the proof of the theorem, which the remaining paragraphs outline. The hypotheses of part 1 are stated in "Character and counting conditions at a single scale". The field $E$ is Galois over $\mathbb Q$ with group $G=(\mathbb Z/2\mathbb Z)^2\times H$, where $H$ is a finite abelian group with a cyclic subgroup $H_0$. A surjective homomorphism $\rho$ from a group $(\mathbb Z/Q\mathbb Z)^\times$ onto $G$ describes the Frobenius elements and the inertia groups of $E$, and through it every character $\gamma$ of $G$ determines a primitive Dirichlet character $\chi_\gamma$. The character conditions require that $H_0$ has index $o$ in $H$, and that every character in $\mathcal K$ is $\chi_\gamma$ for some $\gamma$ that is trivial on the subgroup $\{0\}\times H_0$ of $G$ and takes the value $1$ at $s_0=((1,0),0)$, the nontrivial element of the inertia group at one of the ramified primes. There are $4o$ characters of $G$ trivial on $\{0\}\times H_0$. For every one of them with $\gamma(s_0)=-1$ or $\chi_\gamma\notin\mathcal K$, the conditions require $|g_{\chi_\gamma}(x)|\le x^{1/2+\varepsilon}$ and $|\kappa_{\chi_\gamma}|\le C\log x$. The set $T$ is required to have the proportion $4/(3o+1)$ of its elements in $H_0$ and the proportion $3/(3o+1)$ in each of the other $o-1$ cosets of $H_0$, with a relative error of at most $x^{-1+\varepsilon}$. The counting conditions require a second subset $T_2\subset H_0$, real-valued weight functions on $G$ and further real numbers that satisfy the hypotheses of "Prime-power count bound" except one, which holds for all large $x$, together with size conditions on the weights. The estimate starts from "Prime-power count bound", an upper bound for a weighted count of prime powers minus its main term. By "Prime-power Fourier identity", this difference is a combination of values of the functions $g_{\chi_\gamma}$ over all characters $\gamma$ of $G$. "From uniform prime counts to a character sum" takes the count bound, summed over $t\in T$, for each translation by an element $u\in H_0$, and concludes an upper bound for a weighted sum of the numbers $\Re g_{\chi_\gamma}(x)$ in which only the $4o$ characters $\gamma$ trivial on $\{0\}\times H_0$ occur. The weights are averages of $\gamma$ over $T$. For a character $\gamma$ with $\chi_\gamma\in\mathcal K$ that is nontrivial on $\{0\}\times H$, the sum of $\gamma(0,t)$ over $t\in T$ differs from $|T|/(3o+1)$ by at most $o\,x^{-1+\varepsilon}|T|$, by the proportions of $T$ in the cosets of $H_0$ ("Coset proportions and character averages"). For a character $\gamma$ that is trivial on $\{0\}\times H$ the sum is $|T|$; under the character conditions the characters of this kind with $\chi_\gamma\in\mathcal K$ are the trivial character and, when $\xi$ is chosen, the character with $\chi_\gamma=\xi$. These sums, divided by $|T|$, give the weights $1$ and $(3o+1)^{-1}$ of $G_{\mathcal K}$. The other characters trivial on $\{0\}\times H_0$ enter the inequality through $|g_{\chi_\gamma}(x)|$, and their total contribution is at most $4o\,x^{1/2+\varepsilon}$. The exponent arises as follows. The right-hand side of "Prime-power count bound" is a sum of three terms, multiplied by a power of $x$ whose exponent is at most $(E_D+E_P+3)\varepsilon$. "From uniform prime counts to a character sum" divides by $|T|mb(|T_2|/n)/2$, where $n=|H|$ and where the integer $m$ and the real number $b$ belong to the counting data; this is the normalization of "Normalizing the numerical error bracket". After the division the three terms are at most constant multiples of $x/m$, $m$ and $x^{1/2}$, each up to a factor $x^{O(\varepsilon)}$, and the counting conditions contain $x^{1/2-\varepsilon}\le m\le x^{1/2+\varepsilon/2}$; every term is then $x^{1/2+O(\varepsilon)}$. The passage to the functions $g_{\chi_\gamma}$ costs a factor $x^{3\varepsilon}$, and one more factor $x^\varepsilon$ absorbs the constant $1+4o$ that comes from the characters outside $\mathcal K$. The constants $K$, $C_*$ and $e_K$ bound other constants and parameters of "Prime-power count bound" and enter the estimate only through $x_1$: the one hypothesis of "Prime-power count bound" that the counting conditions omit is $\log x\le x^\varepsilon$ and $200(1+K)^2(1+c_*)(1+e_K)\le x^\varepsilon$, with $c_*\le C_*$, and it holds for all large $x$. For this reason $x_1$ depends on $\mathcal K$, $\xi$, $o$, $\varepsilon$ and the constants, and is the same for all fields and all data. Part 2 follows from part 1. Tied counting data of a family at $x$, defined in "Counting data tied to an arithmetic family", are counting data whose parameters, lattice slopes and weights are those of members of the family; they contain the counting conditions of part 1 for one member. Condition (a) gives the character conditions for that member, and part 1 applies to it at every large $x\in\mathcal W$. 1 unchanged paragraph Let $\mathcal K$ be a finite set of primitive Dirichlet characters that contains the principal character $1$ of modulus $1$ and, with every $\chi$, its conjugate $\overline\chi$. Let $o\ge0$ be an integer. Either let $\xi\in\mathcal K$ be an odd real-valued character, or let no such character be chosen. Let $G_{\mathcal K}$ be the weighted sum of smoothed character sums that the introduction attaches to $\mathcal K$, $\xi$ and $o$. Let $E_D,E_P$ be real numbers and let $\varepsilon>0$. 1. Let $K,C_*,e_K,C$ be real numbers. There is a real number $x_1\ge1$ with the following property. Let $x\ge x_1$, let a group $A$, a number field $E$ and the further data of Hypothesis (abelian CM field with reciprocity map) of "Family fields and Galois data" be given and satisfy that hypothesis, and let $T\subseteq A$. Suppose that both hypotheses of "Character and counting conditions at a single scale" hold for these data and $T$ at $x$: Hypothesis (character conditions) for $\mathcal K,\xi,o$ with constants $\varepsilon,C$, and Hypothesis (counting conditions) with constants $\varepsilon,E_D,E_P,K,C_*,e_K$. Then $$G_{\mathcal K}(x)\le x^{1/2+(E_D+E_P+7)\varepsilon}.$$ 2. Let $\mathcal F$ be an arithmetic family with exponent $\varepsilon$, as in "Arithmetic families with local and theta data", with member sets $I_x$ and set of occupied scales $\mathcal W$. Suppose that the following two conditions hold. (a) There are real numbers $C$ and $x_0\ge1$ such that, for every $x\ge x_0$ and every member $i\in I_x$, Hypothesis (character conditions) of "Character and counting conditions at a single scale" holds at $x$, with constants $\varepsilon,C$, for $\mathcal K,\xi,o$ and for the group, the field and the set $T$ of the member $i$. (b) There are real numbers $K,C_*,e_K,C_L$ and $x_0\ge1$ such that, for every $x\in\mathcal W$ with $x\ge x_0$, the family $\mathcal F$ has tied counting data at $x$ with constants $E_D,E_P,K,C_*,e_K,C_L$, as defined in "Counting data tied to an arithmetic family". Then there is a real number $x_1\ge1$ such that $$G_{\mathcal K}(x)\le x^{1/2+(E_D+E_P+7)\varepsilon}\qquad\text{for every }x\in\mathcal W\text{ with }x\ge x_1.$$ CONVENTIONS In part 1 the number $x_1$ depends only on $\mathcal K$, $\xi$, $o$, $\varepsilon$ and the six constants $E_D,E_P,K,C_*,e_K,C$; the same $x_1$ serves every group and field, every set $T$ and all the data whose existence Hypothesis (counting conditions) requires. In part 2 the group, the field and the set $T\subseteq A$ of a member are its data in Hypothesis (fields and Galois data) of "Family fields and Galois data", which contains Hypothesis (abelian CM field with reciprocity map). A character is odd when its value at $-1$ is $-1$. Let $\Lambda$ be the von Mangoldt function and $\gamma_{\!E}$ Euler's constant. For a nonprincipal primitive Dirichlet character $\chi$, put $$\kappa_\chi=\frac{L'(1,\chi)}{L(1,\chi)},\qquad g_\chi(y)=\sum_{1\le r\le y}\Lambda(r)\chi(r)(y/r-1)+y\kappa_\chi\qquad(y>0).$$ For the principal primitive character, of modulus $1$, put $$g_1(y)=\sum_{1\le r\le y}\Lambda(r)(y/r-1)-y\log y+(1+\gamma_{\!E})y.$$ Fix a primitive Dirichlet character $\psi$ of conductor $M$ and order $o$. For $0\le j<o$, let $\chi_j$ be the primitive character of conductor dividing $M$ that agrees with $\psi^j$ on integers coprime to $M$, and put $\mathcal P_\psi=\{\chi_j:0\le j<o\}$. Define $$G_\psi(x)=g_1(x)+\frac1{3o+1}\sum_{\chi\in\mathcal P_\psi\setminus\{1\}}\Re g_\chi(x).$$ There are real constants $e_D,e_L$ and $\varepsilon_1>0$ such that, for every $0<\varepsilon<\varepsilon_1$ and every real $Y_0$, some $Y\ge\max\{1,Y_0\}$ satisfies $$G_\psi(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}\qquad(Y\le x\le Y^{3/2}).$$ 1 unchanged paragraph Applied to the families of "Arithmetic interval realization for a primitive character", the theorem gives the hypothesis of "Landau theorem on intervals" for the primitive characters that induce the powers of a given primitive character. The estimate gives the interval hypothesis of "Landau theorem on intervals" for the characters in $\mathcal P_\psi$, with positive weights $1$ and $(3o+1)^{-1}$, whenever $0<1/2+(e_D+e_L+7)\varepsilon<1$. 1 unchanged paragraph We prove the assertion with $e_D=2$ and $e_L=0$. The arithmetic input is "Arithmetic interval realization for a primitive character", which establishes the hypotheses needed by "Compatible arithmetic data on intervals" with these fixed exponent bounds. First we describe finite-group and counting data at a single scale $x$. Averaging over a subgroup converts a bound for prime-power counts into a bound for $G_\psi$, with at most $4o$ additional character sums to estimate. Step 3 states the existence result that provides these data throughout arbitrarily distant intervals. 6 unchanged paragraphs Step 3: choose these data simultaneously on intervals. Apply "Arithmetic interval realization for a primitive character" to $\psi$. This gives the conclusions of "Compatible arithmetic data on intervals" with counting-exponent bounds $E_D=2$ and $E_P=0$. Write $\varepsilon_1>0$ for its bound on $\varepsilon$. For $0<\varepsilon<\min\{\varepsilon_1,1/52\}$, choose its family, threshold $x_0\ge3$ and set $\mathcal W\subset[3,\infty)$ of occupied scales, satisfying $$\forall Z\in\mathbb R\quad\exists Y\ge\max\{1,Z\}:\qquad [Y,Y^{3/2}]\subset\mathcal W.$$ For every $x\in\mathcal W$ with $x\ge x_0$, take the group $H$, subgroup $H_0$, primes $q,d$, and the other data of Steps 1 and 2 from this family. Restrict its translation index set from $H$ to $H_0$; the counting and weight conditions hold for every translation in $H$, hence also for every translation in $H_0$. The threshold $x_0$ is independent of $x$; the groups, primes and weights may depend on $x$. The analytic conditions hold for every sufficiently large member of the family, while the counting conditions select a member at each sufficiently large occupied scale. Choosing this member beyond both thresholds gives all conditions on the same data. The exponents remain bounded by $2,0$, independently of $\varepsilon$ and the member. Step 3: choose these data simultaneously on intervals. Apply "Compatible arithmetic data on intervals" to $\psi$. Write $\varepsilon_1$ for the resulting positive bound on $\varepsilon$. For $0<\varepsilon<\min\{\varepsilon_1,1/52\}$, this gives a threshold $x_0\ge3$ and a set $\mathcal W\subset[3,\infty)$ such that $$\forall Z\in\mathbb R\quad\exists Y\ge\max\{1,Z\}:\qquad [Y,Y^{3/2}]\subset\mathcal W.$$ For every $x\in\mathcal W$ with $x\ge x_0$, the data in Steps 1 and 2 exist simultaneously. The counting error exponents are at most $2$ and $0$, so we take $e_D=2,e_L=0$ throughout the remaining estimates. The threshold $x_0$ is uniform over $x\in\mathcal W$; the groups, primes, weights and numerical parameters may depend on $x$. To combine the analytic and counting conditions, it suffices to construct, for each $x\in\mathcal W$, a nonempty collection of choices with the following two properties. Beyond a threshold $x_A$, every choice satisfies Step 1 and the coset proportions in Step 2. Beyond a threshold $x_C$, at least one choice satisfies all the remaining conditions of Step 2. Both thresholds must be independent of $x$. Selecting this latter choice and taking $x_0=\max\{3,x_A,x_C\}$ gives both sets of conditions for the same group, primes and weights. The cyclic subgroup in Step 1 comes from the construction of the finite group. For an integer $e\ge2$, put $$Q=\operatorname{lcm}(2^{e+2},M),\qquad C_e=(\mathbb Z/2^{e+2}\mathbb Z)^\times/\{\pm1\},\qquad B_\psi=\{\psi(a):a\in\mathbb Z,\ (a,M)=1\}\subset\mathbb C^\times.$$ Write $[a]$ for reduction modulo $2^{e+2}$ followed by the quotient by $\{\pm1\}$. Take $H$ to be the image of the homomorphism $$(\mathbb Z/Q\mathbb Z)^\times\longrightarrow C_e\times B_\psi,\qquad a\longmapsto([a],\psi(a)),$$ and take $H_0$ to be the kernel of the second projection on $H$, writing these groups additively in Steps 1 and 2. The first projection is injective on $H_0$. Since $C_e$ is cyclic, generated by the class of $5$, $H_0$ is cyclic. The second projection has image $B_\psi$, so $[H:H_0]=o$. Cyclicity is inherited from this construction; Steps 4–7 use $T_2\subset H_0$ and the index $o$. The prime congruences are requirements of the number-field construction. "Auxiliary primes with controlled twists" imposes them together with $q\mid d+1$ and $p\mid d+1$ for every odd prime $p\le U^{\varepsilon/5}$, where $U\ge1$ is the scale at which the primes are chosen. "Simultaneous auxiliary-prime and cohomological windows" retains these conditions while choosing the same primes for the analytic estimates and the localization-kernel bound. The quadratic fields $\mathbb Q(\sqrt{-q})$ and $\mathbb Q(\sqrt{-d})$ have discriminants $-q$ and $-d$; the congruences make $2$ inert in the first and split in the second. The divisibilities give $-d\equiv1\pmod q$ and $-d\equiv1\pmod p$ for the indicated odd primes, so these primes also split in $\mathbb Q(\sqrt{-d})$. Put $F_e=\mathbb Q(\zeta_{2^{e+2}})^+$, where $\zeta_{2^{e+2}}$ is a primitive $2^{e+2}$th root of unity and the superscript $+$ denotes the maximal real subfield. The stronger congruence modulo $16$ prevents an odd power of Frobenius at $d$ from acting trivially on $F_e$: every odd power of $d$ is $7\pmod{16}$ and hence is neither $1$ nor $-1$ modulo $2^{e+2}$. Quadratic reciprocity and $(-d/q)=1$ give $(-q/d)=-1$, with the parenthesized expressions denoting Legendre symbols. Thus complex conjugation cannot belong to a decomposition group at $d$ in $F_e\mathbb Q(\sqrt{-q},\sqrt{-d})$: its action on $\mathbb Q(\sqrt{-q})$ would require an odd power of Frobenius, whose action on $F_e$ is nontrivial, whereas complex conjugation fixes $F_e$. These restrictions enter the number-field construction; Steps 4–7 use the inertia and Frobenius conditions displayed in Step 1. 1 unchanged paragraph For $\gamma\in\mathcal K\setminus\{1\}$, the character $t\mapsto\gamma(\iota(t))$ is nontrivial by Step 1 and is trivial on $H_0$ because $\mathcal K\subset\Psi_0$. "Coset proportions and character averages", with constant contribution $3c|T|$, additional contribution $c|T|$ on $H_0$, and error $x^{-1+\varepsilon}|T|$, gives $$\left|\sum_{t\in T}\gamma(\iota(t))-c|T|\right|\le ox^{-1+\varepsilon}|T|.$$ Here is the coset calculation for this application. The character is constant on each of the $o$ cosets of $H_0$, with values of modulus one. By Step 2, replacing each coset size $|T\cap(h+H_0)|$ by $\lambda(h)|T|$ changes the character sum by at most $ox^{-1+\varepsilon}|T|$. The replacement sum equals $c|T|$: the contribution $3c|T|$ on every coset sums to zero by nontrivial-character orthogonality on $H/H_0$, and the additional contribution on $H_0$ is $c|T|$. For the trivial character the sum over $T$ is $|T|$. 3 unchanged paragraphs Every hypothesis of "From uniform prime counts to a character sum" holds when $x\in\mathcal W$ and $x\ge\max\{x_0,x_1\}$. The coefficient identity and the definition of $\kappa$ in Step 1 identify its smoothed sums with $h_\gamma$, including the principal term. Step 1 gives its subgroup and arithmetic conditions, Step 2 gives its size and weight conditions, and Step 4 gives its character conditions. The error in Step 4 is at most the permitted $4ox^{-1+\varepsilon}|T|$. Step 5 gives its count hypothesis, since $$\frac{|T_2|kbx^\varepsilon}{n(nx^{-\varepsilon})}=\frac{|T_2|kbx^{2\varepsilon}}{n^2}.$$ The coefficient of the trivial character is $1$. Every other member of $\mathcal K$ is nontrivial on $\iota(H)$ by Step 1, so its coefficient is $c$. The bijectionnormalization in Step 4 therefore identifies the conclusion of "From uniform prime counts to a character sum" as $$G_\psi(x)\le x^{1/2+8\varepsilon}+\Sigma(x),\qquad \Sigma(x)=\sum_{\gamma\in\Psi_0\setminus\mathcal K}|h_\gamma(x)|.$$uses "Normalizing the numerical error bracket". Dividing the bracket in Step 5 by the positive factor $|T|mb(|T_2|/n)/2$ gives contributions involving $x/m$ and $m$, multiplied by powers of $x^\varepsilon$; the remaining terms are controlled by the bounds on $k,|T|,|T_2|$. The construction in "Arithmetic interval realization for a primitive character" has $$x^{1/2-\varepsilon/16}\le m\le2x^{1/2-\varepsilon/16}.$$ Thus both competing terms have size $x^{1/2}$ up to powers of $x^\varepsilon$. The precise inequalities in "Normalizing the numerical error bracket" give the exponent $1/2+(C+3)\varepsilon=1/2+8\varepsilon$ used here. The coefficient of the trivial character is $1$. Every other member of $\mathcal K$ is nontrivial on $\iota(H)$ by Step 1, so its coefficient is $c$. The bijection in Step 4 therefore identifies the conclusion of "From uniform prime counts to a character sum" as $$G_\psi(x)\le x^{1/2+8\varepsilon}+\Sigma(x),\qquad \Sigma(x)=\sum_{\gamma\in\Psi_0\setminus\mathcal K}|h_\gamma(x)|.$$ 1 unchanged paragraph

Version 4 , changes from version 3 are marked

2 unchanged paragraphs Fix a primitive Dirichlet character $\psi$ of conductor $M$ and order $o$. Let $\mathcal P_\psi$For $0\le j<o$, let $\chi_j$ be the setprimitive character of primitive characters inducing the powers $\psi^j$, $0\le j<o$: the character inducing $\psi^j$conductor dividing $M$ that agrees with $\psi^j$ on integers coprime to $M$.$M$, and put $\mathcal P_\psi=\{\chi_j:0\le j<o\}$. Define $$G_\psi(x)=g_1(x)+\frac1{3o+1}\sum_{\chi\in\mathcal P_\psi\setminus\{1\}}\Re g_\chi(x).$$ There are real constants $e_D,e_L$ and $\varepsilon_1>0$ such that, for every $0<\varepsilon<\varepsilon_1$ and every real $Y_0$, some $Y\ge\max\{1,Y_0\}$ satisfies $$G_\psi(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}\qquad(Y\le x\le Y^{3/2}).$$ 1 unchanged paragraph The positive weights in $G_\psi$ make thisestimate gives the interval estimate required byhypothesis of "Landau theorem on intervals" for the characters in $\mathcal P_\psi$.P_\psi$, with positive weights $1$ and $(3o+1)^{-1}$, whenever $0<1/2+(e_D+e_L+7)\varepsilon<1$. 1 unchanged paragraph We prove the assertion with $e_D=2$ and $e_L=0$. First we describe finite-group and counting data at a single scale $x$. Averaging over a subgroup converts a bound for prime-power counts into a bound for $G_\psi$, with at most $4o$ additional character sums to estimate. Step 3 states the existence result that provides these data throughout arbitrarily distant intervals. Subgroup averaging isolates the powers of $\psi$, and unequal proportions in the subgroup's cosets give the coefficient $(3o+1)^{-1}$. A uniform upper bound for weighted prime-power counts then bounds $G_\psi$, apart from auxiliary quadratic twists whose smoothed sums are already controlled. The existence theorem in Step 3 permits these estimates to be used throughout arbitrarily distant intervals. Step 1: specifyrealize the arithmetic data needed at one scale.Dirichlet characters as characters of a finite group. Put $$c=(3o+1)^{-1},\qquad K_0=\sum_{\chi\in\mathcal P_\psi\setminus\{1\}}|\kappa_\chi|.$$ Fix $x\ge3$ and $0<\varepsilon<1/52$. Let $H$ be a finite abelian group, written additively, and $H_0\le H$ a cyclic subgroup of index $o$. Write $$n=|H|,\quad G=(\mathbb Z/2\mathbb Z)^2\times H,\quadH,\quad \iota(t)=((0,0),t)\quad(t\in H),$$ $$ \Phi=\{((0,\beta),h):\beta\in\mathbb Z/2\mathbb Z,\ h\in H\},$$ $$s_0=((1,0),0),\quad c_0=((1,1),0),\quad \chi_C((\alpha,\beta),h)=(-1)^\alpha,\quad P_t(g)=c_0+g+(0,t).$$ Here $(0,t)$ means $((0,0),t)$, andP_t(g)=c_0+g+\iota(t).$$ In the formula for $\chi_C$, the values at $\alpha=0,1$ are $1,-1$, respectively. Write $\widehat G$ denotesG=\operatorname{Hom}(G,\mathbb C^\times)$ for the complex characters of $G$.$G$, and denote its trivial character by $1$. Choose a positive integer $R$ and a surjective homomorphism $\rho:(\mathbb Z/R\mathbb Z)^\times\to G$. For $\gamma\in\widehat G$, let $\chi_\gamma$ be the primitive Dirichlet character inducing $\gamma\circ\rho$ modulo $R$, and put $h_\gamma(y)=g_{\chi_\gamma}(y)$ for $y>0$. The map $\gamma\mapsto\chi_\gamma$ is injective: equality of primitive characters gives equality of their induced characters modulo $R$, and surjectivity of $\rho$ then gives equality of the characters of $G$. In particular, $\chi_\gamma=1$ if and only if $\gamma=1$. ChooseFor each prime $p$, choose a positive integer $R$ and a surjective homomorphism $\rho:(\mathbb Z/R\mathbb Z)^\times\to G$. For $\gamma\in\widehat G$, let $\chi_\gamma$ be the primitive character inducing the character $\gamma\circ\rho$ modulo $R$, and put $h_\gamma(y)=g_{\chi_\gamma}(y)$. Choose subgroupssubgroup $I_p\le G$ and elementsan element $F_p\in G$ for each prime $p$, andG$. For every positive integer $r$, require the coefficient identity $$a_\gamma(r):=\prod_{p\mid r}\frac1{|I_p|}\sum_{z\in I_p}\gamma(v_p(r)F_p+z)=\chi_\gamma(r)\qquad(r\ge1),$$ where $v_p(r)$ is the exponent of $p$ in $r$. Put $\kappa(\gamma)=\kappa_{\chi_\gamma}$ for $\gamma\ne1$ and $\kappa(1)=0$. Require primes $q\equiv3\pmod8$, $d\equiv7\pmod{16}$, and a finite set $S$ of primes with $$2,q\in S,\quad d\notin S,\quad I_d=\{0,s_0\},$$ $$I_p=\{0\}\ (p\notin S\cup\{d\}),\qquad I_p\subset\Phi,\ F_p\in\Phi\ (p\in S).$$ Let $\Psi_0=\{\gamma\in\widehat G:\gamma(0,u)=1\text{G:\gamma(\iota(u))=1\text{ for every }u\in H_0\}$ and $\mathcal K=\{\gamma\in\widehat G:\chi_\gamma\in\mathcal P_\psi\}$. Require every character in $\mathcal P_\psi$ to occur as a $\chi_\gamma$, and require $$\mathcal K\subset\Psi_0,\qquad \gamma(s_0)=1\quad(\gamma\in\mathcal K),$$ with $1$ the only member of $\mathcal K$ trivial on $\{0\}\times H$.$\iota(H)$. For the remaining characters require $$|\kappa(\gamma)|\le4\log x,\qquad |h_\gamma(x)|\le x^{1/2+\varepsilon}\quad(\gamma\in\Psi_0\setminus\mathcal K).$$ Step 2: specify weights for the weights and the numerical hypotheses.prime-power counts. Choose $T\subset H$, $T_2\subset H_0$, integers $m,N\ge0$, positive real numbers $b,b',k,X'$, nonnegative real numbers $a_0,\eta,\theta$, a function $a:H\to\mathbb R$, and weights $w_{u,j}:G\to\mathbb R$ for $u\in H_0$, $0\le j<m$. Extend the weights arbitrarily to $u\in H\setminus H_0$. Write $a_t=a(t)$ and $\beta=|T_2|/n$.$a_t=a(t)$. Require $$a_0\le2xb,\quad |T|\ge\tfrac12nx^{-\varepsilon/8},\quad \beta\ge|T_2|/n\ge x^{-\varepsilon},$$ $$x^{1/2-\varepsilon}\le m\le x^{1/2+\varepsilon/2},\qquad xm\le k\le n^2x^{1/2-\varepsilon},$$ and, for every $h\in H$, $$\left||T\cap(h+H_0)|-\lambda(h)|T|\right|\le x^{-1+\varepsilon}|T|,\qquad \lambda(h)=\begin{cases}4c,&h\in H_0,\\3c,&h\notin H_0.\end{cases}$$ For $t\in T$ require $|a_t/b-x|\le1$. Each$|a_t/b-x|\le1$; thus $a_t\ge b(x-1)>0$. For every $u\in H_0$ and $0\le j<m$, require $w_{u,j}$ isto be positive on $\Phi$, takesto take values in $[b,b+\eta+1]$ on $\{((0,1),s+u):s\in T_2\}$, and isto be at most $2b'$ elsewhere onat the other points of $\Phi$. The remaining conditions areAlso require $$b'X'\le xb,\qquad a_t/w_{u,j}(g)\le N\quad(t\in T,\ g\in\Phi),$$ $$|h_\gamma(y)|\le y\theta\quad(\gamma\in\widehat G,\ y\ge X'/3),$$ $$2(2n)(x+1)\theta\le1/x,\qquad6(2n)(x+1)(\eta+1)\le b/x.$$ For $s>0$, $t\in H$, and $w:G\to\mathbb R$ positive on $\Phi$, define $(z)_+=\max\{z,0\}$ and the prime-power count $$\begin{aligned} A(s,t,w)={}&2\!\sum_{\substack{p\le N\ \mathrm{prime},\ p\notin\{2,q,d\}\\F_p\notin\Phi}}\!\log p \sum_{\substack{1\le i\le N\\iF_p\notin\Phi}}(s/p^i-w(P_t(iF_p)))_+\\ &+\log d\sum_{i=1}^N\sum_{\substack{g\in G\setminus\Phi\\g-iF_d\in I_d}}(s/d^i-w(P_t(g)))_+. \end{aligned}$$ Its complex main term is $$M_0(s,w)=s\left(\log s-1-\gamma_{\!E}+\kappa(\chi_C)-\frac1{2n}\sum_{g\in\Phi}\log w(g)\right).$$ Choose the remaining real parameters and nonempty finite sets required by all eleven numerical conditions and all seven size conditions of "Prime-power count bound". Take its translation index set to be $H_0$ and its translation map to be the inclusion $H_0\hookrightarrow H$. Use the same arithmetic data, $\kappa$, $x,\varepsilon,n,m,b,b',k,T,T_2$, weights and cutoff $N$, and use $a_0$ for the real parameter denoted $a$ in "Prime-power count bound". Its count and main term are then $\sum_{t\in T}\sum_{j=0}^{m-1}A(a_t,t,w_{u,j})$ and $\sum_{t\in T}\sum_{j=0}^{m-1}\Re M_0(a_t,w_{u,j})$, respectively. Require the nonnegative error exponents denoted $e_D,e_P$ in "Prime-power count bound" to be at most $2,0$, respectively. In particular, the numerical conditions include nonnegative real numbers $B_0,N_c$ satisfying $$B_0\le2nmbx^\varepsilon,\qquad N_c\le|T_2|kbx^{2\varepsilon}/n^2.$$ Step 3: choose these data simultaneously on intervals. Apply "Compatible arithmetic data on intervals" to $\psi$. Write $\varepsilon_1$ for the resulting positive bound on $\varepsilon$. For $0<\varepsilon<\min\{\varepsilon_1,1/52\}$, this gives a threshold $x_0\ge3$ and a set $\mathcal W\subset[3,\infty)$ such that $$\forall Z\in\mathbb R\quad\exists Y\ge\max\{1,Z\}:\qquad [Y,Y^{3/2}]\subset\mathcal W.$$ For every $x\in\mathcal W$ with $x\ge x_0$, the data in Steps 1 and 2 exist simultaneously. The counting error exponents are at most $2$ and $0$, so we take $e_D=2,e_L=0$ throughout the remaining estimates. The threshold $x_0$ is uniform over $x\in\mathcal W$; the groups, primes, weights and numerical parameters may depend on $x$. To combine the analytic and counting conditions, it suffices to construct, for each $x\in\mathcal W$, a nonempty collection of choices with the following two properties. Beyond a threshold $x_A$, every choice satisfies Step 1 and the coset proportions in Step 2. Beyond a threshold $x_C$, at least one choice satisfies all the remaining conditions of Step 2. Both thresholds must be independent of $x$. Selecting this latter choice and taking $x_0=\max\{3,x_A,x_C\}$ gives both sets of conditions for the same group, primes and weights. The cyclic subgroup in Step 1 comes from the construction of the finite group. For an integer $e\ge2$, put $$Q=\operatorname{lcm}(2^{e+2},M),\qquad C_e=(\mathbb Z/2^{e+2}\mathbb Z)^\times/\{\pm1\},\qquad B_\psi=\{\psi(a):a\in\mathbb Z,\ (a,M)=1\}\subset\mathbb C^\times.$$ Write $[a]$ for reduction modulo $2^{e+2}$ followed by the quotient by $\{\pm1\}$. Take $H$ to be the image of the homomorphism $$(\mathbb Z/Q\mathbb Z)^\times\longrightarrow C_e\times B_\psi,\qquad a\longmapsto([a],\psi(a)),$$ and take $H_0$ to be the kernel of the second projection on $H$, writing these groups additively in Steps 1 and 2. The first projection is injective on $H_0$. Since $C_e$ is cyclic, generated by the class of $5$, $H_0$ is cyclic. The second projection has image $B_\psi$, so $[H:H_0]=o$. Cyclicity is inherited from this construction; Steps 4–7 use $T_2\subset H_0$ and the index $o$. The prime congruences are requirements of the number-field construction. "Auxiliary primes with controlled twists" imposes them together with $q\mid d+1$ and $p\mid d+1$ for every odd prime $p\le U^{\varepsilon/5}$, where $U\ge1$ is the scale at which the primes are chosen. "Simultaneous auxiliary-prime and cohomological windows" retains these conditions while choosing the same primes for the analytic estimates and the localization-kernel bound. The quadratic fields $\mathbb Q(\sqrt{-q})$ and $\mathbb Q(\sqrt{-d})$ have discriminants $-q$ and $-d$; the congruences make $2$ inert in the first and split in the second. The divisibilities give $-d\equiv1\pmod q$ and $-d\equiv1\pmod p$ for the indicated odd primes, so these primes also split in $\mathbb Q(\sqrt{-d})$. Put $F_e=\mathbb Q(\zeta_{2^{e+2}})^+$, where $\zeta_{2^{e+2}}$ is a primitive $2^{e+2}$th root of unity and the superscript $+$ denotes the maximal real subfield. The stronger congruence modulo $16$ prevents an odd power of Frobenius at $d$ from acting trivially on $F_e$: every odd power of $d$ is $7\pmod{16}$ and hence is neither $1$ nor $-1$ modulo $2^{e+2}$. Quadratic reciprocity and $(-d/q)=1$ give $(-q/d)=-1$, with the parenthesized expressions denoting Legendre symbols. Thus complex conjugation cannot belong to a decomposition group at $d$ in $F_e\mathbb Q(\sqrt{-q},\sqrt{-d})$: its action on $\mathbb Q(\sqrt{-q})$ would require an odd power of Frobenius, whose action on $F_e$ is nontrivial, whereas complex conjugation fixes $F_e$. These restrictions enter the number-field construction; Steps 4–7 use the inertia and Frobenius conditions displayed in Step 1. We also need numerical hypotheses for a prime-power count. For $a>0$, $t\in H$, and a weight $w$ positive on $\Phi$, define $(z)_+=\max(z,0)$ and $$\begin{aligned} A(a,t,w)={}&2\!\sum_{\substack{p\le N\ \mathrm{prime},\ p\notin\{2,q,d\}\\F_p\notin\Phi}}\!\log p \sum_{\substack{1\le i\le N\\iF_p\notin\Phi}}(a/p^i-w(P_t(iF_p)))_+\\ &+\log d\sum_{i=1}^N\sum_{\substack{g\in G\setminus\Phi\\g-iF_d\in I_d}}(a/d^i-w(P_t(g)))_+, \end{aligned}$$ $$M_0(a,w)=a\left(\log a-1-\gamma_{\!E}+\kappa(\chi_C)-\frac1{2n}\sum_{g\in\Phi}\log w(g)\right).$$ For every $u\in H_0$, require numerical inputs satisfying all eleven numerical conditions and all seven size conditions of "Prime-power count bound", with its count and main term equal to $\sum_{t\in T}\sum_{j=0}^{m-1}A(a_t,t,w_{u,j})$ and $\sum_{t\in T}\sum_{j=0}^{m-1}\Re M_0(a_t,w_{u,j})$, respectively. Use $a_0$ for the real parameter called $a$ in "Prime-power count bound"; use the same $x,\varepsilon,n,m,b,k,T,T_2$, weights and cutoff. The two nonnegative error exponents in "Prime-power count bound" must be at most $e_D=2$ and $e_L=0$, respectively. In particular, the numerical inputs include nonnegative budgets $B_0,N_c$ with $$B_0\le2nmbx^\varepsilon,\qquad N_c\le|T_2|kbx^{2\varepsilon}/n^2.$$ Step 3: choose these data simultaneously on intervals. Step 3 uses the following existence theorem, which we do not prove here: For the fixed $\psi$, there is $\varepsilon_1>0$ such that for every $0<\varepsilon<\min\{\varepsilon_1,1/52\}$ there are a real $x_0\ge3$ and a set $\mathcal W\subset[3,\infty)$ satisfying $$\forall Y_0\in\mathbb R\ \exists Y\ge\max\{1,Y_0\}:\quad [Y,Y^{3/2}]\subset\mathcal W.$$ For every $x\in\mathcal W$ with $x\ge x_0$, there are data satisfying every condition in Steps 1 and 2, with $e_D=2,e_L=0$. The auxiliary-prime choice uses "Simultaneous auxiliary-prime and cohomological windows", with both the localization-kernel hypothesis and the auxiliary-prime existence hypothesis stated in "Simultaneous auxiliary-prime and cohomological windows". The analytic estimates for the additional quadratic twists use "Auxiliary primes with controlled twists". The simultaneous construction of the weights and numerical inputs is included in the existence theorem above. Its threshold $x_0$ is chosen before $x$; the groups, primes and weights may depend on $x$. Step 4: obtain the character weights. The map $\gamma\mapsto\chi_\gamma$ is injective: equality ofweights from the primitive characterscoset proportions. Step 1 gives equality of the induced characters modulo $R$, and surjectivity of $\rho$ then gives equality of the characters of $G$. Thusa bijection $\mathcal K$ maps bijectively to $\mathcalK\to\mathcal P_\psi$, with $1$ mapping to the principal primitive character. The characters in $\Psi_0$ are exactly thosethe characters of $G/(\{0\}\times H_0)$,$G/\iota(H_0)$, a group of order $4o$. Mathlib'sThe finite-character counting formula in Mathlib therefore gives $|\Psi_0|=4o$. For $\gamma\in\mathcal K\setminus\{1\}$, the character $t\mapsto\gamma(\iota(t))$ is nontrivial by Step 1 and is trivial on $H_0$ because $\mathcal K\subset\Psi_0$. "Coset proportions and character averages", with constant contribution $3c|T|$, additional contribution $c|T|$ on $H_0$, and error $x^{-1+\varepsilon}|T|$, gives $$\left|\sum_{t\in T}\gamma(\iota(t))-c|T|\right|\le ox^{-1+\varepsilon}|T|.$$ Here is the coset calculation for this application. The character is constant on each of the $o$ cosets of $H_0$, with values of modulus one. By Step 2, replacing each coset size $|T\cap(h+H_0)|$ by $\lambda(h)|T|$ changes the character sum by at most $ox^{-1+\varepsilon}|T|$. The replacement sum equals $c|T|$: the contribution $3c|T|$ on every coset sums to zero by nontrivial-character orthogonality on $H/H_0$, and the additional contribution on $H_0$ is $c|T|$. For the trivial character the sum over $T$ is $|T|$. Apply "Coset proportions and character averages" to $H_0\le H$, $T$, and $\delta=x^{-1+\varepsilon}$. For $\gamma\in\mathcal K\setminus\{1\}$, the restriction $t\mapsto\gamma(0,t)$ is nontrivial and trivial on $H_0$, so $$\left|\sum_{t\in T}\gamma(0,t)-c|T|\right|\le ox^{-1+\varepsilon}|T|.$$ Indeed, the sum over $T$ is the sum over the $o$ cosets of their sizes times the character value. Replacing the sizes by $(3c+c\mathbf1_{H_0}(h))|T|$ costs at most $ox^{-1+\varepsilon}|T|$. The constant part vanishes by character orthogonality, while the $H_0$ term gives $c|T|$. Here $\mathbf1_{H_0}$ is $1$ on $H_0$ and $0$ elsewhere. For the trivial character the sum over $T$ is $|T|$. 1 unchanged paragraph Step 5: bound the count at every translation. Set $$\Delta_u=\sum_{t\in T}\sum_{j=0}^{m-1}\{A(a_t,t,w_{u,j})-\Re M_0(a_t,w_{u,j})\},$$ $$B=|T|a_0(1+m^2/k)+2nm^2bx^\varepsilon+\frac{m|T_2|kbx^{2\varepsilon}}{n^2}.$$ All the hypotheses of "Prime-power count bound" hold by Step 2, and the exponent in "Prime-power count bound" is at most $2+0+3=5$. Since $x\ge1$, $\varepsilon>0$ and $B\ge0$, "Prime-power count bound" gives $$\Delta_u\le x^{5\varepsilon}B\qquad(u\in H_0).$$ Step 5: bound the count at every translation. Set $$\Delta_u=\sum_{t\in T}\sum_{j=0}^{m-1}\{A(a_t,t,w_{u,j})-\Re M_0(a_t,w_{u,j})\},$$ $$C=e_D+e_L+3,\qquad B=|T|a_0(1+m^2/k)+2nm^2bx^\varepsilon+\frac{m|T_2|kbx^{2\varepsilon}}{n^2}.$$ The numerical inputs in Step 2 satisfy all the hypotheses of "Prime-power count bound" for each $u\in H_0$. Apply "Prime-power count bound" and increase its error exponent to $C$: this preserves the inequality because $x\ge1$, $\varepsilon>0$, and $B\ge0$. The result is $$\Delta_u\le x^{C\varepsilon}B\qquad(u\in H_0).$$ Step 6: convert the count bound into the smoothed character bound. Step 6 uses "From uniform prime counts to a character sum", which we do not prove here. ApplyIn "From uniform prime counts to a character sum" with constants $C$,sum", take the count exponent constant to be $C=5$, the logarithmic-derivative constant to be $C_a=4$, the bound for $|\kappa(\gamma)|$ on $\mathcal K\setminus\{1\}$ to be $K_0$, the nontrivial-character weight to be $c$, and the character-count bound to be $4o$. These constants are fixed before $x$, with $C\ge0$ and $C\ge0$, $|c|\le1$.$0<c\le1$. Let $x_1$ be the resulting threshold, which is independent of the group and weights. Every hypothesis of "From uniform prime counts to a character sum" now holds when $x\in\mathcal W$ and $x\ge\max\{x_0,x_1\}$: the$x\ge\max\{x_0,x_1\}$. The coefficient identity and the definition of $\kappa$ in Step 1 identifiesidentify its smoothed sums with $h_\gamma$, including the principal term. Step 1 gives its subgroup and arithmetic conditions, and Step 2 gives its size and weight conditions.conditions, and Step 4 gives its character conditions; its permitted discrepancy $4ox^{-1+\varepsilon}|T|$ includes the bound provedconditions. The error in Step 4.4 is at most the permitted $4ox^{-1+\varepsilon}|T|$. Step 5 gives its uniform count hypothesis.hypothesis, since $$\frac{|T_2|kbx^\varepsilon}{n(nx^{-\varepsilon})}=\frac{|T_2|kbx^{2\varepsilon}}{n^2}.$$ The coefficient of the trivial character has weight $1$, and everyis $1$. Every other member of $\mathcal K$ has weight $c$,is nontrivial on $\iota(H)$ by Step 1, so theits coefficient is $c$. The bijection in Step 4 therefore identifies the conclusion of "From uniform prime counts to a character sum" as $$G_\psi(x)\le x^{1/2+(e_D+e_L+6)\varepsilon}+\Sigma(x),\qquadx^{1/2+8\varepsilon}+\Sigma(x),\qquad \Sigma(x)=\sum_{\gamma\in\Psi_0\setminus\mathcal K}|h_\gamma(x)|.$$ Step 7: absorb the auxiliary characters and choose the interval. The bounds in Step 1 and $|\Psi_0|=4o$ give $\Sigma(x)\le4ox^{1/2+\varepsilon}$. Since $e_D,e_L\ge0$, $$G_\psi(x)\le(1+4o)x^{1/2+(e_D+e_L+6)\varepsilon}.$$$x\ge1$ and $\varepsilon>0$, $$G_\psi(x)\le(1+4o)x^{1/2+8\varepsilon}.$$ Choose a further threshold $x_2\ge3$ such that$x_2=\max\{3,(1+4o)^{1/\varepsilon}\}$. Then $x^\varepsilon\ge1+4o$ for $x\ge x_2$;x_2$, by the existence of $x_2$ follows from Mathlib's divergence of positive real powers. For every $x\in\mathcal W$ with $x\ge\max\{x_0,x_1,x_2\}$ we obtainreal-power identities and monotonicity in Mathlib. Consequently, $$G_\psi(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}.$$x^{1/2+9\varepsilon}\qquad(x\in\mathcal W,\ x\ge\max\{x_0,x_1,x_2\}).$$ Given any real $Y_0$, chooseStep 3 provides $Y\ge\max\{Y_0,x_0,x_1,x_2\}$ with $[Y,Y^{3/2}]\subset\mathcal W$, using Step 3.W$. The displayed inequalitybound holds at every point of this interval. Finally replaceReplace $\varepsilon_1$ by $\min\{\varepsilon_1,1/52\}$. The fixed choices $e_D=2,e_L=0$ then prove$\min\{\varepsilon_1,1/52\}$ to obtain the asserted quantifier range; since $e_D+e_L+7=9$, this proves the statement.

Version 3 , changes from version 2 are marked

1 unchanged paragraph Let $\Lambda$ be the von Mangoldt function and $\gamma_{\!E}$ Euler's constant. For a nonprincipal primitive Dirichlet character $\chi$, put $$\kappa_\chi=\frac{L'(1,\chi)}{L(1,\chi)},\qquad g_\chi(y)=\sum_{1\le r\le y}\Lambda(r)\chi(r)(y/r-1)+y\kappa_\chi\qquad(y>0).$$ For the principal primitive character, of modulus $1$, put $$g_1(y)=\sum_{1\le r\le y}\Lambda(r)(y/r-1)-y\log y+(1+\gamma_{\!E})y.$$ Fix a primitive Dirichlet character $\psi$ of conductor $M$ and order $o$. Let $\mathcal P_\psi$ be the set of primitive characters inducing the powers $\psi^j$, $0\le j<o$: the character inducing $\psi^j$ agrees with $\psi^j$ on integers coprime to $M$. Define $$G_\psi(x)=g_1(x)+\frac1{3o+1}\sum_{\chi\in\mathcal P_\psi\setminus\{1\}}\Re g_\chi(x).$$ There are real constants $e_D,e_L$ and $\varepsilon_1>0$ such that, for every $0<\varepsilon<\varepsilon_1$ and every real $Y_0$, some $Y\ge\max\{1,Y_0\}$ satisfies $$G_\psi(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}\qquad(Y\le x\le Y^{3/2}).$$ Use the smoothed sums $g_\chi$ and $g_1$ of Landau theorem on intervals. Let $\psi$ be a primitive Dirichlet character of order $o$. In the following sum, $\chi$ runs over the primitive characters inducing the nontrivial powers of $\psi$: $$G_\psi(x)=g_1(x)+\frac1{3o+1}\sum_\chi\Re g_\chi(x).$$ There are constants $e_D,e_L$ such that, for every sufficiently small $\varepsilon>0$, there are arbitrarily large $Y$ for which $$G_\psi(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}\qquad(Y\le x\le Y^{3/2}).$$ 1 unchanged paragraph The positive weights in $G_\psi$ make this the interval estimate required by "Landau theorem on intervals" for the characters in $\mathcal P_\psi$. PROOF Subgroup averaging isolates the powers of $\psi$, and unequal proportions in the subgroup's cosets give the coefficient $(3o+1)^{-1}$. A uniform upper bound for weighted prime-power counts then bounds $G_\psi$, apart from auxiliary quadratic twists whose smoothed sums are already controlled. The existence theorem in Step 3 permits these estimates to be used throughout arbitrarily distant intervals. Step 1: specify the arithmetic data needed at one scale. Put $$c=(3o+1)^{-1},\qquad K_0=\sum_{\chi\in\mathcal P_\psi\setminus\{1\}}|\kappa_\chi|.$$ Fix $x\ge3$ and $0<\varepsilon<1/52$. Let $H$ be a finite abelian group, written additively, and $H_0\le H$ a cyclic subgroup of index $o$. Write $$n=|H|,\quad G=(\mathbb Z/2\mathbb Z)^2\times H,\quad \Phi=\{((0,\beta),h):\beta\in\mathbb Z/2\mathbb Z,\ h\in H\},$$ $$s_0=((1,0),0),\quad c_0=((1,1),0),\quad \chi_C((\alpha,\beta),h)=(-1)^\alpha,\quad P_t(g)=c_0+g+(0,t).$$ Here $(0,t)$ means $((0,0),t)$, and $\widehat G$ denotes the complex characters of $G$. Choose a positive integer $R$ and a surjective homomorphism $\rho:(\mathbb Z/R\mathbb Z)^\times\to G$. For $\gamma\in\widehat G$, let $\chi_\gamma$ be the primitive character inducing the character $\gamma\circ\rho$ modulo $R$, and put $h_\gamma(y)=g_{\chi_\gamma}(y)$. Choose subgroups $I_p\le G$ and elements $F_p\in G$ for each prime $p$, and require the coefficient identity $$a_\gamma(r):=\prod_{p\mid r}\frac1{|I_p|}\sum_{z\in I_p}\gamma(v_p(r)F_p+z)=\chi_\gamma(r)\qquad(r\ge1),$$ where $v_p(r)$ is the exponent of $p$ in $r$. Put $\kappa(\gamma)=\kappa_{\chi_\gamma}$ for $\gamma\ne1$ and $\kappa(1)=0$. Require primes $q\equiv3\pmod8$, $d\equiv7\pmod{16}$, and a finite set $S$ of primes with $$2,q\in S,\quad d\notin S,\quad I_d=\{0,s_0\},$$ $$I_p=\{0\}\ (p\notin S\cup\{d\}),\qquad I_p\subset\Phi,\ F_p\in\Phi\ (p\in S).$$ Let $\Psi_0=\{\gamma\in\widehat G:\gamma(0,u)=1\text{ for every }u\in H_0\}$ and $\mathcal K=\{\gamma\in\widehat G:\chi_\gamma\in\mathcal P_\psi\}$. Require every character in $\mathcal P_\psi$ to occur as a $\chi_\gamma$, and require $$\mathcal K\subset\Psi_0,\qquad \gamma(s_0)=1\quad(\gamma\in\mathcal K),$$ with $1$ the only member of $\mathcal K$ trivial on $\{0\}\times H$. For the remaining characters require $$|\kappa(\gamma)|\le4\log x,\qquad |h_\gamma(x)|\le x^{1/2+\varepsilon}\quad(\gamma\in\Psi_0\setminus\mathcal K).$$ Step 2: specify the weights and the numerical hypotheses. Choose $T\subset H$, $T_2\subset H_0$, integers $m,N\ge0$, positive real numbers $b,b',k,X'$, nonnegative real numbers $a_0,\eta,\theta$, a function $a:H\to\mathbb R$, and weights $w_{u,j}:G\to\mathbb R$ for $u\in H_0$, $0\le j<m$. Write $a_t=a(t)$ and $\beta=|T_2|/n$. Require $$a_0\le2xb,\quad |T|\ge\tfrac12nx^{-\varepsilon/8},\quad \beta\ge x^{-\varepsilon},$$ $$x^{1/2-\varepsilon}\le m\le x^{1/2+\varepsilon/2},\qquad xm\le k\le n^2x^{1/2-\varepsilon},$$ and, for every $h\in H$, $$\left||T\cap(h+H_0)|-\lambda(h)|T|\right|\le x^{-1+\varepsilon}|T|,\qquad \lambda(h)=\begin{cases}4c,&h\in H_0,\\3c,&h\notin H_0.\end{cases}$$ For $t\in T$ require $|a_t/b-x|\le1$. Each $w_{u,j}$ is positive on $\Phi$, takes values in $[b,b+\eta+1]$ on $\{((0,1),s+u):s\in T_2\}$, and is at most $2b'$ elsewhere on $\Phi$. The remaining conditions are $$b'X'\le xb,\qquad a_t/w_{u,j}(g)\le N\quad(t\in T,\ g\in\Phi),$$ $$|h_\gamma(y)|\le y\theta\quad(\gamma\in\widehat G,\ y\ge X'/3),$$ $$2(2n)(x+1)\theta\le1/x,\qquad6(2n)(x+1)(\eta+1)\le b/x.$$ We also need numerical hypotheses for a prime-power count. For $a>0$, $t\in H$, and a weight $w$ positive on $\Phi$, define $(z)_+=\max(z,0)$ and $$\begin{aligned} A(a,t,w)={}&2\!\sum_{\substack{p\le N\ \mathrm{prime},\ p\notin\{2,q,d\}\\F_p\notin\Phi}}\!\log p \sum_{\substack{1\le i\le N\\iF_p\notin\Phi}}(a/p^i-w(P_t(iF_p)))_+\\ &+\log d\sum_{i=1}^N\sum_{\substack{g\in G\setminus\Phi\\g-iF_d\in I_d}}(a/d^i-w(P_t(g)))_+, \end{aligned}$$ $$M_0(a,w)=a\left(\log a-1-\gamma_{\!E}+\kappa(\chi_C)-\frac1{2n}\sum_{g\in\Phi}\log w(g)\right).$$ For every $u\in H_0$, require numerical inputs satisfying all eleven numerical conditions and all seven size conditions of "Prime-power count bound", with its count and main term equal to $\sum_{t\in T}\sum_{j=0}^{m-1}A(a_t,t,w_{u,j})$ and $\sum_{t\in T}\sum_{j=0}^{m-1}\Re M_0(a_t,w_{u,j})$, respectively. Use $a_0$ for the real parameter called $a$ in "Prime-power count bound"; use the same $x,\varepsilon,n,m,b,k,T,T_2$, weights and cutoff. The two nonnegative error exponents in "Prime-power count bound" must be at most $e_D=2$ and $e_L=0$, respectively. In particular, the numerical inputs include nonnegative budgets $B_0,N_c$ with $$B_0\le2nmbx^\varepsilon,\qquad N_c\le|T_2|kbx^{2\varepsilon}/n^2.$$ Step 3: choose these data simultaneously on intervals. Step 3 uses the following existence theorem, which we do not prove here: For the fixed $\psi$, there is $\varepsilon_1>0$ such that for every $0<\varepsilon<\min\{\varepsilon_1,1/52\}$ there are a real $x_0\ge3$ and a set $\mathcal W\subset[3,\infty)$ satisfying $$\forall Y_0\in\mathbb R\ \exists Y\ge\max\{1,Y_0\}:\quad [Y,Y^{3/2}]\subset\mathcal W.$$ For every $x\in\mathcal W$ with $x\ge x_0$, there are data satisfying every condition in Steps 1 and 2, with $e_D=2,e_L=0$. The auxiliary-prime choice uses "Simultaneous auxiliary-prime and cohomological windows", with both the localization-kernel hypothesis and the auxiliary-prime existence hypothesis stated in "Simultaneous auxiliary-prime and cohomological windows". The analytic estimates for the additional quadratic twists use "Auxiliary primes with controlled twists". The simultaneous construction of the weights and numerical inputs is included in the existence theorem above. Its threshold $x_0$ is chosen before $x$; the groups, primes and weights may depend on $x$. Step 4: obtain the character weights. The map $\gamma\mapsto\chi_\gamma$ is injective: equality of the primitive characters gives equality of the induced characters modulo $R$, and surjectivity of $\rho$ then gives equality of the characters of $G$. Thus $\mathcal K$ maps bijectively to $\mathcal P_\psi$, with $1$ mapping to the principal primitive character. The characters in $\Psi_0$ are exactly those of $G/(\{0\}\times H_0)$, a group of order $4o$. Mathlib's finite-character counting formula therefore gives $|\Psi_0|=4o$. Apply "Coset proportions and character averages" to $H_0\le H$, $T$, and $\delta=x^{-1+\varepsilon}$. For $\gamma\in\mathcal K\setminus\{1\}$, the restriction $t\mapsto\gamma(0,t)$ is nontrivial and trivial on $H_0$, so $$\left|\sum_{t\in T}\gamma(0,t)-c|T|\right|\le ox^{-1+\varepsilon}|T|.$$ Indeed, the sum over $T$ is the sum over the $o$ cosets of their sizes times the character value. Replacing the sizes by $(3c+c\mathbf1_{H_0}(h))|T|$ costs at most $ox^{-1+\varepsilon}|T|$. The constant part vanishes by character orthogonality, while the $H_0$ term gives $c|T|$. Here $\mathbf1_{H_0}$ is $1$ on $H_0$ and $0$ elsewhere. For the trivial character the sum over $T$ is $|T|$. Also $|\kappa(\gamma)|\le K_0$ for $\gamma\in\mathcal K\setminus\{1\}$, by the definition of $K_0$. These are the coefficient and logarithmic-derivative estimates needed below, together with the bounds for $\Psi_0\setminus\mathcal K$ in Step 1. Step 5: bound the count at every translation. Set $$\Delta_u=\sum_{t\in T}\sum_{j=0}^{m-1}\{A(a_t,t,w_{u,j})-\Re M_0(a_t,w_{u,j})\},$$ $$C=e_D+e_L+3,\qquad B=|T|a_0(1+m^2/k)+2nm^2bx^\varepsilon+\frac{m|T_2|kbx^{2\varepsilon}}{n^2}.$$ The numerical inputs in Step 2 satisfy all the hypotheses of "Prime-power count bound" for each $u\in H_0$. Apply "Prime-power count bound" and increase its error exponent to $C$: this preserves the inequality because $x\ge1$, $\varepsilon>0$, and $B\ge0$. The result is $$\Delta_u\le x^{C\varepsilon}B\qquad(u\in H_0).$$ Step 6: convert the count bound into the smoothed character bound. Step 6 uses "From uniform prime counts to a character sum", which we do not prove here. Apply "From uniform prime counts to a character sum" with constants $C$, $C_a=4$, $K_0$, $c$, and character-count bound $4o$. These constants are fixed before $x$, and $C\ge0$, $|c|\le1$. Let $x_1$ be the resulting threshold, which is independent of the group and weights. Every hypothesis of "From uniform prime counts to a character sum" now holds when $x\in\mathcal W$ and $x\ge\max\{x_0,x_1\}$: the coefficient identity in Step 1 identifies its smoothed sums with $h_\gamma$, Step 1 gives its arithmetic conditions, and Step 2 gives its size and weight conditions. Step 4 gives its character conditions; its permitted discrepancy $4ox^{-1+\varepsilon}|T|$ includes the bound proved in Step 4. Step 5 gives its uniform count hypothesis. The trivial character has weight $1$, and every other member of $\mathcal K$ has weight $c$, so the bijection in Step 4 identifies the conclusion as $$G_\psi(x)\le x^{1/2+(e_D+e_L+6)\varepsilon}+\Sigma(x),\qquad \Sigma(x)=\sum_{\gamma\in\Psi_0\setminus\mathcal K}|h_\gamma(x)|.$$ Step 7: absorb the auxiliary characters and choose the interval. The bounds in Step 1 and $|\Psi_0|=4o$ give $\Sigma(x)\le4ox^{1/2+\varepsilon}$. Since $e_D,e_L\ge0$, $$G_\psi(x)\le(1+4o)x^{1/2+(e_D+e_L+6)\varepsilon}.$$ Choose a further threshold $x_2\ge3$ such that $x^\varepsilon\ge1+4o$ for $x\ge x_2$; the existence of $x_2$ follows from Mathlib's divergence of positive real powers. For every $x\in\mathcal W$ with $x\ge\max\{x_0,x_1,x_2\}$ we obtain $$G_\psi(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}.$$ Given any $Y_0$, choose $Y\ge\max\{Y_0,x_0,x_1,x_2\}$ with $[Y,Y^{3/2}]\subset\mathcal W$, using Step 3. The displayed inequality holds at every point of this interval. Finally replace $\varepsilon_1$ by $\min\{\varepsilon_1,1/52\}$. The fixed choices $e_D=2,e_L=0$ then prove the statement. This supplies the weighted prime-sum estimate needed to apply the Landau theorem.

Version 2 , changes from version 1 are marked

2 unchanged paragraphs ROLE This supplies the weighted prime-sum estimate needed to apply the Landau theorem. REMARK This is the estimate to which the Landau theorem is applied. The Fourier identity reduces it to the prime-power count and the bounds for auxiliary twists.

Version 1 , first version

STATEMENT Use the smoothed sums $g_\chi$ and $g_1$ of Landau theorem on intervals. Let $\psi$ be a primitive Dirichlet character of order $o$. In the following sum, $\chi$ runs over the primitive characters inducing the nontrivial powers of $\psi$: $$G_\psi(x)=g_1(x)+\frac1{3o+1}\sum_\chi\Re g_\chi(x).$$ There are constants $e_D,e_L$ such that, for every sufficiently small $\varepsilon>0$, there are arbitrarily large $Y$ for which $$G_\psi(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}\qquad(Y\le x\le Y^{3/2}).$$ REMARK This is the estimate to which the Landau theorem is applied. The Fourier identity reduces it to the prime-power count and the bounds for auxiliary twists.