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

Theorem tfrlem9 7054
Description: Lemma for transfinite recursion. Here we compute the value of recs (the union of all acceptable functions). (Contributed by NM, 17-Aug-1994.)
Hypothesis
Ref Expression
tfrlem.1  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
Assertion
Ref Expression
tfrlem9  |-  ( B  e.  dom recs ( F
)  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) )
Distinct variable groups:    x, f,
y, B    f, F, x, y
Allowed substitution hints:    A( x, y, f)

Proof of Theorem tfrlem9
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 eldm2g 5199 . . 3  |-  ( B  e.  dom recs ( F
)  ->  ( B  e.  dom recs ( F )  <->  E. z <. B ,  z
>.  e. recs ( F ) ) )
21ibi 241 . 2  |-  ( B  e.  dom recs ( F
)  ->  E. z <. B ,  z >.  e. recs ( F ) )
3 df-recs 7042 . . . . . 6  |- recs ( F )  =  U. {
f  |  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) }
43eleq2i 2545 . . . . 5  |-  ( <. B ,  z >.  e. recs
( F )  <->  <. B , 
z >.  e.  U. {
f  |  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) } )
5 eluniab 4256 . . . . 5  |-  ( <. B ,  z >.  e. 
U. { f  |  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) ) ) }  <->  E. f ( <. B ,  z >.  e.  f  /\  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) ) )
64, 5bitri 249 . . . 4  |-  ( <. B ,  z >.  e. recs
( F )  <->  E. f
( <. B ,  z
>.  e.  f  /\  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) ) )
7 fnop 5684 . . . . . . . . . . . . . 14  |-  ( ( f  Fn  x  /\  <. B ,  z >.  e.  f )  ->  B  e.  x )
8 rspe 2922 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  On  /\  ( f  Fn  x  /\  A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) ) ) )  ->  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) )
9 tfrlem.1 . . . . . . . . . . . . . . . . . 18  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
109abeq2i 2594 . . . . . . . . . . . . . . . . 17  |-  ( f  e.  A  <->  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) )
11 elssuni 4275 . . . . . . . . . . . . . . . . . 18  |-  ( f  e.  A  ->  f  C_ 
U. A )
129recsfval 7050 . . . . . . . . . . . . . . . . . 18  |- recs ( F )  =  U. A
1311, 12syl6sseqr 3551 . . . . . . . . . . . . . . . . 17  |-  ( f  e.  A  ->  f  C_ recs
( F ) )
1410, 13sylbir 213 . . . . . . . . . . . . . . . 16  |-  ( E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) )  -> 
f  C_ recs ( F
) )
158, 14syl 16 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  On  /\  ( f  Fn  x  /\  A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) ) ) )  ->  f  C_ recs ( F ) )
16 fveq2 5866 . . . . . . . . . . . . . . . . . . . 20  |-  ( y  =  B  ->  (
f `  y )  =  ( f `  B ) )
17 reseq2 5268 . . . . . . . . . . . . . . . . . . . . 21  |-  ( y  =  B  ->  (
f  |`  y )  =  ( f  |`  B ) )
1817fveq2d 5870 . . . . . . . . . . . . . . . . . . . 20  |-  ( y  =  B  ->  ( F `  ( f  |`  y ) )  =  ( F `  (
f  |`  B ) ) )
1916, 18eqeq12d 2489 . . . . . . . . . . . . . . . . . . 19  |-  ( y  =  B  ->  (
( f `  y
)  =  ( F `
 ( f  |`  y ) )  <->  ( f `  B )  =  ( F `  ( f  |`  B ) ) ) )
2019rspcv 3210 . . . . . . . . . . . . . . . . . 18  |-  ( B  e.  x  ->  ( A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) )  -> 
( f `  B
)  =  ( F `
 ( f  |`  B ) ) ) )
21 fndm 5680 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f  Fn  x  ->  dom  f  =  x )
2221eleq2d 2537 . . . . . . . . . . . . . . . . . . . 20  |-  ( f  Fn  x  ->  ( B  e.  dom  f  <->  B  e.  x ) )
239tfrlem7 7052 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  Fun recs ( F )
24 funssfv 5881 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  e. 
dom  f )  -> 
(recs ( F ) `
 B )  =  ( f `  B
) )
2523, 24mp3an1 1311 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( f  C_ recs ( F
)  /\  B  e.  dom  f )  ->  (recs ( F ) `  B
)  =  ( f `
 B ) )
2625adantrl 715 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( f  C_ recs ( F
)  /\  ( (
f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f ) )  -> 
(recs ( F ) `
 B )  =  ( f `  B
) )
2721eleq1d 2536 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( f  Fn  x  ->  ( dom  f  e.  On  <->  x  e.  On ) )
28 onelss 4920 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( dom  f  e.  On  ->  ( B  e.  dom  f  ->  B  C_  dom  f ) )
2927, 28syl6bir 229 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( f  Fn  x  ->  (
x  e.  On  ->  ( B  e.  dom  f  ->  B  C_  dom  f ) ) )
3029imp31 432 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( ( f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f )  ->  B  C_ 
dom  f )
31 fun2ssres 5629 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  C_  dom  f )  ->  (recs ( F )  |`  B )  =  ( f  |`  B ) )
3231fveq2d 5870 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  C_  dom  f )  ->  ( F `  (recs ( F )  |`  B ) )  =  ( F `
 ( f  |`  B ) ) )
3323, 32mp3an1 1311 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( f  C_ recs ( F
)  /\  B  C_  dom  f )  ->  ( F `  (recs ( F )  |`  B ) )  =  ( F `
 ( f  |`  B ) ) )
3430, 33sylan2 474 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( f  C_ recs ( F
)  /\  ( (
f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f ) )  -> 
( F `  (recs ( F )  |`  B ) )  =  ( F `
 ( f  |`  B ) ) )
3526, 34eqeq12d 2489 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( f  C_ recs ( F
)  /\  ( (
f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f ) )  -> 
( (recs ( F ) `  B )  =  ( F `  (recs ( F )  |`  B ) )  <->  ( f `  B )  =  ( F `  ( f  |`  B ) ) ) )
3635exbiri 622 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( f 
C_ recs ( F )  ->  ( ( ( f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f )  ->  (
( f `  B
)  =  ( F `
 ( f  |`  B ) )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) ) )
3736com3l 81 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f )  ->  (
( f `  B
)  =  ( F `
 ( f  |`  B ) )  -> 
( f  C_ recs ( F )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) )
3837exp31 604 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( f  Fn  x  ->  (
x  e.  On  ->  ( B  e.  dom  f  ->  ( ( f `  B )  =  ( F `  ( f  |`  B ) )  -> 
( f  C_ recs ( F )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) ) ) )
3938com34 83 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f  Fn  x  ->  (
x  e.  On  ->  ( ( f `  B
)  =  ( F `
 ( f  |`  B ) )  -> 
( B  e.  dom  f  ->  ( f  C_ recs ( F )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) ) ) )
4039com24 87 . . . . . . . . . . . . . . . . . . . 20  |-  ( f  Fn  x  ->  ( B  e.  dom  f  -> 
( ( f `  B )  =  ( F `  ( f  |`  B ) )  -> 
( x  e.  On  ->  ( f  C_ recs ( F )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) ) ) )
4122, 40sylbird 235 . . . . . . . . . . . . . . . . . . 19  |-  ( f  Fn  x  ->  ( B  e.  x  ->  ( ( f `  B
)  =  ( F `
 ( f  |`  B ) )  -> 
( x  e.  On  ->  ( f  C_ recs ( F )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) ) ) )
4241com3l 81 . . . . . . . . . . . . . . . . . 18  |-  ( B  e.  x  ->  (
( f `  B
)  =  ( F `
 ( f  |`  B ) )  -> 
( f  Fn  x  ->  ( x  e.  On  ->  ( f  C_ recs ( F )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) ) ) )
4320, 42syld 44 . . . . . . . . . . . . . . . . 17  |-  ( B  e.  x  ->  ( A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) )  -> 
( f  Fn  x  ->  ( x  e.  On  ->  ( f  C_ recs ( F )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) ) ) )
4443com24 87 . . . . . . . . . . . . . . . 16  |-  ( B  e.  x  ->  (
x  e.  On  ->  ( f  Fn  x  -> 
( A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) )  -> 
( f  C_ recs ( F )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) ) ) )
4544imp4d 592 . . . . . . . . . . . . . . 15  |-  ( B  e.  x  ->  (
( x  e.  On  /\  ( f  Fn  x  /\  A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) ) ) )  ->  ( f  C_ recs
( F )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) ) )
4615, 45mpdi 42 . . . . . . . . . . . . . 14  |-  ( B  e.  x  ->  (
( x  e.  On  /\  ( f  Fn  x  /\  A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) ) ) )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) )
477, 46syl 16 . . . . . . . . . . . . 13  |-  ( ( f  Fn  x  /\  <. B ,  z >.  e.  f )  ->  (
( x  e.  On  /\  ( f  Fn  x  /\  A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) ) ) )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) )
4847exp4d 609 . . . . . . . . . . . 12  |-  ( ( f  Fn  x  /\  <. B ,  z >.  e.  f )  ->  (
x  e.  On  ->  ( f  Fn  x  -> 
( A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) ) ) )
4948ex 434 . . . . . . . . . . 11  |-  ( f  Fn  x  ->  ( <. B ,  z >.  e.  f  ->  ( x  e.  On  ->  (
f  Fn  x  -> 
( A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) ) ) ) )
5049com4r 86 . . . . . . . . . 10  |-  ( f  Fn  x  ->  (
f  Fn  x  -> 
( <. B ,  z
>.  e.  f  ->  (
x  e.  On  ->  ( A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) ) ) ) )
5150pm2.43i 47 . . . . . . . . 9  |-  ( f  Fn  x  ->  ( <. B ,  z >.  e.  f  ->  ( x  e.  On  ->  ( A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) ) ) )
5251com3l 81 . . . . . . . 8  |-  ( <. B ,  z >.  e.  f  ->  ( x  e.  On  ->  ( f  Fn  x  ->  ( A. y  e.  x  (
f `  y )  =  ( F `  ( f  |`  y
) )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) ) ) ) )
5352imp4a 589 . . . . . . 7  |-  ( <. B ,  z >.  e.  f  ->  ( x  e.  On  ->  ( (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) ) )
5453rexlimdv 2953 . . . . . 6  |-  ( <. B ,  z >.  e.  f  ->  ( E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) )
5554imp 429 . . . . 5  |-  ( (
<. B ,  z >.  e.  f  /\  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) )  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) )
5655exlimiv 1698 . . . 4  |-  ( E. f ( <. B , 
z >.  e.  f  /\  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) )  ->  (recs ( F ) `  B )  =  ( F `  (recs ( F )  |`  B ) ) )
576, 56sylbi 195 . . 3  |-  ( <. B ,  z >.  e. recs
( F )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) )
5857exlimiv 1698 . 2  |-  ( E. z <. B ,  z
>.  e. recs ( F )  ->  (recs ( F ) `  B )  =  ( F `  (recs ( F )  |`  B ) ) )
592, 58syl 16 1  |-  ( B  e.  dom recs ( F
)  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    /\ w3a 973    = wceq 1379   E.wex 1596    e. wcel 1767   {cab 2452   A.wral 2814   E.wrex 2815    C_ wss 3476   <.cop 4033   U.cuni 4245   Oncon0 4878   dom cdm 4999    |` cres 5001   Fun wfun 5582    Fn wfn 5583   ` cfv 5588  recscrecs 7041
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6576
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-pss 3492  df-nul 3786  df-if 3940  df-sn 4028  df-pr 4030  df-tp 4032  df-op 4034  df-uni 4246  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-tr 4541  df-eprel 4791  df-id 4795  df-po 4800  df-so 4801  df-fr 4838  df-we 4840  df-ord 4881  df-on 4882  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5551  df-fun 5590  df-fn 5591  df-fv 5596  df-recs 7042
This theorem is referenced by:  tfrlem11  7057  tfr2a  7064
  Copyright terms: Public domain W3C validator