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

Theorem ramcl2lem 13264
Description: Lemma for extended real closure of the Ramsey number function. (Contributed by Mario Carneiro, 20-Apr-2015.)
Hypotheses
Ref Expression
ramval.c  |-  C  =  ( a  e.  _V ,  i  e.  NN0  |->  { b  e.  ~P a  |  ( # `  b
)  =  i } )
ramval.t  |-  T  =  { n  e.  NN0  | 
A. s ( n  <_  ( # `  s
)  ->  A. f  e.  ( R  ^m  (
s C M ) ) E. c  e.  R  E. x  e. 
~P  s ( ( F `  c )  <_  ( # `  x
)  /\  ( x C M )  C_  ( `' f " {
c } ) ) ) }
Assertion
Ref Expression
ramcl2lem  |-  ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  ->  ( M Ramsey  F )  =  if ( T  =  (/) ,  +oo ,  sup ( T ,  RR ,  `'  <  ) ) )
Distinct variable groups:    f, c, x, C    n, c, s, F, f, x    a,
b, c, f, i, n, s, x, M    R, c, f, n, s, x    V, c, f, n, s, x
Allowed substitution hints:    C( i, n, s, a, b)    R( i, a, b)    T( x, f, i, n, s, a, b, c)    F( i, a, b)    V( i, a, b)

Proof of Theorem ramcl2lem
Dummy variables  y 
z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqeq2 2375 . 2  |-  (  +oo  =  if ( T  =  (/) ,  +oo ,  sup ( T ,  RR ,  `'  <  ) )  -> 
( ( M Ramsey  F
)  =  +oo  <->  ( M Ramsey  F )  =  if ( T  =  (/) ,  +oo ,  sup ( T ,  RR ,  `'  <  ) ) ) )
2 eqeq2 2375 . 2  |-  ( sup ( T ,  RR ,  `'  <  )  =  if ( T  =  (/) ,  +oo ,  sup ( T ,  RR ,  `'  <  ) )  -> 
( ( M Ramsey  F
)  =  sup ( T ,  RR ,  `'  <  )  <->  ( M Ramsey  F )  =  if ( T  =  (/) ,  +oo ,  sup ( T ,  RR ,  `'  <  ) ) ) )
3 ramval.c . . . 4  |-  C  =  ( a  e.  _V ,  i  e.  NN0  |->  { b  e.  ~P a  |  ( # `  b
)  =  i } )
4 ramval.t . . . 4  |-  T  =  { n  e.  NN0  | 
A. s ( n  <_  ( # `  s
)  ->  A. f  e.  ( R  ^m  (
s C M ) ) E. c  e.  R  E. x  e. 
~P  s ( ( F `  c )  <_  ( # `  x
)  /\  ( x C M )  C_  ( `' f " {
c } ) ) ) }
53, 4ramval 13263 . . 3  |-  ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  ->  ( M Ramsey  F )  =  sup ( T ,  RR* ,  `'  <  ) )
6 supeq1 7345 . . . 4  |-  ( T  =  (/)  ->  sup ( T ,  RR* ,  `'  <  )  =  sup ( (/)
,  RR* ,  `'  <  ) )
7 xrinfm0 10808 . . . 4  |-  sup ( (/)
,  RR* ,  `'  <  )  =  +oo
86, 7syl6eq 2414 . . 3  |-  ( T  =  (/)  ->  sup ( T ,  RR* ,  `'  <  )  =  +oo )
95, 8sylan9eq 2418 . 2  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =  (/) )  -> 
( M Ramsey  F )  =  +oo )
10 df-ne 2531 . . 3  |-  ( T  =/=  (/)  <->  -.  T  =  (/) )
115adantr 451 . . . 4  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  -> 
( M Ramsey  F )  =  sup ( T ,  RR* ,  `'  <  )
)
12 xrltso 10627 . . . . . . 7  |-  <  Or  RR*
13 cnvso 5317 . . . . . . 7  |-  (  < 
Or  RR*  <->  `'  <  Or  RR* )
1412, 13mpbi 199 . . . . . 6  |-  `'  <  Or 
RR*
1514a1i 10 . . . . 5  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  ->  `'  <  Or  RR* )
16 ssrab2 3344 . . . . . . . . 9  |-  { n  e.  NN0  |  A. s
( n  <_  ( # `
 s )  ->  A. f  e.  ( R  ^m  ( s C M ) ) E. c  e.  R  E. x  e.  ~P  s
( ( F `  c )  <_  ( # `
 x )  /\  ( x C M )  C_  ( `' f " { c } ) ) ) } 
C_  NN0
174, 16eqsstri 3294 . . . . . . . 8  |-  T  C_  NN0
18 nn0ssre 10118 . . . . . . . 8  |-  NN0  C_  RR
1917, 18sstri 3274 . . . . . . 7  |-  T  C_  RR
20 nn0uz 10413 . . . . . . . . . 10  |-  NN0  =  ( ZZ>= `  0 )
2117, 20sseqtri 3296 . . . . . . . . 9  |-  T  C_  ( ZZ>= `  0 )
2221a1i 10 . . . . . . . 8  |-  ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  ->  T  C_  ( ZZ>= ` 
0 ) )
23 infmssuzcl 10452 . . . . . . . 8  |-  ( ( T  C_  ( ZZ>= ` 
0 )  /\  T  =/=  (/) )  ->  sup ( T ,  RR ,  `'  <  )  e.  T
)
2422, 23sylan 457 . . . . . . 7  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  ->  sup ( T ,  RR ,  `'  <  )  e.  T )
2519, 24sseldi 3264 . . . . . 6  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  ->  sup ( T ,  RR ,  `'  <  )  e.  RR )
2625rexrd 9028 . . . . 5  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  ->  sup ( T ,  RR ,  `'  <  )  e. 
RR* )
27 simpr 447 . . . . . . . 8  |-  ( ( ( ( M  e. 
NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  /\  z  e.  T )  ->  z  e.  T )
28 infmssuzle 10451 . . . . . . . 8  |-  ( ( T  C_  ( ZZ>= ` 
0 )  /\  z  e.  T )  ->  sup ( T ,  RR ,  `'  <  )  <_  z
)
2921, 27, 28sylancr 644 . . . . . . 7  |-  ( ( ( ( M  e. 
NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  /\  z  e.  T )  ->  sup ( T ,  RR ,  `'  <  )  <_  z
)
3025adantr 451 . . . . . . . 8  |-  ( ( ( ( M  e. 
NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  /\  z  e.  T )  ->  sup ( T ,  RR ,  `'  <  )  e.  RR )
3119a1i 10 . . . . . . . . 9  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  ->  T  C_  RR )
3231sselda 3266 . . . . . . . 8  |-  ( ( ( ( M  e. 
NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  /\  z  e.  T )  ->  z  e.  RR )
3330, 32lenltd 9112 . . . . . . 7  |-  ( ( ( ( M  e. 
NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  /\  z  e.  T )  ->  ( sup ( T ,  RR ,  `'  <  )  <_ 
z  <->  -.  z  <  sup ( T ,  RR ,  `'  <  ) ) )
3429, 33mpbid 201 . . . . . 6  |-  ( ( ( ( M  e. 
NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  /\  z  e.  T )  ->  -.  z  <  sup ( T ,  RR ,  `'  <  ) )
35 ltso 9050 . . . . . . . . 9  |-  <  Or  RR
36 cnvso 5317 . . . . . . . . 9  |-  (  < 
Or  RR  <->  `'  <  Or  RR )
3735, 36mpbi 199 . . . . . . . 8  |-  `'  <  Or  RR
3837supex 7361 . . . . . . 7  |-  sup ( T ,  RR ,  `'  <  )  e.  _V
39 vex 2876 . . . . . . 7  |-  z  e. 
_V
4038, 39brcnv 4967 . . . . . 6  |-  ( sup ( T ,  RR ,  `'  <  ) `'  <  z  <->  z  <  sup ( T ,  RR ,  `'  <  ) )
4134, 40sylnibr 296 . . . . 5  |-  ( ( ( ( M  e. 
NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  /\  z  e.  T )  ->  -.  sup ( T ,  RR ,  `'  <  ) `'  <  z )
42 breq2 4129 . . . . . . . 8  |-  ( y  =  sup ( T ,  RR ,  `'  <  )  ->  ( z `'  <  y  <->  z `'  <  sup ( T ,  RR ,  `'  <  ) ) )
4342rspcev 2969 . . . . . . 7  |-  ( ( sup ( T ,  RR ,  `'  <  )  e.  T  /\  z `'  <  sup ( T ,  RR ,  `'  <  ) )  ->  E. y  e.  T  z `'  <  y )
4443adantrl 696 . . . . . 6  |-  ( ( sup ( T ,  RR ,  `'  <  )  e.  T  /\  (
z  e.  RR*  /\  z `'  <  sup ( T ,  RR ,  `'  <  ) ) )  ->  E. y  e.  T  z `'  <  y )
4524, 44sylan 457 . . . . 5  |-  ( ( ( ( M  e. 
NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  /\  (
z  e.  RR*  /\  z `'  <  sup ( T ,  RR ,  `'  <  ) ) )  ->  E. y  e.  T  z `'  <  y )
4615, 26, 41, 45eqsupd 7355 . . . 4  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  ->  sup ( T ,  RR* ,  `'  <  )  =  sup ( T ,  RR ,  `'  <  ) )
4711, 46eqtrd 2398 . . 3  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  T  =/=  (/) )  -> 
( M Ramsey  F )  =  sup ( T ,  RR ,  `'  <  ) )
4810, 47sylan2br 462 . 2  |-  ( ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  /\  -.  T  =  (/) )  ->  ( M Ramsey  F
)  =  sup ( T ,  RR ,  `'  <  ) )
491, 2, 9, 48ifbothda 3684 1  |-  ( ( M  e.  NN0  /\  R  e.  V  /\  F : R --> NN0 )  ->  ( M Ramsey  F )  =  if ( T  =  (/) ,  +oo ,  sup ( T ,  RR ,  `'  <  ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 358    /\ w3a 935   A.wal 1545    = wceq 1647    e. wcel 1715    =/= wne 2529   A.wral 2628   E.wrex 2629   {crab 2632   _Vcvv 2873    C_ wss 3238   (/)c0 3543   ifcif 3654   ~Pcpw 3714   {csn 3729   class class class wbr 4125    Or wor 4416   `'ccnv 4791   "cima 4795   -->wf 5354   ` cfv 5358  (class class class)co 5981    e. cmpt2 5983    ^m cmap 6915   supcsup 7340   RRcr 8883   0cc0 8884    +oocpnf 9011   RR*cxr 9013    < clt 9014    <_ cle 9015   NN0cn0 10114   ZZ>=cuz 10381   #chash 11505   Ramsey cram 13254
This theorem is referenced by:  ramtcl  13265  ramtcl2  13266  ramtub  13267  ramcl2  13271
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1551  ax-5 1562  ax-17 1621  ax-9 1659  ax-8 1680  ax-13 1717  ax-14 1719  ax-6 1734  ax-7 1739  ax-11 1751  ax-12 1937  ax-ext 2347  ax-rep 4233  ax-sep 4243  ax-nul 4251  ax-pow 4290  ax-pr 4316  ax-un 4615  ax-cnex 8940  ax-resscn 8941  ax-1cn 8942  ax-icn 8943  ax-addcl 8944  ax-addrcl 8945  ax-mulcl 8946  ax-mulrcl 8947  ax-mulcom 8948  ax-addass 8949  ax-mulass 8950  ax-distr 8951  ax-i2m1 8952  ax-1ne0 8953  ax-1rid 8954  ax-rnegex 8955  ax-rrecex 8956  ax-cnre 8957  ax-pre-lttri 8958  ax-pre-lttrn 8959  ax-pre-ltadd 8960  ax-pre-mulgt0 8961
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 936  df-3an 937  df-tru 1324  df-ex 1547  df-nf 1550  df-sb 1654  df-eu 2221  df-mo 2222  df-clab 2353  df-cleq 2359  df-clel 2362  df-nfc 2491  df-ne 2531  df-nel 2532  df-ral 2633  df-rex 2634  df-reu 2635  df-rmo 2636  df-rab 2637  df-v 2875  df-sbc 3078  df-csb 3168  df-dif 3241  df-un 3243  df-in 3245  df-ss 3252  df-pss 3254  df-nul 3544  df-if 3655  df-pw 3716  df-sn 3735  df-pr 3736  df-tp 3737  df-op 3738  df-uni 3930  df-iun 4009  df-br 4126  df-opab 4180  df-mpt 4181  df-tr 4216  df-eprel 4408  df-id 4412  df-po 4417  df-so 4418  df-fr 4455  df-we 4457  df-ord 4498  df-on 4499  df-lim 4500  df-suc 4501  df-om 4760  df-xp 4798  df-rel 4799  df-cnv 4800  df-co 4801  df-dm 4802  df-rn 4803  df-res 4804  df-ima 4805  df-iota 5322  df-fun 5360  df-fn 5361  df-f 5362  df-f1 5363  df-fo 5364  df-f1o 5365  df-fv 5366  df-ov 5984  df-oprab 5985  df-mpt2 5986  df-1st 6249  df-2nd 6250  df-riota 6446  df-recs 6530  df-rdg 6565  df-er 6802  df-map 6917  df-en 7007  df-dom 7008  df-sdom 7009  df-sup 7341  df-pnf 9016  df-mnf 9017  df-xr 9018  df-ltxr 9019  df-le 9020  df-sub 9186  df-neg 9187  df-nn 9894  df-n0 10115  df-z 10176  df-uz 10382  df-ram 13256
  Copyright terms: Public domain W3C validator