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

Theorem nnnn0addcl 8318
Description: A positive integer plus a nonnegative integer is a positive integer. (Contributed by NM, 20-Apr-2005.) (Proof shortened by Mario Carneiro, 16-May-2014.)
Assertion
Ref Expression
nnnn0addcl  |-  ( ( M  e.  NN  /\  N  e.  NN0 )  -> 
( M  +  N
)  e.  NN )

Proof of Theorem nnnn0addcl
StepHypRef Expression
1 elnn0 8290 . 2  |-  ( N  e.  NN0  <->  ( N  e.  NN  \/  N  =  0 ) )
2 nnaddcl 8059 . . 3  |-  ( ( M  e.  NN  /\  N  e.  NN )  ->  ( M  +  N
)  e.  NN )
3 oveq2 5540 . . . . 5  |-  ( N  =  0  ->  ( M  +  N )  =  ( M  + 
0 ) )
4 nncn 8047 . . . . . 6  |-  ( M  e.  NN  ->  M  e.  CC )
54addid1d 7257 . . . . 5  |-  ( M  e.  NN  ->  ( M  +  0 )  =  M )
63, 5sylan9eqr 2135 . . . 4  |-  ( ( M  e.  NN  /\  N  =  0 )  ->  ( M  +  N )  =  M )
7 simpl 107 . . . 4  |-  ( ( M  e.  NN  /\  N  =  0 )  ->  M  e.  NN )
86, 7eqeltrd 2155 . . 3  |-  ( ( M  e.  NN  /\  N  =  0 )  ->  ( M  +  N )  e.  NN )
92, 8jaodan 743 . 2  |-  ( ( M  e.  NN  /\  ( N  e.  NN  \/  N  =  0
) )  ->  ( M  +  N )  e.  NN )
101, 9sylan2b 281 1  |-  ( ( M  e.  NN  /\  N  e.  NN0 )  -> 
( M  +  N
)  e.  NN )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    \/ wo 661    = wceq 1284    e. wcel 1433  (class class class)co 5532   0cc0 6981    + caddc 6984   NNcn 8039   NN0cn0 8288
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-cnex 7067  ax-resscn 7068  ax-1cn 7069  ax-1re 7070  ax-icn 7071  ax-addcl 7072  ax-addrcl 7073  ax-mulcl 7074  ax-addass 7078  ax-i2m1 7081  ax-0id 7084
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-rab 2357  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-int 3637  df-br 3786  df-iota 4887  df-fv 4930  df-ov 5535  df-inn 8040  df-n0 8289
This theorem is referenced by:  nn0nnaddcl  8319  elz2  8419
  Copyright terms: Public domain W3C validator