Net in a Type

A net in a type X 𝑋 X is a function f : D X : 𝑓 𝐷 𝑋 f:D\to X from a Directed Set D 𝐷 D . Nets generalize the notion of a sequence x n : X : subscript 𝑥 𝑛 𝑋 x_{n}:\mathbb{N}\to X , and are used to formalize the notion of a convergence in topology.

Nets have a couple of benefits when compared to sequences:

In other words, sequences fail to detect the topology of general topological spaces: for instance, Sequentially Compactness is unrelated to Compactness.