AlexKontorovich/PrimeNumberTheoremAnd
Source indexedtheorem · leanprover/lean4:v4.32.0
FKS2.floor_row6
PrimeNumberTheoremAnd.IEANTN.FKS2Cor24Row6 · PrimeNumberTheoremAnd/IEANTN/FKS2Cor24Row6.lean:74 to 96
Source documentation
Row-6 floor (Buthe) [e^8, e^10] via floor_xpow_of_check.
Exact Lean statement
theorem floor_row6 : ∀ x ∈ Set.Icc (Real.exp (8:ℝ)) (Real.exp (10:ℝ)),
Eπ x ≤ x ^ (-(1:ℝ)/3)Complete declaration
Lean source
Full Lean sourceLean 4
theorem floor_row6 : ∀ x ∈ Set.Icc (Real.exp (8:ℝ)) (Real.exp (10:ℝ)), Eπ x ≤ x ^ (-(1:ℝ)/3) := by intro x hx have hcurve : ∀ y, Real.exp (8:ℝ) ≤ y → Expr.eval (fun _ => Real.sqrt (Real.log y)) (expSplitNegXpow 3) ≤ y ^ (-(1:ℝ)/(3:ℕ)) := by intro y hy have hypos : (0:ℝ) < y := lt_of_lt_of_le (Real.exp_pos _) hy have hyL : (0:ℝ) ≤ Real.log y := by have h8 : (8:ℝ) ≤ Real.log y := by rw [← Real.log_exp (8:ℝ)]; exact Real.log_le_log (Real.exp_pos _) hy linarith exact le_of_eq (eval_expSplitNegXpow_eq_xpow 3 (by norm_num) y hypos hyL) have h := floor_xpow_of_check (expSplitNegXpow 3) 3 (8:ℝ) (282/100) 8 (by norm_num) (by rw [show ((282/100:ℚ):ℝ) = 2.82 by norm_num, show (2.82:ℝ) = Real.sqrt (2.82^2) from (Real.sqrt_sq (by norm_num)).symm] exact Real.sqrt_le_sqrt (by norm_num)) (by have h316 : Real.sqrt 10 ≤ 3.163 := by rw [show (3.163:ℝ) = Real.sqrt (3.163^2) from (Real.sqrt_sq (by norm_num)).symm] exact Real.sqrt_le_sqrt (by norm_num) push_cast; linarith [h316]) (lhsE_sub_negxpow_supported 3) floor_slab_check_row6 hcurve x hx simpa using h