{
  "slug": "erdos647-erdos-647",
  "class": "a",
  "attack": "yes",
  "chance_pct": 0,
  "direction": "prove",
  "statement": "True ↔ ∃ n : ℕ, n > 24 ∧ (⨆ m : Fin n, (m : ℕ) + (ArithmeticFunction.sigma 0) (m : ℕ)) ≤ n + 2",
  "faithful": true,
  "differences": "The equivalent source syntax at the supplied commit is `answer(sorry) ↔ ∃ n > 24, ⨆ m : Fin n, m + σ 0 m ≤ n + 2`. Challenge.lean extracts the constant's type via fcTypeOfName%. The target page prints `True ↔ ∃ n > 24, ⨆ m, ↑m + (ArithmeticFunction.sigma 0) ↑m ≤ n + 2`. I verified the supplied patch SHA-256 and found no diff for 647.lean. Here n is Nat, `∃ n > 24, ...` puts the strict lower bound and the supremum inequality in a conjunction under the existential, and m is an element of Fin n with Nat value 0 through n−1. Both occurrences of m coerce via Fin.val to Nat, so addition is ordinary Nat addition with no wraparound. The ≤ compares the entire Nat supremum with n+2. The range is finite and, for n>24, nonempty, so that supremum is the ordinary maximum. Sigma is a Nat-valued arithmetic function coerced to a function by evaluation, defined as the sum of d^k over Nat.divisors m. Nat.divisors m filters the interval [1,m+1) by divisibility, so sigma 0 is its cardinality, with sigma 0 0 = 0 and sigma 0 1 = 1. The source takes positive m. Lean adds only the m=0 term of value 0, which cannot affect the maximum for n>24. If the lower guard were omitted, Fin 0 would be empty and its Nat supremum would be 0, and Fin 1 would contain only 0, giving supremum 0 as well. Neither n satisfies the guard. The target has no subtraction or division. In the shift reformulation use 1 ≤ k < n and m=n−k>0, so Nat subtraction is exact, and m=0 is separate. In quotient filters Nat division is floor division, used as an exact quotient only after proving k ∣ n. The nearby limit variant uses truncated Nat subtraction and the fixed-window variant uses the strict interval Set.Ioo (n−k) n, but neither occurs in this target. For n>24, the older equality formulation is equivalent: if n is odd, n−1 is even and larger than 2, so tau(n−1)≥3, and if n is even, n−2 is even and larger than 2, so tau(n−2)≥4 unless n−2 is a prime square. An even prime square is only 4. Thus the maximum is always at least n+2. Formal sources are the challenge, target page and pinned Mathlib files in sources.json.",
  "solved_in_literature": false,
  "literature": [
    {
      "url": "https://conjectures.io/problems/erdos647-erdos-647",
      "date": "2026-11-26",
      "finding": "Public listing added 2026-09-08. Direct fetch showed $2,975 bounty and 'nobody has started' at access. The search index had an older $2,928 snapshot. The displayed dollar amount is time-sensitive and the status describes public activity. Reviewed https://conjectures.io/how-it-works and https://conjectures.io/submission-terms (v13, effective 2026-11-11). Novelty is assessed against complete established public proofs of the same direct problem."
    },
    {
      "url": "https://www.erdosproblems.com/latex/647",
      "date": "2026-04-07",
      "finding": "Read the indexed source-page LaTeX, the problem mirror at https://erdosproblems.ai/problems/647, and cached discussion at https://www.erdosproblems.com/forum/thread/647. Direct source and thread requests returned HTTP 403. The source attributes the question to Erdős and Selfridge, records n=24, cites Er79, Er79d, Er80 p.107, Er92e and Er95c, and distinguishes the fixed-window and limit questions. The comments report modular filters, prime-tuple obstructions and finite scans. Bloom attributes the £25 example prize to Er92e."
    },
    {
      "url": "https://static.renyi.hu/~p_erdos/1979-22.pdf",
      "date": "1979",
      "finding": "Er79, Mathematics Magazine, p.68, section 4. Erdős and Selfridge found 24 and expected any next hit to be enormous. Erdős expressed doubt about infinitely many hits and suggested a diverging excess. This is the historical equality formulation."
    },
    {
      "url": "https://static.renyi.hu/~p_erdos/1979-23.pdf",
      "date": "1979",
      "finding": "Er79d, Acta Mathematica Academiae Scientiarum Hungaricae, p.72. Erdős distinguishes the all-predecessors condition from a fixed-window assertion that follows from Schinzel's Hypothesis H. This conditional result gives no bound connecting the eventual witness size to the tested window."
    },
    {
      "url": "https://static.renyi.hu/~p_erdos/1980-03.pdf",
      "date": "1980",
      "finding": "Er80, A survey of problems in combinatorial number theory, p.107, equation (3). Direct statement with ≤ n+2 and the observation at n=24. No further example or exclusion theorem."
    },
    {
      "url": "https://arxiv.org/html/2512.01739",
      "date": "2025-12-01",
      "finding": "Tao–Teräväinen prove bounds on the number of prime factors at consecutive shifts with a different budget and asymptotics for equality of consecutive divisor counts. Their discussion of small shifts points to a prime-tuples obstacle. Neither result decides the one-sided exact divisor budgets here. Also screened Lau's descendant preprint arXiv:2604.15042, which improves bounds for prime-factor counts to O(log k) and supplies no exact 647 result."
    },
    {
      "url": "https://arxiv.org/html/2608.17880",
      "date": "2026-08-18",
      "finding": "Mian–Siddique report a Lean kernel exclusion for 24<n≤10^9 with exactly the three permitted axioms, using 6,685,922 factorization witnesses. Section 2 records Idén's direct sieve to 10^12 and explains that the withdrawn January 2026 claim left perpetual domination-interval overlap unproved and assumed the asymptotic part in Lean. It also records the non-permitted trust base of the Hughes modular step. None is an unbounded result."
    },
    {
      "url": "https://raw.githubusercontent.com/scottdhughes/erdos647-proof-chain/main/frontier-certificate/README.md",
      "date": "2026-06",
      "finding": "Hughes reports finite exclusion to 615736321200000000, with a Python verifier and a separate modular Lean development. For n>84 the reduction uses n=2520N and 41 classes of N modulo 46189, refined to 21689 subprogressions, of which 6549 have congruence exclusions and 15140 are scanned. The repository reports density-zero bounds, which still allow a finite exceptional witness or infinitely many sparse witnesses. See also https://github.com/scottdhughes/erdos647-proof-chain."
    },
    {
      "url": "https://github.com/bentrd/erdos647-frontier-extension",
      "date": "2026",
      "finding": "Tordjman reports an extension to 9174471185880000000. Its sample near misses survive through shifts 16 and 19 respectively, then fail at 17 and 20. These illustrate the cost of assuming a few near-prime conditions suffice. A separate SSRN record (abstract 7379599) is indexed as withdrawn. I did not use it as evidence for an exclusion."
    },
    {
      "url": "https://github.com/veljjanoski/erdos647/blob/main/README.md",
      "date": "2026-09-13",
      "finding": "Largest exact-condition search report found: no witness with 24<n≤10^22, after a congruence sieve and GPU divisor lower-bound tests. The reported 10^22 production run took 71050 seconds GPU time and had zero stage-two survivors. This is a reported computation without a Lean certificate."
    },
    {
      "url": "https://gocheckyourself.org/read/erdos-problems/experts/",
      "date": "2026",
      "finding": "Reports an independent computation to 10^14, explicitly distinguishing rerun coverage to 10^9 from log review above that. Also mentions a purported Lean exclusion to 10^13 by eerot. I did not locate and audit its axiom closure or exact statement, so retain 10^9 as the sourced kernel bound with a documented axiom inventory."
    }
  ],
  "computation": "I compiled and ran an independent C divisor sieve for every 0≤m<100000000. A zero-initialized uint16_t array received one increment at each positive multiple below the limit of each d=1,…,99999999. The increment count fits since divisor pairing gives at most 2 floor(sqrt(m)) ≤19998 throughout the positive range. For every 1≤n≤100000000 inclusive I updated the running maximum with (n−1)+tau(n−1) before testing it against n+2. It printed exactly 1, 2, 3, 4, 5, 6, 8, 10, 12, 24 (count 10), with final running maximum 100000476. No n>24 worked. Separately I ran Python integer recursion enumerating consecutive-prime products below each N with positive nonincreasing exponents, including the empty product. Assigning the largest exponents to the smallest primes minimizes the product for a given exponent multiset, so this computes a divisor-count cap for all positive m<N. The first 20 primes suffice for these N because their primorial exceeds 10^24. At N=10^8, 10^9, 10^22 and 10^24 it returned respectively 768 at 98017920, 1344 at 931170240, 552960 at 9494944864072840972800 and 1290240 at 985496152350226952635200. These last two runs bound the verification window for hypothetical witnesses. They did not search n to those magnitudes. These computations were ordinary C and Python runs.",
  "approach_a": "Find a positive witness and verify it using a compressed upper-bound certificate. Search n=2520N through the known residue classes, using tau lower bounds from partial factorizations to reject n and exact factorizations for deeper survivors. For a found concrete n, prove a cap B for all m<n by sorting prime exponents and checking a bounded tree of consecutive-prime exponent patterns. The key normal-form lemma replaces an arbitrary prime support by the first primes, and swaps adjacent out-of-order exponents without increasing the product, preserving the product of (e+1). A simpler fallback cap is 2*Nat.sqrt n via the divisor-pair injection into two copies of 1…sqrt n. Once B is proved, k≥B−2 has tau(n−k)≤k+2 automatically. Use a blockwise Boolean checker with a proved soundness lemma for the remaining positive shifts. Its input rows contain prime powers with certified primality, distinct primes or coprime factors, product equal to n−k and product of (e+1) at most k+2. Use kernel-reduced arithmetic or explicitly proved primality certificates, with the evaluator outside Lean serving only to propose data. The estimate at n≤10^24 would require at most 1290237 positive shifts below B−2. Factorization certificates can be the main cost even after compressing the range, and a proof fitting the task limits is unverified. Discharge m=0 by sigma_zero_apply and conclude with ciSup_le or ciSup_le'.",
  "approach_b": "Try a global refutation by searching for a complete cover using congruence classes, then prove its soundness. Each row (M,r,k,d) with d∣M, r≡k mod d and tau(d)>k+2 excludes all n≡r mod M with n>k, since d∣n−k and the divisor set of d embeds in that of n−k. Implement a checker for the residue splits and coverage, allowing stronger local rules like tau(n−k)≥2*tau(d) when the residual cofactor is >1 and coprime to d. Introduce a separate finite certificate up to the largest exceptional cutoff via intervals [m+1,m+tau(m)−3] and le_ciSup applied at m. The major open obligation is closure of every surviving progression, or a structural lemma that permits a well-founded descent independent of n. A finite frontier or density-zero theorem cannot give this. Pure fixed-divisor rows also have a limitation: n a multiple of all their moduli implies d∣k for every applicable row and hence tau(d)≤tau(k)≤k. Stronger rules or a variable-shift argument are essential.",
  "useful_lemmas": [
    "Pinned Mathlib names checked in source: ArithmeticFunction.sigma_apply, ArithmeticFunction.sigma_zero_apply, ArithmeticFunction.sigma_zero_apply_prime_pow, ArithmeticFunction.isMultiplicative_sigma, Nat.card_divisors, Nat.Coprime.card_divisors_mul.",
    "Pinned Mathlib names checked in source: Nat.mem_divisors, Nat.divisors_zero, Nat.divisors_one, Nat.divisors_subset_of_dvd, Nat.card_divisors_le_self.",
    "Pinned indexed-supremum lemmas checked in source: ciSup_le, le_ciSup, ciSup_le_iff, ciSup_le', ciSup_le_iff', ciSup_of_empty. For the reverse bound, one can bound the range by 2*n using Nat.card_divisors_le_self.",
    "Prove locally that the supremum condition is equivalent to ∀ k : ℕ, 0 < k → k < n → ArithmeticFunction.sigma 0 (n−k) ≤ k+2, using Fin.val, the constructor ⟨m,hm⟩ and Nat subtraction/cancellation. Also prove a checked factorization gives the exact divisor count and a checked divisor lower bound yields a forbidden interval.",
    "Useful local lemmas for the modular filter are exact division under divisibility, factorization through coprime factors, exclusion via strict excess and bounded end-to-end coverage. Use a True.intro/Iff wrapper for the proof and derive the exact negation by extracting the existential from a supplied equivalence."
  ],
  "plan": "Class (a) applies in the requested witness-search sense: truth has a finite verifiable certificate, while exhaustive search has no known termination bound if the answer is negative. The reported search gives a conditional lower estimate n_first>10^22 if a first witness exists. I found no defensible finite point estimate. For the 24t lead, each k dividing 24 gives n−k=k*((24/k)*t−1). All eight indicated linear forms are admissible because t=0 avoids every prime locally. If all eight cofactors are prime and >24 they pass those eight shifts by multiplicativity. This is a sufficient screen on those shifts only. For n=24t a real witness has n−1 prime since tau(n−1)≤3 and n−1≡3 mod 4, but other cofactors may be composite within their budgets and shared prime factors must be accounted for. Fixed-window prime tuple heuristics therefore give neither a forecast for the full event nor evidence of existence. For a later four-hour attempt prioritize the supremum-to-window lemma and prototype the factorization checker on n=24, then use the strongest audited filters and scan a specified new range for a candidate. The best reported scan already exceeds what a four-hour ordinary CPU run can reasonably reproduce, so the estimated chance rounds to 0% and the checkable-witness direction is preferable to an unbounded refutation. I searched the web and arXiv indexed results for Erdős/Erdos Problem 647, Selfridge, divisor-function barriers, exact inequality fragments, proof, refutation, search frontiers and the 2023–2026 dates. I followed the source bibliography, discussion cross-references and recent papers, and found no complete established proof in either direction. This triage settled no target.",
  "unverified": [
    "UNVERIFIED: no local Lean elaboration, build, proof or axiom output. The exact type is based on the published Challenge.lean, the official display and source-level analysis at the supplied pins.",
    "UNVERIFIED: live Bloom source page and complete discussion were blocked by HTTP 403. Indexed copies and author repositories were available. Er92e and Er95c originals were not directly inspected, and the Idén result was read through its public comment and the literature survey rather than rebuilding the Zenodo deposit.",
    "UNVERIFIED: external finite exclusions were not rerun, and the purported 10^13 Lean result has no independently checked trust base here.",
    "UNVERIFIED: existence or location of the first witness above the searched ranges, any global cover, and whether a large positive certificate fits the exact contest resource limits."
  ]
}
