The cocountable topology, also known as the countable complement topology, is a topology that can be defined on any infinite set X {\displaystyle X} . In this topology, a set is open if its complement in X {\displaystyle X} is either countable or equal to the entire set. Equivalently, the open sets consist of the empty set and all subsets of X {\displaystyle X} whose complements are countable, a property known as cocountability. The only closed sets in this topology are X {\displaystyle X} itself and the countable subsets of X {\displaystyle X} .