Zulip Chat Archive

Stream: Is there code for X?

Topic: setoid "glue this set into a pt"


Yury G. Kudryashov (Jun 22 2023 at 17:36):

Do we have the setoid with relation given by (x ∈ s ∧ y ∈ s) ∨ x = y?

Yury G. Kudryashov (Jun 22 2023 at 17:36):

If not, what would be a good name for this setoid?

Eric Wieser (Jun 22 2023 at 17:39):

I guess you can build it as the kernel of if x ∈ s then none else some x to avoid needing to show an equivalence

Yury G. Kudryashov (Jun 22 2023 at 17:40):

At least if I don't care about using Classical.choice

Eric Wieser (Jun 22 2023 at 17:59):

Ah, good point

Pedro Sánchez Terraf (Jun 22 2023 at 21:00):

Yury G. Kudryashov said:

If not, what would be a good name for this setoid?

First try: blow down (tbh, trying to remember the “blow up” name, the word implode arrived to my mind in first place).

Kevin Buzzard (Jun 22 2023 at 21:26):

Or contract

Yaël Dillies (Jun 22 2023 at 22:00):

I was about to say contract as well.

Reid Barton (Jun 23 2023 at 07:59):

In homotopy theory this construction always also means that, when s is empty, we adjoin a new point; is that something you want to do?

Yury G. Kudryashov (Jun 23 2023 at 17:49):

This won't be a Setoid on the original space. I don't know. I just saw a bunch of counterexamples of type "the quotient of real numbers by gluing all rational numbers in 1 point" and realized that we can't formalize them (yet).

Kyle Miller (Jun 23 2023 at 18:05):

We could have a variant of docs4#Setoid.mkClasses that says for every point there is at most one set from the collection containing it, and then extend that collection with singleton sets to form a partition. If it's called Setoid.mkWithClasses, then you could have Setoid.mkWithClass : Set X -> Setoid X as a special case.

Kyle Miller (Jun 23 2023 at 18:07):

This avoids this whole issue with the empty set, because Setoid.mkClasses basically ignores the empty class since it's irrelevant to the equivalence relation.

Kyle Miller (Jun 23 2023 at 18:07):

This naming also avoids that contract and collapse make it sound like there's some point everything's being collapsed to.


Last updated: Dec 20 2023 at 11:08 UTC