Zulip Chat Archive

Stream: Is there code for X?

Topic: Continuous empty map


Nicolò Cavalleri (Aug 02 2021 at 14:54):

Do we have somewhere that the empty map from the empty type to the empty type is continuous? I'd need to prove the continuity of a map that looks like

continuous (λ x : α, _.elim)

Adam Topaz (Aug 02 2021 at 15:03):

import topology.constructions

example {α : Type*} [topological_space α] (f : pempty  α) : continuous f := continuous_bot

Adam Topaz (Aug 02 2021 at 15:06):

(found using library_search)

Adam Topaz (Aug 02 2021 at 15:06):

Oh to the empty type! Sorry, I misread

Yaël Dillies (Aug 02 2021 at 15:15):

Endomorphism of the empty type. This really has to be some formalization nonsense :stuck_out_tongue_closed_eyes:

Adam Topaz (Aug 02 2021 at 15:17):

It would be helpful to know how you have this formulated. e.g.

import topology.constructions

example {α β : Type*} [is_empty β] [topological_space α] [topological_space β]
  (f : α  β) : continuous f :=
by { letI := function.is_empty f, exact continuous_of_discrete_topology }

Vasu (Aug 02 2021 at 20:09):

Thanks for showing how to use example, I was confused I was using #example


Last updated: Dec 20 2023 at 11:08 UTC