| 1 | module |
| 2 | |
| 3 | public import E424.Tools.T10Aux |
| 4 | |
| 5 | @[expose] public section |
| 6 | |
| 7 | /-! |
| 8 | # Erdős 424: tool T10. Absolute existential constants; Mathlib only. |
| 9 | |
| 10 | The proofs live in `E424/Tools/T10Aux.lean` (Mertens' estimates via Legendre and Chebyshev, then |
| 11 | Abel summation). |
| 12 | -/ |
| 13 | |
| 14 | set_option linter.style.header false |
| 15 | open Finset |
| 16 | |
| 17 | namespace E424 |
| 18 | |
| 19 | /-- **T10**, Mertens. -/ |
| 20 | theorem T10_mertens : ∃ C > 0, ∀ u v : ℝ, 2 ≤ u → u ≤ v → |
| 21 | |∑ p ∈ primesIoc u v, 1 / (p : ℝ) - Real.log (Real.log v / Real.log u)| ≤ C / Real.log u := |
| 22 | T10Aux.mertens_bound |
| 23 | |
| 24 | /-- **T10**, product form. Follows from `T10_mertens`. -/ |
| 25 | theorem T10_mertens_prod : ∃ C > 0, ∀ u v : ℝ, 2 ≤ u → u ≤ v → |
| 26 | ∏ p ∈ primesIoc u v, (1 - 1 / (p : ℝ))⁻¹ ≤ C * Real.log v / Real.log u ∧ |
| 27 | ∏ p ∈ primesIoc u v, (1 - 1 / (p : ℝ)) ≤ C * Real.log u / Real.log v := |
| 28 | T10Aux.mertens_prod_bound |
| 29 | |
| 30 | end E424 |
| 31 | |