Skip to content

math(rh): formal proof distillation, exact witness feasibility and source evidence - #148

Merged
patrickdugan merged 6 commits into
mainfrom
research/rh-proof-distillation-20261121
Nov 21, 2026
Merged

patrickdugan merged 6 commits into
mainfrom
research/rh-proof-distillation-20261121

Conversation

@patrickdugan

@patrickdugan patrickdugan commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

RH mathematical research moves to MathCan

The Alpöge–Claude RH/Dirichlet-GRH follow-up began in EvalMath as a graded Lean gym. It has become a pure-math audit of exponent budgets, character averages, finite witnesses and theorem dependencies. This PR establishes MathCan as the canonical mathematical home.

Included

  • New MathCan/RHWindowExponents.lean, self-contained with Lean 4.35 / Init: two exact finite dyadic source-regime log-exponent certificates and two general conditional exponent bounds. The proofs are finite arithmetic and explicitly are not an independent formalization of RH.
  • Native research/rh_proof_distillation package: exact-fraction original SizeWindows and SizesAt/PlacesAt scalar checks; negative controls; sufficient LargeX and SmallCosts scalar checks.
  • Standard-library unittest tests under tests/test_rh_proof_distillation.py and dedicated workflow that also checks original source Git blobs using a sparse checkout pinned at f150e02623b1e2bbe1f1da8eab5ffee5e930a6a3.
  • Mathematical analyses and compiled expression-reference receipts migrated from the EvalMath research branch with provenance in research/rh_proof_distillation/PROVENANCE.md and a canonical roadmap in RESEARCH.md.
  • Added the module to MathCan.lean and linked the MathCan program from the root README.

Repro and evidence

python -m unittest tests.test_rh_proof_distillation -v
lake env lean MathCan/RHWindowExponents.lean
lake build MathCan

Scope: the original claimed RH proof has mathematical and trust questions beyond these independent finite calculations. The source repo uses Lean 4.33.1 with Mathlib; this MathCan port does not import the original unlicensed theorem source. Finite scalar witnesses do not discharge adm5, adm6, adm7, the eventual family quantifiers, or the arithmetic-geometric hypotheses.

Companion evaluation tooling: MoralityLabAI/EvalMath PR #60. The scored reconstruction templates, original published compiled-cache extractor and benchmark receipts stay there; mathematical research will continue in MathCan.

Verification on MathCan's own toolchain

RHD-01 CI run 44912220105 passed both jobs at commit 5273f78c. Python's 6 exact-arithmetic tests passed; source Git blob checks matched. The job exported fresh MathCan mathematical receipts.

The Lean 4.35 / Init job built the native module and audited six theorems:

  • epsilon64_source_exponent_certificate and epsilon128_source_exponent_certificate: no axioms.
  • group_log_floor_of_depth_and_k_window, quadratic_rank_of_source_family, four_window_error_terms, and normalized_character_error_26: standard Lean propext and Quot.sound only.

Kernel axiom receipt. These proofs establish the finite integer/exponent implications stated in MathCan, with the original Mathlib theorem bodies remaining external. The complete RH proof remains out of scope.

The global MathCan audit workflow and unrelated mathematics workflows are separate checks; this PR's dedicated RHD-01 workflow is green.

@patrickdugan
patrickdugan merged commit c2e084c into main Nov 21, 2026
106 checks passed
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.

1 participant