Skip to content

BKLNW.v2: add BKLNWNumerics.v1.table8_last_row and prove both challenges - #332

Open
gitzwz wants to merge 1 commit into
teorth:mainfrom
gitzwz:solve/bklnw-v2
Open

gitzwz wants to merge 1 commit into
teorth:mainfrom
gitzwz:solve/bklnw-v2

Conversation

@gitzwz

@gitzwz gitzwz commented Dec 2, 2026 •

Copy link
Copy Markdown

Refs #50. (Note to @xinjiegit: I noticed #50 was claimed in September with no public PR so far, so I went ahead with a complete solution here; happy to coordinate or defer if you already have work in progress.)

Summary

Proves both challenges of BKLNW.v2 (corollary_5_1 and table8_psi_bound_above) in Solutions/BKLNW.v2 without modifying either conclusion statement of BKLNW.v2 (0 diff on BKLNW/v2/Conclusions.lean, BKLNW/v2/fingerprints.json, and BKLNW/v1/).

Review surface (only 3 files need manual reading)

Scope Files Notes
Manual review (~85 lines) IEANTN/Nodes/BKLNWNumerics/v1/Conclusions.lean
IEANTN/Nodes/BKLNWNumerics/v1/formalization.yaml
IEANTN/Nodes/BKLNW/v2/formalization.yaml
Adds table8_last_row (1 new 3-line def), wires missing imports, sets BKLNW.v2 status: awaiting-verification.
Generated by scripts/ieantn.py BKLNWNumerics/v1/Challenge.lean, BKLNWNumerics/v1/fingerprints.json, BKLNW/v2/Challenge.lean Matches gen-challenges --check and fingerprint --check; zero existing fingerprints changed.
For Comparator Solutions/BKLNW.v2/* (9 files) Sorry-free, LeanCert-free, native_decide-free proof of both challenges.

Derived views (STATE.md, GRAPH.md, docs/graph.html, docs/nodes/*) and BKLNW.v1 are left untouched.

Key mathematical & dependency choices

  1. BKLNWNumerics.v1.table8_last_row (preserving all 58 rows of BKLNW.v2.table8_psi_bound_above):
    • BKLNWNumerics.v1.table8_psi_bound zips BKLNW.v1.table8 with its tail (57 intervals up to e^25000), and its note previously stated that the final row (b = 25000) has no upper endpoint.
    • However, Appendix B.1 of Broadbent–Kadiri–Lumley–Ng–Wilk (arXiv:2002.11068v2, p. 26) explicitly states above Table 8: "Here b' is the entry following b in the table below. The result in the last row is valid in the interval [e^25000, e^26000]." (Values for b ∈ {2500, ..., 25000} are computed as in BKLNW Theorem 13 using the method of Platt–Trudgian (2021) and Wedeniwski's RH verification H₀ = 2,445,999,556,030, matching the traced import convention of table8_psi_bound.)
    • As in table8_psi_bound and BKLNW.v1.thm_1b_table, the paper's strict < is transcribed as non-strict ≤ (the weaker, safe direction).
    • Why BKLNW.v2.table8_psi_bound_above stays at e^25000: for the final row (25000, 7.57240e-50) it only needs the point x = e^25000 (where table8_psi_bound only yields the prior row's 1.07022e-48). Keeping BKLNW/v2/Conclusions.lean at 0 diff avoids an unnecessary restatement, while table8_last_row exposes the full [e^25000, e^26000] interval for future consumers.
  2. BKLNW.v2.corollary_5_1 imports (no new transitive leaf assumptions):
    • Closes Corollary 2.1 (θ(y) ≤ (1 + 1.93378e-8) · y for all y > 0) via:
      • Buthe.v1.theorem_2_theta_lower on (0, 10^19],
      • BKLNWNumerics.v1.table8_psi_bound (rows b = 40..24000, using monotone ε ≤ 1.93378e-8) on (10^19, e^25000],
      • PlattTrudgian2021.v1.theorem_1_numerical (row X = 2000, ε₀ = 8.35e-10 < 1.93378e-8, valid for all y ≥ e^2000) on (e^25000, ∞).
    • PlattTrudgian2021.v1.theorem_1_numerical is already in the transitive dependency cone of BKLNWNumerics.v1.table8_psi_bound, so listing it explicitly introduces no new transitive leaf assumptions (only exposing the direct import needed by Challenge.lean).
    • Retains the displayed constant 1.93378e-8 of equation (2.12) and the strict < unchanged.
  3. Node metadata:
    • Sets BKLNW.v2 node.status: awaiting-verification while keeping designated justifications as literature pending maintainer Comparator verification and receipt.

Local verification

  • lake build passes with 0 errors and 0 warnings in both root and Solutions/BKLNW.v2 (and per-file lake env lean emits 0 warnings).
  • python scripts/ieantn.py progress BKLNW.v2: 0 declarations using sorry; both BKLNW.v2.challenge_corollary_5_1 and BKLNW.v2.challenge_table8_psi_bound_above reported proved.
  • #print axioms on both challenges reports strictly [propext, Classical.choice, Quot.sound]; both theorem types match IEANTN.Nodes.BKLNW.v2.Challenge identically under set_option pp.all true.
  • python scripts/ieantn.py fingerprint --check, python scripts/ieantn.py gen-challenges --check, python scripts/check_palomar_metadata.py, python scripts/check_dossiers.py, and python scripts/ieantn.py diff all pass (impact: 0 errors, 0 warnings, 1 informational new conclusion).

Attribution & AI disclosure

  • Solutions/BKLNW.v2/FMonotone.lean adapts the monotonicity proof for f(x) from PrimeNumberTheoremAnd (PrimeNumberTheoremAnd/IEANTN/BKLNW/BKLNW.lean, commit 471f10c8, Apache-2.0).
  • Prepared with AI assistance (Gemini / Antigravity) under human direction for source verification against arXiv:2002.11068v2, Lean formalization, metadata updates, and local checks; disclosed in formalization.yaml.

Since this is from a fork, maintainer verification can run:
python scripts/ieantn.py verify BKLNW.v2 --pr 332

Refs teorth#50.

- Add BKLNWNumerics.v1.table8_last_row covering the final Table 8 row b = 25000 on [e^25000, e^26000] (BKLNW Appendix B.1, arXiv:2002.11068v2 p. 26; computed as in Theorem 13 via Platt-Trudgian's method and Wedeniwski's H_0), leaving all existing fingerprints unchanged.
- Keep BKLNW.v2.table8_psi_bound_above unchanged across all 58 rows of BKLNW.v1.table8 (0 diff on BKLNW/v2/Conclusions.lean and fingerprints.json) and import BKLNWNumerics.v1.table8_last_row alongside table8_psi_bound.
- Add the missing direct imports (BKLNWNumerics.v1.table8_psi_bound and PlattTrudgian2021.v1.theorem_1_numerical) to BKLNW.v2.corollary_5_1 without adding new transitive leaf assumptions.
- Set BKLNW.v2 node status to awaiting-verification and disclose AI assistance in formalization.yaml.
- Supply a sorry-free, LeanCert-free proof of both challenges in Solutions/BKLNW.v2 using only [propext, Classical.choice, Quot.sound].

FMonotone.lean adapts the monotonicity proof for f(x) from PrimeNumberTheoremAnd (commit 471f10c8, Apache-2.0).
Assisted by Gemini / Antigravity.
@gitzwz gitzwz changed the title BKLNW.v2: fix statement/import gaps and prove both challenges BKLNW.v2: add BKLNWNumerics.v1.table8_last_row and prove both challenges Dec 2, 2026
@gitzwz

gitzwz commented Dec 2, 2026

Copy link
Copy Markdown
Author

Updated the branch before review: reverted the earlier .dropLast restriction on BKLNW.v2.table8_psi_bound_above (restoring BKLNW/v2/Conclusions.lean and BKLNW/v2/fingerprints.json to 0 diff) and instead added BKLNWNumerics.v1.table8_last_row covering [e^25000, e^26000] per Appendix B.1 of arXiv:2002.11068v2, so all 58 rows are proved intact.

@github-actions github-actions Bot mentioned this pull request Dec 2, 2026
@xinjiegit

Copy link
Copy Markdown
Collaborator

I've only done a little work on this, and I just unclaimed it so you can take over.

@gitzwz

gitzwz commented Dec 4, 2026

Copy link
Copy Markdown
Author

@xinjiegit Thanks a lot for unclaiming it—first PR here and still learning the workflow, really appreciate it!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants