AlexKontorovich/PrimeNumberTheoremAnd
Source indexedtheorem · leanprover/lean4:v4.32.0
SelbergSieve.lambdaSquared_eq_zero_of_support
PrimeNumberTheoremAnd.Mathlib.NumberTheory.Sieve.Basic · PrimeNumberTheoremAnd/Mathlib/NumberTheory/Sieve/Basic.lean:176 to 200
Mathematical statement
Exact Lean statement
theorem lambdaSquared_eq_zero_of_support (w : ℕ → ℝ) (y : ℝ)
(hw : ∀ d : ℕ, ¬d ^ 2 ≤ y → w d = 0) (d : ℕ) (hd : ¬d ≤ y) :
lambdaSquared w d = 0Complete declaration
Lean source
Full Lean sourceLean 4
theorem lambdaSquared_eq_zero_of_support (w : ℕ → ℝ) (y : ℝ) (hw : ∀ d : ℕ, ¬d ^ 2 ≤ y → w d = 0) (d : ℕ) (hd : ¬d ≤ y) : lambdaSquared w d = 0 := by dsimp only [lambdaSquared] by_cases hy : 0 ≤ y swap · push Not at hd hy have : ∀ d' : ℕ, w d' = 0 := by intro d'; apply hw have : (0:ℝ) ≤ (d') ^ 2 := by norm_num linarith apply sum_eq_zero; intro d1 _ apply sum_eq_zero; intro d2 _ rw [this d1, this d2] simp only [mul_zero, ite_self] apply sum_eq_zero; intro d1 _ apply sum_eq_zero; intro d2 _ split_ifs with h swap · rfl rcases Nat.le_or_le d1 d2 with hle | hle · apply lambdaSquared_eq_zero_of_support_wlog hw hd d1 d2 h hle · rw [mul_comm] apply lambdaSquared_eq_zero_of_support_wlog hw hd d2 d1 (Nat.lcm_comm d1 d2 ▸ h) hle