Metamath Proof Explorer


Theorem xmetdcn2

Description: The metric function of an extended metric space is always continuous in the topology generated by it. In this variation of xmetdcn we use the metric topology instead of the order topology on RR* , which makes the theorem a bit stronger. Since +oo is an isolated point in the metric topology, this is saying that for any points A , B which are an infinite distance apart, there is a product neighborhood around <. A , B >. such that d ( a , b ) = +oo for any a near A and b near B , i.e., the distance function is locally constant +oo . (Contributed by Mario Carneiro, 5-May-2014) (Revised by Mario Carneiro, 4-Sep-2015)

Ref Expression
Hypotheses xmetdcn2.1 J = MetOpen D
xmetdcn2.2 C = dist 𝑠 *
xmetdcn2.3 K = MetOpen C
Assertion xmetdcn2 D ∞Met X D J × t J Cn K

Proof

Step Hyp Ref Expression
1 xmetdcn2.1 J = MetOpen D
2 xmetdcn2.2 C = dist 𝑠 *
3 xmetdcn2.3 K = MetOpen C
4 xmetf D ∞Met X D : X × X *
5 rphalfcl r + r 2 +
6 simp-4l D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 D ∞Met X
7 simplrl D ∞Met X x X y X r + x X
8 7 ad2antrr D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 x X
9 simplrr D ∞Met X x X y X r + y X
10 9 ad2antrr D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 y X
11 simpllr D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 r +
12 simplrl D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 z X
13 simplrr D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 w X
14 simprl D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 x D z < r 2
15 simprr D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 y D w < r 2
16 1 2 3 6 8 10 11 12 13 14 15 metdcnlem D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 x D y C z D w < r
17 16 ex D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 x D y C z D w < r
18 17 ralrimivva D ∞Met X x X y X r + z X w X x D z < r 2 y D w < r 2 x D y C z D w < r
19 breq2 s = r 2 x D z < s x D z < r 2
20 breq2 s = r 2 y D w < s y D w < r 2
21 19 20 anbi12d s = r 2 x D z < s y D w < s x D z < r 2 y D w < r 2
22 21 imbi1d s = r 2 x D z < s y D w < s x D y C z D w < r x D z < r 2 y D w < r 2 x D y C z D w < r
23 22 2ralbidv s = r 2 z X w X x D z < s y D w < s x D y C z D w < r z X w X x D z < r 2 y D w < r 2 x D y C z D w < r
24 23 rspcev r 2 + z X w X x D z < r 2 y D w < r 2 x D y C z D w < r s + z X w X x D z < s y D w < s x D y C z D w < r
25 5 18 24 syl2an2 D ∞Met X x X y X r + s + z X w X x D z < s y D w < s x D y C z D w < r
26 25 ralrimiva D ∞Met X x X y X r + s + z X w X x D z < s y D w < s x D y C z D w < r
27 26 ralrimivva D ∞Met X x X y X r + s + z X w X x D z < s y D w < s x D y C z D w < r
28 id D ∞Met X D ∞Met X
29 2 xrsxmet C ∞Met *
30 29 a1i D ∞Met X C ∞Met *
31 1 1 3 txmetcn D ∞Met X D ∞Met X C ∞Met * D J × t J Cn K D : X × X * x X y X r + s + z X w X x D z < s y D w < s x D y C z D w < r
32 28 30 31 mpd3an23 D ∞Met X D J × t J Cn K D : X × X * x X y X r + s + z X w X x D z < s y D w < s x D y C z D w < r
33 4 27 32 mpbir2and D ∞Met X D J × t J Cn K