Skip to content

Commit 5e7c199

Browse files
committed
chore(CategoryTheory/Limits/Lattice): Fintype.elems -> Finset.univ (#39836)
Fintype.elems is not preferred, Finset.univ is the preferred usage. (These are the only two usages of Fintype.elems anywhere in Mathlib.)
1 parent 65ff5a9 commit 5e7c199

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mathlib/CategoryTheory/Limits/Lattice.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ theorem finite_colimit_eq_finset_univ_sup [SemilatticeSup α] [OrderBot α] (F :
7474
A finite product in the category of a `SemilatticeInf` with `OrderTop` is the same as the infimum.
7575
-/
7676
theorem finite_product_eq_finset_inf [SemilatticeInf α] [OrderTop α] {ι : Type u} [Fintype ι]
77-
(f : ι → α) : ∏ᶜ f = Fintype.elems.inf f := by
77+
(f : ι → α) : ∏ᶜ f = Finset.univ.inf f := by
7878
trans
7979
· exact
8080
(IsLimit.conePointUniqueUpToIso (limit.isLimit _)
@@ -87,7 +87,7 @@ theorem finite_product_eq_finset_inf [SemilatticeInf α] [OrderTop α] {ι : Typ
8787
supremum.
8888
-/
8989
theorem finite_coproduct_eq_finset_sup [SemilatticeSup α] [OrderBot α] {ι : Type u} [Fintype ι]
90-
(f : ι → α) : ∐ f = Fintype.elems.sup f := by
90+
(f : ι → α) : ∐ f = Finset.univ.sup f := by
9191
trans
9292
· exact
9393
(IsColimit.coconePointUniqueUpToIso (colimit.isColimit _)

0 commit comments

Comments
 (0)