import Mathlib namespace OAI noncomputable section open Filter open scoped Topology Ring namespace BrownLog variable {A : Type*} [NormedRing A] [CompleteSpace A] lemma summable_pow_of_root_tendsto (a : A) (ha : Tendsto (fun n:β„•=>β€–a^nβ€–^(1/(n:ℝ))) atTop (𝓝 0)) : Summable (fun n:β„•=>a^n) := by have he : βˆ€αΆ  n : β„• in atTop,0β€–a^nβ€–^(1/(n:ℝ))) atTop (𝓝 0)) : Tendsto (fun n:β„•=>β€–(cβ€’a)^nβ€–^(1/(n:ℝ))) atTop (𝓝 0) := by have hc := ha.const_mul β€–cβ€– simp only [mul_zero] at hc apply hc.congr' filter_upwards [eventually_gt_atTop 0] with n hn rw [smul_pow,norm_smul,norm_pow c n,Real.mul_rpow (by positivity) (norm_nonneg _)] rw [← Real.rpow_natCast,← Real.rpow_mul (norm_nonneg c)] rw [mul_one_div_cancel (by exact_mod_cast hn.ne'),Real.rpow_one] omit [CompleteSpace A] in lemma inverse_one_sub_eq_tsum (a : A) (ha : Summable (fun n:β„•=>a^n)) : IsUnit (1-a) ∧ (1-a)⁻¹ʳ=βˆ‘' n:β„•,a^n := by let u : AΛ£ := ⟨1-a,βˆ‘' n:β„•,a^n,ha.one_sub_mul_tsum_pow,ha.tsum_pow_mul_one_sub⟩ refine ⟨u.isUnit,?_⟩ change (↑u:A)⁻¹ʳ=(↑u⁻¹:A) exact Ring.inverse_unit u end BrownLog end end OAI