{"attempts":[{"claim":{"id":83,"notes":"Verified Lean disproof of Lemma.erdos_887.variants.rosenfeld_4 (score 1, check_candidate valid). Independent re-formalization of the T141/U108 Pell family, written from scratch in this unit since the program's known_best was empty. Witness: K=5 with C=100. Pell orbit orb : ℕ → ℕ×ℕ, (j,k) ↦ (4j+15k+69, j+4k+14) from (261,63); invariant (2j+1)² = 15(2k+9)²+154, k ≥ 63, k_m ≥ m. With t = k²+9k, n = 64 t(t+14)(t+18)(t+20); five divisors in (⌊√n⌋, ⌈√n+100 n^{1/4}⌉): 8(t+18)(t+20), 8(t+14)(t+20), 8(t+14)(t+18), 8(k+2)(k+3)(k+4)(k+9), 8t²+208t+999+3XZ with X=2k+9, Z=2j+1 (cofactor 8t²+208t+999−3XZ via linear_combination (−9X²)·Pell). Window: n < d², (d−200t)² < n for t ≥ 4536, (2t)^4 ≤ n so 2t ≤ n^{1/4}. Ordering d4<d5<d3<d2<d1 uses 3X ≤ Z < 4X. Infinitude via Set.infinite_of_not_bddAbove with n(k_m) ≥ k_m ≥ m. Caveat for maintainers: the formal variant has a free constant C; Erdős–Rosenfeld's original window is √n + n^{1/4} (C = 1), which this family does not reach (offsets up to 34 n^{1/4}), so the disproof refutes the formal statement, not necessarily the C=1 question.","report":{"statement":"faithful"},"status":"verified"},"entry":{"id":186,"kind":"result","title":"Network best: statements proved or disproved 1"},"finished":1791976554,"name":"rgbrgb","node":2,"outcome":"claim C83 queued for checking on other contributors' machines","started":1791975954,"status":"done","task":251,"unit":110},{"claim":{"id":71,"notes":"Lean disproof of Lemma.erdos_887.variants.rosenfeld_4 (¬IsGreatest S 4), formalizing the T141/N103 Pell family. C = 100. Orbit pseq : ℕ → ℕ×ℕ, pseq 0 = (261,63), (j,k) ↦ (4j+15k+69, j+4k+14); with Z=2j+1, X=2k+9 the invariant Z²−15X²=154 is kept (linear_combination ih). N k = 64·k(k+2)(k+3)(k+4)(k+5)(k+6)(k+7)(k+9) = 64 t(t+14)(t+18)(t+20) with t=k²+9k. Five window divisors: 8(t+18)(t+20), 8(t+14)(t+20), 8(t+14)(t+18), 8(k+2)(k+3)(k+4)(k+9), and 8t²+208t+999+3XZ (cofactor 8t²+208t+999−3XZ in ℤ; identity via linear_combination with the Pell relation and X²=4t+81). Each d has N<d² (explicit d² = N + positive), and all are ≤ D1 < √N + 100 N^{1/4}, proved from (2t)^4 < N (so 2t < N^{1/4} via Real.pow_rpow_inv_natCast and rpow_lt_rpow) and (D1−200t)² < N for t ≥ 4536 (Real.lt_sqrt). Floor/ceil via Nat.floor_lt + Real.sqrt_lt' and Nat.lt_ceil. Distinctness by the strict chain D4<D5<D3<D2<D1 (needs 3X<Z<4X from the Pell relation). Infinitude via Set.infinite_of_injective_forall_mem with m ↦ N (pseq m).2, injective since both maps are StrictMono. Faithfulness caveat: the variant lets C>0 be arbitrary, so it asks about the window (√n, √n + C n^{1/4}) for some C, not Erdős–Rosenfeld's fixed window (√n, √n+n^{1/4}); the counterexample needs C ≈ 34 or more (limit offsets 0, 16.43, 16.97, 22.63, 33.94 in units of N^{1/4}), and T139's data suggests C=1 or 2 still gives at most 4. So the original C=1 question stays open; what is refuted is the formal variant.","report":{"statement":"misformalized","unblock":"Nothing needed for this variant; the original fixed-window (C=1) question would need a family with five divisors in (√n, √n + n^{1/4}), which this Pell family does not give."},"status":"verified"},"entry":{"id":219,"kind":"result","title":"Cleared U108 threshold: statements proved or disproved 1"},"finished":1791959462,"name":"rgbrgb","node":2,"outcome":"claim C71 queued for checking on other contributors' machines","started":1791958591,"status":"done","task":236,"unit":108},{"claim":null,"entry":null,"finished":1791953721,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953719,"status":"abandoned","task":211,"unit":108},{"claim":null,"entry":null,"finished":1791953719,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953698,"status":"abandoned","task":210,"unit":108},{"claim":null,"entry":null,"finished":1791953698,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953684,"status":"abandoned","task":209,"unit":108},{"claim":null,"entry":null,"finished":1791953673,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953639,"status":"abandoned","task":205,"unit":108},{"claim":null,"entry":null,"finished":1791953632,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953628,"status":"abandoned","task":203,"unit":108},{"claim":null,"entry":null,"finished":1791953619,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953590,"status":"abandoned","task":200,"unit":108},{"claim":null,"entry":null,"finished":1791953552,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953548,"status":"abandoned","task":197,"unit":108},{"claim":null,"entry":null,"finished":1791953515,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953496,"status":"abandoned","task":193,"unit":108},{"claim":null,"entry":null,"finished":1791953496,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953492,"status":"abandoned","task":192,"unit":108},{"claim":null,"entry":null,"finished":1791953450,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953427,"status":"abandoned","task":179,"unit":108},{"claim":null,"entry":null,"finished":1791953416,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953396,"status":"abandoned","task":175,"unit":108},{"claim":null,"entry":null,"finished":1791953382,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953379,"status":"abandoned","task":171,"unit":108},{"claim":null,"entry":null,"finished":1791953343,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953314,"status":"abandoned","task":163,"unit":108},{"claim":null,"entry":null,"finished":1791953278,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953265,"status":"abandoned","task":155,"unit":108},{"claim":null,"entry":null,"finished":1791953213,"name":"rgbrgb","node":2,"outcome":"agent finished without submitting (Failed to authenticate: OAuth session expired and could not be refreshed)","started":1791953210,"status":"abandoned","task":145,"unit":108}],"challenge":{"either":true,"imports":["FormalConjectures.ErdosProblems.«887»"],"name":"Lemma.erdos_887.variants.rosenfeld_4","note":"Conjecture from Erdős problem 887 (https://www.erdosproblems.com/887): Erdős and Rosenfeld, ask whether $4$ is the best possible $K$ for the infinitude of $n$ with (at least) $K$ divisors in $(n^{\\frac{1}{2}}, n^{\\frac{1}{2}} + n^{\\frac{1}{4}})$. Formal statement: formal-conjectures FormalConjectures/ErdosProblems/887.lean.","of":"Erdos887.erdos_887.variants.rosenfeld_4","open":["Erdos887","Filter","Finset","Real"],"statement":"IsGreatest {K | ∃ C > (0 : ℝ),\nInfinite {n : ℕ | K ≤ #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + C * n^((1 : ℝ) / 4)⌉₊ | d ∣ n }}} 4\n"},"chat":[{"created":1791959470,"id":77,"name":"rgbrgb","node":2,"program":"erdos-open","tags":[],"text":"U108 (887.rosenfeld_4): the T141 Pell family is now a verified Lean disproof (check_candidate valid, score 1, submitted as C71). C=100, orbit $(j,k)\\mapsto(4j+15k+69,\\,j+4k+14)$ from $(261,63)$, $Z=2j+1$, $X=2k+9$, $t=k^2+9k$, $N=64t(t+14)(t+18)(t+20)$. Divisors $8(t+18)(t+20)$, $8(t+14)(t+20)$, $8(t+14)(t+18)$, $8(k+2)(k+3)(k+4)(k+9)$, $8t^2+208t+999+3XZ$. Window via $(2t)^4<N$, $(D_1-200t)^2<N$ for $t\\ge4536$. Caveat: free $C$ is weaker than the $C=1$ window, still open."},{"created":1791976563,"id":97,"name":"rgbrgb","node":2,"program":"erdos-open","tags":[],"text":"U110 (887.rosenfeld_4): independent Lean disproof verified (score 1, C83); known_best was still empty. Same family as [77]: orbit $(j,k)\\mapsto(4j+15k+69,j+4k+14)$ from $(261,63)$, $t=k^2+9k$, $n=64t(t+14)(t+18)(t+20)$, $C=100$. What made it compile: each polynomial inequality as its own lemma in $t$ with hints $4536t\\le t^2$, $4536t^2\\le t^3$ (nlinarith times out in the big context); `Finset.card_insert_of_notMem`; infinitude via `Set.infinite_of_not_bddAbove`."}],"disproof":"import FormalConjectures.ErdosProblems.«887»\n\nopen Erdos887 Filter Finset Real\n\nnamespace Erdos887Disproof\n\n/-- Pell orbit: `(j, k) ↦ (4j+15k+69, j+4k+14)` from `(261, 63)`; with `Z = 2j+1`, `X = 2k+9`\nthis is the orbit of `Z² - 15 X² = 154`. -/\ndef orb : ℕ → ℕ × ℕ\n  | 0 => (261, 63)\n  | m + 1 => (4 * (orb m).1 + 15 * (orb m).2 + 69, (orb m).1 + 4 * (orb m).2 + 14)\n\nlemma orb_spec (m : ℕ) :\n    (2 * (orb m).1 + 1) ^ 2 = 15 * (2 * (orb m).2 + 9) ^ 2 + 154 ∧ 63 ≤ (orb m).2 ∧ m ≤ (orb m).2 := by\n  induction m with\n  | zero => simp [orb]\n  | succ m ih =>\n    obtain ⟨h1, h2, h3⟩ := ih\n    simp only [orb]\n    refine ⟨?_, by omega, by omega⟩\n    zify at h1 ⊢\n    linear_combination h1\n\n/-- Five distinct members give cardinality at least five. -/\nlemma five_le_card {S : Finset ℕ} {a b c d e : ℕ} (hab : a < b) (hbc : b < c) (hcd : c < d)\n    (hde : d < e) (ha : a ∈ S) (hb : b ∈ S) (hc : c ∈ S) (hd : d ∈ S) (he : e ∈ S) :\n    5 ≤ S.card := by\n  have hsub : ({a, b, c, d, e} : Finset ℕ) ⊆ S := by\n    intro x hx\n    simp only [Finset.mem_insert, Finset.mem_singleton] at hx\n    rcases hx with rfl | rfl | rfl | rfl | rfl <;> assumption\n  have hcard : ({a, b, c, d, e} : Finset ℕ).card = 5 := by\n    rw [Finset.card_insert_of_notMem, Finset.card_insert_of_notMem,\n      Finset.card_insert_of_notMem, Finset.card_insert_of_notMem, Finset.card_singleton]\n    all_goals (try simp only [Finset.mem_insert, Finset.mem_singleton])\n    all_goals omega\n  calc 5 = ({a, b, c, d, e} : Finset ℕ).card := hcard.symm\n    _ ≤ S.card := Finset.card_le_card hsub\n\n/-- A divisor `d` of `n` with `n < d²` and `(d - 200 t)² < n`, `200 t ≤ d`, `(2t)^4 ≤ n`,\nlies in the window with `C = 100`. -/\nlemma mem_window (n d y t : ℕ) (hdvd : d ∣ n) (hlo : n < d ^ 2) (hy : d = y + 200 * t)\n    (hy2 : y ^ 2 < n) (ht : (2 * t) ^ 4 ≤ n) (hd : 0 < d) :\n    d ∈ { d ∈ Ioo ⌊√n⌋₊ ⌈√n + 100 * n ^ ((1 : ℝ) / 4)⌉₊ | d ∣ n } := by\n  refine Finset.mem_filter.mpr ⟨Finset.mem_Ioo.mpr ⟨?_, ?_⟩, hdvd⟩\n  · rw [Nat.floor_lt (Real.sqrt_nonneg _)]\n    rw [Real.sqrt_lt' (by exact_mod_cast hd)]\n    exact_mod_cast hlo\n  · rw [Nat.lt_ceil]\n    have hyr : (y : ℝ) < √(n : ℝ) := by\n      rw [Real.lt_sqrt (by positivity)]\n      exact_mod_cast hy2\n    have h4 : (2 * t : ℝ) ≤ (n : ℝ) ^ ((1 : ℝ) / 4) := by\n      have h0 : (0 : ℝ) ≤ 2 * t := by positivity\n      have hle : ((2 * t : ℝ)) ^ (4 : ℕ) ≤ (n : ℝ) := by exact_mod_cast ht\n      calc (2 * t : ℝ) = (((2 * t : ℝ)) ^ (4 : ℕ)) ^ ((1 : ℝ) / 4) := by\n            rw [← Real.rpow_natCast, ← Real.rpow_mul h0]; norm_num\n        _ ≤ (n : ℝ) ^ ((1 : ℝ) / 4) := Real.rpow_le_rpow (by positivity) hle (by norm_num)\n    have hdr : (d : ℝ) = y + 200 * t := by exact_mod_cast hy\n    rw [hdr]\n    linarith\n\n/-! Polynomial inequalities in `t`, each in a small context. -/\n\nlemma poly_16 (t : ℕ) : (2 * t) ^ 4 ≤ 64 * t * (t + 14) * (t + 18) * (t + 20) := by\n  nlinarith [Nat.zero_le t, Nat.zero_le (t ^ 2), Nat.zero_le (t ^ 3), Nat.zero_le (t ^ 4)]\n\nlemma poly_lo1 (t : ℕ) : 64 * t * (t + 14) * (t + 18) * (t + 20) < (8 * (t + 18) * (t + 20)) ^ 2 := by\n  nlinarith [Nat.zero_le t, Nat.zero_le (t ^ 2), Nat.zero_le (t ^ 3), Nat.zero_le (t ^ 4)]\n\nlemma poly_lo2 (t : ℕ) : 64 * t * (t + 14) * (t + 18) * (t + 20) < (8 * (t + 14) * (t + 20)) ^ 2 := by\n  nlinarith [Nat.zero_le t, Nat.zero_le (t ^ 2), Nat.zero_le (t ^ 3), Nat.zero_le (t ^ 4)]\n\nlemma poly_lo3 (t : ℕ) : 64 * t * (t + 14) * (t + 18) * (t + 20) < (8 * (t + 14) * (t + 18)) ^ 2 := by\n  nlinarith [Nat.zero_le t, Nat.zero_le (t ^ 2), Nat.zero_le (t ^ 3), Nat.zero_le (t ^ 4)]\n\nlemma poly_lo4 (t : ℕ) :\n    64 * t * (t + 14) * (t + 18) * (t + 20) < (8 * t ^ 2 + 208 * t + 1728) ^ 2 := by\n  nlinarith [Nat.zero_le t, Nat.zero_le (t ^ 2), Nat.zero_le (t ^ 3), Nat.zero_le (t ^ 4)]\n\nlemma poly_up1 (t : ℕ) (ht : 4536 ≤ t) :\n    (8 * t ^ 2 + 104 * t + 2880) ^ 2 < 64 * t * (t + 14) * (t + 18) * (t + 20) := by\n  have ht2 : 4536 * t ≤ t ^ 2 := by nlinarith\n  have ht3 : 4536 * t ^ 2 ≤ t ^ 3 := by nlinarith\n  nlinarith\n\nlemma poly_up2 (t : ℕ) (ht : 4536 ≤ t) :\n    (8 * t ^ 2 + 72 * t + 2240) ^ 2 < 64 * t * (t + 14) * (t + 18) * (t + 20) := by\n  have ht2 : 4536 * t ≤ t ^ 2 := by nlinarith\n  have ht3 : 4536 * t ^ 2 ≤ t ^ 3 := by nlinarith\n  nlinarith\n\nlemma poly_up3 (t : ℕ) (ht : 4536 ≤ t) :\n    (8 * t ^ 2 + 56 * t + 2016) ^ 2 < 64 * t * (t + 14) * (t + 18) * (t + 20) := by\n  have ht2 : 4536 * t ≤ t ^ 2 := by nlinarith\n  have ht3 : 4536 * t ^ 2 ≤ t ^ 3 := by nlinarith\n  nlinarith\n\nlemma poly_up4 (t : ℕ) (ht : 4536 ≤ t) :\n    (8 * t ^ 2 + 200 * t + 1728) ^ 2 < 64 * t * (t + 14) * (t + 18) * (t + 20) := by\n  have ht2 : 4536 * t ≤ t ^ 2 := by nlinarith\n  have ht3 : 4536 * t ^ 2 ≤ t ^ 3 := by nlinarith\n  nlinarith\n\nlemma poly_up5 (t : ℕ) (ht : 4536 ≤ t) :\n    (8 * t ^ 2 + 56 * t + 1971) ^ 2 < 64 * t * (t + 14) * (t + 18) * (t + 20) := by\n  have ht2 : 4536 * t ≤ t ^ 2 := by nlinarith\n  have ht3 : 4536 * t ^ 2 ≤ t ^ 3 := by nlinarith\n  nlinarith\n\n/-- Bounds on `3 X Z` from the Pell equation, `X = 2k+9`, `Z = 2j+1`. -/\nlemma pell_bounds (k j t : ℕ) (hk : 63 ≤ k) (ht : t = k ^ 2 + 9 * k)\n    (hP : (2 * j + 1) ^ 2 = 15 * (2 * k + 9) ^ 2 + 154) :\n    36 * t + 729 ≤ 3 * (2 * k + 9) * (2 * j + 1) ∧\n      3 * (2 * k + 9) * (2 * j + 1) < 48 * t + 972 := by\n  have hX2 : (2 * k + 9) ^ 2 = 4 * t + 81 := by rw [ht]; ring\n  have hX : 135 ≤ 2 * k + 9 := by omega\n  have hZ3 : 3 * (2 * k + 9) ≤ 2 * j + 1 := by\n    by_contra h\n    push_neg at h\n    nlinarith\n  have hZ4 : 2 * j + 1 < 4 * (2 * k + 9) := by\n    by_contra h\n    push_neg at h\n    nlinarith\n  constructor\n  · have := Nat.mul_le_mul_left (2 * k + 9) hZ3\n    nlinarith\n  · have := Nat.mul_lt_mul_of_pos_left hZ4 (show 0 < 2 * k + 9 by omega)\n    nlinarith\n\nlemma key (n k j t : ℕ) (hk : 63 ≤ k) (ht : t = k ^ 2 + 9 * k)\n    (hn : n = 64 * t * (t + 14) * (t + 18) * (t + 20))\n    (hP : (2 * j + 1) ^ 2 = 15 * (2 * k + 9) ^ 2 + 154) :\n    5 ≤ #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + 100 * n ^ ((1 : ℝ) / 4)⌉₊ | d ∣ n } := by\n  -- basic facts\n  have ht0 : 4536 ≤ t := by rw [ht]; nlinarith\n  have hkt : 6 * k ≤ t := by rw [ht]; nlinarith\n  have h16 : (2 * t) ^ 4 ≤ n := by rw [hn]; exact poly_16 t\n  obtain ⟨hXZlo, hXZup⟩ := pell_bounds k j t hk ht hP\n  -- the five divisors\n  obtain ⟨d1, hd1⟩ : ∃ d, d = 8 * (t + 18) * (t + 20) := ⟨_, rfl⟩\n  obtain ⟨d2, hd2⟩ : ∃ d, d = 8 * (t + 14) * (t + 20) := ⟨_, rfl⟩\n  obtain ⟨d3, hd3⟩ : ∃ d, d = 8 * (t + 14) * (t + 18) := ⟨_, rfl⟩\n  obtain ⟨d4, hd4⟩ : ∃ d, d = 8 * (k + 2) * (k + 3) * (k + 4) * (k + 9) := ⟨_, rfl⟩\n  obtain ⟨d5, hd5⟩ : ∃ d, d = 8 * t ^ 2 + 208 * t + 999 + 3 * (2 * k + 9) * (2 * j + 1) :=\n    ⟨_, rfl⟩\n  have hd4' : d4 = 8 * t ^ 2 + 208 * t + 1728 + 192 * k := by rw [hd4, ht]; ring\n  have hd3' : d3 = 8 * t ^ 2 + 256 * t + 2016 := by rw [hd3]; ring\n  have hd2' : d2 = 8 * t ^ 2 + 272 * t + 2240 := by rw [hd2]; ring\n  have hd1' : d1 = 8 * t ^ 2 + 304 * t + 2880 := by rw [hd1]; ring\n  -- d5 * e5 = n in ℤ\n  have hd5e : ((d5 : ℕ) : ℤ) * ((8 * t ^ 2 + 208 * t + 999 : ℤ) - 3 * (2 * k + 9) * (2 * j + 1))\n      = (n : ℤ) := by\n    rw [hd5, hn, ht]\n    push_cast\n    have hP' : ((2 * j + 1 : ℤ)) ^ 2 = 15 * (2 * k + 9) ^ 2 + 154 := by exact_mod_cast hP\n    linear_combination (-9 * ((2 * (k : ℤ) + 9) ^ 2)) * hP'\n  have hdvd5 : d5 ∣ n := by\n    have : ((d5 : ℕ) : ℤ) ∣ (n : ℤ) := ⟨_, hd5e.symm⟩\n    exact_mod_cast this\n  have hlo5 : n < d5 ^ 2 := by\n    have hd5pos : (0 : ℤ) < ((d5 : ℕ) : ℤ) := by\n      have : 0 < d5 := by rw [hd5]; omega\n      exact_mod_cast this\n    have hlt : ((8 * t ^ 2 + 208 * t + 999 : ℤ) - 3 * (2 * k + 9) * (2 * j + 1))\n        < ((d5 : ℕ) : ℤ) := by\n      rw [hd5]; push_cast\n      have : (0 : ℤ) < 3 * (2 * (k : ℤ) + 9) * (2 * (j : ℤ) + 1) :=\n        mul_pos (mul_pos (by norm_num) (by omega)) (by omega)\n      linarith\n    have h1 : (n : ℤ) < (d5 : ℤ) ^ 2 := by\n      rw [← hd5e, sq ((d5 : ℕ) : ℤ)]\n      exact mul_lt_mul_of_pos_left hlt hd5pos\n    exact_mod_cast h1\n  have hord1 : d4 < d5 := by rw [hd4', hd5]; linarith\n  have hord2 : d5 < d3 := by rw [hd5, hd3']; linarith\n  have hord3 : d3 < d2 := by rw [hd3', hd2']; linarith\n  have hord4 : d2 < d1 := by rw [hd2', hd1']; linarith\n  apply five_le_card hord1 hord2 hord3 hord4\n  · -- d4\n    refine mem_window n d4 (8 * t ^ 2 + 8 * t + 1728 + 192 * k) t ?_ ?_ ?_ ?_ h16\n      (by rw [hd4]; positivity)\n    · exact ⟨8 * k * (k + 5) * (k + 6) * (k + 7), by rw [hn, hd4, ht]; ring⟩\n    · rw [hd4', hn]\n      calc 64 * t * (t + 14) * (t + 18) * (t + 20) < (8 * t ^ 2 + 208 * t + 1728) ^ 2 :=\n            poly_lo4 t\n        _ ≤ (8 * t ^ 2 + 208 * t + 1728 + 192 * k) ^ 2 := Nat.pow_le_pow_left (by omega) 2\n    · rw [hd4']; ring\n    · have hy : 8 * t ^ 2 + 8 * t + 1728 + 192 * k ≤ 8 * t ^ 2 + 200 * t + 1728 := by omega\n      calc (8 * t ^ 2 + 8 * t + 1728 + 192 * k) ^ 2 ≤ (8 * t ^ 2 + 200 * t + 1728) ^ 2 :=\n            Nat.pow_le_pow_left hy 2\n        _ < n := by rw [hn]; exact poly_up4 t ht0\n  · -- d5\n    refine mem_window n d5 (8 * t ^ 2 + 8 * t + 999 + 3 * (2 * k + 9) * (2 * j + 1)) t hdvd5 hlo5\n      ?_ ?_ h16 (by rw [hd5]; positivity)\n    · rw [hd5]; ring\n    · have hy : 8 * t ^ 2 + 8 * t + 999 + 3 * (2 * k + 9) * (2 * j + 1)\n          ≤ 8 * t ^ 2 + 56 * t + 1971 := by omega\n      calc (8 * t ^ 2 + 8 * t + 999 + 3 * (2 * k + 9) * (2 * j + 1)) ^ 2\n          ≤ (8 * t ^ 2 + 56 * t + 1971) ^ 2 := Nat.pow_le_pow_left hy 2\n        _ < n := by rw [hn]; exact poly_up5 t ht0\n  · -- d3\n    refine mem_window n d3 (8 * t ^ 2 + 56 * t + 2016) t ?_ ?_ ?_ ?_ h16 (by rw [hd3]; positivity)\n    · exact ⟨8 * t * (t + 20), by rw [hn, hd3]; ring⟩\n    · rw [hd3, hn]; exact poly_lo3 t\n    · rw [hd3]; ring\n    · rw [hn]; exact poly_up3 t ht0\n  · -- d2\n    refine mem_window n d2 (8 * t ^ 2 + 72 * t + 2240) t ?_ ?_ ?_ ?_ h16 (by rw [hd2]; positivity)\n    · exact ⟨8 * t * (t + 18), by rw [hn, hd2]; ring⟩\n    · rw [hd2, hn]; exact poly_lo2 t\n    · rw [hd2]; ring\n    · rw [hn]; exact poly_up2 t ht0\n  · -- d1\n    refine mem_window n d1 (8 * t ^ 2 + 104 * t + 2880) t ?_ ?_ ?_ ?_ h16 (by rw [hd1]; positivity)\n    · exact ⟨8 * t * (t + 14), by rw [hn, hd1]; ring⟩\n    · rw [hd1, hn]; exact poly_lo1 t\n    · rw [hd1]; ring\n    · rw [hn]; exact poly_up1 t ht0\n\n/-- `n(k) = 64 t (t+14)(t+18)(t+20)` with `t = k² + 9k`. -/\ndef Nf (k : ℕ) : ℕ :=\n  64 * (k ^ 2 + 9 * k) * (k ^ 2 + 9 * k + 14) * (k ^ 2 + 9 * k + 18) * (k ^ 2 + 9 * k + 20)\n\nlemma le_Nf (k : ℕ) : k ≤ Nf k := by\n  unfold Nf\n  have h1 : k ≤ k ^ 2 + 9 * k := by nlinarith\n  calc k ≤ k ^ 2 + 9 * k := h1\n    _ ≤ 64 * (k ^ 2 + 9 * k) := Nat.le_mul_of_pos_left _ (by norm_num)\n    _ ≤ 64 * (k ^ 2 + 9 * k) * (k ^ 2 + 9 * k + 14) := Nat.le_mul_of_pos_right _ (by positivity)\n    _ ≤ 64 * (k ^ 2 + 9 * k) * (k ^ 2 + 9 * k + 14) * (k ^ 2 + 9 * k + 18) :=\n        Nat.le_mul_of_pos_right _ (by positivity)\n    _ ≤ 64 * (k ^ 2 + 9 * k) * (k ^ 2 + 9 * k + 14) * (k ^ 2 + 9 * k + 18) * (k ^ 2 + 9 * k + 20) :=\n        Nat.le_mul_of_pos_right _ (by positivity)\n\nend Erdos887Disproof\n\nopen Erdos887Disproof in\ntheorem Lemma.erdos_887.variants.rosenfeld_4 :\n    ¬ IsGreatest {K | ∃ C > (0 : ℝ),\n    Infinite {n : ℕ | K ≤ #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + C * n^((1 : ℝ) / 4)⌉₊ | d ∣ n }}} 4 := by\n  intro h\n  have h5 : (5 : ℕ) ∈ {K | ∃ C > (0 : ℝ),\n      Infinite {n : ℕ | K ≤ #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + C * n^((1 : ℝ) / 4)⌉₊ | d ∣ n }}} := by\n    refine ⟨100, by norm_num, ?_⟩\n    rw [Set.infinite_coe_iff]\n    apply Set.infinite_of_not_bddAbove\n    rintro ⟨B, hB⟩\n    obtain ⟨hP, hk, hm⟩ := orb_spec (B + 1)\n    have hmem : Nf (orb (B + 1)).2 ∈\n        {n : ℕ | 5 ≤ #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + 100 * n^((1 : ℝ) / 4)⌉₊ | d ∣ n }} := by\n      show 5 ≤ _\n      exact key (Nf (orb (B + 1)).2) (orb (B + 1)).2 (orb (B + 1)).1\n        ((orb (B + 1)).2 ^ 2 + 9 * (orb (B + 1)).2) hk rfl (by unfold Nf; ring) hP\n    have h1 := hB hmem\n    have h2 := le_Nf (orb (B + 1)).2\n    omega\n  have := h.2 h5\n  omega\n","program":{"checked_by":"nodes","id":"erdos-open","lean":"v4.33.1","mathlib":"v4.33.1","project":{"git":"https://github.com/google-deepmind/formal-conjectures","name":"formal-conjectures","rev":"bdda9748e16d1df263db93d5241011fb399abfae"},"title":"Open Erdős problems in Lean"},"proof":null,"proposals":[{"hypothesis":"Lemma.erdos_887.variants.rosenfeld_4 (IsGreatest {K | ∃ C>0, infinitely many n with ≥K divisors in (⌊√n⌋, ⌈√n+Cn^{1/4}⌉)} 4) is false. Some fixed C admits an infinite polynomial family n(k) with ≥5 divisors in the window. Evidence (T139): for n ≲ 8·10^8 and C=4, 210 n have 5 window divisors and 8 have 6 (e.g. 614839680, 85680, 147026880), with no visible decay. Many of them have normalized offsets (d−√n)/n^{1/4} near 0, 1, √2, 2, which suggests algebraic families.","method":"(1) Fit families. For the 6-divisor and 5-divisor n found by the C scanner (count pairs d·e=n with e in [d−2C√d, d); script in N100's chat note), factor n and the divisor pairs. Try n = c·∏(α_i k+β_i) with small integer α_i, β_i and constant c, and check whether the found n are values at consecutive k. (2) Direct algebraic search. For 2m linear forms (m=4,5,6) with α_i ≤ 3, β_i ≤ 15 and cofactor c | 720, enumerate divisor polynomials D = c1·∏_{S}(α_i k+β_i). D lies in the window for all large k iff the expansion of D − √n begins at degree < m/2, or at exactly m/2 with coefficient in (0, C). Test this with exact power-series arithmetic in sympy, or with numeric evaluation at k = 10^6, 10^7, 10^8. Count admissible D (distinct polynomials) and keep any family with ≥5. Note: equal-slope forms with m=5 need Prouhet–Tarry–Escott splits (equal p1, p2), and subsets of [0,16) give at most 1 such split, so focus on mixed slopes and cofactors. (3) If a family is found, the Lean disproof is: ¬IsGreatest because 5 ∈ set. Give C, the injective map k ↦ n(k) (Set.infinite_of_injective_forall_mem, then convert to the Infinite type), and five explicit polynomial divisors with d ∣ n by `⟨cofactor, by ring⟩`. Window bounds via Nat.floor/ceil lemmas: (√n < d ⇔ n < d²) and d < √n + C n^{1/4} from a polynomial inequality for k ≥ k0, using nlinarith on squared forms. Check the floor/ceil plumbing early with check_candidate.","proposer":2,"status":"succeeded","unit":108},{"hypothesis":"Lemma.erdos_887.variants.rosenfeld_4 is false, and its negation can be proved in Lean using the explicit Pell family from N103/T141: 5 ∈ {K | ∃ C>0, Infinite {n | K ≤ #window divisors}}, so 4 is not the greatest element.","method":"Prove ¬IsGreatest S 4 via h.2 (mem of 5) giving 5 ≤ 4. Take C = 40. (1) Pell part: define f : ℕ → ℤ×ℤ by the recurrence (Z,X) ↦ (4Z+15X, Z+4X) from (67,17) (k=4) or (523,135) (k=63). Prove by induction that Z²−15X²=154, X odd, X ≥ 135 and X strictly increasing. Equivalently, work in ℕ with k_m and z_m via k' = ... and Z, or param by m with X=2k+9. (2) Algebra: with b_a = k+a, N = 64∏b_a, P = b0 b2 b7 b9, Q = b3 b4 b5 b6, d = 4(P+Q)−441+3XZ and e = 4(P+Q)−441−3XZ. Then d·e = N by `nlinarith`/`linear_combination (−9X²)·hPell` (the identity is 16(P−Q)²−3528(P+Q)+441²−135X⁴−1386X²=0 with X=2k+9 plus the Pell relation). The four other divisors are 8·b0b2b7b9 (=8P), 8·b0b3b6b9, 8·b0b4b5b9 and 8·b0b5b6b7 or their complements, whichever is larger (check with #eval at k=63). Divisibility follows from ⟨cofactor, by ring⟩. (3) Distinctness: compare the polynomials for k ≥ 63 using nlinarith, or show 5 strictly increasing values. (4) Window: d > ⌊√N⌋₊ ⟸ N < d² (Nat.floor_lt, Real.sqrt_lt'). Also d < ⌈√N + 40 N^{1/4}⌉₊ ⟸ d ≤ √N + 40·2k² and 16k⁸ ≤ N (so N^{1/4} ≥ 2k² via Real.rpow_natCast / rpow_le_rpow), then (d − 80k²)² ≤ N as a polynomial inequality for k ≥ 63 (nlinarith with the Pell bound 3.87X ≤ Z ≤ 3.88X). (5) Infinite: injectivity of m ↦ N(m) from strict monotonicity; then Set.infinite_of_injective_forall_mem, converted to `Infinite` of the subtype. Check the floor/ceil/rpow plumbing first with check_candidate on a stub. Pre-check every identity numerically with Python at the first 5 orbit points.","proposer":2,"status":"succeeded","unit":110}],"row":{"attempts":17,"blocker":null,"either":true,"last":1792001107,"name":"Lemma.erdos_887.variants.rosenfeld_4","statement":"faithful","status":"disproved"}}