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

Theorem tfrlem9 6417
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 4891 . . 3  |-  ( B  e.  dom recs ( F
)  ->  ( B  e.  dom recs ( F )  <->  E. z <. B ,  z
>.  e. recs ( F ) ) )
21ibi 232 . 2  |-  ( B  e.  dom recs ( F
)  ->  E. z <. B ,  z >.  e. recs ( F ) )
3 df-recs 6404 . . . . . 6  |- recs ( F )  =  U. {
f  |  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) }
43eleq2i 2360 . . . . 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 3855 . . . . 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 240 . . . 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 5363 . . . . . . . . . . . . . 14  |-  ( ( f  Fn  x  /\  <. B ,  z >.  e.  f )  ->  B  e.  x )
8 rspe 2617 . . . . . . . . . . . . . . . 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 2403 . . . . . . . . . . . . . . . . 17  |-  ( f  e.  A  <->  E. x  e.  On  ( f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y ) ) ) )
11 elssuni 3871 . . . . . . . . . . . . . . . . . 18  |-  ( f  e.  A  ->  f  C_ 
U. A )
129recsfval 6413 . . . . . . . . . . . . . . . . . 18  |- recs ( F )  =  U. A
1311, 12syl6sseqr 3238 . . . . . . . . . . . . . . . . 17  |-  ( f  e.  A  ->  f  C_ recs
( F ) )
1410, 13sylbir 204 . . . . . . . . . . . . . . . 16  |-  ( E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) )  -> 
f  C_ recs ( F
) )
158, 14syl 15 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  On  /\  ( f  Fn  x  /\  A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) ) ) )  ->  f  C_ recs ( F ) )
16 fveq2 5541 . . . . . . . . . . . . . . . . . . . 20  |-  ( y  =  B  ->  (
f `  y )  =  ( f `  B ) )
17 reseq2 4966 . . . . . . . . . . . . . . . . . . . . 21  |-  ( y  =  B  ->  (
f  |`  y )  =  ( f  |`  B ) )
1817fveq2d 5545 . . . . . . . . . . . . . . . . . . . 20  |-  ( y  =  B  ->  ( F `  ( f  |`  y ) )  =  ( F `  (
f  |`  B ) ) )
1916, 18eqeq12d 2310 . . . . . . . . . . . . . . . . . . 19  |-  ( y  =  B  ->  (
( f `  y
)  =  ( F `
 ( f  |`  y ) )  <->  ( f `  B )  =  ( F `  ( f  |`  B ) ) ) )
2019rspcv 2893 . . . . . . . . . . . . . . . . . 18  |-  ( B  e.  x  ->  ( A. y  e.  x  ( f `  y
)  =  ( F `
 ( f  |`  y ) )  -> 
( f `  B
)  =  ( F `
 ( f  |`  B ) ) ) )
21 fndm 5359 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f  Fn  x  ->  dom  f  =  x )
2221eleq2d 2363 . . . . . . . . . . . . . . . . . . . 20  |-  ( f  Fn  x  ->  ( B  e.  dom  f  <->  B  e.  x ) )
239tfrlem7 6415 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  Fun recs ( F )
24 funssfv 5559 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  e. 
dom  f )  -> 
(recs ( F ) `
 B )  =  ( f `  B
) )
2523, 24mp3an1 1264 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( f  C_ recs ( F
)  /\  B  e.  dom  f )  ->  (recs ( F ) `  B
)  =  ( f `
 B ) )
2625adantrl 696 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( f  C_ recs ( F
)  /\  ( (
f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f ) )  -> 
(recs ( F ) `
 B )  =  ( f `  B
) )
2721eleq1d 2362 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( f  Fn  x  ->  ( dom  f  e.  On  <->  x  e.  On ) )
28 onelss 4450 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( dom  f  e.  On  ->  ( B  e.  dom  f  ->  B  C_  dom  f ) )
2927, 28syl6bir 220 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( f  Fn  x  ->  (
x  e.  On  ->  ( B  e.  dom  f  ->  B  C_  dom  f ) ) )
3029imp31 421 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( ( f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f )  ->  B  C_ 
dom  f )
31 fun2ssres 5311 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  C_  dom  f )  ->  (recs ( F )  |`  B )  =  ( f  |`  B ) )
3231fveq2d 5545 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( Fun recs ( F )  /\  f  C_ recs ( F )  /\  B  C_  dom  f )  ->  ( F `  (recs ( F )  |`  B ) )  =  ( F `
 ( f  |`  B ) ) )
3323, 32mp3an1 1264 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( f  C_ recs ( F
)  /\  B  C_  dom  f )  ->  ( F `  (recs ( F )  |`  B ) )  =  ( F `
 ( f  |`  B ) ) )
3430, 33sylan2 460 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( f  C_ recs ( F
)  /\  ( (
f  Fn  x  /\  x  e.  On )  /\  B  e.  dom  f ) )  -> 
( F `  (recs ( F )  |`  B ) )  =  ( F `
 ( f  |`  B ) ) )
3526, 34eqeq12d 2310 . . . . . . . . . . . . . . . . . . . . . . . . 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 605 . . . . . . . . . . . . . . . . . . . . . . . 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 75 . . . . . . . . . . . . . . . . . . . . . . 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 587 . . . . . . . . . . . . . . . . . . . . . 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 77 . . . . . . . . . . . . . . . . . . . . 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 81 . . . . . . . . . . . . . . . . . . . 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 226 . . . . . . . . . . . . . . . . . . 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 75 . . . . . . . . . . . . . . . . . 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 40 . . . . . . . . . . . . . . . . 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 81 . . . . . . . . . . . . . . . 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 575 . . . . . . . . . . . . . . 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 38 . . . . . . . . . . . . . 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 15 . . . . . . . . . . . . 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 592 . . . . . . . . . . . 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 423 . . . . . . . . . . 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 80 . . . . . . . . . 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 43 . . . . . . . . 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 75 . . . . . . . 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 572 . . . . . . 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 2679 . . . . . 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 418 . . . . 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 1624 . . . 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 187 . . 3  |-  ( <. B ,  z >.  e. recs
( F )  -> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) )
5857exlimiv 1624 . 2  |-  ( E. z <. B ,  z
>.  e. recs ( F )  ->  (recs ( F ) `  B )  =  ( F `  (recs ( F )  |`  B ) ) )
592, 58syl 15 1  |-  ( B  e.  dom recs ( F
)  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934   E.wex 1531    = wceq 1632    e. wcel 1696   {cab 2282   A.wral 2556   E.wrex 2557    C_ wss 3165   <.cop 3656   U.cuni 3843   Oncon0 4408   dom cdm 4705    |` cres 4707   Fun wfun 5265    Fn wfn 5266   ` cfv 5271  recscrecs 6403
This theorem is referenced by:  tfrlem11  6420  tfr2a  6427
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-fv 5279  df-recs 6404
  Copyright terms: Public domain W3C validator