Skip to content

Commit 7b91ca9

Browse files
committed
feat: generalize some results for SupConvergenceClass to ConditionallyCompletePartialOrder{Sup,Inf} (#35050)
1 parent 1aacdef commit 7b91ca9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Mathlib/Topology/Order/MonotoneConvergence.lean

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,15 @@ end IsGLB
111111

112112
section CiSup
113113

114-
variable [ConditionallyCompleteLattice α] [SupConvergenceClass α] {f : ι → α}
114+
variable [ConditionallyCompletePartialOrderSup α] [SupConvergenceClass α] {f : ι → α}
115115

116116
theorem tendsto_atTop_ciSup (h_mono : Monotone f) (hbdd : BddAbove <| range f) :
117117
Tendsto f atTop (𝓝 (⨆ i, f i)) := by
118-
cases isEmpty_or_nonempty ι
119-
exacts [tendsto_of_isEmpty, tendsto_atTop_isLUB h_mono (isLUB_ciSup hbdd)]
118+
obtain (h | h) := eq_or_ne atTop (⊥ : Filter ι)
119+
· simp [h]
120+
· obtain ⟨h₁, h₂⟩ := Filter.atTop_neBot_iff.mp ⟨h⟩
121+
exact tendsto_atTop_isLUB h_mono <|
122+
h_mono.directed_le.directedOn_range.isLUB_csSup (Set.range_nonempty f) hbdd
120123

121124
theorem tendsto_atBot_ciSup (h_anti : Antitone f) (hbdd : BddAbove <| range f) :
122125
Tendsto f atBot (𝓝 (⨆ i, f i)) := by convert tendsto_atTop_ciSup h_anti.dual hbdd.dual using 1
@@ -125,7 +128,7 @@ end CiSup
125128

126129
section CiInf
127130

128-
variable [ConditionallyCompleteLattice α] [InfConvergenceClass α] {f : ι → α}
131+
variable [ConditionallyCompletePartialOrderInf α] [InfConvergenceClass α] {f : ι → α}
129132

130133
theorem tendsto_atBot_ciInf (h_mono : Monotone f) (hbdd : BddBelow <| range f) :
131134
Tendsto f atBot (𝓝 (⨅ i, f i)) := by convert tendsto_atTop_ciSup h_mono.dual hbdd.dual using 1

0 commit comments

Comments
 (0)