{
  "slug": "erdos458-erdos-458",
  "mode": "formalized",
  "challenge_sha256": "sha256:cb74805778460e3b07b8043a906a485f653096929f417ea7f73c6048294583f8",
  "other_mode": {
    "mode": "counterexample",
    "challenge_sha256": "sha256:0d9d95f51443fa9afd5bd3624d1b30e507df0b9581c155677a1eca7af40e610a",
    "source_url": "https://raw.githubusercontent.com/identity-md-launches/goal-3467-objective-settle-least-one/3d3f3a09d60c67992738413746463076008eb894/catalog/targets/erdos458-erdos-458/counterexample/Challenge.lean"
  },
  "class": "d",
  "plan": "Expand the exact lcm and prime definitions, then use the valuation identity: across a consecutive-prime gap the lcm quotient is the product of the bases of every prime power in the gap, counting each power. Search for a counterexample by grouping powers of exponent at least three inside their enclosing gaps beyond the published scans and checking any nearby prime squares. In parallel prove the (7,11) control and a sparse square-plus-cube bound in pinned Lean. A full positive proof would need a uniform argument for the remaining multiple-power gap configurations; a negative proof would need one gap with certified consecutive primes and a base product at least its left endpoint.",
  "chance_pct": 0.1,
  "status": "partial",
  "has_main": false,
  "handoff": false,
  "solved": false,
  "dated_utc": "2026-11-26",
  "catalog_snapshot": {
    "source_url": "https://conjectures.io/v1/catalog/conjectures/erdos458-erdos-458",
    "frozen_file": "artifacts/goal/batches/e04-witnesses/items/e458/catalog-snapshot.json",
    "as_of": "2026-11-26T12:50:00Z",
    "submissions_open": true,
    "attempts": 0,
    "bounty_amount_rao": "8295882105611",
    "bounty_amount_usd": "2997.03",
    "bounty_is_dynamic": true
  },
  "exact_target": {
    "source_type": "True ↔ ∀ (k : ℕ), Erdos458.lcm_upto (Nat.nth Prime (k + 1) - 1) < Nat.nth Prime k * Erdos458.lcm_upto (Nat.nth Prime k)",
    "formalized_challenge": "Bounty.target : fcTypeOfName% \"Erdos458.erdos_458\"",
    "counterexample_challenge": "Bounty.target : ¬ (fcTypeOfName% \"Erdos458.erdos_458\")",
    "definition_expansion": "Erdos458.lcm_upto n = (Finset.Icc 1 n).lcm id. Prime in Nat.nth Prime is the generic Prime predicate on ℕ; Mathlib proves it equivalent to Nat.Prime via Nat.prime_iff. The source answer is True, so the positive mode is the universal strict inequality and the negative mode is its negation. Nat.nth uses zero-based indexing (0 corresponds to 2).",
    "formalization_mismatch": "No mathematical mismatch found. The original problem uses k≥1 with p₁=2; the Lean statement uses k:ℕ with zero-based nth Prime, so k=0 is the same first gap. The generic Prime/Nat.Prime distinction requires a propositional-extensionality bridge but denotes the same prime set.",
    "source_urls": [
      "https://raw.githubusercontent.com/identity-md-launches/goal-3467-objective-settle-least-one/3d3f3a09d60c67992738413746463076008eb894/catalog/targets/erdos458-erdos-458/metadata.json",
      "https://raw.githubusercontent.com/identity-md-launches/goal-3467-objective-settle-least-one/3d3f3a09d60c67992738413746463076008eb894/catalog/targets/erdos458-erdos-458/formalized/Challenge.lean",
      "https://raw.githubusercontent.com/identity-md-launches/goal-3467-objective-settle-least-one/3d3f3a09d60c67992738413746463076008eb894/catalog/targets/erdos458-erdos-458/counterexample/Challenge.lean",
      "https://raw.githubusercontent.com/google-deepmind/formal-conjectures/7d1a8c9912747679d0093f6d1216420c33ee5ffa/FormalConjectures/ErdosProblems/458.lean",
      "https://www.erdosproblems.com/458",
      "https://raw.githubusercontent.com/leanprover-community/mathlib4/065356127b1dc0016f66b7283ce0ce2c4055aa55/Mathlib/Data/Nat/Prime/Defs.lean",
      "https://raw.githubusercontent.com/leanprover-community/mathlib4/065356127b1dc0016f66b7283ce0ce2c4055aa55/Mathlib/Data/Nat/Prime/Nth.lean"
    ],
    "local_type_inspection": "test/scratch/e458/inspect.log (#check succeeded; exploratory #eval of noncomputable Nat.nth failed and was not used)"
  },
  "literature": [
    {
      "date": "1980; page accessed 2026-11-26",
      "url": "https://www.erdosproblems.com/458",
      "scope": "Original Erdős–Graham question, cited there as [ErGr80,p.91]; page still labels it falsifiable/open and identifies square clustering and small primes as obstacles. The 1980 monograph page itself was not directly inspected.",
      "matching_prior_solution": false
    },
    {
      "date": "2025-08-19, 2026-04-27, 2026-06-12; checked 2026-11-26",
      "url": "https://www.erdosproblems.com/forum/thread/458",
      "scope": "Comments give the prime-power product criterion, a reported no-counterexample check through next prime 10^12, and a reported extension through 10^20. Above 4×10^18 the latter relies on a community gap search, rather than the refereed exhaustive scan. These are finite checks, not a full solution.",
      "matching_prior_solution": false
    },
    {
      "date": "2014; checked 2026-11-26",
      "url": "https://sweet.ua.pt/tos/bib/4.12.html",
      "scope": "Oliveira e Silva, Herzog and Pardi, Math. Comp. 83 (2014): computational prime-gap data through 4×10^18; this paper does not settle the universal lcm inequality.",
      "matching_prior_solution": false
    },
    {
      "date": "2026-11-01; checked 2026-11-26",
      "url": "https://aixiv.online/abs/2611.00013",
      "scope": "Zhu, Prime powers in prime gaps and Erdős Problem #458, on aiXiv (a separate site from arXiv): unconditional structural and exceptional-set results; full inequality only under extra conjectures, and a computation under Legendre through 3.3×10^24. The abstract says a complete proof would need prime separation between squares of consecutive primes.",
      "matching_prior_solution": false
    },
    {
      "date": "repository commit bc892771422917df186176c4d498676fb98179e5; checked 2026-11-26",
      "url": "https://raw.githubusercontent.com/bmryggdrasil/erdos458-lean/bc892771422917df186176c4d498676fb98179e5/VERIFICATION.md",
      "scope": "Companion Lean verification maps the paper to Mathlib lemmas and marks full results conditional on external hypotheses or large computations. It records an Iff.rfl link to the formal-conjectures formulation; it does not supply an unconditional proof of the exact target. Its table also describes a close-power pair search up to 10^35 (the full Proposition 7.2 search is marked not redone in Lean); this is a different scope from full-gap verification.",
      "matching_prior_solution": false
    },
    {
      "date": "queried 2026-11-26",
      "url": "https://export.arxiv.org/api/query?search_query=ti%3A%22Prime%20powers%20in%20prime%20gaps%22&start=0&max_results=20",
      "scope": "arXiv API exact-title query returned zero records. A topical lcm/consecutive-primes query also returned zero; absence from these queries is only a bounded literature check.",
      "matching_prior_solution": false
    },
    {
      "date": "queried 2026-11-26",
      "url": "https://export.arxiv.org/api/query?id_list=2611.00013",
      "scope": "The arXiv identifier 2611.00013 refers to a different metamaterial paper; the #458 preprint is aiXiv:2611.00013, not arXiv:2611.00013.",
      "matching_prior_solution": false
    }
  ],
  "literature_conclusion": "No established prior proof or refutation matching the exact unconditional statement was found in the sources and queries above as of 2026-11-26. This is not an exhaustive claim about all unpublished or unindexed work.",
  "attempted_work": [
    {
      "route": "Exact statement and pins",
      "result": "Both Challenge SHA256 values matched metadata. The source theorem expanded locally to True ↔ the displayed universal inequality; lcm_upto expanded to Finset.Icc 1 n lcm id. The audited patch and TaskSupport bytes matched their stated SHA256 digests. The pinned Lean and Mathlib versions were observed in the local build.",
      "evidence": [
        "https://raw.githubusercontent.com/identity-md-launches/goal-3467-objective-settle-least-one/3d3f3a09d60c67992738413746463076008eb894/catalog/targets/erdos458-erdos-458/metadata.json",
        "artifacts/goal/batches/e04-witnesses/items/e458/build.log"
      ]
    },
    {
      "route": "Control gap",
      "result": "Compiled control_lcm_seven=420, control_lcm_ten=2520, ratio 6, strict 6<7, and the exact target instance k=3 using the Prime/Nat.Prime bridge.",
      "evidence": [
        "artifacts/goal/batches/e04-witnesses/items/e458/Partial.lean",
        "artifacts/goal/batches/e04-witnesses/items/e458/build.log"
      ]
    },
    {
      "route": "Sparse gap shape",
      "result": "Compiled a numerical bound: if p>32, a²<q<2p and b³<q, then ab<p. Hence one square and one cube cannot make the base product reach p under these hypotheses. This does not cover two squares or three or more powers.",
      "evidence": [
        "artifacts/goal/batches/e04-witnesses/items/e458/Partial.lean",
        "artifacts/goal/batches/e04-witnesses/items/e458/build.log"
      ]
    },
    {
      "route": "Higher-power search",
      "result": "Exactly sieved prime bases for all powers with exponent at least 3 in [10^25,1.1×10^25], then grouped their powers by gmpy2 probable-prime predecessor and successor and tested prime squares inside each apparent gap. No apparent hit, square-containing group or group containing two higher powers appeared. This is a sampled event-gap search with probable endpoints, not an exhaustive prime-gap verification or a proof. A second full pass using a pure Python 32-base Miller–Rabin backend agreed with the gmpy2 pass on every reported search field; both remain probable-prime checks at the large endpoints.",
      "evidence": [
        "artifacts/goal/batches/e04-witnesses/items/e458/scan.py",
        "artifacts/goal/batches/e04-witnesses/items/e458/scan.json",
        "artifacts/goal/batches/e04-witnesses/items/e458/scan-crosscheck.log"
      ]
    },
    {
      "route": "Close-cluster controls",
      "result": "Trial division put 3^7=2187 and 13^3=2197 in (2179,2203), with product 39<2179; 73^3=389017 and 5^8=390625 lie in different gaps (389003,389023) and (390581,390647), with 134 primes strictly between the powers. It put 8=2^3 and 9=3² in (7,11), product 6<7.",
      "evidence": [
        "artifacts/goal/batches/e04-witnesses/items/e458/scan.py",
        "artifacts/goal/batches/e04-witnesses/items/e458/scan.json",
        "https://raw.githubusercontent.com/bmryggdrasil/erdos458-lean/bc892771422917df186176c4d498676fb98179e5/VERIFICATION.md"
      ]
    },
    {
      "route": "Beyond the documented 10^35 pair-search cutoff",
      "result": "Exactly sieved bases for all exponent ≥3 powers in the sampled interval [10^36, 10^36+10^31]. The program found 120785 higher powers, each in a distinct apparent gap, with no nearby prime square and no apparent product hit. Gap endpoints were only probable primes; square-only gaps and most of the enormous ambient range were not examined. The pure Python probable-prime backend independently matched the gmpy2 pass on all reported fields.",
      "evidence": [
        "artifacts/goal/batches/e04-witnesses/items/e458/scan.py",
        "artifacts/goal/batches/e04-witnesses/items/e458/scan-frontier.json",
        "https://raw.githubusercontent.com/bmryggdrasil/erdos458-lean/bc892771422917df186176c4d498676fb98179e5/VERIFICATION.md",
        "artifacts/goal/batches/e04-witnesses/items/e458/scan-crosscheck.log"
      ]
    }
  ],
  "search_limits": {
    "integer_interval_inclusive": [
      "10000000000000000000000000",
      "11000000000000000000000000"
    ],
    "relation_to_prior_ranges": "The 10^25 window begins beyond the reported 10^20 full-gap check and the paper’s 3.3×10^24 conditional computation. The separate 10^36 window begins beyond the paper’s documented close-power pair-search cutoff of 10^35; neither window covers all prime gaps.",
    "coverage": "The segmented sieve exhausts prime bases for exponent ≥3 powers within the stated integer interval. It generated 365069 such powers: 361882 cubes, 2985 fourth powers, 167 fifth powers, 28 sixth powers, 5 seventh powers, one ninth power and one tenth power. Each of the 365069 apparent event-containing prime gaps had both endpoints inside the interval. In each such gap the program also tested every integer square base between endpoint square roots for primality. Gaps without an exponent ≥3 power, including square-only gaps, were not enumerated; the interval is not an exhaustive verification of the conjecture.",
    "prime_endpoint_status": "gmpy2 prev_prime/next_prime at around 10^25 are probable-prime results; no primality certificates or Lean proofs were generated for them. A hit would require certified consecutive primes and enough prime-power factors; there was no hit to certify.",
    "apparent_hits": 0,
    "groups_with_multiple_higher_powers": 0,
    "groups_with_prime_square": 0,
    "closest_higher_power_pair": {
      "first_power": "10819118822857634206713223",
      "base": "221172247",
      "exponent": 3,
      "second_power": "10819118823156605691926641",
      "second_base": "1813627",
      "second_exponent": 4,
      "distance": "298971485213418"
    },
    "exact_data_file": "artifacts/goal/batches/e04-witnesses/items/e458/scan.json",
    "program": "artifacts/goal/batches/e04-witnesses/items/e458/scan.py",
    "independent_backend_crosscheck": {
      "result": "Pure Python 32-base Miller–Rabin and gmpy2 passes agreed on counts, grouping, apparent hits and closest pair. Neither produced prime certificates.",
      "log": "artifacts/goal/batches/e04-witnesses/items/e458/scan-crosscheck.log"
    },
    "frontier_sample": {
      "integer_interval_inclusive": [
        "1000000000000000000000000000000000000",
        "1000010000000000000000000000000000000"
      ],
      "powers_exponent_at_least_three": 120785,
      "by_exponent": {
        "3": 120666,
        "4": 118,
        "5": 1
      },
      "event_containing_gap_groups": 120785,
      "boundary_groups": 0,
      "groups_with_multiple_higher_powers": 0,
      "groups_with_prime_square": 0,
      "apparent_hits": 0,
      "closest_higher_power_pair": {
        "first_power": "1000008748028509210290939805176748001",
        "first_base": "1000002916001",
        "first_exponent": 3,
        "second_power": "1000008748028697855841435688792454961",
        "second_base": "1000002187",
        "second_exponent": 4,
        "distance": "188645550495883615706960"
      },
      "coverage_limit": "Only exponent ≥3 event-containing apparent gaps were grouped; no complete prime-gap interval scan and no endpoint primality certificates.",
      "data_file": "artifacts/goal/batches/e04-witnesses/items/e458/scan-frontier.json",
      "program": "artifacts/goal/batches/e04-witnesses/items/e458/scan.py",
      "command": "python3 scan.py --lo 1000000000000000000000000000000000000 --hi 1000010000000000000000000000000000000 --output scan-frontier.json",
      "backend_crosscheck": {
        "result": "Pure Python 32-base Miller–Rabin and gmpy2 probable-prime passes agreed on all reported search fields; not a primality certificate.",
        "log": "artifacts/goal/batches/e04-witnesses/items/e458/scan-crosscheck.log"
      }
    },
    "command_default": "python3 scan.py --output scan.json (uses standard-library fallback when gmpy2 is unavailable)"
  },
  "obstruction": "The compiled sparse bound handles at most one square together with one cube under q<2p, but it cannot rule out two squares in one prime gap or mixed clusters of at least three higher powers uniformly. Published work identifies separation of consecutive-prime squares by another prime as a necessary obstacle. A finite sample, even far beyond earlier checks, cannot settle the universal statement.",
  "compiled_lemmas": {
    "file": "artifacts/goal/batches/e04-witnesses/items/e458/Partial.lean",
    "names": [
      "Bounty.control_lcm_seven",
      "Bounty.control_lcm_ten",
      "Bounty.control_ratio_7_11",
      "Bounty.control_gap_7_11",
      "Bounty.control_k_three",
      "Bounty.sparse_product_bound",
      "Bounty.sparse_gap_shape"
    ],
    "build_log": "artifacts/goal/batches/e04-witnesses/items/e458/build.log",
    "axiom_closure": [
      "propext",
      "Classical.choice",
      "Quot.sound"
    ],
    "forbidden_dependency_check": "No sorryAx appears in #print axioms for any listed lemma; none invokes Erdos458.erdos_458."
  },
  "build": {
    "project": "fresh scratch FC base 7d1a8c9912747679d0093f6d1216420c33ee5ffa plus tiers/tier-1/formal-conjectures-audit-fixes.patch from conjectures-tasks f5dab9b843c460bf946e0ec7b0e6ad2f2f739eb8",
    "audit_patch_sha256": "352280407fbbe83e636aa07a5c090aab15c6353c7cd77c0491284cd40df51275",
    "audited_fc_revision_declared_in_metadata": "6adcbe13652f4e7c69ad02a783465ae2a99d5cb3",
    "audited_fc_revision_direct_tree_check": "UNVERIFIED; the reconstructed base-plus-patch project was built, and the source type matched metadata, but the 6adcbe commit was not fetched directly",
    "lean_version": "4.35.0-rc2",
    "mathlib_commit_observed": "065356127b1dc0016f66b7283ce0ce2c4055aa55",
    "task_support_sha256": "58a80a223dbd7383d92eb2a57b1ec207c0991131a1a1bf24585a4452777c257e",
    "task_support_source_url": "https://raw.githubusercontent.com/conjectures-io/conjectures-validator/c0a19535f5d853f3eb56929db5b0719e727591ec/lean/TaskSupport.lean",
    "task_support_local_file": "artifacts/goal/batches/e04-witnesses/items/e458/TaskSupport.lean",
    "commands": [
      "lake update",
      "lake exe cache get",
      "lake build FormalConjectures.ErdosProblems.«458»",
      "lake env lean -o .lake/build/lib/lean/TaskSupport.olean TaskSupport.lean",
      "lake env lean Partial.lean"
    ],
    "source_module_build": "passed",
    "partial_lemma_build": "passed",
    "full_candidate_build": "UNVERIFIED (no Main.lean candidate)",
    "independent_clean_rebuild": "UNVERIFIED",
    "log_file": "artifacts/goal/batches/e04-witnesses/items/e458/build.log",
    "task_support_revision_check": "UNVERIFIED: metadata names validator comparator commit 32bd61da1d68fbaa310234964e9b820b03a0f82f, which was not retrievable from the public validator repository. The TaskSupport.lean bytes at the cited c0a19535 revision matched the metadata SHA256 exactly."
  },
  "print_axioms_output": "'Bounty.control_lcm_seven' depends on axioms: [propext, Classical.choice, Quot.sound]\n'Bounty.control_lcm_ten' depends on axioms: [propext, Classical.choice, Quot.sound]\n'Bounty.control_ratio_7_11' depends on axioms: [propext, Classical.choice, Quot.sound]\n'Bounty.control_gap_7_11' depends on axioms: [propext, Classical.choice, Quot.sound]\n'Bounty.control_k_three' depends on axioms: [propext, Classical.choice, Quot.sound]\n'Bounty.sparse_product_bound' depends on axioms: [propext, Classical.choice, Quot.sound]\n'Bounty.sparse_gap_shape' depends on axioms: [propext, Classical.choice, Quot.sound]",
  "english_argument": "At (7,11), the only new prime-power events are 8=2³ and 9=3². The lcm grows from 420 to 2520, a factor 6, and 6<7; Lean checks the exact k=3 instance. For the sparse bound, a²<2p and b³<2p imply a⁶<(2p)³ and b⁶<(2p)², hence (ab)⁶<32p⁵<p⁶ when p>32, so ab<p. The general lcm quotient is the product of bases for all powers in the gap, with multiplicity; this identity was used by the search but was not formalized in this attempt. These lemmas do not prove or refute the full target.",
  "original_chat": {
    "status": "missing_original_chat_export",
    "location": null,
    "bytes": null,
    "note": "No task-provided original proof chat export was available. No reconstructed chat log was written; this attempt has no complete proof candidate."
  },
  "unverified": [
    "Full theorem in either mode: UNVERIFIED, no candidate.",
    "Large sampled-gap endpoint primality and consecutiveness certificates: UNVERIFIED.",
    "All prime gaps, including square-only gaps, across the sampled integer interval: UNVERIFIED.",
    "Independent clean-clone rebuild of a full candidate: UNVERIFIED.",
    "Direct audited FC 6adcbe commit tree equivalence: UNVERIFIED.",
    "Original proof chat export: missing_original_chat_export.",
    "Frontier 10^36 sampled-gap endpoint primality and consecutiveness certificates: UNVERIFIED.",
    "TaskSupport comparator-commit 32bd61da direct retrieval: UNVERIFIED; pinned content SHA256 verified."
  ]
}
