|This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (December 2009)|
In set theory, when dealing with sets of infinite size, the term almost or nearly is used to mean all the elements except for finitely many.
In other words, an infinite set S that is a subset of another infinite set L, is almost L if the subtracted set LS is of finite size.
This is conceptually similar to the almost everywhere concept of measure theory, but is not the same. For example, the Cantor set is uncountably infinite, but has Lebesgue measure zero. So a real number in (0, 1) is a member of the complement of the Cantor set almost everywhere, but it is not true that the complement of the Cantor set is almost the real numbers in (0, 1).