ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nnacl Unicode version

Theorem nnacl 6255
Description: Closure of addition of natural numbers. Proposition 8.9 of [TakeutiZaring] p. 59. (Contributed by NM, 20-Sep-1995.) (Proof shortened by Andrew Salmon, 22-Oct-2011.)
Assertion
Ref Expression
nnacl  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  +o  B
)  e.  om )

Proof of Theorem nnacl
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 5674 . . . . 5  |-  ( x  =  B  ->  ( A  +o  x )  =  ( A  +o  B
) )
21eleq1d 2157 . . . 4  |-  ( x  =  B  ->  (
( A  +o  x
)  e.  om  <->  ( A  +o  B )  e.  om ) )
32imbi2d 229 . . 3  |-  ( x  =  B  ->  (
( A  e.  om  ->  ( A  +o  x
)  e.  om )  <->  ( A  e.  om  ->  ( A  +o  B )  e.  om ) ) )
4 oveq2 5674 . . . . 5  |-  ( x  =  (/)  ->  ( A  +o  x )  =  ( A  +o  (/) ) )
54eleq1d 2157 . . . 4  |-  ( x  =  (/)  ->  ( ( A  +o  x )  e.  om  <->  ( A  +o  (/) )  e.  om ) )
6 oveq2 5674 . . . . 5  |-  ( x  =  y  ->  ( A  +o  x )  =  ( A  +o  y
) )
76eleq1d 2157 . . . 4  |-  ( x  =  y  ->  (
( A  +o  x
)  e.  om  <->  ( A  +o  y )  e.  om ) )
8 oveq2 5674 . . . . 5  |-  ( x  =  suc  y  -> 
( A  +o  x
)  =  ( A  +o  suc  y ) )
98eleq1d 2157 . . . 4  |-  ( x  =  suc  y  -> 
( ( A  +o  x )  e.  om  <->  ( A  +o  suc  y
)  e.  om )
)
10 nna0 6249 . . . . . 6  |-  ( A  e.  om  ->  ( A  +o  (/) )  =  A )
1110eleq1d 2157 . . . . 5  |-  ( A  e.  om  ->  (
( A  +o  (/) )  e. 
om 
<->  A  e.  om )
)
1211ibir 176 . . . 4  |-  ( A  e.  om  ->  ( A  +o  (/) )  e.  om )
13 peano2 4423 . . . . . 6  |-  ( ( A  +o  y )  e.  om  ->  suc  ( A  +o  y
)  e.  om )
14 nnasuc 6251 . . . . . . 7  |-  ( ( A  e.  om  /\  y  e.  om )  ->  ( A  +o  suc  y )  =  suc  ( A  +o  y
) )
1514eleq1d 2157 . . . . . 6  |-  ( ( A  e.  om  /\  y  e.  om )  ->  ( ( A  +o  suc  y )  e.  om  <->  suc  ( A  +o  y
)  e.  om )
)
1613, 15syl5ibr 155 . . . . 5  |-  ( ( A  e.  om  /\  y  e.  om )  ->  ( ( A  +o  y )  e.  om  ->  ( A  +o  suc  y )  e.  om ) )
1716expcom 115 . . . 4  |-  ( y  e.  om  ->  ( A  e.  om  ->  ( ( A  +o  y
)  e.  om  ->  ( A  +o  suc  y
)  e.  om )
) )
185, 7, 9, 12, 17finds2 4429 . . 3  |-  ( x  e.  om  ->  ( A  e.  om  ->  ( A  +o  x )  e.  om ) )
193, 18vtoclga 2686 . 2  |-  ( B  e.  om  ->  ( A  e.  om  ->  ( A  +o  B )  e.  om ) )
2019impcom 124 1  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  +o  B
)  e.  om )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    = wceq 1290    e. wcel 1439   (/)c0 3287   suc csuc 4201   omcom 4418  (class class class)co 5666    +o coa 6192
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 580  ax-in2 581  ax-io 666  ax-5 1382  ax-7 1383  ax-gen 1384  ax-ie1 1428  ax-ie2 1429  ax-8 1441  ax-10 1442  ax-11 1443  ax-i12 1444  ax-bndl 1445  ax-4 1446  ax-13 1450  ax-14 1451  ax-17 1465  ax-i9 1469  ax-ial 1473  ax-i5r 1474  ax-ext 2071  ax-coll 3960  ax-sep 3963  ax-nul 3971  ax-pow 4015  ax-pr 4045  ax-un 4269  ax-setind 4366  ax-iinf 4416
This theorem depends on definitions:  df-bi 116  df-3an 927  df-tru 1293  df-fal 1296  df-nf 1396  df-sb 1694  df-eu 1952  df-mo 1953  df-clab 2076  df-cleq 2082  df-clel 2085  df-nfc 2218  df-ne 2257  df-ral 2365  df-rex 2366  df-reu 2367  df-rab 2369  df-v 2622  df-sbc 2842  df-csb 2935  df-dif 3002  df-un 3004  df-in 3006  df-ss 3013  df-nul 3288  df-pw 3435  df-sn 3456  df-pr 3457  df-op 3459  df-uni 3660  df-int 3695  df-iun 3738  df-br 3852  df-opab 3906  df-mpt 3907  df-tr 3943  df-id 4129  df-iord 4202  df-on 4204  df-suc 4207  df-iom 4419  df-xp 4458  df-rel 4459  df-cnv 4460  df-co 4461  df-dm 4462  df-rn 4463  df-res 4464  df-ima 4465  df-iota 4993  df-fun 5030  df-fn 5031  df-f 5032  df-f1 5033  df-fo 5034  df-f1o 5035  df-fv 5036  df-ov 5669  df-oprab 5670  df-mpt2 5671  df-1st 5925  df-2nd 5926  df-recs 6084  df-irdg 6149  df-oadd 6199
This theorem is referenced by:  nnmcl  6256  nnacli  6257  nnaass  6260  nndi  6261  nndir  6265  nnaordi  6281  nnaord  6282  nnaword  6284  addclpi  6947  nnppipi  6963  archnqq  7037  addcmpblnq0  7063  addclnq0  7071  nnanq0  7078  distrnq0  7079  addassnq0lemcl  7081  prarloclemlt  7113  prarloclemlo  7114  prarloclem3  7117  omgadd  10271  hashunlem  10273  hashun  10274
  Copyright terms: Public domain W3C validator