{
 "slug": "erdos686-erdos-686-variants-four",
 "class": "d",
 "attack": "no",
 "chance_pct": 1,
 "direction": "refute",
 "statement": "theorem Erdos686.erdos_686.variants.four : answer(sorry) ↔ ∃ᵉ (k ≥ 2) (n : ℕ) (m ≥ n + k), (4 : ℚ) = (∏ i ∈ Finset.Icc 1 k, (m + i)) / (∏ i ∈ Finset.Icc 1 k, (n + i))   -- answer(sorry) elaborates to True, so the bounty type is `True ↔ P` (prove P by a witness) or its negation `¬(True ↔ P)`, i.e. `¬P`.",
 "faithful": true,
 "differences": "It is the N=4 instance of Erdős #686 (the source asks it for every N>=2; 4 is the smallest N nobody has represented). Binders: k:ℕ with k>=2, n:ℕ (so n=0 is allowed), m:ℕ with m>=n+k (the two blocks {n+1..n+k} and {m+1..m+k} are disjoint, as in the source's m>=n+k). Division is in ℚ and the denominator is >= k! > 0, so there is no division by zero. There is no natural subtraction or natural division. The coercions are casts ℕ→ℚ inside the products, so the equation is exactly (m+1)...(m+k) = 4(n+1)...(n+k) over ℕ. n=0 gives C(m+k,k)=4, which is impossible for k>=2, m>=k because C(2k,k)>=6. n=1 is an ordinary case. Two small notes: (1) the file's `four_three` (k=3) lemma is tagged 'research solved' but its body is `sorry` at the pinned commit; (2) because of answer(sorry) the provable target is either the existence of a witness or the full negation over ALL k>=2. A refutation must therefore exclude every k, which is much stronger than any published or forum result.",
 "solved_in_literature": false,
 "literature": [
  {
   "url": "https://www.erdosproblems.com/686",
   "date": "page last edited 2026-04-11 (archived copy read)",
   "finding": "Status OPEN: 'This is open, and cannot be resolved with a finite computation.' No claimed solutions."
  },
  {
   "url": "https://www.erdosproblems.com/forum/thread/686",
   "date": "2025-08-09",
   "finding": "Vjeko_Kovac and Stijn Cambie represented every N<=100 except 4, 25, 49, 64, 81. Every non-square N can be represented with k=2 via Pell equations (AlphaProof formalized this, FC PR #2398)."
  },
  {
   "url": "https://www.erdosproblems.com/forum/thread/686",
   "date": "2026-03-03..2026-03-08",
   "finding": "k=2: p^(2t) (so 4=2^2) is not representable (Tao, Woett, Adenwalla). Sothanaphan/GPT-5.4 classified all representable N for k=2."
  },
  {
   "url": "https://www.erdosproblems.com/forum/thread/686",
   "date": "2026-03-05",
   "finding": "k=3 for N=4: vilc used Chan's method plus Bennett's effective irrationality measure for cbrt(2) to bound x<=2e7, and had searched up to 2e9. So N=4 is not representable with k=3 (not formalized; it relies on Bennett's bounds). Tao notes finiteness for each fixed k=3 via Thue/Baker. Rakaczki (Theorem B), building on Beukers–Shorey–Tijdeman 2001, gives finitely many solutions for each fixed N and k>2, but not for all k at once."
  },
  {
   "url": "https://www.erdosproblems.com/forum/thread/686",
   "date": "2026-03-09..2026-03-13",
   "finding": "k=4 reduces to k=2, since (m+1)(m+2)(m+3)(m+4)=(M+1)(M+2) with M=m^2+5m+3, so it is excluded. Vjeko_Kovac sketched k=6 for N=4 by sqrt expansion. vilc: N=a^k with a a prime power is not k-representable; for N=4=2^2 this covers only k=2."
  },
  {
   "url": "https://www.erdosproblems.com/forum/thread/686",
   "date": "2026-03-12/15",
   "finding": "Sothanaphan: N=4,25,49,64,81 are not representable for k<=4. MalekZ's N=4 status table: k=2,3(search),4,6 excluded; k=5 no solution with |x|,|y|<=10000 and no congruence obstruction exists for k=5."
  },
  {
   "url": "https://github.com/conjectures-io/conjectures-contribution/pull/145",
   "date": "2026-11-03",
   "finding": "Lean partial contribution: no ratio 4 for disjoint length-six blocks (square approximation bound n<=246 plus a kernel-checked certificate)."
  },
  {
   "url": "https://github.com/conjectures-io/conjectures-contribution/pull/146",
   "date": "2026-11-03",
   "finding": "Lean partial contribution: excludes lengths 8 and 12 for ratio 4."
  },
  {
   "url": "https://github.com/conjectures-io/conjectures-contribution/pull/148",
   "date": "2026-11-03",
   "finding": "Lean partial contribution: excludes length 10 for ratio 4."
  },
  {
   "url": "https://raw.githubusercontent.com/conjectures-io/conjectures-contribution/main/contributions/erdos-686-variants-four/index.json",
   "date": "2026-09-01..2026-11-03",
   "finding": "7 partial-proof contributions for this target: k=2 (Pell), a k=3 cubic reduction (not a proof), k=4, 6, 8, 10, 12. There is no full solution and nothing for odd k."
  },
  {
   "url": "https://terrytao.wordpress.com/2026/03/31/products-of-consecutive-integers-with-unusual-anatomy/",
   "date": "2026-03-31",
   "finding": "Checked: about Erdős #380/#374, not #686."
  }
 ],
 "computation": "I ran my own search (node.js, test/scratch/s.js) for (m+1)...(m+k) = 4(n+1)...(n+k) with m>=n+k. For each (k,n) it finds the real root r of the log-product equation by Newton's method with a log1p/Stirling evaluation, takes the integers within 1 of round(r) when |r-round(r)|<=0.3, filters them mod three primes near 2^26, and confirms hits exactly with BigInt. I validated it on known solutions: N=9 k=3 (n,m)=(11,25); N=16 k=3 (4,13); N=36 k=2 (0,7); N=4900 k=3 (1,47); N=2 k=2 (97511,137902) and others. Bounds reached for N=4, with 0 hits throughout: k=3..10 for every n<=3*10^7 (all m determined by n); k=11..40 for n<=10^6; k=41..120 for n<=10^5. Caveat: this is floating-point root location; a miss from rounding error greater than 0.7 is very unlikely but not ruled out formally.",
 "approach_a": "Refute k by k with the 'integer square approximation' method of PRs #145/#146/#148, made uniform in even k. For k=2j put P_k(x)=prod_{i=1}^{k}(x+i). Construct, in closed form in j, a polynomial S_k with rational coefficients (scaled to ℤ) such that D_k^2·P_k(x) = S_k(x)^2 + R_k(x) with deg R_k < j, and compare 4P_k(n)=P_k(m), i.e. 2·sqrt(P_k(n)) vs sqrt(P_k(m)). This bounds n by an explicit B(k), and a finite check finishes. In Lean, for each fixed k: an identity lemma (ring), positivity of the remainder (positivity/nlinarith), the gap lemma `Nat.lt_succ_sqrt`-style (a^2 < c < (a+1)^2 → ¬IsSquare c), strict monotonicity of P_k, and a `decide +kernel` certificate for n<=B(k). This handles only even k. It is impossible for all k at once, because B(k) grows and odd k has no square structure.",
 "approach_b": "Use p-adic / Sylvester-type valuation counting for all k at once. The equation forces v_p(prod(m+i)) = v_p(prod(n+i)) for every odd prime p and v_2 to differ by exactly 2. By Legendre/Kummer, v_p of a block equals sum_j(floor((m+k)/p^j)-floor(m/p^j)). One would need: (i) a Sylvester–Schur style lemma that a prime p>k divides (m+1)...(m+k) (to exactly one term) and must also divide the n-block with the same exponent; (ii) Erdős–Selfridge-type size arguments with primes in (k, m+k] to contradict the m≈4^{1/k}n size relation (Bertrand: `Nat.exists_prime_lt_and_le_two_mul`); (iii) small k handled by approach A or certificates. Lean needs `Nat.factorization`/`padicValNat` of products (`padicValNat.mul`, `Nat.Prime.multiplicity_factorial`-style Legendre via `Nat.factorization_factorial` / `Nat.Prime.sub_one_mul_multiplicity_factorial`), `Nat.descFactorial`/`Nat.ascFactorial` rewrites (the block equals (m+k)!/m!), and Bertrand. This is unproven mathematics: nobody has shown that valuations exclude ratio 4 for general k (MalekZ shows no congruence obstruction exists even for k=5).",
 "useful_lemmas": [
  "Erdos686.erdos_686.variants.four_two (k=2, proven in FC file)",
  "Finset.prod_Icc_succ_top",
  "Nat.ascFactorial / Nat.ascFactorial_eq_div (block (m+1)..(m+k) = (m+k)!/m!)",
  "Nat.choose_symm_diff / Nat.choose (n=0 case: C(m+k,k)=4 impossible)",
  "Nat.exists_prime_lt_and_le_two_mul (Bertrand)",
  "Nat.Prime.multiplicity_factorial / Nat.factorization_factorial (Legendre)",
  "padicValNat.mul, padicValNat.prod",
  "Nat.sqrt_lt' / Nat.sqrt_le' and IsSquare gap arguments",
  "Pell.exists_of_not_isSquare (only for non-square N, not 4)",
  "decide +kernel certificates (no native_decide allowed)",
  "k=4 → k=2 reduction: (x+1)(x+2)(x+3)(x+4) = (y+1)(y+2) with y=x^2+5x+3"
 ],
 "plan": "Do not attack the full target in this batch. No witness exists in the searched range: k<=10 with n<=3e7, k<=40 with n<=1e6, k<=120 with n<=1e5. Everyone expects 4 to be non-representable, so the bounty requires the negation, i.e. excluding EVERY k>=2. The known exclusions are k=2,4,6,8,10,12 (Lean, partial contributions) and k=3 (forum, via Bennett's effective measures, not formalized). Each is a separate fixed-k argument. Odd k>=5 has no known method short of Baker/Thue-type bounds, and no uniform argument in k is known; Rakaczki/Beukers–Shorey–Tijdeman only give finiteness for each fixed k. A 4-hour attempt could at best add another fixed-k partial lemma, e.g. k=14 via approach A, or formalize the k=3 Bennett/Chan argument, which is hard and needs explicit Diophantine approximation bounds. Settling the target needs a new mathematical idea, so this is class d with about 1% chance.",
 "unverified": [
  "I could not read erdosproblems.com live (Cloudflare 403). I read web.archive.org snapshots of the problem page (2026-08) and the forum thread, which shows 36 comments with 6 more collapsed and unread. Newer comments may exist.",
  "I did not read Rakaczki, Beukers–Shorey–Tijdeman 2001, Chan, or Bennett. I only have them as summarized in forum comments.",
  "I did not build the Lean statement locally (no Lean toolchain here), so the exact coercion placement is inferred from the source text only.",
  "The patched FC file: I checked that the audit patch (sha256 verified 352280407f...) has no hunk mentioning ErdosProblems/686, so the pinned statement equals commit 7d1a8c99 (checked by grep only).",
  "I did not build or audit the Lean contents of the conjectures-contribution PRs; their claims are taken from PR descriptions and index.json.",
  "The search is floating-point root finding with modular filtering, not a certified proof of absence in those ranges.",
  "I did not search the arXiv listing exhaustively. Two web searches (standard and extended) found no paper solving the N=4 case."
 ]
}