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

Kadiri.summable_linear_geometric_inv_two

PrimeNumberTheoremAnd.IEANTN.KadiriZeroCounting · PrimeNumberTheoremAnd/IEANTN/KadiriZeroCounting.lean:1041 to 1055

Source documentation

A linear term times 2^(-k) is summable.

Exact Lean statement

theorem summable_linear_geometric_inv_two (C : ℝ) :
    Summable (fun k : ℕ => C * ((k + 1 : ℕ) : ℝ) * ((2 : ℝ)⁻¹) ^ k)

Complete declaration

Lean source

Canonical source
Full Lean sourceLean 4
theorem summable_linear_geometric_inv_two (C : ) :    Summable (fun k :  => C * ((k + 1 : ) : ) * ((2 : )⁻¹) ^ k) := by  have hgeom : Summable (fun k :  =>      ((k : ) ^ (1 : )) * ((2 : )⁻¹) ^ k) := by    exact summable_pow_mul_geometric_of_norm_lt_one 1      (by norm_num : ‖((2 : )⁻¹)‖ < 1)  have hgeom0 : Summable (fun k :  => ((2 : )⁻¹) ^ k) := by    exact summable_geometric_of_lt_one (by positivity) (by norm_num)  have hsum : Summable (fun k :  =>      (((k : ) ^ (1 : )) + 1) * ((2 : )⁻¹) ^ k) := by    simpa [add_mul] using hgeom.add hgeom0  have hsum' : Summable (fun k :  =>      ((k + 1 : ) : ) * ((2 : )⁻¹) ^ k) := by    simpa using hsum  simpa [mul_assoc] using hsum'.mul_left C