Users' Mathboxes Mathbox for Jeff Hankins < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  opnrebl2 Structured version   Visualization version   Unicode version

Theorem opnrebl2 30977
Description: A set is open in the standard topology of the reals precisely when every point can be enclosed in an arbitrarily small ball. (Contributed by Jeff Hankins, 22-Sep-2013.) (Proof shortened by Mario Carneiro, 30-Jan-2014.)
Assertion
Ref Expression
opnrebl2  |-  ( A  e.  ( topGen `  ran  (,) )  <->  ( A  C_  RR  /\  A. x  e.  A  A. y  e.  RR+  E. z  e.  RR+  ( z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
) )
Distinct variable group:    x, y, z, A

Proof of Theorem opnrebl2
StepHypRef Expression
1 eqid 2451 . . . . 5  |-  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) )  =  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) )
21rexmet 21809 . . . 4  |-  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) )  e.  ( *Met `  RR )
3 eqid 2451 . . . . . 6  |-  ( MetOpen `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) )  =  ( MetOpen `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) )
41, 3tgioo 21814 . . . . 5  |-  ( topGen ` 
ran  (,) )  =  (
MetOpen `  ( ( abs 
o.  -  )  |`  ( RR  X.  RR ) ) )
54mopnss 21461 . . . 4  |-  ( ( ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) )  e.  ( *Met `  RR )  /\  A  e.  ( topGen `  ran  (,) )
)  ->  A  C_  RR )
62, 5mpan 676 . . 3  |-  ( A  e.  ( topGen `  ran  (,) )  ->  A  C_  RR )
74mopni3 21509 . . . . . . . 8  |-  ( ( ( ( ( abs 
o.  -  )  |`  ( RR  X.  RR ) )  e.  ( *Met `  RR )  /\  A  e.  ( topGen `  ran  (,) )  /\  x  e.  A
)  /\  y  e.  RR+ )  ->  E. z  e.  RR+  ( z  < 
y  /\  ( x
( ball `  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A )
)
87ex 436 . . . . . . 7  |-  ( ( ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) )  e.  ( *Met `  RR )  /\  A  e.  ( topGen `  ran  (,) )  /\  x  e.  A
)  ->  ( y  e.  RR+  ->  E. z  e.  RR+  ( z  < 
y  /\  ( x
( ball `  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A )
) )
92, 8mp3an1 1351 . . . . . 6  |-  ( ( A  e.  ( topGen ` 
ran  (,) )  /\  x  e.  A )  ->  (
y  e.  RR+  ->  E. z  e.  RR+  (
z  <  y  /\  ( x ( ball `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) ) z )  C_  A ) ) )
106sselda 3432 . . . . . . 7  |-  ( ( A  e.  ( topGen ` 
ran  (,) )  /\  x  e.  A )  ->  x  e.  RR )
11 rpre 11308 . . . . . . . . . . . . 13  |-  ( z  e.  RR+  ->  z  e.  RR )
121bl2ioo 21810 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR  /\  z  e.  RR )  ->  ( x ( ball `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) ) z )  =  ( ( x  -  z ) (,) (
x  +  z ) ) )
1311, 12sylan2 477 . . . . . . . . . . . 12  |-  ( ( x  e.  RR  /\  z  e.  RR+ )  -> 
( x ( ball `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) ) z )  =  ( ( x  -  z ) (,) (
x  +  z ) ) )
1413sseq1d 3459 . . . . . . . . . . 11  |-  ( ( x  e.  RR  /\  z  e.  RR+ )  -> 
( ( x (
ball `  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A  <->  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A ) )
1514anbi2d 710 . . . . . . . . . 10  |-  ( ( x  e.  RR  /\  z  e.  RR+ )  -> 
( ( z  < 
y  /\  ( x
( ball `  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A )  <->  ( z  <  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
) )
1615rexbidva 2898 . . . . . . . . 9  |-  ( x  e.  RR  ->  ( E. z  e.  RR+  (
z  <  y  /\  ( x ( ball `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) ) z )  C_  A )  <->  E. z  e.  RR+  ( z  < 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A ) ) )
1716biimpd 211 . . . . . . . 8  |-  ( x  e.  RR  ->  ( E. z  e.  RR+  (
z  <  y  /\  ( x ( ball `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) ) z )  C_  A )  ->  E. z  e.  RR+  ( z  < 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A ) ) )
18 rpre 11308 . . . . . . . . . . 11  |-  ( y  e.  RR+  ->  y  e.  RR )
19 ltle 9722 . . . . . . . . . . 11  |-  ( ( z  e.  RR  /\  y  e.  RR )  ->  ( z  <  y  ->  z  <_  y )
)
2011, 18, 19syl2anr 481 . . . . . . . . . 10  |-  ( ( y  e.  RR+  /\  z  e.  RR+ )  ->  (
z  <  y  ->  z  <_  y ) )
2120anim1d 568 . . . . . . . . 9  |-  ( ( y  e.  RR+  /\  z  e.  RR+ )  ->  (
( z  <  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )  ->  ( z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
) )
2221reximdva 2862 . . . . . . . 8  |-  ( y  e.  RR+  ->  ( E. z  e.  RR+  (
z  <  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )  ->  E. z  e.  RR+  ( z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
) )
2317, 22syl9 73 . . . . . . 7  |-  ( x  e.  RR  ->  (
y  e.  RR+  ->  ( E. z  e.  RR+  ( z  <  y  /\  ( x ( ball `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) ) z )  C_  A )  ->  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A ) ) ) )
2410, 23syl 17 . . . . . 6  |-  ( ( A  e.  ( topGen ` 
ran  (,) )  /\  x  e.  A )  ->  (
y  e.  RR+  ->  ( E. z  e.  RR+  ( z  <  y  /\  ( x ( ball `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) ) z )  C_  A )  ->  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A ) ) ) )
259, 24mpdd 41 . . . . 5  |-  ( ( A  e.  ( topGen ` 
ran  (,) )  /\  x  e.  A )  ->  (
y  e.  RR+  ->  E. z  e.  RR+  (
z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
) )
2625expimpd 608 . . . 4  |-  ( A  e.  ( topGen `  ran  (,) )  ->  ( (
x  e.  A  /\  y  e.  RR+ )  ->  E. z  e.  RR+  (
z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
) )
2726ralrimivv 2808 . . 3  |-  ( A  e.  ( topGen `  ran  (,) )  ->  A. x  e.  A  A. y  e.  RR+  E. z  e.  RR+  ( z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
)
286, 27jca 535 . 2  |-  ( A  e.  ( topGen `  ran  (,) )  ->  ( A  C_  RR  /\  A. x  e.  A  A. y  e.  RR+  E. z  e.  RR+  ( z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
) )
29 ssel2 3427 . . . . . 6  |-  ( ( A  C_  RR  /\  x  e.  A )  ->  x  e.  RR )
30 1rp 11306 . . . . . . . 8  |-  1  e.  RR+
31 simpr 463 . . . . . . . . . 10  |-  ( ( z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )  ->  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
3231reximi 2855 . . . . . . . . 9  |-  ( E. z  e.  RR+  (
z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )  ->  E. z  e.  RR+  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
3332ralimi 2781 . . . . . . . 8  |-  ( A. y  e.  RR+  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A )  ->  A. y  e.  RR+  E. z  e.  RR+  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
34 biidd 241 . . . . . . . . 9  |-  ( y  =  1  ->  ( E. z  e.  RR+  (
( x  -  z
) (,) ( x  +  z ) ) 
C_  A  <->  E. z  e.  RR+  ( ( x  -  z ) (,) ( x  +  z ) )  C_  A
) )
3534rspcv 3146 . . . . . . . 8  |-  ( 1  e.  RR+  ->  ( A. y  e.  RR+  E. z  e.  RR+  ( ( x  -  z ) (,) ( x  +  z ) )  C_  A  ->  E. z  e.  RR+  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
)
3630, 33, 35mpsyl 65 . . . . . . 7  |-  ( A. y  e.  RR+  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A )  ->  E. z  e.  RR+  ( ( x  -  z ) (,) ( x  +  z ) )  C_  A
)
3714rexbidva 2898 . . . . . . 7  |-  ( x  e.  RR  ->  ( E. z  e.  RR+  (
x ( ball `  (
( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A  <->  E. z  e.  RR+  ( ( x  -  z ) (,) ( x  +  z ) )  C_  A
) )
3836, 37syl5ibr 225 . . . . . 6  |-  ( x  e.  RR  ->  ( A. y  e.  RR+  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A )  ->  E. z  e.  RR+  ( x (
ball `  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A )
)
3929, 38syl 17 . . . . 5  |-  ( ( A  C_  RR  /\  x  e.  A )  ->  ( A. y  e.  RR+  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A )  ->  E. z  e.  RR+  ( x (
ball `  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A )
)
4039ralimdva 2796 . . . 4  |-  ( A 
C_  RR  ->  ( A. x  e.  A  A. y  e.  RR+  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A )  ->  A. x  e.  A  E. z  e.  RR+  ( x (
ball `  ( ( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A )
)
4140imdistani 696 . . 3  |-  ( ( A  C_  RR  /\  A. x  e.  A  A. y  e.  RR+  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A ) )  -> 
( A  C_  RR  /\ 
A. x  e.  A  E. z  e.  RR+  (
x ( ball `  (
( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A )
)
424elmopn2 21460 . . . 4  |-  ( ( ( abs  o.  -  )  |`  ( RR  X.  RR ) )  e.  ( *Met `  RR )  ->  ( A  e.  ( topGen `  ran  (,) )  <->  ( A  C_  RR  /\  A. x  e.  A  E. z  e.  RR+  ( x ( ball `  (
( abs  o.  -  )  |`  ( RR  X.  RR ) ) ) z )  C_  A )
) )
432, 42ax-mp 5 . . 3  |-  ( A  e.  ( topGen `  ran  (,) )  <->  ( A  C_  RR  /\  A. x  e.  A  E. z  e.  RR+  ( x ( ball `  ( ( abs  o.  -  )  |`  ( RR 
X.  RR ) ) ) z )  C_  A ) )
4441, 43sylibr 216 . 2  |-  ( ( A  C_  RR  /\  A. x  e.  A  A. y  e.  RR+  E. z  e.  RR+  ( z  <_ 
y  /\  ( (
x  -  z ) (,) ( x  +  z ) )  C_  A ) )  ->  A  e.  ( topGen ` 
ran  (,) ) )
4528, 44impbii 191 1  |-  ( A  e.  ( topGen `  ran  (,) )  <->  ( A  C_  RR  /\  A. x  e.  A  A. y  e.  RR+  E. z  e.  RR+  ( z  <_  y  /\  ( ( x  -  z ) (,) (
x  +  z ) )  C_  A )
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 188    /\ wa 371    /\ w3a 985    = wceq 1444    e. wcel 1887   A.wral 2737   E.wrex 2738    C_ wss 3404   class class class wbr 4402    X. cxp 4832   ran crn 4835    |` cres 4836    o. ccom 4838   ` cfv 5582  (class class class)co 6290   RRcr 9538   1c1 9540    + caddc 9542    < clt 9675    <_ cle 9676    - cmin 9860   RR+crp 11302   (,)cioo 11635   abscabs 13297   topGenctg 15336   *Metcxmt 18955   ballcbl 18957   MetOpencmopn 18960
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1669  ax-4 1682  ax-5 1758  ax-6 1805  ax-7 1851  ax-8 1889  ax-9 1896  ax-10 1915  ax-11 1920  ax-12 1933  ax-13 2091  ax-ext 2431  ax-sep 4525  ax-nul 4534  ax-pow 4581  ax-pr 4639  ax-un 6583  ax-cnex 9595  ax-resscn 9596  ax-1cn 9597  ax-icn 9598  ax-addcl 9599  ax-addrcl 9600  ax-mulcl 9601  ax-mulrcl 9602  ax-mulcom 9603  ax-addass 9604  ax-mulass 9605  ax-distr 9606  ax-i2m1 9607  ax-1ne0 9608  ax-1rid 9609  ax-rnegex 9610  ax-rrecex 9611  ax-cnre 9612  ax-pre-lttri 9613  ax-pre-lttrn 9614  ax-pre-ltadd 9615  ax-pre-mulgt0 9616  ax-pre-sup 9617
This theorem depends on definitions:  df-bi 189  df-or 372  df-an 373  df-3or 986  df-3an 987  df-tru 1447  df-ex 1664  df-nf 1668  df-sb 1798  df-eu 2303  df-mo 2304  df-clab 2438  df-cleq 2444  df-clel 2447  df-nfc 2581  df-ne 2624  df-nel 2625  df-ral 2742  df-rex 2743  df-reu 2744  df-rmo 2745  df-rab 2746  df-v 3047  df-sbc 3268  df-csb 3364  df-dif 3407  df-un 3409  df-in 3411  df-ss 3418  df-pss 3420  df-nul 3732  df-if 3882  df-pw 3953  df-sn 3969  df-pr 3971  df-tp 3973  df-op 3975  df-uni 4199  df-iun 4280  df-br 4403  df-opab 4462  df-mpt 4463  df-tr 4498  df-eprel 4745  df-id 4749  df-po 4755  df-so 4756  df-fr 4793  df-we 4795  df-xp 4840  df-rel 4841  df-cnv 4842  df-co 4843  df-dm 4844  df-rn 4845  df-res 4846  df-ima 4847  df-pred 5380  df-ord 5426  df-on 5427  df-lim 5428  df-suc 5429  df-iota 5546  df-fun 5584  df-fn 5585  df-f 5586  df-f1 5587  df-fo 5588  df-f1o 5589  df-fv 5590  df-riota 6252  df-ov 6293  df-oprab 6294  df-mpt2 6295  df-om 6693  df-1st 6793  df-2nd 6794  df-wrecs 7028  df-recs 7090  df-rdg 7128  df-er 7363  df-map 7474  df-en 7570  df-dom 7571  df-sdom 7572  df-sup 7956  df-inf 7957  df-pnf 9677  df-mnf 9678  df-xr 9679  df-ltxr 9680  df-le 9681  df-sub 9862  df-neg 9863  df-div 10270  df-nn 10610  df-2 10668  df-3 10669  df-n0 10870  df-z 10938  df-uz 11160  df-q 11265  df-rp 11303  df-xneg 11409  df-xadd 11410  df-xmul 11411  df-ioo 11639  df-seq 12214  df-exp 12273  df-cj 13162  df-re 13163  df-im 13164  df-sqrt 13298  df-abs 13299  df-topgen 15342  df-psmet 18962  df-xmet 18963  df-met 18964  df-bl 18965  df-mopn 18966  df-top 19921  df-bases 19922  df-topon 19923
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator