Skip to main content
AlexKontorovich/PrimeNumberTheoremAnd
Source indexedtheorem · leanprover/lean4:v4.32.0

FKS2.tail_row9

PrimeNumberTheoremAnd.IEANTN.FKS2Cor23Row9 · PrimeNumberTheoremAnd/IEANTN/FKS2Cor23Row9.lean:149 to 180

Source documentation

Row-9 tail [e^20000, ∞): cor14_tail gives Eπ ≤ admissible 121.107 (3/2) 2 R (a B=3/2, rate-2/√R curve), which DOMINATES the row-9 B=2 curve here because L^{3/2} ≤ (6.60/121.107·R^{1/2})·L² for s = √L ≥ 43.29 (and s ≥ 141 on this range).

Exact Lean statement

theorem tail_row9 : ∀ x ≥ exp (20000:ℝ),
    Eπ x ≤ admissible_bound 6.60 2 2 5.5666305 x

Complete declaration

Lean source

Canonical source
Full Lean sourceLean 4
theorem tail_row9 :  x  exp (20000:),    Eπ x  admissible_bound 6.60 2 2 5.5666305 x := by  intro x hx  refine le_trans (cor14_tail x hx) ?_  have hL : (20000:)  Real.log x := by    rw [ Real.log_exp 20000]; exact Real.log_le_log (Real.exp_pos _) hx  have hLnn : (0:)  Real.log x := le_trans (by norm_num) hL  rw [admissible_three_halves_eq 121.107 2 5.5666305 x hLnn (by norm_num),      admissible_two_eq 6.60 2 5.5666305 x hLnn (by norm_num)]  set s := Real.sqrt (Real.log x) with hs  have hsnn : (0:)  s := Real.sqrt_nonneg _  have hs141 : (141:)  s := by    rw [hs, show (141:) = Real.sqrt (141^2) from (Real.sqrt_sq (by norm_num)).symm]    exact Real.sqrt_le_sqrt (by nlinarith [hL])  have hR15_lo : (13.133:)  (5.5666305:) ^ (1.5:) := by    rw [R5_rpow_three_halves_eq]; nlinarith [sqrtR5_lb, sqrtR5_pos]  have hcoef : (121.107:) / (5.5666305:) ^ (1.5:)       6.60 / (5.5666305:) ^ (2:) * s := by    have h1 : (121.107:) / (5.5666305:) ^ (1.5:)  121.107 / 13.133 :=      div_le_div_of_nonneg_left (by norm_num) (by norm_num) hR15_lo    have h2 : (121.107:) / 13.133  6.60 / (5.5666305:) ^ (2:) * 141 := by      rw [R5_rpow_two_eq]; norm_num    have h3 : (6.60:) / (5.5666305:) ^ (2:) * 141  6.60 / (5.5666305:) ^ (2:) * s :=      mul_le_mul_of_nonneg_left hs141 (by positivity)    linarith  have hs3 : (0:)  s ^ 3 := by positivity  have key : (121.107:) / (5.5666305:) ^ (1.5:) * s ^ 3       6.60 / (5.5666305:) ^ (2:) * s ^ 4 := by    have he : (6.60:) / (5.5666305:) ^ (2:) * s ^ 4        = (6.60 / (5.5666305:) ^ (2:) * s) * s ^ 3 := by ring    rw [he]; exact mul_le_mul_of_nonneg_right hcoef hs3  exact mul_le_mul_of_nonneg_right key (Real.exp_nonneg _)