ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  frecuzrdgsuctlem Unicode version

Theorem frecuzrdgsuctlem 10379
Description: Successor value of a recursive definition generator on upper integers. See comment in frec2uz0d 10355 for the description of  G as the mapping from  om to  ( ZZ>= `  C ). (Contributed by Jim Kingdon, 29-Apr-2022.)
Hypotheses
Ref Expression
frecuzrdgrclt.c  |-  ( ph  ->  C  e.  ZZ )
frecuzrdgrclt.a  |-  ( ph  ->  A  e.  S )
frecuzrdgrclt.t  |-  ( ph  ->  S  C_  T )
frecuzrdgrclt.f  |-  ( (
ph  /\  ( x  e.  ( ZZ>= `  C )  /\  y  e.  S
) )  ->  (
x F y )  e.  S )
frecuzrdgrclt.r  |-  R  = frec ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |-> 
<. ( x  +  1 ) ,  ( x F y ) >.
) ,  <. C ,  A >. )
frecuzrdgsuctlem.g  |-  G  = frec ( ( x  e.  ZZ  |->  ( x  + 
1 ) ) ,  C )
frecuzrdgsuctlem.ran  |-  ( ph  ->  P  =  ran  R
)
Assertion
Ref Expression
frecuzrdgsuctlem  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( P `  ( B  +  1 ) )  =  ( B F ( P `
 B ) ) )
Distinct variable groups:    x, C, y   
x, F, y    x, S, y    x, T, y    ph, x, y    x, B, y    x, G, y   
x, R, y
Allowed substitution hints:    A( x, y)    P( x, y)

Proof of Theorem frecuzrdgsuctlem
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 frecuzrdgrclt.c . . . . . 6  |-  ( ph  ->  C  e.  ZZ )
2 frecuzrdgrclt.a . . . . . 6  |-  ( ph  ->  A  e.  S )
3 frecuzrdgrclt.t . . . . . 6  |-  ( ph  ->  S  C_  T )
4 frecuzrdgrclt.f . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( ZZ>= `  C )  /\  y  e.  S
) )  ->  (
x F y )  e.  S )
5 frecuzrdgrclt.r . . . . . 6  |-  R  = frec ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |-> 
<. ( x  +  1 ) ,  ( x F y ) >.
) ,  <. C ,  A >. )
6 frecuzrdgsuctlem.ran . . . . . 6  |-  ( ph  ->  P  =  ran  R
)
71, 2, 3, 4, 5, 6frecuzrdgtclt 10377 . . . . 5  |-  ( ph  ->  P : ( ZZ>= `  C ) --> S )
87adantr 274 . . . 4  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  P :
( ZZ>= `  C ) --> S )
9 ffun 5350 . . . 4  |-  ( P : ( ZZ>= `  C
) --> S  ->  Fun  P )
108, 9syl 14 . . 3  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  Fun  P )
11 1st2nd2 6154 . . . . . . . . . . . . . . 15  |-  ( z  e.  ( ( ZZ>= `  C )  X.  S
)  ->  z  =  <. ( 1st `  z
) ,  ( 2nd `  z ) >. )
1211adantl 275 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  z  =  <. ( 1st `  z
) ,  ( 2nd `  z ) >. )
1312fveq2d 5500 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( (
x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  z )  =  ( ( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) `  <. ( 1st `  z ) ,  ( 2nd `  z )
>. ) )
14 df-ov 5856 . . . . . . . . . . . . 13  |-  ( ( 1st `  z ) ( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) ( 2nd `  z
) )  =  ( ( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) `  <. ( 1st `  z ) ,  ( 2nd `  z )
>. )
1513, 14eqtr4di 2221 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( (
x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  z )  =  ( ( 1st `  z
) ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |-> 
<. ( x  +  1 ) ,  ( x F y ) >.
) ( 2nd `  z
) ) )
16 xp1st 6144 . . . . . . . . . . . . . 14  |-  ( z  e.  ( ( ZZ>= `  C )  X.  S
)  ->  ( 1st `  z )  e.  (
ZZ>= `  C ) )
1716adantl 275 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( 1st `  z )  e.  (
ZZ>= `  C ) )
183ad2antrr 485 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  S  C_  T
)
19 xp2nd 6145 . . . . . . . . . . . . . . 15  |-  ( z  e.  ( ( ZZ>= `  C )  X.  S
)  ->  ( 2nd `  z )  e.  S
)
2019adantl 275 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( 2nd `  z )  e.  S
)
2118, 20sseldd 3148 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( 2nd `  z )  e.  T
)
22 peano2uz 9542 . . . . . . . . . . . . . . 15  |-  ( ( 1st `  z )  e.  ( ZZ>= `  C
)  ->  ( ( 1st `  z )  +  1 )  e.  (
ZZ>= `  C ) )
2317, 22syl 14 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( ( 1st `  z )  +  1 )  e.  (
ZZ>= `  C ) )
24 oveq2 5861 . . . . . . . . . . . . . . . 16  |-  ( y  =  ( 2nd `  z
)  ->  ( ( 1st `  z ) F y )  =  ( ( 1st `  z
) F ( 2nd `  z ) ) )
2524eleq1d 2239 . . . . . . . . . . . . . . 15  |-  ( y  =  ( 2nd `  z
)  ->  ( (
( 1st `  z
) F y )  e.  S  <->  ( ( 1st `  z ) F ( 2nd `  z
) )  e.  S
) )
26 oveq1 5860 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  ( 1st `  z
)  ->  ( x F y )  =  ( ( 1st `  z
) F y ) )
2726eleq1d 2239 . . . . . . . . . . . . . . . . 17  |-  ( x  =  ( 1st `  z
)  ->  ( (
x F y )  e.  S  <->  ( ( 1st `  z ) F y )  e.  S
) )
2827ralbidv 2470 . . . . . . . . . . . . . . . 16  |-  ( x  =  ( 1st `  z
)  ->  ( A. y  e.  S  (
x F y )  e.  S  <->  A. y  e.  S  ( ( 1st `  z ) F y )  e.  S
) )
294ralrimivva 2552 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  A. x  e.  (
ZZ>= `  C ) A. y  e.  S  (
x F y )  e.  S )
3029ad2antrr 485 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  A. x  e.  ( ZZ>= `  C ) A. y  e.  S  ( x F y )  e.  S )
3128, 30, 17rspcdva 2839 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  A. y  e.  S  ( ( 1st `  z ) F y )  e.  S
)
3225, 31, 20rspcdva 2839 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( ( 1st `  z ) F ( 2nd `  z
) )  e.  S
)
33 opelxpi 4643 . . . . . . . . . . . . . 14  |-  ( ( ( ( 1st `  z
)  +  1 )  e.  ( ZZ>= `  C
)  /\  ( ( 1st `  z ) F ( 2nd `  z
) )  e.  S
)  ->  <. ( ( 1st `  z )  +  1 ) ,  ( ( 1st `  z
) F ( 2nd `  z ) ) >.  e.  ( ( ZZ>= `  C
)  X.  S ) )
3423, 32, 33syl2anc 409 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  <. ( ( 1st `  z )  +  1 ) ,  ( ( 1st `  z
) F ( 2nd `  z ) ) >.  e.  ( ( ZZ>= `  C
)  X.  S ) )
35 oveq1 5860 . . . . . . . . . . . . . . 15  |-  ( x  =  ( 1st `  z
)  ->  ( x  +  1 )  =  ( ( 1st `  z
)  +  1 ) )
3635, 26opeq12d 3773 . . . . . . . . . . . . . 14  |-  ( x  =  ( 1st `  z
)  ->  <. ( x  +  1 ) ,  ( x F y ) >.  =  <. ( ( 1st `  z
)  +  1 ) ,  ( ( 1st `  z ) F y ) >. )
3724opeq2d 3772 . . . . . . . . . . . . . 14  |-  ( y  =  ( 2nd `  z
)  ->  <. ( ( 1st `  z )  +  1 ) ,  ( ( 1st `  z
) F y )
>.  =  <. ( ( 1st `  z )  +  1 ) ,  ( ( 1st `  z
) F ( 2nd `  z ) ) >.
)
38 eqid 2170 . . . . . . . . . . . . . 14  |-  ( x  e.  ( ZZ>= `  C
) ,  y  e.  T  |->  <. ( x  + 
1 ) ,  ( x F y )
>. )  =  (
x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. )
3936, 37, 38ovmpog 5987 . . . . . . . . . . . . 13  |-  ( ( ( 1st `  z
)  e.  ( ZZ>= `  C )  /\  ( 2nd `  z )  e.  T  /\  <. (
( 1st `  z
)  +  1 ) ,  ( ( 1st `  z ) F ( 2nd `  z ) ) >.  e.  (
( ZZ>= `  C )  X.  S ) )  -> 
( ( 1st `  z
) ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |-> 
<. ( x  +  1 ) ,  ( x F y ) >.
) ( 2nd `  z
) )  =  <. ( ( 1st `  z
)  +  1 ) ,  ( ( 1st `  z ) F ( 2nd `  z ) ) >. )
4017, 21, 34, 39syl3anc 1233 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( ( 1st `  z ) ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. )
( 2nd `  z
) )  =  <. ( ( 1st `  z
)  +  1 ) ,  ( ( 1st `  z ) F ( 2nd `  z ) ) >. )
4115, 40eqtrd 2203 . . . . . . . . . . 11  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( (
x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  z )  =  <. ( ( 1st `  z
)  +  1 ) ,  ( ( 1st `  z ) F ( 2nd `  z ) ) >. )
4241, 34eqeltrd 2247 . . . . . . . . . 10  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( (
x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  z )  e.  ( ( ZZ>= `  C )  X.  S ) )
4342ralrimiva 2543 . . . . . . . . 9  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  A. z  e.  ( ( ZZ>= `  C
)  X.  S ) ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |-> 
<. ( x  +  1 ) ,  ( x F y ) >.
) `  z )  e.  ( ( ZZ>= `  C
)  X.  S ) )
44 uzid 9501 . . . . . . . . . . . 12  |-  ( C  e.  ZZ  ->  C  e.  ( ZZ>= `  C )
)
451, 44syl 14 . . . . . . . . . . 11  |-  ( ph  ->  C  e.  ( ZZ>= `  C ) )
46 opelxpi 4643 . . . . . . . . . . 11  |-  ( ( C  e.  ( ZZ>= `  C )  /\  A  e.  S )  ->  <. C ,  A >.  e.  ( (
ZZ>= `  C )  X.  S ) )
4745, 2, 46syl2anc 409 . . . . . . . . . 10  |-  ( ph  -> 
<. C ,  A >.  e.  ( ( ZZ>= `  C
)  X.  S ) )
4847adantr 274 . . . . . . . . 9  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. C ,  A >.  e.  ( (
ZZ>= `  C )  X.  S ) )
49 frecuzrdgsuctlem.g . . . . . . . . . . 11  |-  G  = frec ( ( x  e.  ZZ  |->  ( x  + 
1 ) ) ,  C )
501, 49frec2uzf1od 10362 . . . . . . . . . 10  |-  ( ph  ->  G : om -1-1-onto-> ( ZZ>= `  C )
)
51 f1ocnvdm 5760 . . . . . . . . . 10  |-  ( ( G : om -1-1-onto-> ( ZZ>= `  C )  /\  B  e.  ( ZZ>=
`  C ) )  ->  ( `' G `  B )  e.  om )
5250, 51sylan 281 . . . . . . . . 9  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( `' G `  B )  e.  om )
53 frecsuc 6386 . . . . . . . . 9  |-  ( ( A. z  e.  ( ( ZZ>= `  C )  X.  S ) ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  z )  e.  ( ( ZZ>= `  C )  X.  S )  /\  <. C ,  A >.  e.  ( ( ZZ>= `  C )  X.  S )  /\  ( `' G `  B )  e.  om )  -> 
(frec ( ( x  e.  ( ZZ>= `  C
) ,  y  e.  T  |->  <. ( x  + 
1 ) ,  ( x F y )
>. ) ,  <. C ,  A >. ) `  suc  ( `' G `  B ) )  =  ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  (frec ( ( x  e.  ( ZZ>= `  C
) ,  y  e.  T  |->  <. ( x  + 
1 ) ,  ( x F y )
>. ) ,  <. C ,  A >. ) `  ( `' G `  B ) ) ) )
5443, 48, 52, 53syl3anc 1233 . . . . . . . 8  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  (frec (
( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) ,  <. C ,  A >. ) `  suc  ( `' G `  B ) )  =  ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  (frec ( ( x  e.  ( ZZ>= `  C
) ,  y  e.  T  |->  <. ( x  + 
1 ) ,  ( x F y )
>. ) ,  <. C ,  A >. ) `  ( `' G `  B ) ) ) )
555fveq1i 5497 . . . . . . . 8  |-  ( R `
 suc  ( `' G `  B )
)  =  (frec ( ( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) ,  <. C ,  A >. ) `  suc  ( `' G `  B ) )
565fveq1i 5497 . . . . . . . . 9  |-  ( R `
 ( `' G `  B ) )  =  (frec ( ( x  e.  ( ZZ>= `  C
) ,  y  e.  T  |->  <. ( x  + 
1 ) ,  ( x F y )
>. ) ,  <. C ,  A >. ) `  ( `' G `  B ) )
5756fveq2i 5499 . . . . . . . 8  |-  ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  ( R `  ( `' G `  B ) ) )  =  ( ( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) `  (frec (
( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) ,  <. C ,  A >. ) `  ( `' G `  B ) ) )
5854, 55, 573eqtr4g 2228 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  suc  ( `' G `  B ) )  =  ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |-> 
<. ( x  +  1 ) ,  ( x F y ) >.
) `  ( R `  ( `' G `  B ) ) ) )
591, 2, 3, 4, 5frecuzrdgrclt 10371 . . . . . . . . . . . 12  |-  ( ph  ->  R : om --> ( (
ZZ>= `  C )  X.  S ) )
6059adantr 274 . . . . . . . . . . 11  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  R : om
--> ( ( ZZ>= `  C
)  X.  S ) )
6160, 52ffvelrnd 5632 . . . . . . . . . 10  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  ( `' G `  B ) )  e.  ( ( ZZ>= `  C
)  X.  S ) )
62 1st2nd2 6154 . . . . . . . . . 10  |-  ( ( R `  ( `' G `  B ) )  e.  ( (
ZZ>= `  C )  X.  S )  ->  ( R `  ( `' G `  B )
)  =  <. ( 1st `  ( R `  ( `' G `  B ) ) ) ,  ( 2nd `  ( R `
 ( `' G `  B ) ) )
>. )
6361, 62syl 14 . . . . . . . . 9  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  ( `' G `  B ) )  = 
<. ( 1st `  ( R `  ( `' G `  B )
) ) ,  ( 2nd `  ( R `
 ( `' G `  B ) ) )
>. )
641adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  C  e.  ZZ )
652adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  A  e.  S )
663adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  S  C_  T
)
674adantlr 474 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  ( x  e.  ( ZZ>= `  C )  /\  y  e.  S
) )  ->  (
x F y )  e.  S )
6864, 65, 66, 67, 5, 52, 49frecuzrdgg 10372 . . . . . . . . . . 11  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( 1st `  ( R `  ( `' G `  B ) ) )  =  ( G `  ( `' G `  B ) ) )
69 f1ocnvfv2 5757 . . . . . . . . . . . 12  |-  ( ( G : om -1-1-onto-> ( ZZ>= `  C )  /\  B  e.  ( ZZ>=
`  C ) )  ->  ( G `  ( `' G `  B ) )  =  B )
7050, 69sylan 281 . . . . . . . . . . 11  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( G `  ( `' G `  B ) )  =  B )
7168, 70eqtrd 2203 . . . . . . . . . 10  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( 1st `  ( R `  ( `' G `  B ) ) )  =  B )
7271opeq1d 3771 . . . . . . . . 9  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. ( 1st `  ( R `  ( `' G `  B ) ) ) ,  ( 2nd `  ( R `
 ( `' G `  B ) ) )
>.  =  <. B , 
( 2nd `  ( R `  ( `' G `  B )
) ) >. )
7363, 72eqtrd 2203 . . . . . . . 8  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  ( `' G `  B ) )  = 
<. B ,  ( 2nd `  ( R `  ( `' G `  B ) ) ) >. )
7473fveq2d 5500 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( (
x  e.  ( ZZ>= `  C ) ,  y  e.  T  |->  <. (
x  +  1 ) ,  ( x F y ) >. ) `  ( R `  ( `' G `  B ) ) )  =  ( ( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) `  <. B , 
( 2nd `  ( R `  ( `' G `  B )
) ) >. )
)
7558, 74eqtrd 2203 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  suc  ( `' G `  B ) )  =  ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |-> 
<. ( x  +  1 ) ,  ( x F y ) >.
) `  <. B , 
( 2nd `  ( R `  ( `' G `  B )
) ) >. )
)
76 df-ov 5856 . . . . . 6  |-  ( B ( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) ( 2nd `  ( R `  ( `' G `  B )
) ) )  =  ( ( x  e.  ( ZZ>= `  C ) ,  y  e.  T  |-> 
<. ( x  +  1 ) ,  ( x F y ) >.
) `  <. B , 
( 2nd `  ( R `  ( `' G `  B )
) ) >. )
7775, 76eqtr4di 2221 . . . . 5  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  suc  ( `' G `  B ) )  =  ( B ( x  e.  ( ZZ>= `  C
) ,  y  e.  T  |->  <. ( x  + 
1 ) ,  ( x F y )
>. ) ( 2nd `  ( R `  ( `' G `  B )
) ) ) )
78 simpr 109 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  B  e.  ( ZZ>= `  C )
)
79 xp2nd 6145 . . . . . . . 8  |-  ( ( R `  ( `' G `  B ) )  e.  ( (
ZZ>= `  C )  X.  S )  ->  ( 2nd `  ( R `  ( `' G `  B ) ) )  e.  S
)
8061, 79syl 14 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( 2nd `  ( R `  ( `' G `  B ) ) )  e.  S
)
8166, 80sseldd 3148 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( 2nd `  ( R `  ( `' G `  B ) ) )  e.  T
)
82 peano2uz 9542 . . . . . . . 8  |-  ( B  e.  ( ZZ>= `  C
)  ->  ( B  +  1 )  e.  ( ZZ>= `  C )
)
8382adantl 275 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( B  +  1 )  e.  ( ZZ>= `  C )
)
8467, 78, 80caovcld 6006 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) )  e.  S )
85 opelxp 4641 . . . . . . 7  |-  ( <.
( B  +  1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) ) >.  e.  ( ( ZZ>= `  C
)  X.  S )  <-> 
( ( B  + 
1 )  e.  (
ZZ>= `  C )  /\  ( B F ( 2nd `  ( R `  ( `' G `  B ) ) ) )  e.  S ) )
8683, 84, 85sylanbrc 415 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) >.  e.  (
( ZZ>= `  C )  X.  S ) )
87 oveq1 5860 . . . . . . . 8  |-  ( x  =  B  ->  (
x  +  1 )  =  ( B  + 
1 ) )
88 oveq1 5860 . . . . . . . 8  |-  ( x  =  B  ->  (
x F y )  =  ( B F y ) )
8987, 88opeq12d 3773 . . . . . . 7  |-  ( x  =  B  ->  <. (
x  +  1 ) ,  ( x F y ) >.  =  <. ( B  +  1 ) ,  ( B F y ) >. )
90 oveq2 5861 . . . . . . . 8  |-  ( y  =  ( 2nd `  ( R `  ( `' G `  B )
) )  ->  ( B F y )  =  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) )
9190opeq2d 3772 . . . . . . 7  |-  ( y  =  ( 2nd `  ( R `  ( `' G `  B )
) )  ->  <. ( B  +  1 ) ,  ( B F y ) >.  =  <. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) ) >.
)
9289, 91, 38ovmpog 5987 . . . . . 6  |-  ( ( B  e.  ( ZZ>= `  C )  /\  ( 2nd `  ( R `  ( `' G `  B ) ) )  e.  T  /\  <. ( B  + 
1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B ) ) ) ) >.  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( B
( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) ( 2nd `  ( R `  ( `' G `  B )
) ) )  = 
<. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) ) >.
)
9378, 81, 86, 92syl3anc 1233 . . . . 5  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( B
( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) ( 2nd `  ( R `  ( `' G `  B )
) ) )  = 
<. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) ) >.
)
9477, 93eqtrd 2203 . . . 4  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  suc  ( `' G `  B ) )  = 
<. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) ) >.
)
95 ffun 5350 . . . . . . 7  |-  ( R : om --> ( (
ZZ>= `  C )  X.  S )  ->  Fun  R )
9660, 95syl 14 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  Fun  R )
97 peano2 4579 . . . . . . . 8  |-  ( ( `' G `  B )  e.  om  ->  suc  ( `' G `  B )  e.  om )
9852, 97syl 14 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  suc  ( `' G `  B )  e.  om )
99 fdm 5353 . . . . . . . 8  |-  ( R : om --> ( (
ZZ>= `  C )  X.  S )  ->  dom  R  =  om )
10060, 99syl 14 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  dom  R  =  om )
10198, 100eleqtrrd 2250 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  suc  ( `' G `  B )  e.  dom  R )
102 fvelrn 5627 . . . . . 6  |-  ( ( Fun  R  /\  suc  ( `' G `  B )  e.  dom  R )  ->  ( R `  suc  ( `' G `  B ) )  e. 
ran  R )
10396, 101, 102syl2anc 409 . . . . 5  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  suc  ( `' G `  B ) )  e. 
ran  R )
1046adantr 274 . . . . 5  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  P  =  ran  R )
105103, 104eleqtrrd 2250 . . . 4  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  suc  ( `' G `  B ) )  e.  P )
10694, 105eqeltrrd 2248 . . 3  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) >.  e.  P
)
107 funopfv 5536 . . 3  |-  ( Fun 
P  ->  ( <. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) ) >.  e.  P  ->  ( P `
 ( B  + 
1 ) )  =  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) ) )
10810, 106, 107sylc 62 . 2  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( P `  ( B  +  1 ) )  =  ( B F ( 2nd `  ( R `  ( `' G `  B ) ) ) ) )
10952, 100eleqtrrd 2250 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( `' G `  B )  e.  dom  R )
110 fvelrn 5627 . . . . . . 7  |-  ( ( Fun  R  /\  ( `' G `  B )  e.  dom  R )  ->  ( R `  ( `' G `  B ) )  e.  ran  R
)
11196, 109, 110syl2anc 409 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  ( `' G `  B ) )  e. 
ran  R )
112111, 104eleqtrrd 2250 . . . . 5  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  ( `' G `  B ) )  e.  P )
11373, 112eqeltrrd 2248 . . . 4  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. B , 
( 2nd `  ( R `  ( `' G `  B )
) ) >.  e.  P
)
114 funopfv 5536 . . . 4  |-  ( Fun 
P  ->  ( <. B ,  ( 2nd `  ( R `  ( `' G `  B )
) ) >.  e.  P  ->  ( P `  B
)  =  ( 2nd `  ( R `  ( `' G `  B ) ) ) ) )
11510, 113, 114sylc 62 . . 3  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( P `  B )  =  ( 2nd `  ( R `
 ( `' G `  B ) ) ) )
116115oveq2d 5869 . 2  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( B F ( P `  B ) )  =  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) )
117108, 116eqtr4d 2206 1  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( P `  ( B  +  1 ) )  =  ( B F ( P `
 B ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    = wceq 1348    e. wcel 2141   A.wral 2448    C_ wss 3121   <.cop 3586    |-> cmpt 4050   suc csuc 4350   omcom 4574    X. cxp 4609   `'ccnv 4610   dom cdm 4611   ran crn 4612   Fun wfun 5192   -->wf 5194   -1-1-onto->wf1o 5197   ` cfv 5198  (class class class)co 5853    e. cmpo 5855   1stc1st 6117   2ndc2nd 6118  freccfrec 6369   1c1 7775    + caddc 7777   ZZcz 9212   ZZ>=cuz 9487
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-1re 7868  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-addcom 7874  ax-addass 7876  ax-distr 7878  ax-i2m1 7879  ax-0lt1 7880  ax-0id 7882  ax-rnegex 7883  ax-cnre 7885  ax-pre-ltirr 7886  ax-pre-ltwlin 7887  ax-pre-lttrn 7888  ax-pre-ltadd 7890
This theorem depends on definitions:  df-bi 116  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-ilim 4354  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-frec 6370  df-pnf 7956  df-mnf 7957  df-xr 7958  df-ltxr 7959  df-le 7960  df-sub 8092  df-neg 8093  df-inn 8879  df-n0 9136  df-z 9213  df-uz 9488
This theorem is referenced by:  frecuzrdgsuct  10380
  Copyright terms: Public domain W3C validator