Zulip Chat Archive

Stream: mathlib4

Topic: Under equivalent typeclasses


Aaron Liu (Apr 21 2025 at 00:24):

If we have [CompactSpace X], then [T2Space X] up to [T4Space X] are all equivalent, so which one should be used in a lemma statement?

Aaron Liu (Apr 21 2025 at 00:28):

More generally, if there are multiple equivalent typeclass combinations that say the same thing, which one should be used in the hypotheses or conclusion of a theorem?

Jireh Loreaux (Apr 21 2025 at 22:02):

Compact + T2 is a very common assumption mathematically, so it definitely makes sense to use that in this case. More generally, I would say that we generally want to pick a "standard set", and which things are in that standard set is situation-dependent.

Aaron Liu (Apr 21 2025 at 22:37):

Alright, here's some more combinations I can think of at the moment:

  • under [NormalSpace X], [R0Space X] up to [CompletelyRegularSpace X] are equivalent
  • under [IsDirected X (· ≤ ·)], [NoMaxOrder X] is equivalent to [NoTopOrder X] (and same for its dual)

Yury G. Kudryashov (Apr 21 2025 at 22:38):

I think that we should choose R1Space/T2Space whenever there is a bunch of equivalent *Space options.

Yury G. Kudryashov (Apr 21 2025 at 22:38):

Not sure about NoMaxOrder vs NoTopOrder.


Last updated: May 02 2025 at 03:31 UTC