Users' Mathboxes Mathbox for Mario Carneiro < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  erdszelem10 Unicode version

Theorem erdszelem10 23746
Description: Lemma for erdsze 23748. (Contributed by Mario Carneiro, 22-Jan-2015.)
Hypotheses
Ref Expression
erdsze.n  |-  ( ph  ->  N  e.  NN )
erdsze.f  |-  ( ph  ->  F : ( 1 ... N ) -1-1-> RR )
erdszelem.i  |-  I  =  ( x  e.  ( 1 ... N ) 
|->  sup ( ( # " { y  e.  ~P ( 1 ... x
)  |  ( ( F  |`  y )  Isom  <  ,  <  (
y ,  ( F
" y ) )  /\  x  e.  y ) } ) ,  RR ,  <  )
)
erdszelem.j  |-  J  =  ( x  e.  ( 1 ... N ) 
|->  sup ( ( # " { y  e.  ~P ( 1 ... x
)  |  ( ( F  |`  y )  Isom  <  ,  `'  <  ( y ,  ( F
" y ) )  /\  x  e.  y ) } ) ,  RR ,  <  )
)
erdszelem.t  |-  T  =  ( n  e.  ( 1 ... N ) 
|->  <. ( I `  n ) ,  ( J `  n )
>. )
erdszelem.r  |-  ( ph  ->  R  e.  NN )
erdszelem.s  |-  ( ph  ->  S  e.  NN )
erdszelem.m  |-  ( ph  ->  ( ( R  - 
1 )  x.  ( S  -  1 ) )  <  N )
Assertion
Ref Expression
erdszelem10  |-  ( ph  ->  E. m  e.  ( 1 ... N ) ( -.  ( I `
 m )  e.  ( 1 ... ( R  -  1 ) )  \/  -.  ( J `  m )  e.  ( 1 ... ( S  -  1 ) ) ) )
Distinct variable groups:    x, y    m, n, x, y, F   
n, I, x, y   
n, J, x, y    R, m, x, y    m, N, n, x, y    ph, m, n, x, y    S, m, x, y    T, m
Allowed substitution hints:    R( n)    S( n)    T( x, y, n)    I( m)    J( m)

Proof of Theorem erdszelem10
Dummy variable  s is distinct from all other variables.
StepHypRef Expression
1 fzfi 11050 . . . . . . . 8  |-  ( 1 ... ( R  - 
1 ) )  e. 
Fin
2 fzfi 11050 . . . . . . . 8  |-  ( 1 ... ( S  - 
1 ) )  e. 
Fin
3 xpfi 7144 . . . . . . . 8  |-  ( ( ( 1 ... ( R  -  1 ) )  e.  Fin  /\  ( 1 ... ( S  -  1 ) )  e.  Fin )  ->  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) )  e.  Fin )
41, 2, 3mp2an 653 . . . . . . 7  |-  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  e. 
Fin
5 ssdomg 6923 . . . . . . 7  |-  ( ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) )  e.  Fin  ->  ( ran  T  C_  ( (
1 ... ( R  - 
1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  ->  ran  T  ~<_  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) ) )
64, 5ax-mp 8 . . . . . 6  |-  ( ran 
T  C_  ( (
1 ... ( R  - 
1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  ->  ran  T  ~<_  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) )
7 domnsym 7003 . . . . . 6  |-  ( ran 
T  ~<_  ( ( 1 ... ( R  - 
1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  ->  -.  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) 
~<  ran  T )
86, 7syl 15 . . . . 5  |-  ( ran 
T  C_  ( (
1 ... ( R  - 
1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  ->  -.  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) 
~<  ran  T )
9 erdszelem.m . . . . . . . 8  |-  ( ph  ->  ( ( R  - 
1 )  x.  ( S  -  1 ) )  <  N )
10 hashxp 11402 . . . . . . . . . 10  |-  ( ( ( 1 ... ( R  -  1 ) )  e.  Fin  /\  ( 1 ... ( S  -  1 ) )  e.  Fin )  ->  ( # `  (
( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) ) )  =  ( (
# `  ( 1 ... ( R  -  1 ) ) )  x.  ( # `  (
1 ... ( S  - 
1 ) ) ) ) )
111, 2, 10mp2an 653 . . . . . . . . 9  |-  ( # `  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) )  =  ( (
# `  ( 1 ... ( R  -  1 ) ) )  x.  ( # `  (
1 ... ( S  - 
1 ) ) ) )
12 erdszelem.r . . . . . . . . . . 11  |-  ( ph  ->  R  e.  NN )
13 nnm1nn0 10021 . . . . . . . . . . 11  |-  ( R  e.  NN  ->  ( R  -  1 )  e.  NN0 )
14 hashfz1 11361 . . . . . . . . . . 11  |-  ( ( R  -  1 )  e.  NN0  ->  ( # `  ( 1 ... ( R  -  1 ) ) )  =  ( R  -  1 ) )
1512, 13, 143syl 18 . . . . . . . . . 10  |-  ( ph  ->  ( # `  (
1 ... ( R  - 
1 ) ) )  =  ( R  - 
1 ) )
16 erdszelem.s . . . . . . . . . . 11  |-  ( ph  ->  S  e.  NN )
17 nnm1nn0 10021 . . . . . . . . . . 11  |-  ( S  e.  NN  ->  ( S  -  1 )  e.  NN0 )
18 hashfz1 11361 . . . . . . . . . . 11  |-  ( ( S  -  1 )  e.  NN0  ->  ( # `  ( 1 ... ( S  -  1 ) ) )  =  ( S  -  1 ) )
1916, 17, 183syl 18 . . . . . . . . . 10  |-  ( ph  ->  ( # `  (
1 ... ( S  - 
1 ) ) )  =  ( S  - 
1 ) )
2015, 19oveq12d 5892 . . . . . . . . 9  |-  ( ph  ->  ( ( # `  (
1 ... ( R  - 
1 ) ) )  x.  ( # `  (
1 ... ( S  - 
1 ) ) ) )  =  ( ( R  -  1 )  x.  ( S  - 
1 ) ) )
2111, 20syl5eq 2340 . . . . . . . 8  |-  ( ph  ->  ( # `  (
( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) ) )  =  ( ( R  -  1 )  x.  ( S  - 
1 ) ) )
22 erdsze.n . . . . . . . . . 10  |-  ( ph  ->  N  e.  NN )
2322nnnn0d 10034 . . . . . . . . 9  |-  ( ph  ->  N  e.  NN0 )
24 hashfz1 11361 . . . . . . . . 9  |-  ( N  e.  NN0  ->  ( # `  ( 1 ... N
) )  =  N )
2523, 24syl 15 . . . . . . . 8  |-  ( ph  ->  ( # `  (
1 ... N ) )  =  N )
269, 21, 253brtr4d 4069 . . . . . . 7  |-  ( ph  ->  ( # `  (
( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) ) )  <  ( # `  ( 1 ... N
) ) )
27 fzfid 11051 . . . . . . . 8  |-  ( ph  ->  ( 1 ... N
)  e.  Fin )
28 hashsdom 11379 . . . . . . . 8  |-  ( ( ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) )  e.  Fin  /\  (
1 ... N )  e. 
Fin )  ->  (
( # `  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) ) )  <  ( # `  (
1 ... N ) )  <-> 
( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) 
~<  ( 1 ... N
) ) )
294, 27, 28sylancr 644 . . . . . . 7  |-  ( ph  ->  ( ( # `  (
( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) ) )  <  ( # `  ( 1 ... N
) )  <->  ( (
1 ... ( R  - 
1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  ~<  (
1 ... N ) ) )
3026, 29mpbid 201 . . . . . 6  |-  ( ph  ->  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) 
~<  ( 1 ... N
) )
31 erdsze.f . . . . . . . 8  |-  ( ph  ->  F : ( 1 ... N ) -1-1-> RR )
32 erdszelem.i . . . . . . . 8  |-  I  =  ( x  e.  ( 1 ... N ) 
|->  sup ( ( # " { y  e.  ~P ( 1 ... x
)  |  ( ( F  |`  y )  Isom  <  ,  <  (
y ,  ( F
" y ) )  /\  x  e.  y ) } ) ,  RR ,  <  )
)
33 erdszelem.j . . . . . . . 8  |-  J  =  ( x  e.  ( 1 ... N ) 
|->  sup ( ( # " { y  e.  ~P ( 1 ... x
)  |  ( ( F  |`  y )  Isom  <  ,  `'  <  ( y ,  ( F
" y ) )  /\  x  e.  y ) } ) ,  RR ,  <  )
)
34 erdszelem.t . . . . . . . 8  |-  T  =  ( n  e.  ( 1 ... N ) 
|->  <. ( I `  n ) ,  ( J `  n )
>. )
3522, 31, 32, 33, 34erdszelem9 23745 . . . . . . 7  |-  ( ph  ->  T : ( 1 ... N ) -1-1-> ( NN  X.  NN ) )
36 f1f1orn 5499 . . . . . . 7  |-  ( T : ( 1 ... N ) -1-1-> ( NN 
X.  NN )  ->  T : ( 1 ... N ) -1-1-onto-> ran  T )
37 ovex 5899 . . . . . . . 8  |-  ( 1 ... N )  e. 
_V
3837f1oen 6898 . . . . . . 7  |-  ( T : ( 1 ... N ) -1-1-onto-> ran  T  ->  (
1 ... N )  ~~  ran  T )
3935, 36, 383syl 18 . . . . . 6  |-  ( ph  ->  ( 1 ... N
)  ~~  ran  T )
40 sdomentr 7011 . . . . . 6  |-  ( ( ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) 
~<  ( 1 ... N
)  /\  ( 1 ... N )  ~~  ran  T )  ->  (
( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) ) 
~<  ran  T )
4130, 39, 40syl2anc 642 . . . . 5  |-  ( ph  ->  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) 
~<  ran  T )
428, 41nsyl3 111 . . . 4  |-  ( ph  ->  -.  ran  T  C_  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) )
43 nss 3249 . . . . 5  |-  ( -. 
ran  T  C_  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  <->  E. s
( s  e.  ran  T  /\  -.  s  e.  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) ) )
44 df-rex 2562 . . . . 5  |-  ( E. s  e.  ran  T  -.  s  e.  (
( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) )  <->  E. s ( s  e. 
ran  T  /\  -.  s  e.  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) ) )
4543, 44bitr4i 243 . . . 4  |-  ( -. 
ran  T  C_  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  <->  E. s  e.  ran  T  -.  s  e.  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) ) )
4642, 45sylib 188 . . 3  |-  ( ph  ->  E. s  e.  ran  T  -.  s  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) ) )
47 f1fn 5454 . . . 4  |-  ( T : ( 1 ... N ) -1-1-> ( NN 
X.  NN )  ->  T  Fn  ( 1 ... N ) )
48 eleq1 2356 . . . . . 6  |-  ( s  =  ( T `  m )  ->  (
s  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  <->  ( T `  m )  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) ) ) )
4948notbid 285 . . . . 5  |-  ( s  =  ( T `  m )  ->  ( -.  s  e.  (
( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) )  <->  -.  ( T `  m
)  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) ) ) )
5049rexrn 5683 . . . 4  |-  ( T  Fn  ( 1 ... N )  ->  ( E. s  e.  ran  T  -.  s  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) )  <->  E. m  e.  (
1 ... N )  -.  ( T `  m
)  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) ) ) )
5135, 47, 503syl 18 . . 3  |-  ( ph  ->  ( E. s  e. 
ran  T  -.  s  e.  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) )  <->  E. m  e.  (
1 ... N )  -.  ( T `  m
)  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) ) ) )
5246, 51mpbid 201 . 2  |-  ( ph  ->  E. m  e.  ( 1 ... N )  -.  ( T `  m )  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  - 
1 ) ) ) )
53 fveq2 5541 . . . . . . . . . 10  |-  ( n  =  m  ->  (
I `  n )  =  ( I `  m ) )
54 fveq2 5541 . . . . . . . . . 10  |-  ( n  =  m  ->  ( J `  n )  =  ( J `  m ) )
5553, 54opeq12d 3820 . . . . . . . . 9  |-  ( n  =  m  ->  <. (
I `  n ) ,  ( J `  n ) >.  =  <. ( I `  m ) ,  ( J `  m ) >. )
56 opex 4253 . . . . . . . . 9  |-  <. (
I `  m ) ,  ( J `  m ) >.  e.  _V
5755, 34, 56fvmpt 5618 . . . . . . . 8  |-  ( m  e.  ( 1 ... N )  ->  ( T `  m )  =  <. ( I `  m ) ,  ( J `  m )
>. )
5857adantl 452 . . . . . . 7  |-  ( (
ph  /\  m  e.  ( 1 ... N
) )  ->  ( T `  m )  =  <. ( I `  m ) ,  ( J `  m )
>. )
5958eleq1d 2362 . . . . . 6  |-  ( (
ph  /\  m  e.  ( 1 ... N
) )  ->  (
( T `  m
)  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  <->  <. ( I `
 m ) ,  ( J `  m
) >.  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) ) ) )
60 opelxp 4735 . . . . . 6  |-  ( <.
( I `  m
) ,  ( J `
 m ) >.  e.  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) )  <-> 
( ( I `  m )  e.  ( 1 ... ( R  -  1 ) )  /\  ( J `  m )  e.  ( 1 ... ( S  -  1 ) ) ) )
6159, 60syl6bb 252 . . . . 5  |-  ( (
ph  /\  m  e.  ( 1 ... N
) )  ->  (
( T `  m
)  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  <->  ( (
I `  m )  e.  ( 1 ... ( R  -  1 ) )  /\  ( J `
 m )  e.  ( 1 ... ( S  -  1 ) ) ) ) )
6261notbid 285 . . . 4  |-  ( (
ph  /\  m  e.  ( 1 ... N
) )  ->  ( -.  ( T `  m
)  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  <->  -.  (
( I `  m
)  e.  ( 1 ... ( R  - 
1 ) )  /\  ( J `  m )  e.  ( 1 ... ( S  -  1 ) ) ) ) )
63 ianor 474 . . . 4  |-  ( -.  ( ( I `  m )  e.  ( 1 ... ( R  -  1 ) )  /\  ( J `  m )  e.  ( 1 ... ( S  -  1 ) ) )  <->  ( -.  (
I `  m )  e.  ( 1 ... ( R  -  1 ) )  \/  -.  ( J `  m )  e.  ( 1 ... ( S  -  1 ) ) ) )
6462, 63syl6bb 252 . . 3  |-  ( (
ph  /\  m  e.  ( 1 ... N
) )  ->  ( -.  ( T `  m
)  e.  ( ( 1 ... ( R  -  1 ) )  X.  ( 1 ... ( S  -  1 ) ) )  <->  ( -.  ( I `  m
)  e.  ( 1 ... ( R  - 
1 ) )  \/ 
-.  ( J `  m )  e.  ( 1 ... ( S  -  1 ) ) ) ) )
6564rexbidva 2573 . 2  |-  ( ph  ->  ( E. m  e.  ( 1 ... N
)  -.  ( T `
 m )  e.  ( ( 1 ... ( R  -  1 ) )  X.  (
1 ... ( S  - 
1 ) ) )  <->  E. m  e.  (
1 ... N ) ( -.  ( I `  m )  e.  ( 1 ... ( R  -  1 ) )  \/  -.  ( J `
 m )  e.  ( 1 ... ( S  -  1 ) ) ) ) )
6652, 65mpbid 201 1  |-  ( ph  ->  E. m  e.  ( 1 ... N ) ( -.  ( I `
 m )  e.  ( 1 ... ( R  -  1 ) )  \/  -.  ( J `  m )  e.  ( 1 ... ( S  -  1 ) ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358   E.wex 1531    = wceq 1632    e. wcel 1696   E.wrex 2557   {crab 2560    C_ wss 3165   ~Pcpw 3638   <.cop 3656   class class class wbr 4039    e. cmpt 4093    X. cxp 4703   `'ccnv 4704   ran crn 4706    |` cres 4707   "cima 4708    Fn wfn 5266   -1-1->wf1 5268   -1-1-onto->wf1o 5270   ` cfv 5271    Isom wiso 5272  (class class class)co 5874    ~~ cen 6876    ~<_ cdom 6877    ~< csdm 6878   Fincfn 6879   supcsup 7209   RRcr 8752   1c1 8754    x. cmul 8758    < clt 8883    - cmin 9053   NNcn 9762   NN0cn0 9981   ...cfz 10798   #chash 11353
This theorem is referenced by:  erdszelem11  23747
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830  ax-pre-sup 8831
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-int 3879  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-isom 5280  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-2o 6496  df-oadd 6499  df-er 6676  df-map 6790  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-sup 7210  df-card 7588  df-cda 7810  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-nn 9763  df-n0 9982  df-z 10041  df-uz 10247  df-fz 10799  df-hash 11354
  Copyright terms: Public domain W3C validator