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

Theorem tfrlem9 6843
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 5035 . . 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 6831 . . . . . 6  |- recs ( F )  =  U. {
f  |  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) }
43eleq2i 2506 . . . . 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 4101 . . . . 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 5513 . . . . . . . . . . . . . 14  |-  ( ( f  Fn  x  /\  <. B ,  z >.  e.  f )  ->  B  e.  x )
8 rspe 2776 . . . . . . . . . . . . . . . 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 2549 . . . . . . . . . . . . . . . . 17  |-  ( f  e.  A  <->  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) )
11 elssuni 4120 . . . . . . . . . . . . . . . . . 18  |-  ( f  e.  A  ->  f  C_ 
U. A )
129recsfval 6839 . . . . . . . . . . . . . . . . . 18  |- recs ( F )  =  U. A
1311, 12syl6sseqr 3402 . . . . . . . . . . . . . . . . 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 5690 . . . . . . . . . . . . . . . . . . . 20  |-  ( y  =  B  ->  (
f `  y )  =  ( f `  B ) )
17 reseq2 5104 . . . . . . . . . . . . . . . . . . . . 21  |-  ( y  =  B  ->  (
f  |`  y )  =  ( f  |`  B ) )
1817fveq2d 5694 . . . . . . . . . . . . . . . . . . . 20  |-  ( y  =  B  ->  ( F `  ( f  |`  y ) )  =  ( F `  (
f  |`  B ) ) )
1916, 18eqeq12d 2456 . . . . . . . . . . . . . . . . . . 19  |-  ( y  =  B  ->  (
( f `  y
)  =  ( F `
 ( f  |`  y ) )  <->  ( f `  B )  =  ( F `  ( f  |`  B ) ) ) )
2019rspcv 3068 . . . . . . . . . . . . . . . . . 18  |-  ( B  e.  x  ->  ( A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) )  -> 
( f `  B
)  =  ( F `
 ( f  |`  B ) ) ) )
21 fndm 5509 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f  Fn  x  ->  dom  f  =  x )
2221eleq2d 2509 . . . . . . . . . . . . . . . . . . . 20  |-  ( f  Fn  x  ->  ( B  e.  dom  f  <->  B  e.  x ) )
239tfrlem7 6841 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  Fun recs ( F )
24 funssfv 5704 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  e. 
dom  f )  -> 
(recs ( F ) `
 B )  =  ( f `  B
) )
2523, 24mp3an1 1301 . . . . . . . . . . . . . . . . . . . . . . . . . . 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 2508 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( f  Fn  x  ->  ( dom  f  e.  On  <->  x  e.  On ) )
28 onelss 4760 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 5458 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  C_  dom  f )  ->  (recs ( F )  |`  B )  =  ( f  |`  B ) )
3231fveq2d 5694 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  C_  dom  f )  ->  ( F `  (recs ( F )  |`  B ) )  =  ( F `
 ( f  |`  B ) ) )
3323, 32mp3an1 1301 . . . . . . . . . . . . . . . . . . . . . . . . . . 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 2456 . . . . . . . . . . . . . . . . . . . . . . . . 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 2839 . . . . . 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 1688 . . . 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 1688 . 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 965    = wceq 1369   E.wex 1586    e. wcel 1756   {cab 2428   A.wral 2714   E.wrex 2715    C_ wss 3327   <.cop 3882   U.cuni 4090   Oncon0 4718   dom cdm 4839    |` cres 4841   Fun wfun 5411    Fn wfn 5412   ` cfv 5417  recscrecs 6830
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4412  ax-nul 4420  ax-pow 4469  ax-pr 4530  ax-un 6371
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2429  df-cleq 2435  df-clel 2438  df-nfc 2567  df-ne 2607  df-ral 2719  df-rex 2720  df-rab 2723  df-v 2973  df-sbc 3186  df-csb 3288  df-dif 3330  df-un 3332  df-in 3334  df-ss 3341  df-pss 3343  df-nul 3637  df-if 3791  df-sn 3877  df-pr 3879  df-tp 3881  df-op 3883  df-uni 4091  df-iun 4172  df-br 4292  df-opab 4350  df-mpt 4351  df-tr 4385  df-eprel 4631  df-id 4635  df-po 4640  df-so 4641  df-fr 4678  df-we 4680  df-ord 4721  df-on 4722  df-xp 4845  df-rel 4846  df-cnv 4847  df-co 4848  df-dm 4849  df-rn 4850  df-res 4851  df-ima 4852  df-iota 5380  df-fun 5419  df-fn 5420  df-fv 5425  df-recs 6831
This theorem is referenced by:  tfrlem11  6846  tfr2a  6853
  Copyright terms: Public domain W3C validator