Closed graphs and continuity on a set #
A function whose graph over a set s is closed and whose values on s lie in a compact set is
continuous on s. This is the relative form of Mathlib's continuous_of_isClosed_graph; it
identifies a bounded single-valued closure of a graph with a continuous function.
Conversely, ContinuousOn.closure_graphOn_inter recovers a continuous function's graph from
its restriction to a relatively dense subset. This permits extending a description of a graph
across an exceptional locus without making any choices of values there.
A function whose graph over s is closed and which maps s into a compact set is continuous
on s.
A continuous function on s is recovered from its graph on a relatively dense subset t:
the graph closure, restricted back to points over s, is exactly its graph on s.