Zulip Chat Archive

Stream: Is there code for X?

Topic: Prop-valued "I am a finite type"


Kevin Buzzard (Dec 31 2021 at 17:28):

Is it just set.finite (set.univ : set X)? Does this concept deserve its own definition and API? Or nonempty (fintype X)? Which is preferred?

Kevin Buzzard (Dec 31 2021 at 17:30):

From algebra.big_operators.finprod:

We did not add `is_finite (X : Type) : Prop`, because it is simply `nonempty (fintype X)`.

Git blame says I wrote this. Meh.

Johan Commelin (Dec 31 2021 at 17:32):

I think @Yury G. Kudryashov announced that he wanted to add this class.


Last updated: Dec 20 2023 at 11:08 UTC