Skip to content

Commit 0e922f2

Browse files
committed
within_continuous_withinNx
Co-authored-by: mkerjean
1 parent 3abeb14 commit 0e922f2

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

CHANGELOG_UNRELEASED.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
- in `num_normedtype.v`:
1111
+ lemma `nbhs_infty_gtr`
1212

13+
- in `uniform_structure.v`:
14+
+ lemma `within_continuous_withinNx`
15+
1316
### Changed
1417

1518
- in `lebesgue_stieltjes_measure.v` specialized from `numFieldType` to `realFieldType`:

theories/topology_theory/uniform_structure.v

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,23 @@ rewrite !near_simpl near_withinE near_simpl => Pf; near=> y.
284284
by have [->|] := eqVneq y x; [by apply: nbhs_singleton|near: y].
285285
Unshelve. all: by end_near. Qed.
286286

287+
Lemma within_continuous_withinNx
288+
(T U : topologicalType) (f : T -> U) (x : T) :
289+
{for x, continuous f} ->
290+
injective f -> f @ x^' --> (f x)^'.
291+
Proof.
292+
move=> cf fI A.
293+
rewrite /nbhs /= /dnbhs !withinE/= => -[] V Vfx AV.
294+
exists (f @^-1` V); first exact: (cf _ Vfx).
295+
apply/seteqP; split=> y/= [] fyAV yx; split=> //.
296+
suff: f y \in A `&` (fun y : U => y != f x) by rewrite AV inE => -[].
297+
rewrite inE/=; split=> //.
298+
by move: yx; apply: contra => /eqP /fI /eqP.
299+
suff: f y \in V `&` (fun y : U => y != f x) by rewrite -AV inE => -[].
300+
rewrite inE/=; split=> //.
301+
by move: yx; apply: contra => /eqP /fI /eqP.
302+
Qed.
303+
287304
(* This property is primarily useful for metrizability on uniform spaces *)
288305
Definition countable_uniformity (T : uniformType) :=
289306
exists R : set_system (T * T), [/\

0 commit comments

Comments
 (0)