In mathematics, the compact complement topology is a topology defined on the set formula_1 of real numbers, defined by declaring a subset formula_2 open if and only if it is either empty or its complement formula_3 is compact in the standard Euclidean topology on formula_1.