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

Theorem onasuc 6772
Description: Addition with successor. Theorem 4I(A2) of [Enderton] p. 79. (Note that this version of oasuc 6768 does not need Replacement.) (Contributed by Mario Carneiro, 16-Nov-2014.)
Assertion
Ref Expression
onasuc  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( A  +o  suc  B )  =  suc  ( A  +o  B ) )

Proof of Theorem onasuc
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 frsuc 6694 . . . 4  |-  ( B  e.  om  ->  (
( rec ( ( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  suc  B )  =  ( ( x  e.  _V  |->  suc  x ) `  (
( rec ( ( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  B ) ) )
21adantl 453 . . 3  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( ( rec (
( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  suc  B )  =  ( ( x  e.  _V  |->  suc  x ) `  (
( rec ( ( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  B ) ) )
3 peano2 4865 . . . . 5  |-  ( B  e.  om  ->  suc  B  e.  om )
43adantl 453 . . . 4  |-  ( ( A  e.  On  /\  B  e.  om )  ->  suc  B  e.  om )
5 fvres 5745 . . . 4  |-  ( suc 
B  e.  om  ->  ( ( rec ( ( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  suc  B )  =  ( rec ( ( x  e.  _V  |->  suc  x
) ,  A ) `
 suc  B )
)
64, 5syl 16 . . 3  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( ( rec (
( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  suc  B )  =  ( rec ( ( x  e.  _V  |->  suc  x
) ,  A ) `
 suc  B )
)
7 fvres 5745 . . . . 5  |-  ( B  e.  om  ->  (
( rec ( ( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  B )  =  ( rec ( ( x  e.  _V  |->  suc  x
) ,  A ) `
 B ) )
87adantl 453 . . . 4  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( ( rec (
( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  B )  =  ( rec ( ( x  e.  _V  |->  suc  x
) ,  A ) `
 B ) )
98fveq2d 5732 . . 3  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( ( x  e. 
_V  |->  suc  x ) `  ( ( rec (
( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  B ) )  =  ( ( x  e. 
_V  |->  suc  x ) `  ( rec ( ( x  e.  _V  |->  suc  x ) ,  A
) `  B )
) )
102, 6, 93eqtr3d 2476 . 2  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( rec ( ( x  e.  _V  |->  suc  x ) ,  A
) `  suc  B )  =  ( ( x  e.  _V  |->  suc  x
) `  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  B
) ) )
11 nnon 4851 . . . 4  |-  ( B  e.  om  ->  B  e.  On )
12 suceloni 4793 . . . 4  |-  ( B  e.  On  ->  suc  B  e.  On )
1311, 12syl 16 . . 3  |-  ( B  e.  om  ->  suc  B  e.  On )
14 oav 6755 . . 3  |-  ( ( A  e.  On  /\  suc  B  e.  On )  ->  ( A  +o  suc  B )  =  ( rec ( ( x  e.  _V  |->  suc  x
) ,  A ) `
 suc  B )
)
1513, 14sylan2 461 . 2  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( A  +o  suc  B )  =  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  suc  B ) )
16 ovex 6106 . . . 4  |-  ( A  +o  B )  e. 
_V
17 suceq 4646 . . . . 5  |-  ( x  =  ( A  +o  B )  ->  suc  x  =  suc  ( A  +o  B ) )
18 eqid 2436 . . . . 5  |-  ( x  e.  _V  |->  suc  x
)  =  ( x  e.  _V  |->  suc  x
)
1916sucex 4791 . . . . 5  |-  suc  ( A  +o  B )  e. 
_V
2017, 18, 19fvmpt 5806 . . . 4  |-  ( ( A  +o  B )  e.  _V  ->  (
( x  e.  _V  |->  suc  x ) `  ( A  +o  B ) )  =  suc  ( A  +o  B ) )
2116, 20ax-mp 8 . . 3  |-  ( ( x  e.  _V  |->  suc  x ) `  ( A  +o  B ) )  =  suc  ( A  +o  B )
22 oav 6755 . . . . 5  |-  ( ( A  e.  On  /\  B  e.  On )  ->  ( A  +o  B
)  =  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  B
) )
2311, 22sylan2 461 . . . 4  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( A  +o  B
)  =  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  B
) )
2423fveq2d 5732 . . 3  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( ( x  e. 
_V  |->  suc  x ) `  ( A  +o  B
) )  =  ( ( x  e.  _V  |->  suc  x ) `  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  B
) ) )
2521, 24syl5eqr 2482 . 2  |-  ( ( A  e.  On  /\  B  e.  om )  ->  suc  ( A  +o  B )  =  ( ( x  e.  _V  |->  suc  x ) `  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  B
) ) )
2610, 15, 253eqtr4d 2478 1  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( A  +o  suc  B )  =  suc  ( A  +o  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1652    e. wcel 1725   _Vcvv 2956    e. cmpt 4266   Oncon0 4581   suc csuc 4583   omcom 4845    |` cres 4880   ` cfv 5454  (class class class)co 6081   reccrdg 6667    +o coa 6721
This theorem is referenced by:  oa1suc  6775  nnasuc  6849
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-reu 2712  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-pw 3801  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-lim 4586  df-suc 4587  df-om 4846  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-f 5458  df-f1 5459  df-fo 5460  df-f1o 5461  df-fv 5462  df-ov 6084  df-oprab 6085  df-mpt2 6086  df-recs 6633  df-rdg 6668  df-oadd 6728
  Copyright terms: Public domain W3C validator