testing for continuity via nets
Proposition 1.
Let  be topological spaces
 and . Then the following are equivalent

:
- 1. is continuous  ; 
- 2. If is a net in converging to , then is a net in converging to . 
- 3. Whenever two nets and in converge to the same point, then and converge to the same point in . 
Proof.
. Let  be the (directed) index set
 for . Suppose  is open in . Then  is open in  since  is continuous. By assumption
,  is a net, so there is  such that  for all . This means that  for all , so  is a net too.
Conversely, suppose  is not continuous, say, at a point . Then there is an open set  containing  such that  does not contain any open set containing . Let  be the set of all open sets containing . Then under reverse inclusion,  is a directed set
 (if , then ). Define a relation

  as follows:
Then for each , there is an  such that , since . By the axiom of choice
, we get a function  from  to . Write . Since  is directed,  is a net. In addition,  converges to  (just pick any , then for any , we have  by the definition of ). However,  does not converge to , since  for any .
. Suppose nets and both converge to . Then, by assumption, and are nets converging to .
Conversely, suppose converges to , and is indexed by a directed set . Define a net such that for all . Then clearly converges to . Hence both and converge to the same point in . But converges to , we see that converges to as well.∎
Remark. In particular, if  are first countable, we may replace nets by sequences in the proposition. In other words,  is continuous iff it preserves converging sequences.