Zulip Chat Archive

Stream: Is there code for X?

Topic: Typeclass for indiscrete topology


Aaron Liu (Apr 14 2025 at 21:10):

Something like this:

import Mathlib

class IndiscreteTopology (X : Type*) [t : TopologicalSpace X] : Prop where
  eq_top : t = 

Do we have it? If we don't, do we want to have it?

Kevin Buzzard (Apr 14 2025 at 21:17):

Is it useful? I think the discrete topology is a lot more common.

Aaron Liu (Apr 14 2025 at 21:19):

Recently Just now I found myself wanting this, because a lot of theorems are true assuming the indiscrete topology. It's equivalent to Subsingleton (SeparationQuotient X) and I'm in the middle of generalizing some theorems to non-T0 spaces.

Aaron Liu (Apr 14 2025 at 21:23):

Maybe I'll come back to this if I need it again but for now I found a way around.

Edward van de Meent (Apr 14 2025 at 21:34):

a quick loogle search says there is no such thing in mathlib... the only relevant things i could find were docs#induced_const and docs#induced_top

Edward van de Meent (Apr 14 2025 at 21:35):

my query was loogle TopologicalSpace, ?t = ⊤

Yaël Dillies (Apr 14 2025 at 21:37):

@loogle (⊤ : TopologicalSpace _)

loogle (Apr 14 2025 at 21:37):

:search: continuous_top, nhds_top, and 11 more


Last updated: May 02 2025 at 03:31 UTC