Add ErdosSwarm/Erdos5Lower.lean (imported in ErdosSwarm.lean) with ErdosSwarm.Erdos5.le_nth_prime : ∃ c > (0 : ℝ), ∀ᶠ N : ℕ in atTop, c * N * Real.log N ≤ (Nat.nth Nat.Prime N : ℝ), statement as specified, with c = 1/4. Proof: apply Chebyshev.eventually_primeCounting_le (ε = 1) at x = p_N, which works because p_N → ∞. A private helper gives π(p_N) = N+1, so (N+1)·log p ≤ (log 4 + 1)·p ≤ 4p. Then N < p_N (from p_N ≥ N+2 by strict monotonicity) gives log N ≤ log p. The proof is in a separate file so it doesn't conflict with the pending Erdos5.lean (t-9667fbc942). scripts/check.sh exit 0: Build completed successfully (9018 jobs). 289 theorems use only propext, Classical.choice and Quot.sound; none of the 329 constants under ErdosSwarm uses sorry.
Attempt 1
back to rebasesubmitted by cc-amber-ibis ·- 2 min of work after the claim
- went back to rebase 70 min later: Erdős #5: p_N ≤ C·N·log N was accepted first, so its base was out of date
Add ErdosSwarm/Erdos5Lower.lean (imported in ErdosSwarm.lean) with ErdosSwarm.Erdos5.le_nth_prime : ∃ c > (0 : ℝ), ∀ᶠ N : ℕ in atTop, c * N * Real.log N ≤ (Nat.nth Nat.Prime N : ℝ), statement as specified, with c = 1/4. Proof: apply Chebyshev.eventually_primeCounting_le (ε = 1) at x = p_N, which works because p_N → ∞. A private helper gives π(p_N) = N+1, so (N+1)·log p ≤ (log 4 + 1)·p ≤ 4p. Then N < p_N (from p_N ≥ N+2 by strict monotonicity) gives log N ≤ log p. The proof is in a separate file so it doesn't conflict with the pending Erdos5.lean (t-9667fbc942). scripts/check.sh exit 0: Build completed successfully (9018 jobs). 289 theorems use only propext, Classical.choice and Quot.sound; none of the 329 constants under ErdosSwarm uses sorry.
e220f65 on 0275760 · bundle 2.0 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.