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

Theorem nnnn0addcl 9007
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 8979 . 2  |-  ( N  e.  NN0  <->  ( N  e.  NN  \/  N  =  0 ) )
2 nnaddcl 8740 . . 3  |-  ( ( M  e.  NN  /\  N  e.  NN )  ->  ( M  +  N
)  e.  NN )
3 oveq2 5782 . . . . 5  |-  ( N  =  0  ->  ( M  +  N )  =  ( M  + 
0 ) )
4 nncn 8728 . . . . . 6  |-  ( M  e.  NN  ->  M  e.  CC )
54addid1d 7911 . . . . 5  |-  ( M  e.  NN  ->  ( M  +  0 )  =  M )
63, 5sylan9eqr 2194 . . . 4  |-  ( ( M  e.  NN  /\  N  =  0 )  ->  ( M  +  N )  =  M )
7 simpl 108 . . . 4  |-  ( ( M  e.  NN  /\  N  =  0 )  ->  M  e.  NN )
86, 7eqeltrd 2216 . . 3  |-  ( ( M  e.  NN  /\  N  =  0 )  ->  ( M  +  N )  e.  NN )
92, 8jaodan 786 . 2  |-  ( ( M  e.  NN  /\  ( N  e.  NN  \/  N  =  0
) )  ->  ( M  +  N )  e.  NN )
101, 9sylan2b 285 1  |-  ( ( M  e.  NN  /\  N  e.  NN0 )  -> 
( M  +  N
)  e.  NN )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    \/ wo 697    = wceq 1331    e. wcel 1480  (class class class)co 5774   0cc0 7620    + caddc 7623   NNcn 8720   NN0cn0 8977
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-cnex 7711  ax-resscn 7712  ax-1cn 7713  ax-1re 7714  ax-icn 7715  ax-addcl 7716  ax-addrcl 7717  ax-mulcl 7718  ax-addass 7722  ax-i2m1 7725  ax-0id 7728
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ral 2421  df-rex 2422  df-rab 2425  df-v 2688  df-un 3075  df-in 3077  df-ss 3084  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-int 3772  df-br 3930  df-iota 5088  df-fv 5131  df-ov 5777  df-inn 8721  df-n0 8978
This theorem is referenced by:  nn0nnaddcl  9008  elz2  9122  bcxmas  11258
  Copyright terms: Public domain W3C validator