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

Theorem seqomlem2 6463
Description: Lemma for seq𝜔. (Contributed by Stefan O'Rear, 1-Nov-2014.) (Revised by Mario Carneiro, 23-Jun-2015.)
Hypothesis
Ref Expression
seqomlem.a  |-  Q  =  rec ( ( i  e.  om ,  v  e.  _V  |->  <. suc  i ,  ( i F v ) >. ) ,  <. (/) ,  (  _I 
`  I ) >.
)
Assertion
Ref Expression
seqomlem2  |-  ( Q
" om )  Fn 
om
Distinct variable groups:    Q, i,
v    i, F, v
Allowed substitution hints:    I( v, i)

Proof of Theorem seqomlem2
Dummy variables  a 
b  c are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frfnom 6447 . . . . . . 7  |-  ( rec ( ( i  e. 
om ,  v  e. 
_V  |->  <. suc  i , 
( i F v ) >. ) ,  <. (/)
,  (  _I  `  I ) >. )  |` 
om )  Fn  om
2 seqomlem.a . . . . . . . . 9  |-  Q  =  rec ( ( i  e.  om ,  v  e.  _V  |->  <. suc  i ,  ( i F v ) >. ) ,  <. (/) ,  (  _I 
`  I ) >.
)
32reseq1i 4951 . . . . . . . 8  |-  ( Q  |`  om )  =  ( rec ( ( i  e.  om ,  v  e.  _V  |->  <. suc  i ,  ( i F v ) >. ) ,  <. (/) ,  (  _I 
`  I ) >.
)  |`  om )
43fneq1i 5338 . . . . . . 7  |-  ( ( Q  |`  om )  Fn  om  <->  ( rec (
( i  e.  om ,  v  e.  _V  |->  <. suc  i ,  ( i F v )
>. ) ,  <. (/) ,  (  _I  `  I )
>. )  |`  om )  Fn  om )
51, 4mpbir 200 . . . . . 6  |-  ( Q  |`  om )  Fn  om
6 fvres 5542 . . . . . . . . 9  |-  ( b  e.  om  ->  (
( Q  |`  om ) `  b )  =  ( Q `  b ) )
72seqomlem1 6462 . . . . . . . . 9  |-  ( b  e.  om  ->  ( Q `  b )  =  <. b ,  ( 2nd `  ( Q `
 b ) )
>. )
86, 7eqtrd 2315 . . . . . . . 8  |-  ( b  e.  om  ->  (
( Q  |`  om ) `  b )  =  <. b ,  ( 2nd `  ( Q `  b )
) >. )
9 fvex 5539 . . . . . . . . 9  |-  ( 2nd `  ( Q `  b
) )  e.  _V
10 opelxpi 4721 . . . . . . . . 9  |-  ( ( b  e.  om  /\  ( 2nd `  ( Q `
 b ) )  e.  _V )  ->  <. b ,  ( 2nd `  ( Q `  b
) ) >.  e.  ( om  X.  _V )
)
119, 10mpan2 652 . . . . . . . 8  |-  ( b  e.  om  ->  <. b ,  ( 2nd `  ( Q `  b )
) >.  e.  ( om 
X.  _V ) )
128, 11eqeltrd 2357 . . . . . . 7  |-  ( b  e.  om  ->  (
( Q  |`  om ) `  b )  e.  ( om  X.  _V )
)
1312rgen 2608 . . . . . 6  |-  A. b  e.  om  ( ( Q  |`  om ) `  b
)  e.  ( om 
X.  _V )
14 ffnfv 5685 . . . . . 6  |-  ( ( Q  |`  om ) : om --> ( om  X.  _V )  <->  ( ( Q  |`  om )  Fn  om  /\ 
A. b  e.  om  ( ( Q  |`  om ) `  b )  e.  ( om  X.  _V ) ) )
155, 13, 14mpbir2an 886 . . . . 5  |-  ( Q  |`  om ) : om --> ( om  X.  _V )
16 frn 5395 . . . . 5  |-  ( ( Q  |`  om ) : om --> ( om  X.  _V )  ->  ran  ( Q  |`  om )  C_  ( om  X.  _V )
)
1715, 16ax-mp 8 . . . 4  |-  ran  ( Q  |`  om )  C_  ( om  X.  _V )
18 df-br 4024 . . . . . . . . . 10  |-  ( a ran  ( Q  |`  om ) b  <->  <. a ,  b >.  e.  ran  ( Q  |`  om )
)
19 fvelrnb 5570 . . . . . . . . . . 11  |-  ( ( Q  |`  om )  Fn  om  ->  ( <. a ,  b >.  e.  ran  ( Q  |`  om )  <->  E. c  e.  om  (
( Q  |`  om ) `  c )  =  <. a ,  b >. )
)
205, 19ax-mp 8 . . . . . . . . . 10  |-  ( <.
a ,  b >.  e.  ran  ( Q  |`  om )  <->  E. c  e.  om  ( ( Q  |`  om ) `  c )  =  <. a ,  b
>. )
21 fvres 5542 . . . . . . . . . . . 12  |-  ( c  e.  om  ->  (
( Q  |`  om ) `  c )  =  ( Q `  c ) )
2221eqeq1d 2291 . . . . . . . . . . 11  |-  ( c  e.  om  ->  (
( ( Q  |`  om ) `  c )  =  <. a ,  b
>. 
<->  ( Q `  c
)  =  <. a ,  b >. )
)
2322rexbiia 2576 . . . . . . . . . 10  |-  ( E. c  e.  om  (
( Q  |`  om ) `  c )  =  <. a ,  b >.  <->  E. c  e.  om  ( Q `  c )  =  <. a ,  b >. )
2418, 20, 233bitri 262 . . . . . . . . 9  |-  ( a ran  ( Q  |`  om ) b  <->  E. c  e.  om  ( Q `  c )  =  <. a ,  b >. )
252seqomlem1 6462 . . . . . . . . . . . . . . . 16  |-  ( c  e.  om  ->  ( Q `  c )  =  <. c ,  ( 2nd `  ( Q `
 c ) )
>. )
2625adantl 452 . . . . . . . . . . . . . . 15  |-  ( ( a  e.  om  /\  c  e.  om )  ->  ( Q `  c
)  =  <. c ,  ( 2nd `  ( Q `  c )
) >. )
2726eqeq1d 2291 . . . . . . . . . . . . . 14  |-  ( ( a  e.  om  /\  c  e.  om )  ->  ( ( Q `  c )  =  <. a ,  b >.  <->  <. c ,  ( 2nd `  ( Q `  c )
) >.  =  <. a ,  b >. )
)
28 vex 2791 . . . . . . . . . . . . . . 15  |-  c  e. 
_V
29 fvex 5539 . . . . . . . . . . . . . . 15  |-  ( 2nd `  ( Q `  c
) )  e.  _V
3028, 29opth1 4244 . . . . . . . . . . . . . 14  |-  ( <.
c ,  ( 2nd `  ( Q `  c
) ) >.  =  <. a ,  b >.  ->  c  =  a )
3127, 30syl6bi 219 . . . . . . . . . . . . 13  |-  ( ( a  e.  om  /\  c  e.  om )  ->  ( ( Q `  c )  =  <. a ,  b >.  ->  c  =  a ) )
32 fveq2 5525 . . . . . . . . . . . . . . 15  |-  ( c  =  a  ->  ( Q `  c )  =  ( Q `  a ) )
3332eqeq1d 2291 . . . . . . . . . . . . . 14  |-  ( c  =  a  ->  (
( Q `  c
)  =  <. a ,  b >.  <->  ( Q `  a )  =  <. a ,  b >. )
)
3433biimpd 198 . . . . . . . . . . . . 13  |-  ( c  =  a  ->  (
( Q `  c
)  =  <. a ,  b >.  ->  ( Q `  a )  =  <. a ,  b
>. ) )
3531, 34syli 33 . . . . . . . . . . . 12  |-  ( ( a  e.  om  /\  c  e.  om )  ->  ( ( Q `  c )  =  <. a ,  b >.  ->  ( Q `  a )  =  <. a ,  b
>. ) )
36 fveq2 5525 . . . . . . . . . . . . 13  |-  ( ( Q `  a )  =  <. a ,  b
>.  ->  ( 2nd `  ( Q `  a )
)  =  ( 2nd `  <. a ,  b
>. ) )
37 vex 2791 . . . . . . . . . . . . . 14  |-  a  e. 
_V
38 vex 2791 . . . . . . . . . . . . . 14  |-  b  e. 
_V
3937, 38op2nd 6129 . . . . . . . . . . . . 13  |-  ( 2nd `  <. a ,  b
>. )  =  b
4036, 39syl6req 2332 . . . . . . . . . . . 12  |-  ( ( Q `  a )  =  <. a ,  b
>.  ->  b  =  ( 2nd `  ( Q `
 a ) ) )
4135, 40syl6 29 . . . . . . . . . . 11  |-  ( ( a  e.  om  /\  c  e.  om )  ->  ( ( Q `  c )  =  <. a ,  b >.  ->  b  =  ( 2nd `  ( Q `  a )
) ) )
4241rexlimdva 2667 . . . . . . . . . 10  |-  ( a  e.  om  ->  ( E. c  e.  om  ( Q `  c )  =  <. a ,  b
>.  ->  b  =  ( 2nd `  ( Q `
 a ) ) ) )
432seqomlem1 6462 . . . . . . . . . . . 12  |-  ( a  e.  om  ->  ( Q `  a )  =  <. a ,  ( 2nd `  ( Q `
 a ) )
>. )
4432eqeq1d 2291 . . . . . . . . . . . . 13  |-  ( c  =  a  ->  (
( Q `  c
)  =  <. a ,  ( 2nd `  ( Q `  a )
) >. 
<->  ( Q `  a
)  =  <. a ,  ( 2nd `  ( Q `  a )
) >. ) )
4544rspcev 2884 . . . . . . . . . . . 12  |-  ( ( a  e.  om  /\  ( Q `  a )  =  <. a ,  ( 2nd `  ( Q `
 a ) )
>. )  ->  E. c  e.  om  ( Q `  c )  =  <. a ,  ( 2nd `  ( Q `  a )
) >. )
4643, 45mpdan 649 . . . . . . . . . . 11  |-  ( a  e.  om  ->  E. c  e.  om  ( Q `  c )  =  <. a ,  ( 2nd `  ( Q `  a )
) >. )
47 opeq2 3797 . . . . . . . . . . . . 13  |-  ( b  =  ( 2nd `  ( Q `  a )
)  ->  <. a ,  b >.  =  <. a ,  ( 2nd `  ( Q `  a )
) >. )
4847eqeq2d 2294 . . . . . . . . . . . 12  |-  ( b  =  ( 2nd `  ( Q `  a )
)  ->  ( ( Q `  c )  =  <. a ,  b
>. 
<->  ( Q `  c
)  =  <. a ,  ( 2nd `  ( Q `  a )
) >. ) )
4948rexbidv 2564 . . . . . . . . . . 11  |-  ( b  =  ( 2nd `  ( Q `  a )
)  ->  ( E. c  e.  om  ( Q `  c )  =  <. a ,  b
>. 
<->  E. c  e.  om  ( Q `  c )  =  <. a ,  ( 2nd `  ( Q `
 a ) )
>. ) )
5046, 49syl5ibrcom 213 . . . . . . . . . 10  |-  ( a  e.  om  ->  (
b  =  ( 2nd `  ( Q `  a
) )  ->  E. c  e.  om  ( Q `  c )  =  <. a ,  b >. )
)
5142, 50impbid 183 . . . . . . . . 9  |-  ( a  e.  om  ->  ( E. c  e.  om  ( Q `  c )  =  <. a ,  b
>. 
<->  b  =  ( 2nd `  ( Q `  a
) ) ) )
5224, 51syl5bb 248 . . . . . . . 8  |-  ( a  e.  om  ->  (
a ran  ( Q  |` 
om ) b  <->  b  =  ( 2nd `  ( Q `
 a ) ) ) )
5352alrimiv 1617 . . . . . . 7  |-  ( a  e.  om  ->  A. b
( a ran  ( Q  |`  om ) b  <-> 
b  =  ( 2nd `  ( Q `  a
) ) ) )
54 fvex 5539 . . . . . . . 8  |-  ( 2nd `  ( Q `  a
) )  e.  _V
55 eqeq2 2292 . . . . . . . . . 10  |-  ( c  =  ( 2nd `  ( Q `  a )
)  ->  ( b  =  c  <->  b  =  ( 2nd `  ( Q `
 a ) ) ) )
5655bibi2d 309 . . . . . . . . 9  |-  ( c  =  ( 2nd `  ( Q `  a )
)  ->  ( (
a ran  ( Q  |` 
om ) b  <->  b  =  c )  <->  ( a ran  ( Q  |`  om )
b  <->  b  =  ( 2nd `  ( Q `
 a ) ) ) ) )
5756albidv 1611 . . . . . . . 8  |-  ( c  =  ( 2nd `  ( Q `  a )
)  ->  ( A. b ( a ran  ( Q  |`  om )
b  <->  b  =  c )  <->  A. b ( a ran  ( Q  |`  om ) b  <->  b  =  ( 2nd `  ( Q `
 a ) ) ) ) )
5854, 57spcev 2875 . . . . . . 7  |-  ( A. b ( a ran  ( Q  |`  om )
b  <->  b  =  ( 2nd `  ( Q `
 a ) ) )  ->  E. c A. b ( a ran  ( Q  |`  om )
b  <->  b  =  c ) )
5953, 58syl 15 . . . . . 6  |-  ( a  e.  om  ->  E. c A. b ( a ran  ( Q  |`  om )
b  <->  b  =  c ) )
60 df-eu 2147 . . . . . 6  |-  ( E! b  a ran  ( Q  |`  om ) b  <->  E. c A. b ( a ran  ( Q  |`  om ) b  <->  b  =  c ) )
6159, 60sylibr 203 . . . . 5  |-  ( a  e.  om  ->  E! b  a ran  ( Q  |`  om ) b )
6261rgen 2608 . . . 4  |-  A. a  e.  om  E! b  a ran  ( Q  |`  om ) b
63 dff3 5673 . . . 4  |-  ( ran  ( Q  |`  om ) : om --> _V  <->  ( ran  ( Q  |`  om )  C_  ( om  X.  _V )  /\  A. a  e.  om  E! b  a ran  ( Q  |`  om )
b ) )
6417, 62, 63mpbir2an 886 . . 3  |-  ran  ( Q  |`  om ) : om --> _V
65 df-ima 4702 . . . 4  |-  ( Q
" om )  =  ran  ( Q  |`  om )
6665feq1i 5383 . . 3  |-  ( ( Q " om ) : om --> _V  <->  ran  ( Q  |`  om ) : om --> _V )
6764, 66mpbir 200 . 2  |-  ( Q
" om ) : om --> _V
68 dffn2 5390 . 2  |-  ( ( Q " om )  Fn  om  <->  ( Q " om ) : om --> _V )
6967, 68mpbir 200 1  |-  ( Q
" om )  Fn 
om
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358   A.wal 1527   E.wex 1528    = wceq 1623    e. wcel 1684   E!weu 2143   A.wral 2543   E.wrex 2544   _Vcvv 2788    C_ wss 3152   (/)c0 3455   <.cop 3643   class class class wbr 4023    _I cid 4304   suc csuc 4394   omcom 4656    X. cxp 4687   ran crn 4690    |` cres 4691   "cima 4692    Fn wfn 5250   -->wf 5251   ` cfv 5255  (class class class)co 5858    e. cmpt2 5860   2ndc2nd 6121   reccrdg 6422
This theorem is referenced by:  seqomlem3  6464  seqomlem4  6465  fnseqom  6467
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-2nd 6123  df-recs 6388  df-rdg 6423
  Copyright terms: Public domain W3C validator