Zulip Chat Archive

Stream: new members

Topic: Countable analogue of Finset


Josha Dekker (Dec 18 2023 at 16:52):

I'm formalising Lindelöf spaces, but I'm not entirely sure what the 'mathlib way' of generalising 'Finset ι' to '"Countable" ι' would be, e.g. in the following setting:

universe u v

variable {X : Type u}

variable {s t : Set X}
example {ι : Type v} (U : ι  Set X) (assumptions) :  t : Finset ι, (s   i  t, U i) := by sorry

Just writing 'Countable ι' doesn't give the expected result. I currently have ∃ t : Set ι, Countable t \wedge (s ⊆ ⋃ i ∈ t, U i), is that the way to go?

Yaël Dillies (Dec 18 2023 at 16:55):

docs#Finset is "bundled finiteness". docs#Countable and docs#Set.Countable are "unbundled countability".

Ruben Van de Velde (Dec 18 2023 at 16:55):

Do you actually want iota to be countable or should t be a countable set, possibly embedded in an uncountable type?

Josha Dekker (Dec 18 2023 at 17:00):

Whoops, the last Countable iota should have been Countable t, I just changed it. I was hoping there'd be a 'bundled countability', which is why the first mentions in my message contain Countable iota.

Yaël Dillies (Dec 18 2023 at 17:01):

Then it should be t.Countable, not Countable t.

Josha Dekker (Dec 18 2023 at 17:04):

Great, and then continue with \exists t : Set \iota, t.Countable \wedge ... ?

Jireh Loreaux (Dec 18 2023 at 19:24):

I think docs#Denumerable is the true equivalent of docs#Finset for bundled countably infinite sets, but I'm not arguing that's what you want to use here.

Yaël Dillies (Dec 18 2023 at 19:26):

Uh, not really? It would rather be

structure DenSet (α : Type*) where
  carrier : Set α
  denumerable : Denumerable carrier

which doesn't exist

Jireh Loreaux (Dec 18 2023 at 19:27):

Duh, you're right.


Last updated: Dec 20 2023 at 11:08 UTC