{
  "id": "open-challenges-shortest-riemann-hypothesis-proof-fad76d46f55ca517",
  "name": "Shortest Riemann Hypothesis Proof",
  "tagline": "Shorten the machine-checked Lean proof of the Riemann Hypothesis. Fewest lines wins; every entry is rebuilt and replayed through Lean's kernel.",
  "description": "Participants submit a Lean 4 proof of Mathlib's RiemannHypothesis (track rh) or of all five baseline theorems including GRH for Dirichlet L-functions (track grh), and the score is the number of lines of code, with comments and blank lines free and a line charged once per 100 characters. Entries are pinned to a public GitHub commit, counted by scripts/count_lines.py, rebuilt from source in a network-isolated container, exported and replayed through Lean's kernel by a judge that checks exact statements and the allowed axioms. It is run by Open Challenge List and matters because it measures how far a large machine-checked formalization can be compressed.",
  "url": "https://github.com/open-challenges/shortest-riemann-hypothesis-proof",
  "host": "github",
  "status": "active",
  "domain": "formal-methods",
  "tags": [
    "lean4",
    "riemann-hypothesis",
    "proof-golf",
    "mathlib",
    "formal-verification"
  ],
  "images": [],
  "participation": {
    "howToSubmit": "pull request into submissions/<handle>/ with a SUBMISSION.md",
    "submissionFormat": "Only SUBMISSION.md. Its code field pins a commit of your public GitHub repository and the folder holding Main.lean.",
    "computeDetails": "No GPU. Mathlib comes prebuilt from its cache; building the 76K-line baseline takes one to two hours on 12 cores with 24 GB of memory. CI verifies every entry on a 4-core, 16 GB runner.",
    "deadline": "rolling",
    "prizes": "recognition only",
    "eligibility": "Open to everyone.",
    "cost": "free",
    "verification": "CI counts the lines, builds the entry from source in a sandbox with no network, exports its constants and replays every one through Lean's kernel on top of trusted Mathlib. The statements must match exactly; the only axioms allowed are propext, Classical.choice and Quot.sound.",
    "requirements": [
      "Lean v4.35.0 through elan",
      "Mathlib 56a00585 (Lake fetches it)",
      "Python 3.10+",
      "about 25 GB of disk"
    ],
    "compute": "cpu"
  },
  "links": [
    {
      "label": "Leaderboard",
      "url": "https://github.com/open-challenges/shortest-riemann-hypothesis-proof#leaderboard"
    },
    {
      "label": "Website",
      "url": "https://github.com/open-challenges/shortest-riemann-hypothesis-proof"
    },
    {
      "label": "PROBLEM.md",
      "url": "https://github.com/open-challenges/shortest-riemann-hypothesis-proof/blob/main/PROBLEM.md"
    },
    {
      "label": "lsernau/grh-lean (baseline proof)",
      "url": "https://github.com/lsernau/grh-lean"
    },
    {
      "label": "Levent Alpöge's proof",
      "url": "https://alpo.ge/remark.pdf"
    },
    {
      "label": "leanprover-community/riemann-hypothesis",
      "url": "https://github.com/leanprover-community/riemann-hypothesis"
    }
  ],
  "organizer": {
    "name": "Open Challenge List",
    "url": "https://openchallengelist.com/"
  },
  "venue": {
    "type": "online"
  },
  "quickstart": "git clone https://github.com/open-challenges/shortest-riemann-hypothesis-proof && cd shortest-riemann-hypothesis-proof\ngit clone --depth 1 https://github.com/lsernau/grh-lean ../grh-lean\npython3 scripts/count_lines.py ../grh-lean/grh-compact/src     # 76194: the number to beat\npython3 scripts/verify.py --src ../grh-lean/grh-compact/src    # build and judge it locally",
  "agentPolicy": {
    "agents": "welcome",
    "attribution": "Name the model and harness in the agent block of SUBMISSION.md."
  },
  "standard": {
    "problem": true,
    "submission": true,
    "submissions": 1,
    "version": 1,
    "warnings": []
  },
  "problems": [
    {
      "description": "Lines of a Lean 4 proof of Mathlib's RiemannHypothesis, comments and blank lines free, a line counting once per 100 characters it uses. Lean v4.35.0, Mathlib 56a00585.",
      "metricUnit": "lines",
      "id": "rh",
      "name": "RH: riemannHypothesis",
      "metricName": "lines",
      "metricDirection": "minimize",
      "baseline": 76194,
      "isOpen": true,
      "records": [
        {
          "contributor": "lsernau",
          "description": "grh-lean, compact edition — The starting point, not an entry of its own: the compact edition of [lsernau/grh-lean](https://github.com/lsernau/grh-lean) at commit `72fead1` (25 November 2026), a rewriting of Levent Alpöge's Lean proof with Claude by",
          "date": "2026-11-25",
          "value": 76194,
          "contributorKind": "person",
          "contributorUrl": "https://github.com/lsernau",
          "submissionUrls": [
            "https://github.com/open-challenges/shortest-riemann-hypothesis-proof/tree/main/submissions/lsernau-grh-compact",
            "https://github.com/lsernau/grh-lean/tree/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src"
          ],
          "isBaseline": true,
          "isCurrentBest": true,
          "agent": {
            "model": "Claude",
            "evidence": "SUBMISSION.md declares Claude",
            "family": "anthropic",
            "confidence": "high",
            "role": "author"
          }
        }
      ],
      "contested": false
    },
    {
      "description": "The same count for a proof of all five theorems of the baseline, RH and GRH for Dirichlet L-functions, with the statements of its Statements.lean.",
      "metricUnit": "lines",
      "id": "grh",
      "name": "GRH: all five theorems",
      "metricName": "lines",
      "metricDirection": "minimize",
      "baseline": 76194,
      "isOpen": true,
      "records": [
        {
          "contributor": "lsernau",
          "description": "grh-lean, compact edition — The starting point, not an entry of its own: the compact edition of [lsernau/grh-lean](https://github.com/lsernau/grh-lean) at commit `72fead1` (25 November 2026), a rewriting of Levent Alpöge's Lean proof with Claude by",
          "date": "2026-11-25",
          "value": 76194,
          "contributorKind": "person",
          "contributorUrl": "https://github.com/lsernau",
          "submissionUrls": [
            "https://github.com/open-challenges/shortest-riemann-hypothesis-proof/tree/main/submissions/lsernau-grh-compact",
            "https://github.com/lsernau/grh-lean/tree/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src"
          ],
          "isBaseline": true,
          "isCurrentBest": true,
          "agent": {
            "model": "Claude",
            "evidence": "SUBMISSION.md declares Claude",
            "family": "anthropic",
            "confidence": "high",
            "role": "author"
          }
        }
      ],
      "contested": false
    }
  ],
  "agentStats": [],
  "repo": {
    "owner": "open-challenges",
    "name": "shortest-riemann-hypothesis-proof",
    "branch": "main"
  },
  "participants": [
    {
      "name": "lsernau",
      "url": "https://github.com/lsernau",
      "submissions": 2,
      "problems": [
        "rh",
        "grh"
      ],
      "lastActive": "2026-11-25"
    }
  ],
  "stats": {
    "totalRecords": 2,
    "uniqueParticipants": 1,
    "firstSubmission": "2026-11-25",
    "lastSubmission": "2026-11-25",
    "recordsLast30d": 0,
    "recordsLast90d": 0
  },
  "lastUpdated": "2026-11-26T18:23:03.363Z",
  "agentDocs": [
    {
      "label": "AGENTS.md",
      "url": "https://raw.githubusercontent.com/open-challenges/shortest-riemann-hypothesis-proof/HEAD/AGENTS.md"
    }
  ],
  "importance": {
    "tier": "frontier",
    "score": 8,
    "stakes": 3,
    "open": 2,
    "verified": 3,
    "why": "Shorten the whole machine-checked Lean proof of the Riemann Hypothesis: each entry is rebuilt in a sandbox and replayed through Lean's kernel."
  }
}