Issue 198 energy improvement - #199
Open
chaemin333-max wants to merge 5 commits into
Open
Conversation
Use literature.find_hypothesis() for the three literature energy regions,
matching the surrounding derived proofs, and compact the tau0 and
lver_to_energy_bound calls in the same style.
Match the existing wording of the zeta supremum in the blueprint proof
("now trivial" rather than "empty"), and add a lead-in sentence before
the new theorem.
Update the hardcoded current-best list in zero_density_energy_plot() so
that the plotted envelope agrees with the current-best table.
chaemin333-max
marked this pull request as ready for review
August 13, 2026 15:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #198.
Summary
This PR adds a current best zero-density energy derivation obtained by combining the existing
The historical function
prove_heath_brown_energy_estimate()is left unchanged. Instead, the new bound is implemented separately inprove_heath_brown_guth_maynard_energy_estimate().Running the combined hypothesis set through the Region engine gives
and
The first piece is the bound proposed in #198. The Region calculation shows that it remains optimal within this combined derivation up to$\sigma=5/7$ , after which two further pieces take over.
Blueprint and current-best table
The new theorem and its Region-engine derivation are documented in the zero-density energy chapter.
The current-best table is also updated. In particular, the second new piece remains globally best until its crossover with the existing bound from
imp-energy-bound2. Equating the two givesso the relevant crossover is
The plotting source now uses this exact expression rather than a rounded decimal.
Implementation details
The new derived function uses exact name
literature.find_hypothesis(...)lookups for the three literature energy regions.I also changed the final
RF.maxcall inlver_to_energy_bound()to coalesce identical adjacent rational-function pieces independently of their originating input index. The piece-level index is not used bylver_to_energy_bound()for proof dependencies; the resulting hypotheses retain their dependencies through the computed energy regions. This removes hash-order-dependent splitting of otherwise identical output pieces.Validation
The new derived function returns exactly three pieces with transition points
The following checks were performed:
Fractionendpoints and half-open interval tilingRationalFunctionequality against the three stated formulasPYTHONHASHSEED=0,...,29, all producing identical outputThe repository pytest collection still has three pre-existing collection errors on clean
mainas welltest_affine2.py:ImportErrorimportinglarge_valuestest_polytope.py: module-levelPolytope.try_unionerror for a non-finite polytopetest_all.py: a cascading collection error from importingtest_affine2.These are unrelated to this PR.
Figure note
blueprint/src/chapter/zero_density_energy_estimate.pnghas not been regenerated.There does not appear to be a reproducible image generating workflow in the repository. Thw plotting functions end in
plt.show(), there is nosavefigcall or build step for the chapter images, and the checked-in PNG records Matplotlib 3.9.1 while the available environment uses a different Matplotlib version.The plotting source has therefore been updated to the revised current-best envelope, but the checked-in PNG remains unchanged.