Compactness is a property that seeks to generalize the notion of a closed and bounded subset of Euclidean space

A subset of Euclidean space in particular is called compact if it is closed and bounded, which implies that any infinite sequence from the set has a subsequence that converges to a point in the set,

Formally, a topological space is called compact if every open cover of has a finite sub-cover. That is, is compact if for every collection of open subsets of such that , there is a finite sub-collection such that