M.1 Power sampling, window mass, and auxiliary primes
The formal statement takes a RiemannHypothesis argument, supplied by Theorem 22.36. For every real , with tending to through real values,
Write . Then . If , is bounded on a real tail and the exponential factor tends to zero. Conversely, suppose . The constant above is strictly positive. By recurrence of , beyond every threshold there is a natural number with . Since , the quotient exceeds at arbitrarily large , including when . The full proof is checked by the Lean kernel.
The Riemann hypothesis holds if and only if there exists such that for every with .
For the forward implication, every sufficiently large satisfies . Setting gives the strict sample bound.
Conversely, assume the sample bound. For sufficiently large put and . Each Mangoldt weight is nonnegative, so multiplying the convex ramp by the weight preserves convexity. The sum of the ramps lies below its endpoint chord on . The remainder also contains and a linear term. Subtract the tangent to at from . The difference is nonnegative, and bounds its value at by . Thus for ,
Here and . Consecutive sample intervals cover the whole tail, and . Apply the bound to the normalized arithmetic kernel of the integrated explicit formula with . The trivial-zero correction satisfies , so for all sufficiently large . The affine upper-bound criterion for the arithmetic kernel now gives RH. The full proof is checked by the Lean kernel.
The arithmetic input can be stated in terms of the prime-power counting function. For the Chebyshev error kernel is integrable and its tail integral equals . At , the sample hypothesis therefore amounts to proving the strict lower bound for every sufficiently large natural number (manual derivation). complete_chebyshev_tail_identity · chebyshev_error_kernel_integrable
Arbitrarily late power windows also admit a finite set of tests. For , write
Including both endpoints provides bounds at the edges of the window even when neither endpoint is a fourth power.
Fix a real . The Riemann hypothesis holds if and only if for every and every real there exists such that at every in that same window.
For the forward implication, Theorem M.121 supplies the bound throughout the window and hence at the samples. Conversely, given a loss , use at the samples and put . For , bracket between consecutive fourth powers with and intersect this bracket with to get . Both endpoints lie in . The chord bound for the ramps and the tangent estimate for the logarithmic term give an error at most , since and . Each endpoint raised to the power is at most , and , so . Choose a sufficiently late sample window to ensure throughout it. This gives the pointwise bound of Theorem M.121. The full proof is checked by the Lean kernel.
When the endpoints are themselves fourth powers, integer indices enumerate every sample.
The Riemann hypothesis holds if and only if for every real and every natural number there is a natural number such that every natural number with satisfies
For the forward implication, Theorem M.11 gives for every sufficiently large . Choose past that threshold. Every in the block satisfies , so .
Conversely, given a loss and any real starting bound , take a natural number and choose from the block condition. Set . Then and . The endpoints are and . Since fourth powers are strictly increasing on the natural numbers, the endpoints and all fourth powers between them are precisely the values in this integer block. Applying Theorem M.12 with gives RH. The full proof is checked by the Lean kernel.
The pointwise test also admits a formulation with one weighted sum. Taking the positive part of prevents negative samples from cancelling large positive samples in the same block. For positive integers and , write
Let , where sums over primes.
There is a real constant such that for all natural numbers ,
On each interval between successive fourth powers, the positive parts at the endpoints and the chord error bound the positive part of . Integrating and adding over the cells gives coefficient at interior samples and at the final sample, leaving on the left. The Chebyshev bound for the contribution of higher prime powers transfers the estimate from the complete tail to the prime tail by increasing the uniform coefficient of the logarithmic error. The full proof is checked by the Lean kernel.
The formal statement takes a RiemannHypothesis argument, supplied by Theorem 22.36. For every sufficiently large natural number and every natural number , one has .
Applying Theorem 22.36, for all sufficiently large , so . Keep the first term and bound the remaining harmonic sum by . The full proof is checked by the Lean kernel.
Let satisfy with . For every real and all sufficiently large natural numbers , one has .
Take and apply the prime-tail mass lower bound forced by the zero on . The comparison in Theorem M.14 transfers that bound to . Use a smaller exponent loss in the window bound and absorb the constants and logarithmic error with the remaining loss. The full proof is checked by the Lean kernel.
RH holds if and only if, for every real and every natural number , there is a natural number with .
For the forward implication, Theorem M.15 gives for large , which is eventually bounded by . Conversely, if a zero has real part , take . With , Theorem M.16 gives the eventual lower bound , contradicting the upper bound on arbitrarily late blocks. Reflection in the critical strip then gives RH. The full proof is checked by the Lean kernel.
The joint external Lean environment also checks a finite set of same-host tests. The set samples Y Z enumerates , keeps the fourth powers inside the window, and includes both endpoints. Fix . For each first choose and real constants with . Beyond any starting bound, choose a window. Each sampled may have its own frame, host and finite set . At that point EAtH for the unit character with coefficient and CoreAtH must use the same . The reference consumer of_unit_family extracts these data from FamilyClassConnected ((GChi PChar.one).cls b), and rh_of_finite_hosts deduces RH from them. There are finitely many tests on each window. For every fixed loss the arithmetic hypothesis must still supply windows arbitrarily far out and the witnesses on them. Pointwise comparison on a common host · Kernel replay for finite samples and the host implication
At the original modulus-one design takes and and specifies , . The TopG interface records only the existence of the two exponents. The Lean 4.33.1 proof starts from the original Galois row and uses BookDesignIntegerBlocks.of_design at the design step to retain the specified values. This gives the closed declaration BookFixedReference.unit_family. Its consequence BookFixedReference.fixed_integer_blocks gives some . For each it first fixes and then, for every natural lower bound , supplies . For every natural with , EAtH and CoreAtH use the same host and finite set at . The power exponent in the comparison is . Given , choosing small enough that gives the condition of Theorem M.13. Original design with fixed exponents · Kernel replay of fixed-exponent blocks from the Galois row
The declaration in Alpöge’s original proof is riemannHypothesis : RiemannHypothesis, with Mathlib’s definition on the right. Sutherland’s public audit lists the declaration’s three axioms as propext, Classical.choice, and Quot.sound. The arithmetic modules used here are pinned at ddf1d5f8, which has the same src tree, Lean toolchain, and Lake manifest as 6977b88c, the commit documenting the public verification. Axiom audit of the original proof · Public verification files
On 21 November 2026, the Lean and Mathlib communities issued a joint statement endorsed by the Lean FRO and the Mathlib Initiative. It certifies the correctness of both the statement and the proof of the classical Riemann hypothesis. Two independent tools, comparator and con-leche --compare, confirmed that the theorem in Alpöge’s library matches RiemannHypothesis as stated using Mathlib alone. Joint statement by the Lean and Mathlib communities
The local integer-block modules DesignIntegerBlocks and RawDesignIntegerBlocks each passed a targeted replay. In Lean 4.35.0, BookNativeDesign.rh_of_unit_design assumes existence of the smooth twisted design, two inclusions between family classes, and nine closure estimates. The unit-character class supplies HypV. The construction in topDesWin retains the given . Given a target loss , choose sufficiently small that , then choose at least as large as the threshold for the comparison estimate core_gm. Every in the block is then in range, and Theorem M.13 gives RH. Kernel replay from the design hypotheses to the frozen integer-block criterion
In the same Lean 4.35.0 environment, let C be a family class. Applying the choice provider MinkDiv → DesignChoices C 3 cT to the rational Minkowski divisibility bound minkowski_bound_rat gives the family choices. The thin-scale estimate GlobalTheory.ThinScaleLiterature.litThin gives chosenThin_closed. For each family Fm, the size estimate cT ε Fm.CYL ≤ Fm.CTu → TuSize Fm and the character proviso ChosenProviso Fm 3 must both be closed on C. With these inputs, designExists_of_choices gives DesignExists C 3.
The family class determines the application. The theorem BookNativeRawDesign.arithmetic_design_of_reference_choice lifts the original twist choices on GlobalTheory.EX.DC.WithTw 𝒜 to WithTw (WithSm (Enriched 𝒜)). The two closure conditions on that enriched class then give its design. The theorem BookNativeRawDesign.rh_of_arithmetic_choices takes choices on C = WithTw (WithSm 𝒞') and the two closure conditions there, with . Adding the two family inclusions and nine closure estimates gives RH via the frozen integer-block criterion. Kernel replay of the arithmetic choices, thin-scale estimate, and two conditional theorems
For a reference family, the lattice rank condition used in the character proviso can be expressed as a dimension count. The external Lean 4.35.0 research source proves the following equivalence in BookNativeLowestSpace.rank_iff_eventual_dimension. For each reference family Fm, RankTiesF Fm holds if and only if there is a real threshold such that, for every , every index and every word of the datum , we have
The left side is the complex dimension of the lowest space. The right side counts the level-zero classes and multiplies that count by one local factor for each . The reference data ensure that both host primes and the level prime of split completely in the totally real host field. Starting from the rank condition, raise its threshold to , where . This supplies both GBig and the level data, so the column stabilizers are trivial and the rank condition gives the displayed equality. Conversely, the equality and the known splitting give the rank condition at the threshold of the equality itself.
The local theorem BookNativeLowestSpace.design_of_lowest_dimension takes arithmetic choices on the original twisted class and requires three conditions to be closed on the enriched class WithTw (WithSm (Enriched 𝒜)). They are the size condition above, the class-number formula ClassNumberFormula₂ for every and every index, and the eventual dimension identity. Together they give a design at parameter on the enriched class. Source and kernel replay for the lowest-space rank equivalence and conditional design
In the external Lean 4.35.0 lattice construction, for every datum D : D7 and level Lv : LevelData D, GlobalTheory.ColClassNumber.classNumber_all proves ClassNumberFormula₂ D Lv using a self-dual overlattice and the stabilizer level-index formula. The counting identity in this formula holds under its large-prime and splitting hypotheses. Given TwistSelection 𝒜, tied_families_of_choice_alt directly gives the second Chern class compatibility, from which second_chern_linked_closed_rank_ties gives the closed rank condition. The twist selection itself supplies the data for this step, with no separate Duty hypothesis.
Thus BookNativeClosedLattice.design_from_twist_selection takes just the choice provider on the original twisted class, the size estimate cT ε Fm.CYL ≤ Fm.CTu → TuSize Fm with its family-dependent threshold and closure on the enriched class, and TwistSelection 𝒜. It gives DesignExists (WithTw (WithSm (Enriched 𝒜))) 3. Setting and taking Enriched 𝒜 as the underlying class supplies the design for the native RH theorem above. That theorem also uses the two family inclusions and nine closure estimates before applying the book’s frozen integer-block criterion. Research source and kernel replay for the design from twist selection
For the modulus-one character, the two inclusions are projections. Given a base class , let be its intersection with the modulus-one family class at window exponent . Membership in Enriched 𝒜 supplies both components of membership in , hence membership in and in the modulus-one class. The equivalence BookUnitDesignConnection.twist_selection_iff characterizes existence of the twist selection. Each family Fm in has its own real threshold . At every scale with and , each index must admit an ExtraDataRecursive record. Conversely, choosing one such record at every required index gives the twist selection for the family. The unit-class projections and the record criterion
The reference construction UpperTheory.Top.designS has been replayed on Lean 4.35.0. In BookUnitKits.rh_of_unit_kits, the base class Linked Q requires a parameter to which the family is linked and whose point-class condition it satisfies. For the modulus-one character, designS combines the pointwise arithmetic hypothesis KitCPW with the proved Minkowski divisibility bound to supply the original twisted choices. Four inputs remain for this native RH theorem. They are the unit-character KitCPW, the closed thresholded size estimate on the twisted smooth enrichment, eventual recursive records for the linked modulus-one families, and the nine closure estimates on Des (Linked Q) 3. The construction UpperTheory.Top.kitS in turn obtains the required KitCPW from the unit-character window-host hypothesis DC.HostWW and the arithmetic object condition ObjCP at each required index. Twisted choices from the pointwise hypothesis · Pointwise kits from window hosts and arithmetic objects
For modulus-one windows, UpperTheory.Top.hostWW constructs DC.HostWW from the window existence hypothesis DC.HostExQW, existence of arithmetic objects, and the closed weight estimates DC.WClosed. The ObjCP hypothesis above supplies the arithmetic objects needed here. In the native Lean 4.35.0 port, signs_closed gives, on each family class, the closed condition that Fm.GK.La is positive and Fm.cX.Ce is nonnegative. The theorem family_log_bound_closed gives the family’s window logarithm bound. The operation Closed.and combines their thresholds so that both estimates apply together. Inputs to the modulus-one window host · Kernel replay of the sign and window logarithm estimates
The native theorem GlobalTheory.EX.G4.w_of combines the first-theorem estimate for a family with and the window logarithm bound to give one threshold for that family. At every scale , each index of the family has a weight vector. Consequently, BookRangeOneWeights.closed_weights_of_range_one needs only the uniform range-one estimate to derive DC.WClosed. There exist and functions such that for each , both and are positive, and flipOneThree.Conclusion2 D C₀ CH (C C₀) holds for every and every D : D7. In the Lean 4.33.1 reference proof, GlobalTheory.EX.RangeOne.rangeOne_abs establishes this estimate. The native theorem BookRangeOneWeights.rh_of_unit_range_one takes it as a hypothesis, together with host existence, arithmetic objects, a closed size bound, recursive records at every sufficiently late scale, and nine linkage estimates. Kernel replay of the construction of weights from the range-one estimate
The original library and the book’s integer-block argument share the original Galois row. The library first proves EveryCharacter, the nonvanishing of Dirichlet -functions for characters of every positive modulus in , with excluded for the principal character. It then deduces RH by rh_of_every. The book specializes the arithmetic row to the modulus-one family and obtains integer blocks via BookIntegerHostBlocks.of_reference. The arithmetic module supplies only TopG to this argument. In the reference library’s Lean 4.33.1 environment, leanchecker replayed the arithmetic module, the final conclusion module, and an independent audit module. The audit file IntegerBlockAudit.lean checked the declaration BookReference.riemannHypothesis_via_integer_blocks : RiemannHypothesis against Mathlib’s statement and printed the following proof term. The original library’s deduction of RH from all characters
BookIntegerHostBlocks.rh_of_blocks
(BookReference.integer_blocks_of_row
UpperTheory.Gal.Int.galoisLocalGlobalStrong_recParameter)
In Lean 4.33.1 the book uses the independently replayed reference arithmetic to close the modulus-one integer-block proof of RH with no additional hypotheses. The arithmetic inputs listed above belong to the conditional theorems of the native Lean 4.35.0 port. The closed declaration’s only axioms are propext, Classical.choice, and Quot.sound. The entry point imports neither Main nor MainConclusion from the original library. The frozen fourth-power window criterion cited in this section comes from the book’s Lean 4.35 environment. Public replays of the reference proof · Complete integer-block proof and kernel replay
The same reference Galois row also gives two bounds with a common witness. For every real and natural number , BookArithmeticWeightedBlocks.joint_window_from_reference_arithmetic gives an integer such that
The sum ranges over the integers in the block. The second bound holds for every real in the closed interval, including both endpoints. Taking , the proof bounds the weighted samples by a harmonic sum after division by and interpolates between fourth powers on the same block to cover the real window. A single can meet the thresholds for both estimates. The weighted sum here is in Theorem M.17. Both bounds from the reference arithmetic on one block
The first of these two bounds suffices for another closed Lean 4.33.1 proof. Given , the reference arithmetic supplies arbitrarily large with . Put and in the comparison of Theorem M.14 and drop the nonnegative endpoint term from its left side. This gives
with independent of . The second inequality holds on the selected blocks once is sufficiently large. With we have , so the prime-window criterion Theorem M.120 gives RH. The external declaration BookPrimeMass433.riemannHypothesis_via_weighted_samples has Mathlib’s type RiemannHypothesis and the closed proof term
BookPrimeMass433.rh_of_weighted_samples
BookArithmeticWeightedBlocks.subpower_from_reference_arithmetic
This proof obtains the weighted-sum bound from the reference Galois row. Deriving this bound independently from the book’s prime estimates remains an open arithmetic problem. Kernel replay of the weighted sum, prime window, and closed proof term
What does monotonicity alone tell us about negative mass in a window?
For every real , there is a nondecreasing , nonnegative for and equal to outside , such that is integrable on the real line. Its tail satisfies
Take . Put for and elsewhere. The polynomial is increasing on . Its values at the left and right cutoffs are at least and at most , respectively. Joining the polynomial to the linear pieces therefore gives a nondecreasing function on the real line, nonnegative for .
Let . The integrand is on the chosen interval and zero elsewhere. Its integral over that interval is zero, so the tail vanishes outside the closed interval and equals inside it.
The integral bound uses the length , the maximum negative part , and the weight on the interval. The full proof is checked by the Lean kernel.
As , this family violates every uniform upper bound on the depth of the form a constant times the window mass to the power when . A stronger bound for the actual prime count would require information beyond monotonicity.
How does the modulus-one Mellin transform detect a zero? Consider the remainder in Clause 6 of Theorem 31.1. For every with , the function is absolutely integrable on , and its Laplace integral can be evaluated unconditionally. Setting gives , so this is the Mellin integral on the left below. Half-plane transform of the complete remainder
Each prime power contributes a ramp with weight . The ramp starts at and its Mellin integral is . Summing with the weights gives the logarithmic derivative in the numerator. The two elementary correction terms in contribute and . Putting the three terms over a common denominator gives the external modulus-one formula
The right-hand side gives the meromorphic continuation of the integral. Let be any zero of , including a negative even integer, and let be its analytic multiplicity. Writing with isolates the term in the logarithmic derivative. On some punctured neighborhood of , the explicit function satisfies
where and is analytic at . Thus the pole of is simple for every multiplicity. For a nontrivial zero, is the coefficient in the integrated explicit formula when the occurrences of the same zero are counted together. Local expansion at a zeta zero · Modulus-one Mellin identity · Residue calculation
Why can a one-sided window bound rule out a pole? Fix . Under its bounds on group sizes, character weights, and errors, the external arithmetic argument uses the scale constraint to obtain for a character sum, with still to be controlled. It then rewrites the left-hand side as the target remainder using gmA_eq and bounds with sigA_le. For sufficiently large , the remaining constant factor is absorbed into , giving the Chebyshev-type window bound . The loss exponents are fixed first. One then takes small enough that . Under the window hypotheses this supplies arbitrarily large for which the modulus-one remainder satisfies throughout . Character-sum hypotheses · Bounding the remainder and absorbing the constant · Order of exponent choices
To continue across , remove the pole of by setting away from and . Write , so that . On a punctured neighborhood of , rearranging the transform gives . The difference quotient gives the unique continuous value . With this value the transform is analytic at every with . Analytic continuation at one
Put and . For each nonnegative integer and each , is the absolutely convergent integral of over the positive half-line. Each derivative contributes one factor of , so integrates against . For fixed and , the magnitude of the kernel is largest at , so the choice of helps control the integral outside the window. Write . Inside the window, gives . This explains the derivative at the real center in the source estimate. There are fixed constants and . For every one can choose arbitrarily late windows and orders such that for every real . Derivative integral · Window estimate All derivatives of the complete transform
Use the analytic value of at and put . For a nonnegative integer and a complex point , write and . For each , , and ,
Taking the modulus at the complex point bounds it by . At the real point the signed term is , so the sum is bounded by . On the window, the exponential series gives . On its complement, use . The full proof is checked by the Lean kernel.
The choice gives the positive part used in the pole argument above. The choice uses the same kernel for the negative part. The integral outside the window calls for its own decay estimate.
Suppose a pole lies in . The source proof selects a center and a nearest pole with such that the disk of radius contains only this pole. Its contribution to is . Take the inner radius . After subtraction of the pole term, the analytic function is bounded on that circle, so the Cauchy estimate gives an error . When the proof chooses a nonreal center, the closed disk of radius about is free of poles. Cauchy’s estimate gives with independent of . For an isolated real pole, take . Its residue is positive, so the leading term of is , and the window estimate bounds . Compare with the window estimate and multiply by . The pole contributes a constant and the analytic error is . Choose so small that . The window term then also tends to zero as , a contradiction. Pole and Cauchy estimates For a zeta zero, this error bound also follows directly for . Suppose that the closed disk of radius about avoids and that every zeta zero in the disk equals . There is a , independent of , such that , with formed from the completed transform. Removing the principal part gives an analytic remainder even if the disk crosses . Disk bound for the complete transform
The external repository’s full argument also constructs Galois representations by theta lifting and uses Artin reciprocity to determine the Artin map in its local Langlands parameters. Its final step deduces RH from the zero-free result for all Dirichlet characters. Theta lift · Artin reciprocity · Final declarations in the external repository
The window tests only the negative part of the Chebyshev tail. For put and . The reverse implication below uses the external Landau criterion (manual derivation). Define
RH holds if and only if for every and every there is a with . By Theorem 22.36, the bound above gives for all sufficiently large . Consequently for all sufficiently large .
Conversely, put in logarithmic coordinates . The external window hypothesis asks for a nonnegative majorant with suitably small integral . The least such majorant is , which is continuous on compact windows because there is a finite sum of continuous ramps and elementary corrections. Since , the substitution gives the least integral as . At it equals . Apply the external pole data for the modulus-one character family and its window criterion with . Every zeta zero of positive real part then satisfies . Reflection across the critical line gives RH. Window hypothesis · Pole data for the modulus-one specialization · Landau criterion
The critical window gives a derivative bound with explicit constants (manual derivation). Take , , and , so . The inequalities and for give from the finite sum for , with . For each real , the triangle inequality bounds by twice the integral of against the real kernel. Inside the window, . Outside it, a Gamma integral estimate applies to . Adding the two contributions gives
The constants and come from the left and right tails, respectively. This controls the error outside the window. The remaining term is the quantity that requires arithmetic control. Two-tail estimate for the Gamma kernel
For the same windows satisfy . Conversely, , so bounds on arbitrarily late windows for every and every give the critical condition by taking .
The criterion can also be stated using primes alone. Put and use it in place of to define and . The prime-power correction to the tail satisfies . Choose so that for all . Such a exists unconditionally. The negative part is nonincreasing, and the window theorem gives . Thus the critical condition is equivalent to on arbitrarily late windows for every . For the implication from , use its bound with exponent , then take large enough that . The independent arithmetic task is to establish this bound on the integral of the negative part from the distribution of the primes. Window bound for the prime-power correction
A pointwise bound from the external arithmetic argument transfers directly to the prime-only condition (manual derivation). Suppose throughout . On that same window, . Thus . Adding the prime-power correction costs at most . Given , take . The sum is at most on every sufficiently large window satisfying the pointwise bound. The arithmetic input is the existence of such whole windows arbitrarily far out.
Levent Alpöge’s proposed proof constructs these windows at modulus one from external arithmetic inputs. The construction uses theta lifts, Galois representations, a covolume bound, and local matching to construct HypsAlt and then obtain TopG. For the construction fixes and . For every sufficiently small , one family supplies arbitrarily late whole windows, a uniform error bound, and the ChainTied condition. Raising the starting threshold gives throughout each such window, before the external argument invokes its zero-free criterion. Choose . The preceding integral estimate gives on these same windows (manual derivation). The resulting existence of these windows depends on the external arithmetic inputs. The source repository’s account of the proposed proof · Arithmetic inputs to HypsAlt · From HypsAlt to TopG · Loss exponents · Three conditions on the same family · Arithmetic bound on the windows
The preceding link between the two arguments has also undergone a conditional external Lean kernel check. In the reference repository’s pinned Lean 4.33.1 environment, rh_of_family_and_unit_host derives the Riemann hypothesis from the family input TopG and the modulus-one host input HostExW (3/2) (GChi PChar.one).req. For each the two inputs produce arbitrarily late windows on which the same family gives at every real . Here is the book’s complete Mangoldt remainder, so the prime-only window criterion applies. This kernel replay takes the two inputs as hypotheses. The reference constructions that supply them lie outside its scope. The reproduction record includes the compatibility patch and successful kernel replay. PinnedTop, WindowConsumer, and UnifiedWindowRH check this conditional implication. PinnedMesh checks a separate fixed-character window criterion. Conditional implication and reproducible source
The reference mean-square theorem QH.pairEx supplies a single prime pair for the entire inner window. Take modulus one, , and . For every sufficiently large there are primes satisfying PairGood 1 ε Y (Y^A) q d, with the size, congruence and splitting conditions of WinPair evaluated at the fixed scale . For the three twist indices , each primitive character inducing the corresponding quadratic twist satisfies both and for every . For real primitive base characters of conductor dividing , the definition also imposes zero-free rectangles on the primitive characters inducing those three twists. This choice of uses the mean-square theorem already checked in the reference environment. Fixed prime pair and outer-window quantifiers
Passing from the inner window to the modulus-one host also uses the cohomological input VWinAt PChar.one. Write for its cutoff exponent. For each such and every rank schedule satisfying for , this input supplies and a threshold. For every beyond the threshold and every prime pair satisfying WinPair ε (X^(1/J)) q d, it gives a common subwindow . At each in that subwindow the estimate applies to every number field matching the character and under IsChiField. Fix such a field, any algebraic closure, and any family of local coefficient data indexed by the primes , and put . For each prime and , the cohomological length is finite. Every finite set of primes satisfies
At , the common-window construction chooses before quantifying over the real points of the outer interval . The reference theorem supplyChi yields the modulus-one host used above. The same external Lean environment thus checks TopG → VWinAt PChar.one 401 → RiemannHypothesis. Conditional cohomological-window implication
The modulus-one character generates a group of order one. The field construction gives , so the order in the host construction equals and satisfies the rank estimate above directly. This lowers the cutoff exponent from to at modulus one, with the sum running over . Under the exponent- window hypothesis, fixed_of_400 supplies for each such a such that, beyond any prescribed starting point, one can find an outer window and a single with . The pair satisfies PairGood throughout , and each in the outer window admits its matching and the stated length bound. The same external environment checks TopG → VWinAt PChar.one 400 → RiemannHypothesis, with the family input and this weaker modulus-one window as hypotheses. Source and kernel replay for exponent 400
For the modulus-one cohomological window, the same external Lean environment also checks reductions of the positive-eigenspace counts. The exceptional primes at modulus one are exactly . The reference proof supplies case IV and obtains case Z from vanishing for the principal character. Case I reduces to an orbit estimate for the imaginary quadratic field of discriminant . The test primes can be fixed at . Once both auxiliary primes selecting the window exceed , the two tests apply to the same host. The orbit estimate still needs one real constant uniform over the compatible algebraic closures of the rationals, the allowed exponents and moduli, character orbits, coefficient data, and finite sets of primes. The unit character’s exceptional set · Cases I, IV, Z and the conditional implication
The two high-conductor counts in case V use only the twist . Let be the exponent of in the conductor of the local component at of the host character . After removing that component, the remaining character squares to the principal character. For the order in the comparison therefore equals the multiplicative order of modulo , namely . The threshold equals at and at . Comparing with gives the following cutoffs.
| Exceptional prime | Case V | Corresponding case Vs | |
|---|---|---|---|
The replayed equivalence unit_countV_iff says that case V at modulus one holds exactly when one common natural exponent gives the reference bound VLe with upper bound for both high-conductor families, where is the host modulus. This quantifies over each unit-character host, every satisfying h.Big t, every allowed algebraic closure and coefficient system, and each eligible host character at twist one. The cutoffs select which characters to count in a given host. The two high-conductor counts and their kernel replay
With those two counts as hypotheses, rh_of_one_orbit_estimate also requires the arithmetic family TopG, the modulus-one geometric window UnitB K 400, the odd-prime estimate Odd.PrimeBound, the fixed-field orbit estimate above, and case II at modulus one. Case Vs uses Poitou–Tate duality, local finiteness, local Tate duality, and the degree estimate LemmaK for a real constant . Under these hypotheses the externally replayed implication reaches RH through this chapter’s Mangoldt window criterion.
How can one discriminant split at several primes? For an odd prime , write . A value of means that has a nonzero solution. With , the only small odd prime to test is . The prime satisfies and . Take the prime . Since , this pair passes both splitting tests. The construction below enforces all the finite conditions through particular residue classes. Those classes account for only some of the eligible primes.
For a natural number , let consist of the primes for which at every odd prime . For , let consist of the primes for which . Then
Here runs through the natural numbers. For every natural number there exists with . For every and every natural number there exists with . Conversely, prescribe a prime and put . Then , and for every natural number there is a with .
Choose first. In the reference construction, put , with empty product . The product is odd, and every odd prime occurs as a factor. The residue is coprime to its modulus. Each prime in this class satisfies and at every such . With fixed, choose a prime in the reduced residue class . Then and . Both and are modulo , so the minus sign from quadratic reciprocity cancels . Hence . The proof in this library takes the product of the small odd primes themselves and combines the congruences by the Chinese remainder theorem. In each reduced residue class the sum of over primes diverges. Its nonnegative terms contribute to the corresponding sums over and . The full proof is checked by the Lean kernel.
One can also start with a prescribed prime . Increase the cutoff for small primes to . Then itself is one of the odd primes required to split, so every belongs to and satisfies . Removing any finite initial segment preserves divergence, so in either order the last prime can exceed any prescribed lower bound. The elementary construction in the reference chooses first and second and proves existence above given thresholds. The weighted series here quantify the supply of primes at each step. The two prime choices in the reference
The whole-window estimate also requires the two primes to fit the same prescribed scale. Under its analytic hypotheses, the quantitative result in the reference fixes and supplies and a constant . For every real it then chooses and then for that , with the same pair satisfying and , where depend on . Its QDq condition uses the same in the estimates at scale for three quadratic characters, those attached to , to , and their product. The Boxq condition imposes six zero-free region conditions on characters and their twists. For every integer the same pair must also meet the splitting requirements and the bound on in Rowq. These conditions select a pair for each . Put . Since , the size condition gives . Reusing one at the endpoints and would give , hence . For fixed , satisfying the Rowq size bound at the two endpoints of a sufficiently distant window therefore requires different primes (manual derivation). Passing from the choice at each scale to the error bound on the whole window uses the character estimates and arithmetic construction in the reference. Quantitative construction choosing before · Hypotheses and quantifiers for the quantitative choice · Character and size conditions
When can one pair of auxiliary primes serve an entire window? Fix a prime , put , and fix a real . For a window starting at , take a loss that stays fixed on the window. Write for each real . The external Rowq condition constrains at a given . Here we require a single prime to satisfy the inequalities throughout the window.
It also requires , the splitting condition for each odd prime , and at . For each integer , the conductor bound is . Pointwise arithmetic conditions in the external source
Fix as above. The following are equivalent.
- For every real and every there exist , a loss , and a prime satisfying all the conditions above for every real .
- The width satisfies .
First compare the endpoints. Put , so and the value of at the right endpoint is . The strict lower bound there and the upper bound at the left endpoint give . Hence . At equality, the strict lower bound at the right already reaches the largest value allowed at the left.
Conversely, put . With fixed first, there are arbitrarily large for which and every odd prime split. Prime supply with fixed first
Set , , and . As grows, tends to infinity and tends to zero. Write each point of the window as with . Then
This gives both size bounds for . The inequalities and give the bounds for . Finally, put . For the specified , use , , and to obtain . The last inequality follows from and . Adding gives the conductor bound. The full proof is checked by the Lean kernel.
Take the prime and . Since and , we have . This yields windows on which at every point.
The external analytic proof that selects also requires at the starting point. Our construction has , while the left side tends to infinity with . If the selector’s threshold holds, the ratio of the endpoint values of is . For every natural , this lower bound eventually exceeds . Choose points along the window where doubles successively. Their half-open intervals are disjoint, so covering the window requires at least distinct values of , even when varies between windows. Given its analytic inputs, the external source fixes and obtains a threshold and a constant . It selects a pair for each , then uses that pair for every admissible . Scale condition in the external selector · The external theorem selecting a pair at each point · Uses of the condition
Here changes with the window. Bounding pointwise on these windows would also require the external QDq and Boxq character estimates for the same pair , and control of how the comparison threshold depends on . Character estimates and pointwise arithmetic conditions in the external source
For any fixed real , write
The quantity above is .
The formal statement takes a RiemannHypothesis argument, supplied by Theorem 22.36. There is a constant such that every pair of real cutoffs satisfies
In the prime-power layers, higher powers bound the difference between and . Apply Schoenfeld’s bound at and integrate to obtain . This error is absolutely integrable on the tail after setting . The normalized complete remainder consists of the zero series and an exponentially decaying term. By Theorem 22.36, the series has absolutely summable coefficients, modulus less than , and frequencies of absolute value greater than . Integrating each mode divides its coefficient by the frequency, giving a common bound for integrals of the zero series over every interval. Adding to the real part of this series gives a nonnegative approximation to . Taking positive parts preserves the bound on the integrable error. Continuity bounds the error over the finite initial interval. Integrating the constant gives the logarithmic main term, and the other contributions are bounded uniformly in both endpoints. The full proof is checked by the Lean kernel.
In particular, with the same error bound even when varies. Zhao’s equation (14) expresses this in terms of the cumulative first Mertens error and an endpoint correction. The main term here results from a further weighted window integral and uses RH. Zhao, equation (14)
With RiemannHypothesis supplied by Theorem 22.36, write for the prime-tail negative mass with its main term removed. Here . Enumerate the nontrivial zeros with multiplicity as and put . Let and let be the closure of this real-parameter orbit in the product of circles. Define the continuous function
Let . For every real pair , the exact identity is
For every there is an such that every real pair satisfies
For every fixed , the full cluster set of as is the nondegenerate compact interval
The zero ordinates are bounded away from zero, so the coefficients remain absolutely summable after termwise integration. In logarithmic coordinates the two endpoints give the difference of values of the same function . The residual is absolutely integrable, so its absolute integral on any is bounded by the entire tail from . At fixed the residual integral converges to a constant. The actual orbit approaches each point of the closure at arbitrarily late times and hence realizes every cluster value in the interval. The closure is compact and connected, and the primitive along the orbit has strictly positive derivative at time zero, so the interval has distinct endpoints. The result uses the actual joint phase relations. The full proof is checked by the Lean kernel.