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

Theorem tfrlem11 6649
Description: Lemma for transfinite recursion. Compute the value of  C. (Contributed by NM, 18-Aug-1994.) (Revised by Mario Carneiro, 9-May-2015.)
Hypotheses
Ref Expression
tfrlem.1  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
tfrlem.3  |-  C  =  (recs ( F )  u.  { <. dom recs ( F ) ,  ( F ` recs ( F
) ) >. } )
Assertion
Ref Expression
tfrlem11  |-  ( dom recs
( F )  e.  On  ->  ( B  e.  suc  dom recs ( F
)  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) ) )
Distinct variable groups:    x, f,
y, B    C, f, x, y    f, F, x, y
Allowed substitution hints:    A( x, y, f)

Proof of Theorem tfrlem11
StepHypRef Expression
1 elsuci 4647 . 2  |-  ( B  e.  suc  dom recs ( F )  ->  ( B  e.  dom recs ( F )  \/  B  =  dom recs ( F ) ) )
2 tfrlem.1 . . . . . . . . 9  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
3 tfrlem.3 . . . . . . . . 9  |-  C  =  (recs ( F )  u.  { <. dom recs ( F ) ,  ( F ` recs ( F
) ) >. } )
42, 3tfrlem10 6648 . . . . . . . 8  |-  ( dom recs
( F )  e.  On  ->  C  Fn  suc  dom recs ( F ) )
5 fnfun 5542 . . . . . . . 8  |-  ( C  Fn  suc  dom recs ( F )  ->  Fun  C )
64, 5syl 16 . . . . . . 7  |-  ( dom recs
( F )  e.  On  ->  Fun  C )
7 ssun1 3510 . . . . . . . . 9  |- recs ( F )  C_  (recs ( F )  u.  { <. dom recs ( F ) ,  ( F ` recs ( F ) ) >. } )
87, 3sseqtr4i 3381 . . . . . . . 8  |- recs ( F )  C_  C
92tfrlem9 6646 . . . . . . . . 9  |-  ( B  e.  dom recs ( F
)  ->  (recs ( F ) `  B
)  =  ( F `
 (recs ( F )  |`  B )
) )
10 funssfv 5746 . . . . . . . . . . . 12  |-  ( ( Fun  C  /\ recs ( F )  C_  C  /\  B  e.  dom recs ( F ) )  -> 
( C `  B
)  =  (recs ( F ) `  B
) )
11103expa 1153 . . . . . . . . . . 11  |-  ( ( ( Fun  C  /\ recs ( F )  C_  C
)  /\  B  e.  dom recs ( F ) )  ->  ( C `  B )  =  (recs ( F ) `  B ) )
1211adantrl 697 . . . . . . . . . 10  |-  ( ( ( Fun  C  /\ recs ( F )  C_  C
)  /\  ( dom recs ( F )  e.  On  /\  B  e.  dom recs ( F ) ) )  ->  ( C `  B )  =  (recs ( F ) `  B ) )
13 onelss 4623 . . . . . . . . . . . 12  |-  ( dom recs
( F )  e.  On  ->  ( B  e.  dom recs ( F )  ->  B  C_  dom recs ( F ) ) )
1413imp 419 . . . . . . . . . . 11  |-  ( ( dom recs ( F )  e.  On  /\  B  e.  dom recs ( F ) )  ->  B  C_  dom recs ( F ) )
15 fun2ssres 5494 . . . . . . . . . . . . 13  |-  ( ( Fun  C  /\ recs ( F )  C_  C  /\  B  C_  dom recs ( F ) )  -> 
( C  |`  B )  =  (recs ( F )  |`  B )
)
16153expa 1153 . . . . . . . . . . . 12  |-  ( ( ( Fun  C  /\ recs ( F )  C_  C
)  /\  B  C_  dom recs ( F ) )  -> 
( C  |`  B )  =  (recs ( F )  |`  B )
)
1716fveq2d 5732 . . . . . . . . . . 11  |-  ( ( ( Fun  C  /\ recs ( F )  C_  C
)  /\  B  C_  dom recs ( F ) )  -> 
( F `  ( C  |`  B ) )  =  ( F `  (recs ( F )  |`  B ) ) )
1814, 17sylan2 461 . . . . . . . . . 10  |-  ( ( ( Fun  C  /\ recs ( F )  C_  C
)  /\  ( dom recs ( F )  e.  On  /\  B  e.  dom recs ( F ) ) )  ->  ( F `  ( C  |`  B ) )  =  ( F `
 (recs ( F )  |`  B )
) )
1912, 18eqeq12d 2450 . . . . . . . . 9  |-  ( ( ( Fun  C  /\ recs ( F )  C_  C
)  /\  ( dom recs ( F )  e.  On  /\  B  e.  dom recs ( F ) ) )  ->  ( ( C `
 B )  =  ( F `  ( C  |`  B ) )  <-> 
(recs ( F ) `
 B )  =  ( F `  (recs ( F )  |`  B ) ) ) )
209, 19syl5ibr 213 . . . . . . . 8  |-  ( ( ( Fun  C  /\ recs ( F )  C_  C
)  /\  ( dom recs ( F )  e.  On  /\  B  e.  dom recs ( F ) ) )  ->  ( B  e. 
dom recs ( F )  -> 
( C `  B
)  =  ( F `
 ( C  |`  B ) ) ) )
218, 20mpanl2 663 . . . . . . 7  |-  ( ( Fun  C  /\  ( dom recs ( F )  e.  On  /\  B  e. 
dom recs ( F ) ) )  ->  ( B  e.  dom recs ( F )  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) ) )
226, 21sylan 458 . . . . . 6  |-  ( ( dom recs ( F )  e.  On  /\  ( dom recs ( F )  e.  On  /\  B  e. 
dom recs ( F ) ) )  ->  ( B  e.  dom recs ( F )  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) ) )
2322exp32 589 . . . . 5  |-  ( dom recs
( F )  e.  On  ->  ( dom recs ( F )  e.  On  ->  ( B  e.  dom recs ( F )  ->  ( B  e.  dom recs ( F )  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) ) ) ) )
2423pm2.43i 45 . . . 4  |-  ( dom recs
( F )  e.  On  ->  ( B  e.  dom recs ( F )  ->  ( B  e. 
dom recs ( F )  -> 
( C `  B
)  =  ( F `
 ( C  |`  B ) ) ) ) )
2524pm2.43d 46 . . 3  |-  ( dom recs
( F )  e.  On  ->  ( B  e.  dom recs ( F )  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) ) )
26 opex 4427 . . . . . . . . 9  |-  <. B , 
( F `  ( C  |`  B ) )
>.  e.  _V
2726snid 3841 . . . . . . . 8  |-  <. B , 
( F `  ( C  |`  B ) )
>.  e.  { <. B , 
( F `  ( C  |`  B ) )
>. }
28 opeq1 3984 . . . . . . . . . . 11  |-  ( B  =  dom recs ( F
)  ->  <. B , 
( F `  ( C  |`  B ) )
>.  =  <. dom recs ( F ) ,  ( F `  ( C  |`  B ) ) >.
)
2928adantl 453 . . . . . . . . . 10  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  <. B , 
( F `  ( C  |`  B ) )
>.  =  <. dom recs ( F ) ,  ( F `  ( C  |`  B ) ) >.
)
30 eqimss 3400 . . . . . . . . . . . . . 14  |-  ( B  =  dom recs ( F
)  ->  B  C_  dom recs ( F ) )
318, 15mp3an2 1267 . . . . . . . . . . . . . 14  |-  ( ( Fun  C  /\  B  C_ 
dom recs ( F ) )  ->  ( C  |`  B )  =  (recs ( F )  |`  B ) )
326, 30, 31syl2an 464 . . . . . . . . . . . . 13  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  ( C  |`  B )  =  (recs ( F )  |`  B ) )
33 reseq2 5141 . . . . . . . . . . . . . . 15  |-  ( B  =  dom recs ( F
)  ->  (recs ( F )  |`  B )  =  (recs ( F )  |`  dom recs ( F ) ) )
342tfrlem6 6643 . . . . . . . . . . . . . . . 16  |-  Rel recs ( F )
35 resdm 5184 . . . . . . . . . . . . . . . 16  |-  ( Rel recs
( F )  -> 
(recs ( F )  |`  dom recs ( F ) )  = recs ( F ) )
3634, 35ax-mp 8 . . . . . . . . . . . . . . 15  |-  (recs ( F )  |`  dom recs ( F ) )  = recs ( F )
3733, 36syl6eq 2484 . . . . . . . . . . . . . 14  |-  ( B  =  dom recs ( F
)  ->  (recs ( F )  |`  B )  = recs ( F ) )
3837adantl 453 . . . . . . . . . . . . 13  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  (recs ( F )  |`  B )  = recs ( F ) )
3932, 38eqtrd 2468 . . . . . . . . . . . 12  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  ( C  |`  B )  = recs ( F ) )
4039fveq2d 5732 . . . . . . . . . . 11  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  ( F `  ( C  |`  B ) )  =  ( F `
recs ( F ) ) )
4140opeq2d 3991 . . . . . . . . . 10  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  <. dom recs ( F ) ,  ( F `  ( C  |`  B ) ) >.  =  <. dom recs ( F
) ,  ( F `
recs ( F ) ) >. )
4229, 41eqtrd 2468 . . . . . . . . 9  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  <. B , 
( F `  ( C  |`  B ) )
>.  =  <. dom recs ( F ) ,  ( F ` recs ( F
) ) >. )
4342sneqd 3827 . . . . . . . 8  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  { <. B , 
( F `  ( C  |`  B ) )
>. }  =  { <. dom recs
( F ) ,  ( F ` recs ( F ) ) >. } )
4427, 43syl5eleq 2522 . . . . . . 7  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  <. B , 
( F `  ( C  |`  B ) )
>.  e.  { <. dom recs ( F ) ,  ( F ` recs ( F
) ) >. } )
45 elun2 3515 . . . . . . 7  |-  ( <. B ,  ( F `  ( C  |`  B ) ) >.  e.  { <. dom recs
( F ) ,  ( F ` recs ( F ) ) >. }  ->  <. B ,  ( F `  ( C  |`  B ) ) >.  e.  (recs ( F )  u.  { <. dom recs ( F ) ,  ( F ` recs ( F
) ) >. } ) )
4644, 45syl 16 . . . . . 6  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  <. B , 
( F `  ( C  |`  B ) )
>.  e.  (recs ( F )  u.  { <. dom recs
( F ) ,  ( F ` recs ( F ) ) >. } ) )
4746, 3syl6eleqr 2527 . . . . 5  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  <. B , 
( F `  ( C  |`  B ) )
>.  e.  C )
484adantr 452 . . . . . 6  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  C  Fn  suc  dom recs ( F ) )
49 simpr 448 . . . . . . 7  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  B  =  dom recs ( F ) )
50 sucidg 4659 . . . . . . . 8  |-  ( dom recs
( F )  e.  On  ->  dom recs ( F )  e.  suc  dom recs ( F ) )
5150adantr 452 . . . . . . 7  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  dom recs ( F )  e.  suc  dom recs ( F ) )
5249, 51eqeltrd 2510 . . . . . 6  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  B  e.  suc  dom recs ( F ) )
53 fnopfvb 5768 . . . . . 6  |-  ( ( C  Fn  suc  dom recs ( F )  /\  B  e.  suc  dom recs ( F
) )  ->  (
( C `  B
)  =  ( F `
 ( C  |`  B ) )  <->  <. B , 
( F `  ( C  |`  B ) )
>.  e.  C ) )
5448, 52, 53syl2anc 643 . . . . 5  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  ( ( C `  B )  =  ( F `  ( C  |`  B ) )  <->  <. B ,  ( F `  ( C  |`  B ) ) >.  e.  C ) )
5547, 54mpbird 224 . . . 4  |-  ( ( dom recs ( F )  e.  On  /\  B  =  dom recs ( F ) )  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) )
5655ex 424 . . 3  |-  ( dom recs
( F )  e.  On  ->  ( B  =  dom recs ( F )  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) ) )
5725, 56jaod 370 . 2  |-  ( dom recs
( F )  e.  On  ->  ( ( B  e.  dom recs ( F )  \/  B  =  dom recs ( F ) )  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) ) )
581, 57syl5 30 1  |-  ( dom recs
( F )  e.  On  ->  ( B  e.  suc  dom recs ( F
)  ->  ( C `  B )  =  ( F `  ( C  |`  B ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    \/ wo 358    /\ wa 359    = wceq 1652    e. wcel 1725   {cab 2422   A.wral 2705   E.wrex 2706    u. cun 3318    C_ wss 3320   {csn 3814   <.cop 3817   Oncon0 4581   suc csuc 4583   dom cdm 4878    |` cres 4880   Rel wrel 4883   Fun wfun 5448    Fn wfn 5449   ` cfv 5454  recscrecs 6632
This theorem is referenced by:  tfrlem12  6650
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403  ax-un 4701
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-rab 2714  df-v 2958  df-sbc 3162  df-csb 3252  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-pss 3336  df-nul 3629  df-if 3740  df-sn 3820  df-pr 3821  df-tp 3822  df-op 3823  df-uni 4016  df-iun 4095  df-br 4213  df-opab 4267  df-mpt 4268  df-tr 4303  df-eprel 4494  df-id 4498  df-po 4503  df-so 4504  df-fr 4541  df-we 4543  df-ord 4584  df-on 4585  df-suc 4587  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fn 5457  df-fv 5462  df-recs 6633
  Copyright terms: Public domain W3C validator