Zulip Chat Archive

Stream: general

Topic: Prop-valued encodable


Yury G. Kudryashov (Oct 25 2021 at 21:43):

I think that we need a Prop-valued version of docs#encodable. The main reason for me is that we'll be able to have an instance from [fintype α] to [prop_encodable α] (of course, we need a better name).

Yury G. Kudryashov (Oct 25 2021 at 21:43):

And most lemmas about countable unions etc should take this new class as an argument.

Kevin Buzzard (Oct 25 2021 at 21:44):

is_countable?

Yury G. Kudryashov (Oct 25 2021 at 21:44):

Or countable with set.countable made protected.

Yury G. Kudryashov (Oct 25 2021 at 21:45):

(we have this for set.subsingleton and set.nonempty)

Eric Wieser (Oct 25 2021 at 22:00):

Could we rename encodable to has_encoding to free up the first name?

Eric Wieser (Oct 25 2021 at 22:00):

I guess countable is better to mathematicians anyway


Last updated: Dec 20 2023 at 11:08 UTC