Skip to content

research(rh): source-pinned distillation gym and Lean reconstruction benchmark - #60

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

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

Conversation

@patrickdugan

@patrickdugan patrickdugan commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

RH proof distillation and pinned source call graphs

Branch: research/rh-proof-distillation-20261121. Upstream mirror pinned to f150e02623b1e2bbe1f1da8eab5ffee5e930a6a3.

Verifier-grounded progress

  • 17 upstream source files inspected with pinned Git blobs, including the analytic core_gm proof, the Galois theta-lift row, the automorphic window, the covolume/theta-integral theorem, and the ChainTied witness definition.
  • 16 explicit CoreAtH obligations, six immediate source calls, six analytic bridge files and five upper-theory source routes. The source audit has passed on a sparse checkout of the actual upstream repository. JSON receipts and generated Lean script are uploaded as workflow artifacts.
  • The published source reveals that OpenLiteratureStatements has two fields of the same Galois-row proposition and one local Langlands existence field. Its structural simplification is modeled explicitly as a Lean gym task.
  • Eight abstract proof-reconstruction exercises in gyms/RHProofDistillation/tasks.json, with reproducible reference tactics in gold.jsonl; tasks Sharp bounded-covert feedback risk and full-exposure message certificates #7 and Exact stochastic feedback under full actor filtrations and private acquisition timing #8 represent the OpenLiteratureStatements structure and the ChainTied witness transfer.
  • The Lean proof-expression probe passed its compiled toy-kernel test in run 44891888722; 6/6 earlier gold exercises compiled. Python preflight for eight tasks passed; All 8/8 gold Lean reference exercises compiled successfully in run 44893177479, and the compiled proof-expression toy probe passed. The earlier RH-D-008 projection issue is resolved at 84feb123.

Interpretation and scope

The upstream cache documentation reports approximately 99.27 GB of extracted olean/ilean artifacts. This repository now contains a reproducible and source-attested script for extracting bounded proof-term constant references on a suitably large runner. That full upstream compiled extraction is not yet complete.

Source-level calls, definition fields and import edges are reported as such; none of the 17 sparse modules is falsely presented as a minimal theorem closure. The mathematical validity of the global RH/GRH argument is a separate human-review problem. Upstream unlicensed source is never committed into EvalMath.

Notes: core_gm proof map · upper mathematical bridge · large runner instructions

Current compiled analytic slice attempt

The complete source import-closure audit passed in run 44897171561: core_gm depends on 115 modules, and the Landau zero-free window theorem depends on 30 modules, while RowSrc requires 66,168 and Main requires 175,184. Commit 0f0554a adds a SHA-pinned selective Lake cache fetch/restore and runs the proof-expression tracer on both actual compiled analytic theorems. Live workflow. Only report proof_term_data=true once its cache and Lean steps finish successfully.

Compiled analytic theorem references verified

The corrected compiled proof-expression run 44897842450 is GREEN. It imported the original Lean 4.33.1 theorem constants from 143 SHA-verified published cache artifacts, with all six pinned source anchor blobs matched. Direct proof-body references for Deduction.zeroFree_of_rpow_window and UpperTheory.Comparison₂.core_gm were extracted. The Landau root directly refers to Deduction.lemmaL and Deduction.windowHyp_of_rpow. The analytic bound directly references the six mathematical source theorems ch_core, ch_top, charsA, gmA_eq, sigA_le, hostFactsS. The core_gm deeper expansion hit the 120-node cap, so only direct root theorem references are claimed complete. Full 1.4 MB JSON artifact hash: b193e16ce3d824008b5b17217a282c174cd45c0cbefa53d9bf3c2f0852570093. Compact verified result and analysis committed at 7f73dab9.

ChCore proof-boundary and size-window feasibility

  • Run 44899211767 passed a source-pinned, SHA-verified proof-expression scan of 55 published compiled Lean modules. CharacterBalanceMoves.core has 368 direct proof-value constant references; its one-hop graph visits 26 declarations. proposition_size_bound has 337 direct proof-value references; its one-hop graph visits 13. Both have truncated=false at one hop; each has depth_limited=true. Exact raw artifact SHA256: b80615a2d3f05d6862cb57c0d410b7e950b0ebfa29d35aa000c9e121b6aed9ba.
  • Source locator run 44899731801 locates proposition_size_bound in Formalism/SizeWindowBrackets/ChainSlopeWindows/LipschitzWeightAndMinimum.lean:507, and the GrowthSizeBound proposition in Formalism/SizeWindowBrackets/GrowthBoundGivesRiemannHypothesis.lean:119.
  • Mathematical derivation: the source's SizeWindows constraints imply x ≤ n² for the finite group cardinality n, as well as nonzero cardinalities for the two character sets. The proof's final 26-factor absorption uses 26 ≤ x^(3ε/8) and produces exponent 1/2+(C+3)ε.
  • Current gym has 13 abstract Lean reconstruction exercises. The new RH-D-012/013 tasks formalize necessary feasibility constraints. All 13/13 gold reference tactics compile in run 44900286599, with the compiled proof-expression smoke test also passing. This includes the finite-group averaging, counted-error, size-window power, group-cardinality floor and positivity tasks.

Original upstream theorem bodies remain linked and are not copied into EvalMath; the compiled-reference graphs are observations of the published proof data rather than independent derivations of RH.

2026-11-21 source-regime feasibility and witness-lineage work

  • Exact SizeWindows scalar checker verifies all 16 conjuncts with Fraction arithmetic at five epsilon values; the stronger SizesAt/PlacesAt dyadic scale family is checked at epsilon 1/64 and 1/128 and passed CI. The simpler n=sqrt(x) family does not satisfy the actual SizesAt rank lower bound n >= x^(2+31epsilon/4).
  • Full source index and source-attested gate tracer identify the interfaces SizesAt, PlacesAt, adm5, adm6, adm7, TOPF, SizesFe, proposition_eleven_two_at_scale and proposition_eleven_two_along_family. This is source navigation, not full theorem-term dependence.
  • Joint scalar LargeX and SmallCosts checker: successful CI run 44903295524, 12/12 targeted tests. Two epsilon choices yield 12/12 scale inequalities, 16/16 SizeWindows conditions and 11/11 sufficient LargeX/SmallCosts conditions, using exact integer/rational powers and documented elementary log-exp bounds.
  • Compact receipt, interpretation, earlier source-scale analysis. Original source is pinned at f150e026 with relevant exact Git blob hashes. Full archived JSON SHA256 8b28912df718694c1e3978fc8520d270ed3f1b5a845d5ad2430735598c40249d.
  • The original theorem requires eventual compatible Scale/D7/FamP objects and analytic adm5/adm6/adm7 witnesses. These new numerical certificates do not supply such objects or prove RH; they test compatibility of selected scalar requirements at two fixed large x values.

Comment thread src/spiral_ln/rh_full_closure.py Fixed

Copy link
Copy Markdown
Contributor Author

Security remediation for the source import graph is pushed at f4955b89842fe3c43520ce12cc36b78a7b52b885. The module-name validator now scans dotted components in linear time, rejects path separators/whitespace/NUL, and includes a 12,000-segment adversarial-input regression. GitHub's CodeQL check on that head has completed successfully, and the original inline CodeQL review thread is resolved. The source-pinning, compiled analytic slice, full source closure and Lean proxy-gold jobs have also passed. General verify Python tests are finishing separately.

@patrickdugan
patrickdugan merged commit 0571ca2 into main Nov 21, 2026
19 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.

2 participants