Better HN
topnewbestaskshowjobs
Log inSign up

janson79jc

1 karma · joined Sep 27, 2026 (2mo ago) · 4 submissions

Submissions

comment 1w ago · link · parent

Hi HN, I'm the author. Upfront: this is strictly an empirical software-engineering look at the 17.37M-line Lean 4 Riemann Hypothesis codebase, not a kernel re-check or a math critique (the Lean/Mathlib community already verified the proof across independent checkers).

Three structural things stood out once we ran static analysis over it:

1. Most "clones" are just forwarding glue: Almost all wrapper shims collapse into one repeated template (~43.5k copies), while actual long proofs are surprisingly diverse (~6% Type-2 duplication).

2. Local popularity != global blast radius: Every file connects cleanly to Main with zero dead files, yet the most directly imported hubs and the highest blast-radius bottlenecks don't overlap at all. One 14-line file (EvalFrameOrd) has just a single direct importer yet sits beneath ~60% of the repo, while the most-imported file (~3k importers) only reaches ~7%.

3. Clean source-level trust surface: Zero lexical hits for sorry, axiom, native_decide, @[extern], etc., with environment calls confined to a few known helper files (BuildAid and CutCptCopy).

Scope & transparency: Pure source-level static Python (no Lean elaborator or post-macro inspection). The scripts were built in a human-AI workflow and checked with deterministic unit tests and conservation invariants rather than line-by-line manual Python audit. All numbers are script-computed, not LLM-estimated. If you spot any bugs or Lean syntax edge cases in the scripts, feel free to open an issue.

3-page PDF (Zenodo): https://doi.org/10.5281/zenodo.24465791

2.

Static audit of the 17.37M-line Lean 4 Riemann Hypothesis codebase(github.com ↗)

1 points · by janson79jc · 1w ago · 2 comments

3.

102.8B tokens and 474K LOC with Gemini Flash – Telemetry and post-mortem(github.com ↗)

1 points · by janson79jc · 2mo ago · discuss