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

Theorem frecuzrdgsuctlem 10358
Description: Successor value of a recursive definition generator on upper integers. See comment in frec2uz0d 10334 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 10356 . . . . 5  |-  ( ph  ->  P : ( ZZ>= `  C ) --> S )
87adantr 274 . . . 4  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  P :
( ZZ>= `  C ) --> S )
9 ffun 5340 . . . 4  |-  ( P : ( ZZ>= `  C
) --> S  ->  Fun  P )
108, 9syl 14 . . 3  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  Fun  P )
11 1st2nd2 6143 . . . . . . . . . . . . . . 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 5490 . . . . . . . . . . . . 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 5845 . . . . . . . . . . . . 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 2217 . . . . . . . . . . . 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 6133 . . . . . . . . . . . . . 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 480 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  S  C_  T
)
19 xp2nd 6134 . . . . . . . . . . . . . . 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 3143 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( 2nd `  z )  e.  T
)
22 peano2uz 9521 . . . . . . . . . . . . . . 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 5850 . . . . . . . . . . . . . . . 16  |-  ( y  =  ( 2nd `  z
)  ->  ( ( 1st `  z ) F y )  =  ( ( 1st `  z
) F ( 2nd `  z ) ) )
2524eleq1d 2235 . . . . . . . . . . . . . . 15  |-  ( y  =  ( 2nd `  z
)  ->  ( (
( 1st `  z
) F y )  e.  S  <->  ( ( 1st `  z ) F ( 2nd `  z
) )  e.  S
) )
26 oveq1 5849 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  ( 1st `  z
)  ->  ( x F y )  =  ( ( 1st `  z
) F y ) )
2726eleq1d 2235 . . . . . . . . . . . . . . . . 17  |-  ( x  =  ( 1st `  z
)  ->  ( (
x F y )  e.  S  <->  ( ( 1st `  z ) F y )  e.  S
) )
2827ralbidv 2466 . . . . . . . . . . . . . . . 16  |-  ( x  =  ( 1st `  z
)  ->  ( A. y  e.  S  (
x F y )  e.  S  <->  A. y  e.  S  ( ( 1st `  z ) F y )  e.  S
) )
294ralrimivva 2548 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  A. x  e.  (
ZZ>= `  C ) A. y  e.  S  (
x F y )  e.  S )
3029ad2antrr 480 . . . . . . . . . . . . . . . 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 2835 . . . . . . . . . . . . . . 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 2835 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  B  e.  ( ZZ>= `  C )
)  /\  z  e.  ( ( ZZ>= `  C
)  X.  S ) )  ->  ( ( 1st `  z ) F ( 2nd `  z
) )  e.  S
)
33 opelxpi 4636 . . . . . . . . . . . . . 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 5849 . . . . . . . . . . . . . . 15  |-  ( x  =  ( 1st `  z
)  ->  ( x  +  1 )  =  ( ( 1st `  z
)  +  1 ) )
3635, 26opeq12d 3766 . . . . . . . . . . . . . 14  |-  ( x  =  ( 1st `  z
)  ->  <. ( x  +  1 ) ,  ( x F y ) >.  =  <. ( ( 1st `  z
)  +  1 ) ,  ( ( 1st `  z ) F y ) >. )
3724opeq2d 3765 . . . . . . . . . . . . . 14  |-  ( y  =  ( 2nd `  z
)  ->  <. ( ( 1st `  z )  +  1 ) ,  ( ( 1st `  z
) F y )
>.  =  <. ( ( 1st `  z )  +  1 ) ,  ( ( 1st `  z
) F ( 2nd `  z ) ) >.
)
38 eqid 2165 . . . . . . . . . . . . . 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 5976 . . . . . . . . . . . . 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 1228 . . . . . . . . . . . 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 2198 . . . . . . . . . . 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 2243 . . . . . . . . . 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 2539 . . . . . . . . 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 9480 . . . . . . . . . . . 12  |-  ( C  e.  ZZ  ->  C  e.  ( ZZ>= `  C )
)
451, 44syl 14 . . . . . . . . . . 11  |-  ( ph  ->  C  e.  ( ZZ>= `  C ) )
46 opelxpi 4636 . . . . . . . . . . 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 10341 . . . . . . . . . 10  |-  ( ph  ->  G : om -1-1-onto-> ( ZZ>= `  C )
)
51 f1ocnvdm 5749 . . . . . . . . . 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 6375 . . . . . . . . 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 1228 . . . . . . . 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 5487 . . . . . . . 8  |-  ( R `
 suc  ( `' G `  B )
)  =  (frec ( ( x  e.  (
ZZ>= `  C ) ,  y  e.  T  |->  <.
( x  +  1 ) ,  ( x F y ) >.
) ,  <. C ,  A >. ) `  suc  ( `' G `  B ) )
565fveq1i 5487 . . . . . . . . 9  |-  ( R `
 ( `' G `  B ) )  =  (frec ( ( x  e.  ( ZZ>= `  C
) ,  y  e.  T  |->  <. ( x  + 
1 ) ,  ( x F y )
>. ) ,  <. C ,  A >. ) `  ( `' G `  B ) )
5756fveq2i 5489 . . . . . . . 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 2224 . . . . . . 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 10350 . . . . . . . . . . . 12  |-  ( ph  ->  R : om --> ( (
ZZ>= `  C )  X.  S ) )
6059adantr 274 . . . . . . . . . . 11  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  R : om
--> ( ( ZZ>= `  C
)  X.  S ) )
6160, 52ffvelrnd 5621 . . . . . . . . . 10  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  ( `' G `  B ) )  e.  ( ( ZZ>= `  C
)  X.  S ) )
62 1st2nd2 6143 . . . . . . . . . 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 469 . . . . . . . . . . . 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 10351 . . . . . . . . . . 11  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( 1st `  ( R `  ( `' G `  B ) ) )  =  ( G `  ( `' G `  B ) ) )
69 f1ocnvfv2 5746 . . . . . . . . . . . 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 2198 . . . . . . . . . 10  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( 1st `  ( R `  ( `' G `  B ) ) )  =  B )
7271opeq1d 3764 . . . . . . . . 9  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. ( 1st `  ( R `  ( `' G `  B ) ) ) ,  ( 2nd `  ( R `
 ( `' G `  B ) ) )
>.  =  <. B , 
( 2nd `  ( R `  ( `' G `  B )
) ) >. )
7363, 72eqtrd 2198 . . . . . . . 8  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  ( `' G `  B ) )  = 
<. B ,  ( 2nd `  ( R `  ( `' G `  B ) ) ) >. )
7473fveq2d 5490 . . . . . . 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 2198 . . . . . 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 5845 . . . . . 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 2217 . . . . 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 6134 . . . . . . . 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 3143 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( 2nd `  ( R `  ( `' G `  B ) ) )  e.  T
)
82 peano2uz 9521 . . . . . . . 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 5995 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) )  e.  S )
85 opelxp 4634 . . . . . . 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 414 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) >.  e.  (
( ZZ>= `  C )  X.  S ) )
87 oveq1 5849 . . . . . . . 8  |-  ( x  =  B  ->  (
x  +  1 )  =  ( B  + 
1 ) )
88 oveq1 5849 . . . . . . . 8  |-  ( x  =  B  ->  (
x F y )  =  ( B F y ) )
8987, 88opeq12d 3766 . . . . . . 7  |-  ( x  =  B  ->  <. (
x  +  1 ) ,  ( x F y ) >.  =  <. ( B  +  1 ) ,  ( B F y ) >. )
90 oveq2 5850 . . . . . . . 8  |-  ( y  =  ( 2nd `  ( R `  ( `' G `  B )
) )  ->  ( B F y )  =  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) )
9190opeq2d 3765 . . . . . . 7  |-  ( y  =  ( 2nd `  ( R `  ( `' G `  B )
) )  ->  <. ( B  +  1 ) ,  ( B F y ) >.  =  <. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) ) >.
)
9289, 91, 38ovmpog 5976 . . . . . 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 1228 . . . . 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 2198 . . . 4  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  suc  ( `' G `  B ) )  = 
<. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `  ( `' G `  B )
) ) ) >.
)
95 ffun 5340 . . . . . . 7  |-  ( R : om --> ( (
ZZ>= `  C )  X.  S )  ->  Fun  R )
9660, 95syl 14 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  Fun  R )
97 peano2 4572 . . . . . . . 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 5343 . . . . . . . 8  |-  ( R : om --> ( (
ZZ>= `  C )  X.  S )  ->  dom  R  =  om )
10060, 99syl 14 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  dom  R  =  om )
10198, 100eleqtrrd 2246 . . . . . 6  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  suc  ( `' G `  B )  e.  dom  R )
102 fvelrn 5616 . . . . . 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 2246 . . . 4  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  suc  ( `' G `  B ) )  e.  P )
10694, 105eqeltrrd 2244 . . 3  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. ( B  +  1 ) ,  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) >.  e.  P
)
107 funopfv 5526 . . 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 2246 . . . . . . 7  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( `' G `  B )  e.  dom  R )
110 fvelrn 5616 . . . . . . 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 2246 . . . . 5  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( R `  ( `' G `  B ) )  e.  P )
11373, 112eqeltrrd 2244 . . . 4  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  <. B , 
( 2nd `  ( R `  ( `' G `  B )
) ) >.  e.  P
)
114 funopfv 5526 . . . 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 5858 . 2  |-  ( (
ph  /\  B  e.  ( ZZ>= `  C )
)  ->  ( B F ( P `  B ) )  =  ( B F ( 2nd `  ( R `
 ( `' G `  B ) ) ) ) )
117108, 116eqtr4d 2201 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 1343    e. wcel 2136   A.wral 2444    C_ wss 3116   <.cop 3579    |-> cmpt 4043   suc csuc 4343   omcom 4567    X. cxp 4602   `'ccnv 4603   dom cdm 4604   ran crn 4605   Fun wfun 5182   -->wf 5184   -1-1-onto->wf1o 5187   ` cfv 5188  (class class class)co 5842    e. cmpo 5844   1stc1st 6106   2ndc2nd 6107  freccfrec 6358   1c1 7754    + caddc 7756   ZZcz 9191   ZZ>=cuz 9466
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 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-addcom 7853  ax-addass 7855  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-0id 7861  ax-rnegex 7862  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-ltadd 7869
This theorem depends on definitions:  df-bi 116  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-frec 6359  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-inn 8858  df-n0 9115  df-z 9192  df-uz 9467
This theorem is referenced by:  frecuzrdgsuct  10359
  Copyright terms: Public domain W3C validator