File tree Expand file tree Collapse file tree
Mathlib/Order/ConditionallyCompleteLattice Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -360,6 +360,11 @@ lemma ciInf_image {ι ι' : Type*} {s : Set ι} {f : ι → ι'} {g : ι' → α
360360 ⨅ i ∈ (f '' s), g i = ⨅ x ∈ s, g (f x) :=
361361 ciSup_image (α := αᵒᵈ) hf hg'
362362
363+ @ [to_dual le_ciInf_or]
364+ lemma ciSup_or_le (p q : Prop ) (f : p ∨ q → α) :
365+ ⨆ (h : p ∨ q), f h ≤ (⨆ h : p, f (.inl h)) ⊔ (⨆ h : q, f (.inr h)) := by
366+ by_cases hp : p <;> simp [hp]
367+
363368end ConditionallyCompleteLattice
364369
365370section ConditionallyCompleteLinearOrder
@@ -495,12 +500,14 @@ theorem ciSup_mono' {ι'} {f : ι → α} {g : ι' → α} (hg : BddAbove (range
495500 (h : ∀ i, ∃ i', f i ≤ g i') : iSup f ≤ iSup g :=
496501 ciSup_le' fun i => Exists.elim (h i) (le_ciSup_of_le hg)
497502
498- lemma ciSup_or' (p q : Prop ) (f : p ∨ q → α) :
503+ lemma ciSup_or (p q : Prop ) (f : p ∨ q → α) :
499504 ⨆ (h : p ∨ q), f h = (⨆ h : p, f (.inl h)) ⊔ ⨆ h : q, f (.inr h) := by
500505 by_cases hp : p <;>
501506 by_cases hq : q <;>
502507 simp [hp, hq]
503508
509+ @ [deprecated (since := "2026-05-03" )] alias ciSup_or' := ciSup_or
510+
504511end ConditionallyCompleteLinearOrderBot
505512
506513namespace GaloisConnection
You can’t perform that action at this time.
0 commit comments