Connected subsets of a conditionally complete dense linear order are intervals
ProvedFamousTheorems.connected_iff_interval_order_7aConnected subsets of a conditionally complete dense linear order are intervals. Let be a densely ordered, conditionally complete linear order with the order topology, such as . A subset is preconnected if and only if it is order-connected: whenever and , also .
For this says that the connected subsets are exactly the intervals. That fact is the topological content of the intermediate value theorem, since continuous images of connected sets are connected. Completeness and density are both needed: in or in with the order topology, intervals need not be connected.
Formalization note. Mathlib's isPreconnected_iff_ordConnected. IsPreconnected is connectedness without the requirement that the set be nonempty, and Set.OrdConnected s is the interval condition above.
import Mathlib
namespace FamousTheorems
theorem connected_iff_interval_order_7a {α : Type*} [TopologicalSpace α] [ConditionallyCompleteLinearOrder α] [OrderTopology α] [DenselyOrdered α]
{s : Set α} : IsPreconnected s ↔ s.OrdConnected := by sorry
end FamousTheorems