English
Under ENNReal division, if the ratio tends to a nonzero ENNReal r, the radius equals r^{-1} in ENNReal sense.
Русский
При делении ENNReal, если отношение сходится к ненулевому ENNReal r, радиус равен r^{-1} в ENNReal смысле.
LaTeX
$$$\operatorname{radius}(\operatorname{ofScalars} E c) = \operatorname{ENNReal.instInv.inv} \; r$$$
Lean4
/-- This theorem combines the results of the special cases above, using `ENNReal` division to remove
the requirement that the ratio is eventually non-zero. -/
theorem ofScalars_radius_eq_inv_of_tendsto_ENNReal [NormOneClass E] {r : ℝ≥0∞}
(hc' : Tendsto (fun n ↦ ENNReal.ofReal ‖c n.succ‖ / ENNReal.ofReal ‖c n‖) atTop (𝓝 r)) :
(ofScalars E c).radius = r⁻¹ := by
rcases ENNReal.trichotomy r with (hr | hr | hr)
· simp_rw [hr, inv_zero] at hc' ⊢
by_cases h : (∀ᶠ (n : ℕ) in atTop, c n ≠ 0)
· apply ofScalars_radius_eq_top_of_tendsto E c h ?_
refine Tendsto.congr' ?_ <| (tendsto_toReal zero_ne_top).comp hc'
filter_upwards [h]
simp
· apply (ofScalars E c).radius_eq_top_of_eventually_eq_zero
simp only [eventually_atTop, not_exists, not_forall, not_not] at h ⊢
obtain ⟨ti, hti⟩ := eventually_atTop.mp (hc'.eventually_ne zero_ne_top)
obtain ⟨zi, hzi, z⟩ := h ti
refine ⟨zi, Nat.le_induction (ofScalars_eq_zero_of_scalar_zero E z) fun n hmn a ↦ ?_⟩
nontriviality E
simp only [ofScalars_eq_zero] at a ⊢
contrapose! hti
exact ⟨n, hzi.trans hmn, ENNReal.div_eq_top.mpr (by simp [a, hti])⟩
· simp_rw [hr, inv_top] at hc' ⊢
apply ofScalars_radius_eq_zero_of_tendsto E c ((tendsto_add_atTop_iff_nat 1).mp ?_)
refine tendsto_ofReal_nhds_top.mp (Tendsto.congr' ?_ ((tendsto_add_atTop_iff_nat 1).mpr hc'))
filter_upwards [hc'.eventually_ne top_ne_zero] with n hn
apply (ofReal_div_of_pos (Ne.lt_of_le (Ne.symm ?_) (norm_nonneg _))).symm
simp_all
· have hr' := toReal_ne_zero.mp hr.ne.symm
have hr'' := toNNReal_ne_zero.mpr hr'
convert ofScalars_radius_eq_inv_of_tendsto E c hr'' ?_
· simp [ENNReal.coe_inv hr'', ENNReal.coe_toNNReal (toReal_ne_zero.mp hr.ne.symm).2]
· simp_rw [ENNReal.coe_toNNReal_eq_toReal]
refine Tendsto.congr' ?_ <| (tendsto_toReal hr'.2).comp hc'
filter_upwards [hc'.eventually_ne hr'.1, hc'.eventually_ne hr'.2]
simp