Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  frrlem4 Unicode version

Theorem frrlem4 24284
Description: Lemma for founded recursion. Properties of the restriction of an acceptable function to the domain of another acceptable function. (Contributed by Paul Chapman, 21-Apr-2012.)
Hypothesis
Ref Expression
frrlem4.1  |-  B  =  { f  |  E. x ( f  Fn  x  /\  ( x 
C_  A  /\  A. y  e.  x  Pred ( R ,  A , 
y )  C_  x  /\  A. y  e.  x  ( f `  y
)  =  ( y G ( f  |`  Pred ( R ,  A ,  y ) ) ) ) ) }
Assertion
Ref Expression
frrlem4  |-  ( ( g  e.  B  /\  h  e.  B )  ->  ( ( g  |`  ( dom  g  i^i  dom  h ) )  Fn  ( dom  g  i^i 
dom  h )  /\  A. a  e.  ( dom  g  i^i  dom  h
) ( ( g  |`  ( dom  g  i^i 
dom  h ) ) `
 a )  =  ( a G ( ( g  |`  ( dom  g  i^i  dom  h
) )  |`  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a ) ) ) ) )
Distinct variable groups:    A, a,
f, g    A, h, x, y, a    B, a   
f, h, x, y    G, a, f, g    h, G, x, y    x, g, y    R, a, f, g    R, h, x, y
Allowed substitution hints:    B( x, y, f, g, h)

Proof of Theorem frrlem4
Dummy variables  b 
c are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frrlem4.1 . . . . . 6  |-  B  =  { f  |  E. x ( f  Fn  x  /\  ( x 
C_  A  /\  A. y  e.  x  Pred ( R ,  A , 
y )  C_  x  /\  A. y  e.  x  ( f `  y
)  =  ( y G ( f  |`  Pred ( R ,  A ,  y ) ) ) ) ) }
21frrlem2 24282 . . . . 5  |-  ( g  e.  B  ->  Fun  g )
3 funfn 5283 . . . . 5  |-  ( Fun  g  <->  g  Fn  dom  g )
42, 3sylib 188 . . . 4  |-  ( g  e.  B  ->  g  Fn  dom  g )
5 fnresin1 5358 . . . 4  |-  ( g  Fn  dom  g  -> 
( g  |`  ( dom  g  i^i  dom  h
) )  Fn  ( dom  g  i^i  dom  h
) )
64, 5syl 15 . . 3  |-  ( g  e.  B  ->  (
g  |`  ( dom  g  i^i  dom  h ) )  Fn  ( dom  g  i^i  dom  h ) )
76adantr 451 . 2  |-  ( ( g  e.  B  /\  h  e.  B )  ->  ( g  |`  ( dom  g  i^i  dom  h
) )  Fn  ( dom  g  i^i  dom  h
) )
8 inss1 3389 . . . . . . . 8  |-  ( dom  g  i^i  dom  h
)  C_  dom  g
98sseli 3176 . . . . . . 7  |-  ( a  e.  ( dom  g  i^i  dom  h )  -> 
a  e.  dom  g
)
101frrlem1 24281 . . . . . . . . 9  |-  B  =  { g  |  E. b ( g  Fn  b  /\  ( b 
C_  A  /\  A. a  e.  b  Pred ( R ,  A , 
a )  C_  b  /\  A. a  e.  b  ( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) ) ) }
1110abeq2i 2390 . . . . . . . 8  |-  ( g  e.  B  <->  E. b
( g  Fn  b  /\  ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) ) )
12 fndm 5343 . . . . . . . . . 10  |-  ( g  Fn  b  ->  dom  g  =  b )
13 rsp 2603 . . . . . . . . . . . 12  |-  ( A. a  e.  b  (
g `  a )  =  ( a G ( g  |`  Pred ( R ,  A , 
a ) ) )  ->  ( a  e.  b  ->  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) )
14133ad2ant3 978 . . . . . . . . . . 11  |-  ( ( b  C_  A  /\  A. a  e.  b  Pred ( R ,  A , 
a )  C_  b  /\  A. a  e.  b  ( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) )  ->  (
a  e.  b  -> 
( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) ) )
15 eleq2 2344 . . . . . . . . . . . 12  |-  ( dom  g  =  b  -> 
( a  e.  dom  g 
<->  a  e.  b ) )
1615imbi1d 308 . . . . . . . . . . 11  |-  ( dom  g  =  b  -> 
( ( a  e. 
dom  g  ->  (
g `  a )  =  ( a G ( g  |`  Pred ( R ,  A , 
a ) ) ) )  <->  ( a  e.  b  ->  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) ) )
1714, 16syl5ibrcom 213 . . . . . . . . . 10  |-  ( ( b  C_  A  /\  A. a  e.  b  Pred ( R ,  A , 
a )  C_  b  /\  A. a  e.  b  ( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) )  ->  ( dom  g  =  b  ->  ( a  e.  dom  g  ->  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) ) )
1812, 17mpan9 455 . . . . . . . . 9  |-  ( ( g  Fn  b  /\  ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) )  ->  ( a  e. 
dom  g  ->  (
g `  a )  =  ( a G ( g  |`  Pred ( R ,  A , 
a ) ) ) ) )
1918exlimiv 1666 . . . . . . . 8  |-  ( E. b ( g  Fn  b  /\  ( b 
C_  A  /\  A. a  e.  b  Pred ( R ,  A , 
a )  C_  b  /\  A. a  e.  b  ( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) ) )  -> 
( a  e.  dom  g  ->  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) )
2011, 19sylbi 187 . . . . . . 7  |-  ( g  e.  B  ->  (
a  e.  dom  g  ->  ( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) ) )
219, 20syl5 28 . . . . . 6  |-  ( g  e.  B  ->  (
a  e.  ( dom  g  i^i  dom  h
)  ->  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) )
2221imp 418 . . . . 5  |-  ( ( g  e.  B  /\  a  e.  ( dom  g  i^i  dom  h )
)  ->  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) )
2322adantlr 695 . . . 4  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) )
24 fvres 5542 . . . . 5  |-  ( a  e.  ( dom  g  i^i  dom  h )  -> 
( ( g  |`  ( dom  g  i^i  dom  h ) ) `  a )  =  ( g `  a ) )
2524adantl 452 . . . 4  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
( ( g  |`  ( dom  g  i^i  dom  h ) ) `  a )  =  ( g `  a ) )
26 resres 4968 . . . . . 6  |-  ( ( g  |`  ( dom  g  i^i  dom  h )
)  |`  Pred ( R , 
( dom  g  i^i  dom  h ) ,  a ) )  =  ( g  |`  ( ( dom  g  i^i  dom  h
)  i^i  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a ) ) )
27 predss 24173 . . . . . . . . 9  |-  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a )  C_  ( dom  g  i^i  dom  h )
28 sseqin2 3388 . . . . . . . . 9  |-  ( Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a )  C_  ( dom  g  i^i  dom  h )  <->  ( ( dom  g  i^i 
dom  h )  i^i 
Pred ( R , 
( dom  g  i^i  dom  h ) ,  a ) )  =  Pred ( R ,  ( dom  g  i^i  dom  h
) ,  a ) )
2927, 28mpbi 199 . . . . . . . 8  |-  ( ( dom  g  i^i  dom  h )  i^i  Pred ( R ,  ( dom  g  i^i  dom  h
) ,  a ) )  =  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a )
301frrlem1 24281 . . . . . . . . . . . 12  |-  B  =  { h  |  E. c ( h  Fn  c  /\  ( c 
C_  A  /\  A. a  e.  c  Pred ( R ,  A , 
a )  C_  c  /\  A. a  e.  c  ( h `  a
)  =  ( a G ( h  |`  Pred ( R ,  A ,  a ) ) ) ) ) }
3130abeq2i 2390 . . . . . . . . . . 11  |-  ( h  e.  B  <->  E. c
( h  Fn  c  /\  ( c  C_  A  /\  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c  /\  A. a  e.  c  ( h `  a )  =  ( a G ( h  |`  Pred ( R ,  A ,  a )
) ) ) ) )
32 eeanv 1854 . . . . . . . . . . . 12  |-  ( E. b E. c ( ( g  Fn  b  /\  ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) )  /\  ( h  Fn  c  /\  ( c 
C_  A  /\  A. a  e.  c  Pred ( R ,  A , 
a )  C_  c  /\  A. a  e.  c  ( h `  a
)  =  ( a G ( h  |`  Pred ( R ,  A ,  a ) ) ) ) ) )  <-> 
( E. b ( g  Fn  b  /\  ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) )  /\  E. c ( h  Fn  c  /\  ( c  C_  A  /\  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c  /\  A. a  e.  c  ( h `  a )  =  ( a G ( h  |`  Pred ( R ,  A ,  a )
) ) ) ) ) )
33 simpl1 958 . . . . . . . . . . . . . . . . 17  |-  ( ( ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) )  /\  ( c  C_  A  /\  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c  /\  A. a  e.  c  ( h `  a )  =  ( a G ( h  |`  Pred ( R ,  A ,  a )
) ) ) )  ->  b  C_  A
)
34 ssinss1 3397 . . . . . . . . . . . . . . . . 17  |-  ( b 
C_  A  ->  (
b  i^i  c )  C_  A )
3533, 34syl 15 . . . . . . . . . . . . . . . 16  |-  ( ( ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) )  /\  ( c  C_  A  /\  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c  /\  A. a  e.  c  ( h `  a )  =  ( a G ( h  |`  Pred ( R ,  A ,  a )
) ) ) )  ->  ( b  i^i  c )  C_  A
)
36 simpl2 959 . . . . . . . . . . . . . . . . 17  |-  ( ( ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) )  /\  ( c  C_  A  /\  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c  /\  A. a  e.  c  ( h `  a )  =  ( a G ( h  |`  Pred ( R ,  A ,  a )
) ) ) )  ->  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b )
37 simpr2 962 . . . . . . . . . . . . . . . . 17  |-  ( ( ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) )  /\  ( c  C_  A  /\  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c  /\  A. a  e.  c  ( h `  a )  =  ( a G ( h  |`  Pred ( R ,  A ,  a )
) ) ) )  ->  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c )
38 nfra1 2593 . . . . . . . . . . . . . . . . . . 19  |-  F/ a A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b
39 nfra1 2593 . . . . . . . . . . . . . . . . . . 19  |-  F/ a A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c
4038, 39nfan 1771 . . . . . . . . . . . . . . . . . 18  |-  F/ a ( A. a  e.  b  Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  c  Pred ( R ,  A ,  a )  C_  c )
41 inss1 3389 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( b  i^i  c )  C_  b
4241sseli 3176 . . . . . . . . . . . . . . . . . . . . 21  |-  ( a  e.  ( b  i^i  c )  ->  a  e.  b )
43 rsp 2603 . . . . . . . . . . . . . . . . . . . . 21  |-  ( A. a  e.  b  Pred ( R ,  A , 
a )  C_  b  ->  ( a  e.  b  ->  Pred ( R ,  A ,  a )  C_  b ) )
4442, 43syl5com 26 . . . . . . . . . . . . . . . . . . . 20  |-  ( a  e.  ( b  i^i  c )  ->  ( A. a  e.  b  Pred ( R ,  A ,  a )  C_  b  ->  Pred ( R ,  A ,  a )  C_  b ) )
45 inss2 3390 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( b  i^i  c )  C_  c
4645sseli 3176 . . . . . . . . . . . . . . . . . . . . 21  |-  ( a  e.  ( b  i^i  c )  ->  a  e.  c )
47 rsp 2603 . . . . . . . . . . . . . . . . . . . . 21  |-  ( A. a  e.  c  Pred ( R ,  A , 
a )  C_  c  ->  ( a  e.  c  ->  Pred ( R ,  A ,  a )  C_  c ) )
4846, 47syl5com 26 . . . . . . . . . . . . . . . . . . . 20  |-  ( a  e.  ( b  i^i  c )  ->  ( A. a  e.  c  Pred ( R ,  A ,  a )  C_  c  ->  Pred ( R ,  A ,  a )  C_  c ) )
4944, 48anim12d 546 . . . . . . . . . . . . . . . . . . 19  |-  ( a  e.  ( b  i^i  c )  ->  (
( A. a  e.  b  Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  c  Pred ( R ,  A ,  a )  C_  c )  ->  ( Pred ( R ,  A ,  a )  C_  b  /\  Pred ( R ,  A ,  a )  C_  c ) ) )
50 ssin 3391 . . . . . . . . . . . . . . . . . . . 20  |-  ( (
Pred ( R ,  A ,  a )  C_  b  /\  Pred ( R ,  A , 
a )  C_  c
)  <->  Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) )
5150biimpi 186 . . . . . . . . . . . . . . . . . . 19  |-  ( (
Pred ( R ,  A ,  a )  C_  b  /\  Pred ( R ,  A , 
a )  C_  c
)  ->  Pred ( R ,  A ,  a )  C_  ( b  i^i  c ) )
5249, 51syl6com 31 . . . . . . . . . . . . . . . . . 18  |-  ( ( A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  c  Pred ( R ,  A ,  a )  C_  c )  ->  ( a  e.  ( b  i^i  c )  ->  Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) ) )
5340, 52ralrimi 2624 . . . . . . . . . . . . . . . . 17  |-  ( ( A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  c  Pred ( R ,  A ,  a )  C_  c )  ->  A. a  e.  ( b  i^i  c )
Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) )
5436, 37, 53syl2anc 642 . . . . . . . . . . . . . . . 16  |-  ( ( ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) )  /\  ( c  C_  A  /\  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c  /\  A. a  e.  c  ( h `  a )  =  ( a G ( h  |`  Pred ( R ,  A ,  a )
) ) ) )  ->  A. a  e.  ( b  i^i  c )
Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) )
55 fndm 5343 . . . . . . . . . . . . . . . . . 18  |-  ( h  Fn  c  ->  dom  h  =  c )
56 ineq12 3365 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( dom  g  =  b  /\  dom  h  =  c )  ->  ( dom  g  i^i  dom  h
)  =  ( b  i^i  c ) )
5756sseq1d 3205 . . . . . . . . . . . . . . . . . . 19  |-  ( ( dom  g  =  b  /\  dom  h  =  c )  ->  (
( dom  g  i^i  dom  h )  C_  A  <->  ( b  i^i  c ) 
C_  A ) )
58 sseq2 3200 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( dom  g  i^i  dom  h )  =  ( b  i^i  c )  ->  ( Pred ( R ,  A , 
a )  C_  ( dom  g  i^i  dom  h
)  <->  Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) ) )
5958raleqbi1dv 2744 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( dom  g  i^i  dom  h )  =  ( b  i^i  c )  ->  ( A. a  e.  ( dom  g  i^i 
dom  h ) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i  dom  h )  <->  A. a  e.  ( b  i^i  c
) Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) ) )
6056, 59syl 15 . . . . . . . . . . . . . . . . . . 19  |-  ( ( dom  g  =  b  /\  dom  h  =  c )  ->  ( A. a  e.  ( dom  g  i^i  dom  h
) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i 
dom  h )  <->  A. a  e.  ( b  i^i  c
) Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) ) )
6157, 60anbi12d 691 . . . . . . . . . . . . . . . . . 18  |-  ( ( dom  g  =  b  /\  dom  h  =  c )  ->  (
( ( dom  g  i^i  dom  h )  C_  A  /\  A. a  e.  ( dom  g  i^i 
dom  h ) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i  dom  h ) )  <->  ( (
b  i^i  c )  C_  A  /\  A. a  e.  ( b  i^i  c
) Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) ) ) )
6212, 55, 61syl2an 463 . . . . . . . . . . . . . . . . 17  |-  ( ( g  Fn  b  /\  h  Fn  c )  ->  ( ( ( dom  g  i^i  dom  h
)  C_  A  /\  A. a  e.  ( dom  g  i^i  dom  h
) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i 
dom  h ) )  <-> 
( ( b  i^i  c )  C_  A  /\  A. a  e.  ( b  i^i  c )
Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) ) ) )
6362biimprcd 216 . . . . . . . . . . . . . . . 16  |-  ( ( ( b  i^i  c
)  C_  A  /\  A. a  e.  ( b  i^i  c ) Pred ( R ,  A ,  a )  C_  ( b  i^i  c
) )  ->  (
( g  Fn  b  /\  h  Fn  c
)  ->  ( ( dom  g  i^i  dom  h
)  C_  A  /\  A. a  e.  ( dom  g  i^i  dom  h
) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i 
dom  h ) ) ) )
6435, 54, 63syl2anc 642 . . . . . . . . . . . . . . 15  |-  ( ( ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) )  /\  ( c  C_  A  /\  A. a  e.  c 
Pred ( R ,  A ,  a )  C_  c  /\  A. a  e.  c  ( h `  a )  =  ( a G ( h  |`  Pred ( R ,  A ,  a )
) ) ) )  ->  ( ( g  Fn  b  /\  h  Fn  c )  ->  (
( dom  g  i^i  dom  h )  C_  A  /\  A. a  e.  ( dom  g  i^i  dom  h ) Pred ( R ,  A , 
a )  C_  ( dom  g  i^i  dom  h
) ) ) )
6564impcom 419 . . . . . . . . . . . . . 14  |-  ( ( ( g  Fn  b  /\  h  Fn  c
)  /\  ( (
b  C_  A  /\  A. a  e.  b  Pred ( R ,  A , 
a )  C_  b  /\  A. a  e.  b  ( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) )  /\  (
c  C_  A  /\  A. a  e.  c  Pred ( R ,  A , 
a )  C_  c  /\  A. a  e.  c  ( h `  a
)  =  ( a G ( h  |`  Pred ( R ,  A ,  a ) ) ) ) ) )  ->  ( ( dom  g  i^i  dom  h
)  C_  A  /\  A. a  e.  ( dom  g  i^i  dom  h
) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i 
dom  h ) ) )
6665an4s 799 . . . . . . . . . . . . 13  |-  ( ( ( g  Fn  b  /\  ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) )  /\  ( h  Fn  c  /\  ( c 
C_  A  /\  A. a  e.  c  Pred ( R ,  A , 
a )  C_  c  /\  A. a  e.  c  ( h `  a
)  =  ( a G ( h  |`  Pred ( R ,  A ,  a ) ) ) ) ) )  ->  ( ( dom  g  i^i  dom  h
)  C_  A  /\  A. a  e.  ( dom  g  i^i  dom  h
) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i 
dom  h ) ) )
6766exlimivv 1667 . . . . . . . . . . . 12  |-  ( E. b E. c ( ( g  Fn  b  /\  ( b  C_  A  /\  A. a  e.  b 
Pred ( R ,  A ,  a )  C_  b  /\  A. a  e.  b  ( g `  a )  =  ( a G ( g  |`  Pred ( R ,  A ,  a )
) ) ) )  /\  ( h  Fn  c  /\  ( c 
C_  A  /\  A. a  e.  c  Pred ( R ,  A , 
a )  C_  c  /\  A. a  e.  c  ( h `  a
)  =  ( a G ( h  |`  Pred ( R ,  A ,  a ) ) ) ) ) )  ->  ( ( dom  g  i^i  dom  h
)  C_  A  /\  A. a  e.  ( dom  g  i^i  dom  h
) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i 
dom  h ) ) )
6832, 67sylbir 204 . . . . . . . . . . 11  |-  ( ( E. b ( g  Fn  b  /\  (
b  C_  A  /\  A. a  e.  b  Pred ( R ,  A , 
a )  C_  b  /\  A. a  e.  b  ( g `  a
)  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) ) )  /\  E. c ( h  Fn  c  /\  ( c 
C_  A  /\  A. a  e.  c  Pred ( R ,  A , 
a )  C_  c  /\  A. a  e.  c  ( h `  a
)  =  ( a G ( h  |`  Pred ( R ,  A ,  a ) ) ) ) ) )  ->  ( ( dom  g  i^i  dom  h
)  C_  A  /\  A. a  e.  ( dom  g  i^i  dom  h
) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i 
dom  h ) ) )
6911, 31, 68syl2anb 465 . . . . . . . . . 10  |-  ( ( g  e.  B  /\  h  e.  B )  ->  ( ( dom  g  i^i  dom  h )  C_  A  /\  A. a  e.  ( dom  g  i^i 
dom  h ) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i  dom  h ) ) )
7069adantr 451 . . . . . . . . 9  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
( ( dom  g  i^i  dom  h )  C_  A  /\  A. a  e.  ( dom  g  i^i 
dom  h ) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i  dom  h ) ) )
71 simpr 447 . . . . . . . . 9  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
a  e.  ( dom  g  i^i  dom  h
) )
72 preddowncl 24196 . . . . . . . . 9  |-  ( ( ( dom  g  i^i 
dom  h )  C_  A  /\  A. a  e.  ( dom  g  i^i 
dom  h ) Pred ( R ,  A ,  a )  C_  ( dom  g  i^i  dom  h ) )  -> 
( a  e.  ( dom  g  i^i  dom  h )  ->  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a )  = 
Pred ( R ,  A ,  a )
) )
7370, 71, 72sylc 56 . . . . . . . 8  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  ->  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a )  =  Pred ( R ,  A , 
a ) )
7429, 73syl5eq 2327 . . . . . . 7  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
( ( dom  g  i^i  dom  h )  i^i 
Pred ( R , 
( dom  g  i^i  dom  h ) ,  a ) )  =  Pred ( R ,  A , 
a ) )
7574reseq2d 4955 . . . . . 6  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
( g  |`  (
( dom  g  i^i  dom  h )  i^i  Pred ( R ,  ( dom  g  i^i  dom  h
) ,  a ) ) )  =  ( g  |`  Pred ( R ,  A ,  a ) ) )
7626, 75syl5eq 2327 . . . . 5  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
( ( g  |`  ( dom  g  i^i  dom  h ) )  |`  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a ) )  =  ( g  |`  Pred ( R ,  A ,  a ) ) )
7776oveq2d 5874 . . . 4  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
( a G ( ( g  |`  ( dom  g  i^i  dom  h
) )  |`  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a ) ) )  =  ( a G ( g  |`  Pred ( R ,  A ,  a ) ) ) )
7823, 25, 773eqtr4d 2325 . . 3  |-  ( ( ( g  e.  B  /\  h  e.  B
)  /\  a  e.  ( dom  g  i^i  dom  h ) )  -> 
( ( g  |`  ( dom  g  i^i  dom  h ) ) `  a )  =  ( a G ( ( g  |`  ( dom  g  i^i  dom  h )
)  |`  Pred ( R , 
( dom  g  i^i  dom  h ) ,  a ) ) ) )
7978ralrimiva 2626 . 2  |-  ( ( g  e.  B  /\  h  e.  B )  ->  A. a  e.  ( dom  g  i^i  dom  h ) ( ( g  |`  ( dom  g  i^i  dom  h )
) `  a )  =  ( a G ( ( g  |`  ( dom  g  i^i  dom  h ) )  |`  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a ) ) ) )
807, 79jca 518 1  |-  ( ( g  e.  B  /\  h  e.  B )  ->  ( ( g  |`  ( dom  g  i^i  dom  h ) )  Fn  ( dom  g  i^i 
dom  h )  /\  A. a  e.  ( dom  g  i^i  dom  h
) ( ( g  |`  ( dom  g  i^i 
dom  h ) ) `
 a )  =  ( a G ( ( g  |`  ( dom  g  i^i  dom  h
) )  |`  Pred ( R ,  ( dom  g  i^i  dom  h ) ,  a ) ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934   E.wex 1528    = wceq 1623    e. wcel 1684   {cab 2269   A.wral 2543    i^i cin 3151    C_ wss 3152   dom cdm 4689    |` cres 4691   Fun wfun 5249    Fn wfn 5250   ` cfv 5255  (class class class)co 5858   Predcpred 24167
This theorem is referenced by:  frrlem5  24285
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-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  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-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  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-fv 5263  df-ov 5861  df-pred 24168
  Copyright terms: Public domain W3C validator