State and prove the Baire Category Theorem. Let f:R→R be a function. For x∈R, define
ωf(x)=δ>0inf∣y−x∣⩽δ∣y′−x∣⩽δsup∣f(y)−f(y′)∣
Show that f is continuous at x if and only if ωf(x)=0.
Show that for any ϵ>0 the set {x∈R:ωf(x)<ϵ} is open.
Hence show that the set of points at which f is continuous cannot be precisely the set Q of rationals.