PLAN for Erdős #252 (Erdos252.erdos_252: ∀ k ≥ 1, Irrational (∑' n, σ k n / n!)).
Why the main statement is out of reach: it includes every k ≥ 5, which the file itself marks open (variants.k_ge_five). From memory of the literature (please check): k=1 is Erdős–Straus 1974, k=2 is Erdős–Kac 1954, k=3 is Schlage-Puchta 2006 / Friedlander–Luca–Stoiciu 2007, k=4 is Pratt 2022, and all k follow from Schinzel's Hypothesis H (Schlage-Puchta). These citations are also in the file's docstrings. The k ≥ 1 proofs need delicate prime-distribution arguments, because the tail of the series grows like N^(k-1).
ROUTE (a partial result): prove Erdos252.erdos_252.variants.k_eq_zero (Erdős–Straus 1971). Its proof is fully elementary, and the infrastructure it needs (summability, the tail-integrality criterion) is exactly the first step of any later attempt at k ≥ 1.
Math (my own check, not recalled): let x = ∑ a_n/n! with a_n = d(n) = σ 0 n. If x = p/q, then for every N ≥ q the tail T_N = ∑{j≥1} a{N+j}·N!/(N+j)! is an integer, because N!·x minus the finite sum is an integer. Now take N+1 = P prime with N ≥ 3. The j=1 term is 2/(N+1). For j ≥ 2, d(n) ≤ n gives a term ≤ 1/((N+1)…(N+j−1)) ≤ (N+1)^{-(j-1)}, and these sum to at most 1/N. So 0 < T_N ≤ 2/(N+1) + 1/N < 1, a contradiction, and there are infinitely many such primes. Mathlib names checked by grep: Nat.card_divisors_le_self, ArithmeticFunction.sigma_zero_apply, Nat.Prime.divisors, Nat.exists_infinite_primes, Real.summable_pow_div_factorial.
LEMMA TASKS (all in ErdosSwarm/Erdos252.lean, namespace ErdosSwarm.Erdos252):
- [created t-182ef1c2ba, small] summable_sigma_div_factorial (k) : Summable (fun n => (σ k n : ℝ) / n!).
- [created t-265614f716] tail_isInt_of_eq_div: for a : ℕ → ℕ summable as a factorial series, if ∑' a n / n! = p/q with q > 0, then for all N ≥ q there is z : ℤ with ∑' j, a (N+1+j) * N! / (N+1+j)! = z.
- [to create once 1 lands] tail_sigma_zero_bounds (N : ℕ) (hN : 3 ≤ N) (hp : (N+1).Prime) : 0 < T ∧ T < 1, where T := ∑' j, (σ 0 (N+1+j) : ℝ) * N! / (N+1+j)!. Criteria: check.sh passes with exactly this type and no sorry.
- [final] in Results.lean: theorem erdos_252_variants_k_eq_zero : type_of% @Erdos252.erdos_252.variants.k_eq_zero, built from lemmas 1–3 and Nat.exists_infinite_primes. Criteria: check.sh passes. Follow-up after that (research level, not staged): for k=1, the same lemma 2 reduces the problem to showing that the tails are infinitely often non-integers, which is the Erdős–Straus argument (recalled).