Zulip Chat Archive

Stream: Is there code for X?

Topic: open interval in nonempty open set


Jeremy Avigad (Jun 13 2023 at 22:00):

I have a nonempty open set in the reals. How do I prove that there exists an open interval contained in it?

Yaël Dillies (Jun 13 2023 at 22:02):

This boils down to the fact that open intervals of reals form a filter basis for the topology. Trying to piece up the elements now...

Floris van Doorn (Jun 13 2023 at 22:33):

docs#mem_nhds_iff_exists_Ioo_subset (combined with docs#is_open.mem_nhds) gets you there.

Floris van Doorn (Jun 13 2023 at 22:34):

docs#is_open.exists_Ioo_subset gets you there in one step :-)


Last updated: Dec 20 2023 at 11:08 UTC