Zulip Chat Archive

Stream: maths

Topic: TC normal form


Yury G. Kudryashov (Sep 11 2021 at 22:07):

Sometimes I use docs#filter.ne_bot to express notions that possibly deserve a dedicated typeclass. What do you think about the following two cases?

Yury G. Kudryashov (Sep 11 2021 at 22:08):

/poll Normal form for “x is not an isolated point”
ne_bot (𝓝[{x}ᶜ] x)
create new TC non_isolated_pt

Yury G. Kudryashov (Sep 11 2021 at 22:09):

/poll Normal form for “non-compact space”
ne_bot (cocompact α)
is_empty (compact_space α)
add new TC noncompact_space

Yury G. Kudryashov (Sep 12 2021 at 18:35):

Pros of new TCs:

  • more readable code;
  • no false negatives for the "priority" linter.

Patrick Massot (Sep 12 2021 at 18:39):

If we really need this to be inferred by type class resolution then I think non_compact_space is the only readable option

Yury G. Kudryashov (Sep 12 2021 at 18:45):

If we infer this by type class resolution, then we can make an instance for alexandroff.connected_space.


Last updated: Dec 20 2023 at 11:08 UTC