Skip to content

Commit 1da3efc

Browse files
committed
refactor(Data/Fintype/Order): g (⨆ i, f i) = ⨆ i, g (f i) holds when the codomain isn't linear (leanprover-community#36672)
This was found while reviewing leanprover-community#35822. Co-authored-by: Komyyy <pol_tta@outlook.jp>
1 parent 29b5976 commit 1da3efc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mathlib/Data/Fintype/Order.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ end CCL
283283

284284
section CCLO
285285

286-
variable {α β ι : Type*} [ConditionallyCompleteLinearOrder α] [ConditionallyCompleteLinearOrder β]
286+
variable {α β ι : Type*} [ConditionallyCompleteLinearOrder α] [ConditionallyCompleteLattice β]
287287
[Finite ι] [Nonempty ι]
288288

289289
lemma map_iSup_of_monotoneOn {s : Set α} {f : ι → α} {g : α → β} (hg : MonotoneOn g s)

0 commit comments

Comments
 (0)