@@ -141,7 +141,11 @@ theorem ciSup_le [Nonempty ι] {f : ι → α} {c : α} (H : ∀ x, f x ≤ c) :
141141
142142theorem ciSup₂_le [Nonempty ι] [∀ i, Nonempty (κ i)] {f : ∀ i, κ i → α}
143143 (h : ∀ i j, f i j ≤ a) : ⨆ (i) (j), f i j ≤ a :=
144- ciSup_le fun i => ciSup_le <| h i
144+ ciSup_le fun i ↦ ciSup_le <| h i
145+
146+ theorem le_ciInf₂ [Nonempty ι] [∀ i, Nonempty (κ i)] {f : ∀ i, κ i → α} (h : ∀ i j, a ≤ f i j) :
147+ a ≤ ⨅ (i) (j), f i j :=
148+ ciSup₂_le (α := αᵒᵈ) h
145149
146150/-- The indexed supremum of a function is bounded below by the value taken at one point -/
147151theorem le_ciSup {f : ι → α} (H : BddAbove (range f)) (c : ι) : f c ≤ iSup f :=
@@ -185,10 +189,6 @@ theorem ciInf_mono {f g : ι → α} (B : BddBelow (range f)) (H : ∀ x, f x
185189theorem le_ciInf [Nonempty ι] {f : ι → α} {c : α} (H : ∀ x, c ≤ f x) : c ≤ iInf f :=
186190 ciSup_le (α := αᵒᵈ) H
187191
188- theorem le_ciInf₂ [Nonempty ι] [∀ i, Nonempty (κ i)] {f : ∀ i, κ i → α} (h : ∀ i j, a ≤ f i j) :
189- a ≤ ⨅ (i) (j), f i j :=
190- le_ciInf fun i => le_ciInf <| h i
191-
192192/-- The indexed infimum of a function is bounded above by the value taken at one point -/
193193theorem ciInf_le {f : ι → α} (H : BddBelow (range f)) (c : ι) : iInf f ≤ f c :=
194194 le_ciSup (α := αᵒᵈ) H c
@@ -381,17 +381,21 @@ theorem exists_lt_of_lt_ciSup [Nonempty ι] {f : ι → α} (h : b < iSup f) :
381381 let ⟨_, ⟨i, rfl⟩, h⟩ := exists_lt_of_lt_csSup (range_nonempty f) h
382382 ⟨i, h⟩
383383
384- theorem exists_lt_of_lt_ciSup₂ [Nonempty ι] [∀ i, Nonempty (κ i)]
385- {f : ∀ i, κ i → α} (h : a < ⨆ (i) (j), f i j) : ∃ i j, a < f i j := by
386- contrapose! h
387- exact ciSup₂_le h
388-
389384/-- Indexed version of `exists_lt_of_csInf_lt`.
390385When `iInf f < a`, there is an element `i` such that `f i < a`.
391386-/
392387theorem exists_lt_of_ciInf_lt [Nonempty ι] {f : ι → α} (h : iInf f < a) : ∃ i, f i < a :=
393388 exists_lt_of_lt_ciSup (α := αᵒᵈ) h
394389
390+ theorem exists_lt_of_lt_ciSup₂ [Nonempty ι] [∀ i, Nonempty (κ i)]
391+ {f : ∀ i, κ i → α} (h : a < ⨆ (i) (j), f i j) : ∃ i j, a < f i j := by
392+ contrapose! h
393+ exact ciSup₂_le h
394+
395+ theorem exists_lt_of_ciInf₂_lt [Nonempty ι] [∀ i, Nonempty (κ i)]
396+ {f : ∀ i, κ i → α} (h : ⨅ (i) (j), f i j < a) : ∃ i j, f i j < a :=
397+ exists_lt_of_lt_ciSup₂ (α := αᵒᵈ) h
398+
395399theorem lt_ciSup_iff [Nonempty ι] {f : ι → α} (hb : BddAbove (range f)) :
396400 a < iSup f ↔ ∃ i, a < f i := by
397401 simpa only [mem_range, exists_exists_eq_and] using lt_csSup_iff hb (range_nonempty _)
@@ -493,7 +497,7 @@ theorem ciSup_le' {f : ι → α} {a : α} (h : ∀ i, f i ≤ a) : ⨆ i, f i
493497 csSup_le' <| forall_mem_range.2 h
494498
495499theorem ciSup₂_le' {f : ∀ i, κ i → α} (h : ∀ i j, f i j ≤ a) : ⨆ (i) (j), f i j ≤ a :=
496- ciSup_le' fun i => ciSup_le' <| h i
500+ ciSup_le' fun i ↦ ciSup_le' <| h i
497501
498502@[simp]
499503theorem ciSup_bot : ⨆ _ : ι, (⊥ : α) = ⊥ := le_bot_iff.mp (ciSup_le' fun _ ↦ bot_le)
0 commit comments