Require Export TopologicalSpaces.
Require Export OrderTopology.
Require Export Reals.
Definition RTop := OrderTopology Rle.
Require Export MetricSpaces.
Definition R_metric (x y:R) : R := Rabs (y-x).

Lemma R_closed_interval_compact: forall a b:R, a <= b ->
compact (SubspaceTopology ([x:point_set RTop | a <= x <= b])).