Commit 2025-04-28 17:33 3640ff59

View on Github →

chore(CategoryTheory): fix some Fintype/Finite assumptions (#24423) Found by the linter in #10235 Assume [Finite J] instead of [Fintype J] here and there. IMHO, the right way to fix this is to use Fin n in the typeclass definition, then use {J : Type*} [Finite J] in the instance, cf. CategoryTheory.Limits.PreservesFiniteCoproducts I didn't take that path, because I never used this part of the library, so

  • I failed to quickly prove equivalence between PreservesFiniteCoproducts given Equiv between domains;
  • my opinion about design choices has higher chances of being wrong.

Estimated changes