File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,4 +255,21 @@ def sumHomeomorph [OrderTop ι] : WithTop ι ≃ₜ ι ⊕ Unit where
255255 exact Continuous.comp_continuousOn (by fun_prop) continuousOn_untopA
256256 continuous_invFun := continuous_sum_dom.mpr ⟨by fun_prop, by fun_prop⟩
257257
258+ lemma tendsto_nhds_top_iff {α : Type *} {f : Filter α} (x : α → WithTop ι) :
259+ Tendsto x f (𝓝 ⊤) ↔ ∀ (i : ι), ∀ᶠ (a : α) in f, i < x a := by
260+ obtain (h | h) := isEmpty_or_nonempty ι
261+ · simpa using .of_forall fun _ ↦ Subsingleton.elim ..
262+ refine nhds_top_basis.tendsto_right_iff.trans ?_
263+ rw [← Set.forall_mem_range (p := (∀ᶠ a in f, · < x a)), WithTop.range_coe]
264+ simp
265+
266+ lemma tendsto_coe_atTop [NoMaxOrder ι] :
267+ Tendsto ((↑) : ι → WithTop ι) atTop (𝓝 ⊤) := by
268+ obtain (h | h) := isEmpty_or_nonempty ι
269+ · simpa using Subsingleton.elim ..
270+ rw [tendsto_nhds_top_iff]
271+ intro i
272+ filter_upwards [atTop_basis_Ioi.mem_of_mem (i := i) trivial]
273+ simp
274+
258275end WithTop
You can’t perform that action at this time.
0 commit comments