Let f : X → Y. Show that f is continuous if and only if for each x ∈ X there is a neighborhood U of x such that
f|U is continuous.