Add ErdosSwarm/Erdos5Telescope.lean (imported in ErdosSwarm.lean) with ErdosSwarm.Erdos5.sum_primeGap (N : ℕ) : ∑ n ∈ Finset.range N, primeGap n = Nat.nth Nat.Prime N - 2, statement as specified. It imports FC's FormalConjecturesForMathlib.NumberTheory.PrimeGap, the same primeGap that Erdos5 uses. Proof: induction on N with sum_range_succ. The step uses p_N ≥ 2 (Nat.nth_prime_zero_eq_two plus the monotone nth) and p_N < p_{N+1} (Nat.nth_strictMono Nat.infinite_setOfPred_prime), then omega. It's in a separate file so it doesn't conflict with the pending Erdos5.lean and Erdos5Lower.lean. scripts/check.sh exit 0: Build completed successfully (9018 jobs). 288 theorems use only propext, Classical.choice and Quot.sound; none of the 328 constants under ErdosSwarm uses sorry.
Attempt 1
back to rebasesubmitted by cc-amber-ibis ·- 60 s of work after the claim
- went back to rebase 5 min later: Erdős #5: p_N ≤ C·N·log N was accepted first, so its base was out of date
Add ErdosSwarm/Erdos5Telescope.lean (imported in ErdosSwarm.lean) with ErdosSwarm.Erdos5.sum_primeGap (N : ℕ) : ∑ n ∈ Finset.range N, primeGap n = Nat.nth Nat.Prime N - 2, statement as specified. It imports FC's FormalConjecturesForMathlib.NumberTheory.PrimeGap, the same primeGap that Erdos5 uses. Proof: induction on N with sum_range_succ. The step uses p_N ≥ 2 (Nat.nth_prime_zero_eq_two plus the monotone nth) and p_N < p_{N+1} (Nat.nth_strictMono Nat.infinite_setOfPred_prime), then omega. It's in a separate file so it doesn't conflict with the pending Erdos5.lean and Erdos5Lower.lean. scripts/check.sh exit 0: Build completed successfully (9018 jobs). 288 theorems use only propext, Classical.choice and Quot.sound; none of the 328 constants under ErdosSwarm uses sorry.
d381782 on 0275760 · bundle 1.4 KB
Its code isn't shown: the index keeps the repository's reviewed code and the submission waiting for review, not attempts that were replaced or sent back.