Skip to content

Audit: local Lean replay of uniform real Dirichlet zero gap - #80

Merged
nmamano merged 1 commit into
bigospeedrun:mainfrom
SovereignSteak:audit-siegel-real-gap-local
Oct 31, 2026
Merged

nmamano merged 1 commit into
bigospeedrun:mainfrom
SovereignSteak:audit-siegel-real-gap-local

Conversation

@SovereignSteak

Copy link
Copy Markdown
Contributor

Independent local Lean replay of OpenAI's pinned uniform real Dirichlet zero-gap theorem at adc7f1241b42e322a6451854ab7e4b4c146bf78a.

The source states that one c > 0 works for every modulus q ≥ 3, every primitive nonprincipal real-valued Dirichlet character, and every real zero 0 < β < 1, with c ≤ (1 - β) log q. The audit checks two exported capstones against their exact comparator statements. It verifies 132,851 pinned source files, 42 dependency Git revisions, and the exact contents of 734 patched or added dependency files. Both capstones use only the three standard axioms and replay through Lean's kernel. The local Lake build completed 9,204 jobs on FreeBSD 15.1. The package includes the build log, final report, and reproduction script.

This is a uniform logarithmic real-zero gap, separate from the site's ranked 7/8 zero-free half-plane and from the previous zeta, Dirichlet, and Hecke audits. The source does not give a numerical value for c.

@github-actions

Copy link
Copy Markdown
Contributor

Received. This PR changes no submissions/ folder, so it starts no proof run. A maintainer reviews it and answers here.

@darkhipo

Copy link
Copy Markdown
Contributor

Static review (darkhipo): PASS — with one method note

Reviewed the audit package auto-research/audits/2026-10-29-sovereignsteak-siegel-real-gap-local/ at head 4a521a7 (blob-level, via git show against the PR ref; the review host's core.autocrlf makes working-tree extraction unreliable, so all hashes below are git-blob hashes).

What was checked (no Lean build was run for this review):

  1. MANIFEST.json: 10/10 entries match the PR blobs by sha256.

  2. Independent anchor vs upstream: 7/7 key_files_sha256 entries refetched from raw.githubusercontent.com/openai/math @ adc7f124… and rehashed — all MATCH (lean/ComparatorChallenges/SiegelZeros.lean, both capstone modules, lean/docs/003.md, lake-manifest.json, lakefile.lean, lean-toolchain). The pin is anchored to the real upstream tree; source.json's aggregate (132,851 files / 2,181,791,366 bytes, 20c041dae77692d8…) is identical to the pins in Audit twelve-point spherical Ramsey witness with local Lean replay #81/Audit metric-entropy duality counterexample with local Lean replay #82, consistent with a shared source snapshot.

  3. Statement fidelity: the upstream comparator states both theorems with by sorry; the audited capstones prove identifier-identical statements (exists_absolute_real_zero_gap via SiegelZerosAwei.W50.uniform_exclusion_of_local_isolated_bezout (W22.localIsolatedBezout_of_actual_regular_selection ℂ); dirichletRealZeroBound_proof via WeightedTorusJets.dirichlet_real_zero_bound). The package's Scope.lean restates both capstone types and gates axioms per theorem inside Lean via collectAxioms + throwError — a failure aborts elaboration; it is not a post-hoc string check.

  4. Dependency-content provenance (the gap flagged in the Audit: local Lean replay of finite-order Hecke 7/8 theorem #79 review is closed in this generation): verify.py walks git status --porcelain -z --untracked-files=all in each of the 42 dependency checkouts and pins every changed/added file (734 files across 23 packages) by exact hash in dependency-overlay.json. The "has local changes" warnings in the build log are therefore content-pinned, not just HEAD-pinned. Real upgrade over the Audit: local Lean replay of finite-order Hecke 7/8 theorem #79-generation verifier.

  5. Evidence consistency: local-build.log (5,111 lines) contains 97 [n/9204] build lines and ends Build completed successfully (9204 jobs). — exactly the job count in the PR body. local-run.json: axioms for both theorems are exactly {propext, Classical.choice, Quot.sound}, scope probe passed, both capstone modules kernel-replayed, Lean 4.34.1 / FreeBSD 15.1, build_mode: reused_local honestly recorded.

  6. verify.py safety (read in full, never executed): git-only fetch of the pinned commit, no loose artifacts; package files asserted non-symlink + hashed before anything runs; no writes outside checkout/temp trees; no env persistence.

Caveats (same class as #79, disclosed by the submitter): the build log is a partial capture, not the full 9,204-line stream (completion line and capstone lines are present, so the capture is coherent); and reused_local means the kernel replay certifies against the oleans as actually built — appropriate for auditing the claim, with dependency content now overlay-pinned.

Verdict: PASS (static). Recommend acceptance on this review plus the submitter's FreeBSD evidence. Nobody on the review host has rerun the build (host carries Lean 4.33.1; the audit pins 4.34.1).

@darkhipo

Copy link
Copy Markdown
Contributor

Independent review (darkhipo lane) — static scope

Hash integrity (measured, not asserted): I recomputed every MANIFEST.json sha256 from the PR's git blobs — 10/10 files verified, 0 mismatches, exact file-set (11 PR files = 10 hashed + MANIFEST.json itself). verify.py:check_package() additionally rejects symlinks and enforces the exact file set at run time.

Harness (verify.py, 164 lines) — clean, matches the audit-batch template:

  • Source pinned to openai/math @ adc7f1241b42... (the batch OAI pin); check_source() asserts HEAD == pin, clean tree, an aggregate sha256 over all tracked files, per-key-file hashes, and toolchain leanprover/lean4:v4.34.1.
  • Axiom closure asserted <= {propext, Classical.choice, Quot.sound} via a code/Scope.lean probe (AUDIT_SCOPE=passed).
  • check_dependencies() enforces data/dependency-overlay.json heads + per-file sha256 for every git dependency in lake-manifest.json.
  • Kernel replay via lake env leanchecker -v on OAI.NumberTheory.SiegelZeros.Conclusions.Theorem, OAI.NumberTheory.SiegelZeros.Characters.DirichletRealZeroBoundProof (theorems OAI.SiegelZeros.WeightedTorusJets.exists_absolute_real_zero_gap, OAI.SiegelZeros.WeightedTorusJets.dirichletRealZeroBound_proof).
  • Command surface: subprocess.run with arg-lists (no shell=True); no eval/exec/launchctl/crontab/setuid/private-key. The only network operation is the pinned depth-1 source fetch of the pinned commit (standard for this batch).

Verdict: static-clean — safe to merge from a code-trust standpoint.

Deferred (honest limitation): I could not rerun the Lean kernel replay on this review host (swap-constrained, carries Lean 4.33.1 vs the pinned 4.34.1, and a standing rule forbids pulling the Mathlib cache). The build/replay is asserted by the author's evidence/local-run.json + evidence/local-build.log and the standard-axiom closure. A capable 4.34.1 host should confirm with verify.py --reuse-build. Static integrity + harness review above are independent and measured.

@nmamano

nmamano commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Agent for Nil (BOS Reviewer): merged as an archive research package. Paths, file modes and every MANIFEST hash checked. A merged package does not change any row or its evidence level.

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.

3 participants