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

Theorem onasuc 6413
Description: Addition with successor. Theorem 4I(A2) of [Enderton] p. 79. (Note that this version of oasuc 6409 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
StepHypRef Expression
1 frsuc 6335 . . . 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 454 . . 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 4567 . . . . 5  |-  ( B  e.  om  ->  suc  B  e.  om )
43adantl 454 . . . 4  |-  ( ( A  e.  On  /\  B  e.  om )  ->  suc  B  e.  om )
5 fvres 5394 . . . 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 17 . . 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 5394 . . . . 5  |-  ( B  e.  om  ->  (
( rec ( ( x  e.  _V  |->  suc  x ) ,  A
)  |`  om ) `  B )  =  ( rec ( ( x  e.  _V  |->  suc  x
) ,  A ) `
 B ) )
87adantl 454 . . . 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 5381 . . 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 2293 . 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 4553 . . . 4  |-  ( B  e.  om  ->  B  e.  On )
12 suceloni 4495 . . . 4  |-  ( B  e.  On  ->  suc  B  e.  On )
1311, 12syl 17 . . 3  |-  ( B  e.  om  ->  suc  B  e.  On )
14 oav 6396 . . 3  |-  ( ( A  e.  On  /\  suc  B  e.  On )  ->  ( A  +o  suc  B )  =  ( rec ( ( x  e.  _V  |->  suc  x
) ,  A ) `
 suc  B )
)
1513, 14sylan2 462 . 2  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( A  +o  suc  B )  =  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  suc  B ) )
16 ovex 5735 . . . 4  |-  ( A  +o  B )  e. 
_V
17 suceq 4350 . . . . 5  |-  ( x  =  ( A  +o  B )  ->  suc  x  =  suc  ( A  +o  B ) )
18 eqid 2253 . . . . 5  |-  ( x  e.  _V  |->  suc  x
)  =  ( x  e.  _V  |->  suc  x
)
1916sucex 4493 . . . . 5  |-  suc  ( A  +o  B )  e. 
_V
2017, 18, 19fvmpt 5454 . . . 4  |-  ( ( A  +o  B )  e.  _V  ->  (
( x  e.  _V  |->  suc  x ) `  ( A  +o  B ) )  =  suc  ( A  +o  B ) )
2116, 20ax-mp 10 . . 3  |-  ( ( x  e.  _V  |->  suc  x ) `  ( A  +o  B ) )  =  suc  ( A  +o  B )
22 oav 6396 . . . . 5  |-  ( ( A  e.  On  /\  B  e.  On )  ->  ( A  +o  B
)  =  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  B
) )
2311, 22sylan2 462 . . . 4  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( A  +o  B
)  =  ( rec ( ( x  e. 
_V  |->  suc  x ) ,  A ) `  B
) )
2423fveq2d 5381 . . 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 2299 . 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 2295 1  |-  ( ( A  e.  On  /\  B  e.  om )  ->  ( A  +o  suc  B )  =  suc  ( A  +o  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    /\ wa 360    = wceq 1619    e. wcel 1621   _Vcvv 2727    e. cmpt 3974   Oncon0 4285   suc csuc 4287   omcom 4547    |` cres 4582   ` cfv 4592  (class class class)co 5710   reccrdg 6308    +o coa 6362
This theorem is referenced by:  oa1suc  6416  nnasuc  6490
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1926  ax-ext 2234  ax-sep 4038  ax-nul 4046  ax-pr 4108  ax-un 4403
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-iun 3805  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-recs 6274  df-rdg 6309  df-oadd 6369
  Copyright terms: Public domain W3C validator