Neighborhoods and continuity relative to a subset
This file defines relative versions
and proves their basic properties, including the relationships between these restricted notions and the corresponding notions for the subtype equipped with the subspace topology.
Notation
𝓝 x
: the filter of neighborhoods of a pointx
;𝓟 s
: the principal filter of a sets
;𝓝[s] x
: the filternhds_within x s
of neighborhoods of a pointx
within a sets
.
The "neighborhood within" filter. Elements of 𝓝[s] a
are sets containing the
intersection of s
and a neighborhood of a
.
Equations
- nhds_within a s = nhds a ⊓ filter.principal s
A function between topological spaces is continuous at a point x₀
within a subset s
if f x
tends to f x₀
when x
tends to x₀
while staying within s
.
Equations
- continuous_within_at f s x = filter.tendsto f (nhds_within x s) (nhds (f x))
If a function is continuous within s
at x
, then it tends to f x
within s
by definition.
We register this fact for use with the dot notation, especially to use tendsto.comp
as
continuous_within_at.comp
will have a different meaning.
A function between topological spaces is continuous on a subset s
when it's continuous at every point of s
within s
.
Equations
- continuous_on f s = ∀ (x : α), x ∈ s → continuous_within_at f s x