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

Complex.CartanBound.phi_le_log_two_of_le_half

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CartanBound · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CartanBound.lean:162 to 177

Mathematical statement

Exact Lean statement

lemma phi_le_log_two_of_le_half {t : ℝ} (ht : t ≤ (1 / 2 : ℝ)) : φ t ≤ Real.log 2

Complete declaration

Lean source

Canonical source
Full Lean sourceLean 4
lemma phi_le_log_two_of_le_half {t : } (ht : t  (1 / 2 : )) : φ t  Real.log 2 := by  have hnonneg : 0  (1 - t : ) := by linarith  have hden : (1 / 2 : )  |1 - t| := by    have : (1 / 2 : )  (1 - t : ) := by linarith    simpa [abs_of_nonneg hnonneg] using this  have hfrac : (1 / |1 - t| : )  2 := by    have hhalfpos : (0 : ) < (1 / 2 : ) := by norm_num    have := one_div_le_one_div_of_le hhalfpos hden    simpa [one_div, div_eq_mul_inv] using this  have hposLog : log⁺ (1 / |1 - t|)  log⁺ (2 : ) :=    Real.posLog_le_posLog (by positivity) hfrac  have habs : (1 : )  |(2 : )| := by    simp  have hposLog2 : (log⁺ (2 : )) = Real.log 2 := by    simpa using (Real.posLog_eq_log habs)  simpa [φ, hposLog2] using hposLog