MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  bcth Unicode version

Theorem bcth 18713
Description: Baire's Category Theorem. If a nonempty metric space is complete, it is nonmeager in itself. In other words, no open set in the metric space can be the countable union of rare closed subsets (where rare means having an empty interior), so some subset  M `
 k must have a nonempty interior. Theorem 4.7-2 of [Kreyszig] p. 247. (The terminology "meager" and "nonmeager" is used by Kreyszig to replace Baire's "of the first category" and "of the second category." The latter terms are going out of favor to avoid confusion with category theory.) See bcthlem5 18712 for an overview of the proof. (Contributed by NM, 28-Oct-2007.) (Proof shortened by Mario Carneiro, 6-Jan-2014.)
Hypothesis
Ref Expression
bcth.2  |-  J  =  ( MetOpen `  D )
Assertion
Ref Expression
bcth  |-  ( ( D  e.  ( CMet `  X )  /\  M : NN --> ( Clsd `  J
)  /\  ( ( int `  J ) `  U. ran  M )  =/=  (/) )  ->  E. k  e.  NN  ( ( int `  J ) `  ( M `  k )
)  =/=  (/) )
Distinct variable groups:    D, k    k, J    k, M    k, X

Proof of Theorem bcth
StepHypRef Expression
1 bcth.2 . . . . . 6  |-  J  =  ( MetOpen `  D )
2 simpll 733 . . . . . 6  |-  ( ( ( D  e.  (
CMet `  X )  /\  M : NN --> ( Clsd `  J ) )  /\  A. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =  (/) )  ->  D  e.  ( CMet `  X
) )
3 eleq1 2318 . . . . . . . . . . 11  |-  ( x  =  y  ->  (
x  e.  X  <->  y  e.  X ) )
4 eleq1 2318 . . . . . . . . . . 11  |-  ( r  =  m  ->  (
r  e.  RR+  <->  m  e.  RR+ ) )
53, 4bi2anan9 848 . . . . . . . . . 10  |-  ( ( x  =  y  /\  r  =  m )  ->  ( ( x  e.  X  /\  r  e.  RR+ )  <->  ( y  e.  X  /\  m  e.  RR+ ) ) )
6 simpr 449 . . . . . . . . . . . 12  |-  ( ( x  =  y  /\  r  =  m )  ->  r  =  m )
76breq1d 4007 . . . . . . . . . . 11  |-  ( ( x  =  y  /\  r  =  m )  ->  ( r  <  (
1  /  k )  <-> 
m  <  ( 1  /  k ) ) )
8 oveq12 5801 . . . . . . . . . . . . 13  |-  ( ( x  =  y  /\  r  =  m )  ->  ( x ( ball `  D ) r )  =  ( y (
ball `  D )
m ) )
98fveq2d 5462 . . . . . . . . . . . 12  |-  ( ( x  =  y  /\  r  =  m )  ->  ( ( cls `  J
) `  ( x
( ball `  D )
r ) )  =  ( ( cls `  J
) `  ( y
( ball `  D )
m ) ) )
109sseq1d 3180 . . . . . . . . . . 11  |-  ( ( x  =  y  /\  r  =  m )  ->  ( ( ( cls `  J ) `  (
x ( ball `  D
) r ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  k )
)  <->  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  k )
) ) )
117, 10anbi12d 694 . . . . . . . . . 10  |-  ( ( x  =  y  /\  r  =  m )  ->  ( ( r  < 
( 1  /  k
)  /\  ( ( cls `  J ) `  ( x ( ball `  D ) r ) )  C_  ( (
( ball `  D ) `  z )  \  ( M `  k )
) )  <->  ( m  <  ( 1  /  k
)  /\  ( ( cls `  J ) `  ( y ( ball `  D ) m ) )  C_  ( (
( ball `  D ) `  z )  \  ( M `  k )
) ) ) )
125, 11anbi12d 694 . . . . . . . . 9  |-  ( ( x  =  y  /\  r  =  m )  ->  ( ( ( x  e.  X  /\  r  e.  RR+ )  /\  (
r  <  ( 1  /  k )  /\  ( ( cls `  J
) `  ( x
( ball `  D )
r ) )  C_  ( ( ( ball `  D ) `  z
)  \  ( M `  k ) ) ) )  <->  ( ( y  e.  X  /\  m  e.  RR+ )  /\  (
m  <  ( 1  /  k )  /\  ( ( cls `  J
) `  ( y
( ball `  D )
m ) )  C_  ( ( ( ball `  D ) `  z
)  \  ( M `  k ) ) ) ) ) )
1312cbvopabv 4062 . . . . . . . 8  |-  { <. x ,  r >.  |  ( ( x  e.  X  /\  r  e.  RR+ )  /\  ( r  <  (
1  /  k )  /\  ( ( cls `  J ) `  (
x ( ball `  D
) r ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  k )
) ) ) }  =  { <. y ,  m >.  |  (
( y  e.  X  /\  m  e.  RR+ )  /\  ( m  <  (
1  /  k )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  k )
) ) ) }
14 oveq2 5800 . . . . . . . . . . . 12  |-  ( k  =  n  ->  (
1  /  k )  =  ( 1  /  n ) )
1514breq2d 4009 . . . . . . . . . . 11  |-  ( k  =  n  ->  (
m  <  ( 1  /  k )  <->  m  <  ( 1  /  n ) ) )
16 fveq2 5458 . . . . . . . . . . . . 13  |-  ( k  =  n  ->  ( M `  k )  =  ( M `  n ) )
1716difeq2d 3269 . . . . . . . . . . . 12  |-  ( k  =  n  ->  (
( ( ball `  D
) `  z )  \  ( M `  k ) )  =  ( ( ( ball `  D ) `  z
)  \  ( M `  n ) ) )
1817sseq2d 3181 . . . . . . . . . . 11  |-  ( k  =  n  ->  (
( ( cls `  J
) `  ( y
( ball `  D )
m ) )  C_  ( ( ( ball `  D ) `  z
)  \  ( M `  k ) )  <->  ( ( cls `  J ) `  ( y ( ball `  D ) m ) )  C_  ( (
( ball `  D ) `  z )  \  ( M `  n )
) ) )
1915, 18anbi12d 694 . . . . . . . . . 10  |-  ( k  =  n  ->  (
( m  <  (
1  /  k )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  k )
) )  <->  ( m  <  ( 1  /  n
)  /\  ( ( cls `  J ) `  ( y ( ball `  D ) m ) )  C_  ( (
( ball `  D ) `  z )  \  ( M `  n )
) ) ) )
2019anbi2d 687 . . . . . . . . 9  |-  ( k  =  n  ->  (
( ( y  e.  X  /\  m  e.  RR+ )  /\  (
m  <  ( 1  /  k )  /\  ( ( cls `  J
) `  ( y
( ball `  D )
m ) )  C_  ( ( ( ball `  D ) `  z
)  \  ( M `  k ) ) ) )  <->  ( ( y  e.  X  /\  m  e.  RR+ )  /\  (
m  <  ( 1  /  n )  /\  ( ( cls `  J
) `  ( y
( ball `  D )
m ) )  C_  ( ( ( ball `  D ) `  z
)  \  ( M `  n ) ) ) ) ) )
2120opabbidv 4056 . . . . . . . 8  |-  ( k  =  n  ->  { <. y ,  m >.  |  ( ( y  e.  X  /\  m  e.  RR+ )  /\  ( m  <  (
1  /  k )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  k )
) ) ) }  =  { <. y ,  m >.  |  (
( y  e.  X  /\  m  e.  RR+ )  /\  ( m  <  (
1  /  n )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  n )
) ) ) } )
2213, 21syl5eq 2302 . . . . . . 7  |-  ( k  =  n  ->  { <. x ,  r >.  |  ( ( x  e.  X  /\  r  e.  RR+ )  /\  ( r  <  (
1  /  k )  /\  ( ( cls `  J ) `  (
x ( ball `  D
) r ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  k )
) ) ) }  =  { <. y ,  m >.  |  (
( y  e.  X  /\  m  e.  RR+ )  /\  ( m  <  (
1  /  n )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  n )
) ) ) } )
23 fveq2 5458 . . . . . . . . . . . 12  |-  ( z  =  g  ->  (
( ball `  D ) `  z )  =  ( ( ball `  D
) `  g )
)
2423difeq1d 3268 . . . . . . . . . . 11  |-  ( z  =  g  ->  (
( ( ball `  D
) `  z )  \  ( M `  n ) )  =  ( ( ( ball `  D ) `  g
)  \  ( M `  n ) ) )
2524sseq2d 3181 . . . . . . . . . 10  |-  ( z  =  g  ->  (
( ( cls `  J
) `  ( y
( ball `  D )
m ) )  C_  ( ( ( ball `  D ) `  z
)  \  ( M `  n ) )  <->  ( ( cls `  J ) `  ( y ( ball `  D ) m ) )  C_  ( (
( ball `  D ) `  g )  \  ( M `  n )
) ) )
2625anbi2d 687 . . . . . . . . 9  |-  ( z  =  g  ->  (
( m  <  (
1  /  n )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  n )
) )  <->  ( m  <  ( 1  /  n
)  /\  ( ( cls `  J ) `  ( y ( ball `  D ) m ) )  C_  ( (
( ball `  D ) `  g )  \  ( M `  n )
) ) ) )
2726anbi2d 687 . . . . . . . 8  |-  ( z  =  g  ->  (
( ( y  e.  X  /\  m  e.  RR+ )  /\  (
m  <  ( 1  /  n )  /\  ( ( cls `  J
) `  ( y
( ball `  D )
m ) )  C_  ( ( ( ball `  D ) `  z
)  \  ( M `  n ) ) ) )  <->  ( ( y  e.  X  /\  m  e.  RR+ )  /\  (
m  <  ( 1  /  n )  /\  ( ( cls `  J
) `  ( y
( ball `  D )
m ) )  C_  ( ( ( ball `  D ) `  g
)  \  ( M `  n ) ) ) ) ) )
2827opabbidv 4056 . . . . . . 7  |-  ( z  =  g  ->  { <. y ,  m >.  |  ( ( y  e.  X  /\  m  e.  RR+ )  /\  ( m  <  (
1  /  n )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  n )
) ) ) }  =  { <. y ,  m >.  |  (
( y  e.  X  /\  m  e.  RR+ )  /\  ( m  <  (
1  /  n )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  g )  \  ( M `  n )
) ) ) } )
2922, 28cbvmpt2v 5860 . . . . . 6  |-  ( k  e.  NN ,  z  e.  ( X  X.  RR+ )  |->  { <. x ,  r >.  |  ( ( x  e.  X  /\  r  e.  RR+ )  /\  ( r  <  (
1  /  k )  /\  ( ( cls `  J ) `  (
x ( ball `  D
) r ) ) 
C_  ( ( (
ball `  D ) `  z )  \  ( M `  k )
) ) ) } )  =  ( n  e.  NN ,  g  e.  ( X  X.  RR+ )  |->  { <. y ,  m >.  |  (
( y  e.  X  /\  m  e.  RR+ )  /\  ( m  <  (
1  /  n )  /\  ( ( cls `  J ) `  (
y ( ball `  D
) m ) ) 
C_  ( ( (
ball `  D ) `  g )  \  ( M `  n )
) ) ) } )
30 simplr 734 . . . . . 6  |-  ( ( ( D  e.  (
CMet `  X )  /\  M : NN --> ( Clsd `  J ) )  /\  A. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =  (/) )  ->  M : NN
--> ( Clsd `  J
) )
31 simpr 449 . . . . . . 7  |-  ( ( ( D  e.  (
CMet `  X )  /\  M : NN --> ( Clsd `  J ) )  /\  A. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =  (/) )  ->  A. k  e.  NN  ( ( int `  J ) `  ( M `  k )
)  =  (/) )
3216fveq2d 5462 . . . . . . . . 9  |-  ( k  =  n  ->  (
( int `  J
) `  ( M `  k ) )  =  ( ( int `  J
) `  ( M `  n ) ) )
3332eqeq1d 2266 . . . . . . . 8  |-  ( k  =  n  ->  (
( ( int `  J
) `  ( M `  k ) )  =  (/) 
<->  ( ( int `  J
) `  ( M `  n ) )  =  (/) ) )
3433cbvralv 2739 . . . . . . 7  |-  ( A. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =  (/) 
<-> 
A. n  e.  NN  ( ( int `  J
) `  ( M `  n ) )  =  (/) )
3531, 34sylib 190 . . . . . 6  |-  ( ( ( D  e.  (
CMet `  X )  /\  M : NN --> ( Clsd `  J ) )  /\  A. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =  (/) )  ->  A. n  e.  NN  ( ( int `  J ) `  ( M `  n )
)  =  (/) )
361, 2, 29, 30, 35bcthlem5 18712 . . . . 5  |-  ( ( ( D  e.  (
CMet `  X )  /\  M : NN --> ( Clsd `  J ) )  /\  A. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =  (/) )  ->  ( ( int `  J ) `
 U. ran  M
)  =  (/) )
3736ex 425 . . . 4  |-  ( ( D  e.  ( CMet `  X )  /\  M : NN --> ( Clsd `  J
) )  ->  ( A. k  e.  NN  ( ( int `  J
) `  ( M `  k ) )  =  (/)  ->  ( ( int `  J ) `  U. ran  M )  =  (/) ) )
3837necon3ad 2457 . . 3  |-  ( ( D  e.  ( CMet `  X )  /\  M : NN --> ( Clsd `  J
) )  ->  (
( ( int `  J
) `  U. ran  M
)  =/=  (/)  ->  -.  A. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =  (/) ) )
39383impia 1153 . 2  |-  ( ( D  e.  ( CMet `  X )  /\  M : NN --> ( Clsd `  J
)  /\  ( ( int `  J ) `  U. ran  M )  =/=  (/) )  ->  -.  A. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =  (/) )
40 df-ne 2423 . . . 4  |-  ( ( ( int `  J
) `  ( M `  k ) )  =/=  (/) 
<->  -.  ( ( int `  J ) `  ( M `  k )
)  =  (/) )
4140rexbii 2543 . . 3  |-  ( E. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =/=  (/) 
<->  E. k  e.  NN  -.  ( ( int `  J
) `  ( M `  k ) )  =  (/) )
42 rexnal 2529 . . 3  |-  ( E. k  e.  NN  -.  ( ( int `  J
) `  ( M `  k ) )  =  (/) 
<->  -.  A. k  e.  NN  ( ( int `  J ) `  ( M `  k )
)  =  (/) )
4341, 42bitri 242 . 2  |-  ( E. k  e.  NN  (
( int `  J
) `  ( M `  k ) )  =/=  (/) 
<->  -.  A. k  e.  NN  ( ( int `  J ) `  ( M `  k )
)  =  (/) )
4439, 43sylibr 205 1  |-  ( ( D  e.  ( CMet `  X )  /\  M : NN --> ( Clsd `  J
)  /\  ( ( int `  J ) `  U. ran  M )  =/=  (/) )  ->  E. k  e.  NN  ( ( int `  J ) `  ( M `  k )
)  =/=  (/) )
Colors of variables: wff set class
Syntax hints:   -. wn 5    -> wi 6    /\ wa 360    /\ w3a 939    = wceq 1619    e. wcel 1621    =/= wne 2421   A.wral 2518   E.wrex 2519    \ cdif 3124    C_ wss 3127   (/)c0 3430   U.cuni 3801   class class class wbr 3997   {copab 4050    X. cxp 4659   ran crn 4662   -->wf 4669   ` cfv 4673  (class class class)co 5792    e. cmpt2 5794   1c1 8706    < clt 8835    / cdiv 9391   NNcn 9714   RR+crp 10321   ballcbl 16333   MetOpencmopn 16334   Clsdccld 16715   intcnt 16716   clsccl 16717   CMetcms 18642
This theorem is referenced by:  bcth2  18714  bcth3  18715
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2239  ax-rep 4105  ax-sep 4115  ax-nul 4123  ax-pow 4160  ax-pr 4186  ax-un 4484  ax-inf2 7310  ax-dc 8040  ax-cnex 8761  ax-resscn 8762  ax-1cn 8763  ax-icn 8764  ax-addcl 8765  ax-addrcl 8766  ax-mulcl 8767  ax-mulrcl 8768  ax-mulcom 8769  ax-addass 8770  ax-mulass 8771  ax-distr 8772  ax-i2m1 8773  ax-1ne0 8774  ax-1rid 8775  ax-rnegex 8776  ax-rrecex 8777  ax-cnre 8778  ax-pre-lttri 8779  ax-pre-lttrn 8780  ax-pre-ltadd 8781  ax-pre-mulgt0 8782  ax-pre-sup 8783
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2122  df-mo 2123  df-clab 2245  df-cleq 2251  df-clel 2254  df-nfc 2383  df-ne 2423  df-nel 2424  df-ral 2523  df-rex 2524  df-reu 2525  df-rmo 2526  df-rab 2527  df-v 2765  df-sbc 2967  df-csb 3057  df-dif 3130  df-un 3132  df-in 3134  df-ss 3141  df-pss 3143  df-nul 3431  df-if 3540  df-pw 3601  df-sn 3620  df-pr 3621  df-tp 3622  df-op 3623  df-uni 3802  df-int 3837  df-iun 3881  df-iin 3882  df-br 3998  df-opab 4052  df-mpt 4053  df-tr 4088  df-eprel 4277  df-id 4281  df-po 4286  df-so 4287  df-fr 4324  df-we 4326  df-ord 4367  df-on 4368  df-lim 4369  df-suc 4370  df-om 4629  df-xp 4675  df-rel 4676  df-cnv 4677  df-co 4678  df-dm 4679  df-rn 4680  df-res 4681  df-ima 4682  df-fun 4683  df-fn 4684  df-f 4685  df-f1 4686  df-fo 4687  df-f1o 4688  df-fv 4689  df-ov 5795  df-oprab 5796  df-mpt2 5797  df-1st 6056  df-2nd 6057  df-iota 6225  df-riota 6272  df-recs 6356  df-rdg 6391  df-1o 6447  df-er 6628  df-map 6742  df-pm 6743  df-en 6832  df-dom 6833  df-sdom 6834  df-sup 7162  df-pnf 8837  df-mnf 8838  df-xr 8839  df-ltxr 8840  df-le 8841  df-sub 9007  df-neg 9008  df-div 9392  df-n 9715  df-2 9772  df-n0 9933  df-z 9992  df-uz 10198  df-q 10284  df-rp 10322  df-xneg 10419  df-xadd 10420  df-xmul 10421  df-ico 10628  df-rest 13289  df-topgen 13306  df-xmet 16335  df-met 16336  df-bl 16337  df-mopn 16338  df-top 16598  df-bases 16600  df-topon 16601  df-cld 16718  df-ntr 16719  df-cls 16720  df-nei 16797  df-lm 16921  df-fbas 17482  df-fg 17483  df-fil 17503  df-fm 17595  df-flim 17596  df-flf 17597  df-cfil 18643  df-cau 18644  df-cmet 18645
  Copyright terms: Public domain W3C validator