Topological facts about upper/lower/order-connected sets #

The topological closure and interior of an upper/lower/order-connected set is an upper/lower/order-connected set (with the notable exception of the closure of an order-connected set).

Implementation notes #

The same lemmas are true in the additive/multiplicative worlds. To avoid code duplication, we provide HasUpperLowerClosure, an ad hoc axiomatisation of the properties we need.

Ad hoc class stating that the closure of an upper set is an upper set. This is used to state lemmas that do not mention algebraic operations for both the additive and multiplicative versions simultaneously. If you find a satisfying replacement for this typeclass, please remove it!