If a space is compact it is compact, but the converse is not true. A set may be countably compact but not compact.
Let
be the positive integers with topology consisting of the open sets
and let
be a non empty subset of![]()
Let
If
is even then
is a limit point of
and if
is odd then
is a limit point of![]()
Hence
has an accumulation point and
is countably compact.
The sets
constitute an open cover of
and is not reducible to a finite subcover. Hence
is not compact.