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

Theorem decaddc2 9452
Description: Add two numerals  M and  N (with carry). (Contributed by Mario Carneiro, 18-Feb-2014.) (Revised by AV, 6-Sep-2021.)
Hypotheses
Ref Expression
decma.a  |-  A  e. 
NN0
decma.b  |-  B  e. 
NN0
decma.c  |-  C  e. 
NN0
decma.d  |-  D  e. 
NN0
decma.m  |-  M  = ; A B
decma.n  |-  N  = ; C D
decaddc.e  |-  ( ( A  +  C )  +  1 )  =  E
decaddc2.t  |-  ( B  +  D )  = ; 1
0
Assertion
Ref Expression
decaddc2  |-  ( M  +  N )  = ; E
0

Proof of Theorem decaddc2
StepHypRef Expression
1 decma.a . 2  |-  A  e. 
NN0
2 decma.b . 2  |-  B  e. 
NN0
3 decma.c . 2  |-  C  e. 
NN0
4 decma.d . 2  |-  D  e. 
NN0
5 decma.m . 2  |-  M  = ; A B
6 decma.n . 2  |-  N  = ; C D
7 decaddc.e . 2  |-  ( ( A  +  C )  +  1 )  =  E
8 0nn0 9204 . 2  |-  0  e.  NN0
9 decaddc2.t . 2  |-  ( B  +  D )  = ; 1
0
101, 2, 3, 4, 5, 6, 7, 8, 9decaddc 9451 1  |-  ( M  +  N )  = ; E
0
Colors of variables: wff set class
Syntax hints:    = wceq 1363    e. wcel 2158  (class class class)co 5888   0cc0 7824   1c1 7825    + caddc 7827   NN0cn0 9189  ;cdc 9397
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1457  ax-7 1458  ax-gen 1459  ax-ie1 1503  ax-ie2 1504  ax-8 1514  ax-10 1515  ax-11 1516  ax-i12 1517  ax-bndl 1519  ax-4 1520  ax-17 1536  ax-i9 1540  ax-ial 1544  ax-i5r 1545  ax-14 2161  ax-ext 2169  ax-sep 4133  ax-pow 4186  ax-pr 4221  ax-setind 4548  ax-cnex 7915  ax-resscn 7916  ax-1cn 7917  ax-1re 7918  ax-icn 7919  ax-addcl 7920  ax-addrcl 7921  ax-mulcl 7922  ax-addcom 7924  ax-mulcom 7925  ax-addass 7926  ax-mulass 7927  ax-distr 7928  ax-i2m1 7929  ax-1rid 7931  ax-0id 7932  ax-rnegex 7933  ax-cnre 7935
This theorem depends on definitions:  df-bi 117  df-3an 981  df-tru 1366  df-fal 1369  df-nf 1471  df-sb 1773  df-eu 2039  df-mo 2040  df-clab 2174  df-cleq 2180  df-clel 2183  df-nfc 2318  df-ne 2358  df-ral 2470  df-rex 2471  df-reu 2472  df-rab 2474  df-v 2751  df-sbc 2975  df-dif 3143  df-un 3145  df-in 3147  df-ss 3154  df-pw 3589  df-sn 3610  df-pr 3611  df-op 3613  df-uni 3822  df-int 3857  df-br 4016  df-opab 4077  df-id 4305  df-xp 4644  df-rel 4645  df-cnv 4646  df-co 4647  df-dm 4648  df-iota 5190  df-fun 5230  df-fv 5236  df-riota 5844  df-ov 5891  df-oprab 5892  df-mpo 5893  df-sub 8143  df-inn 8933  df-2 8991  df-3 8992  df-4 8993  df-5 8994  df-6 8995  df-7 8996  df-8 8997  df-9 8998  df-n0 9190  df-dec 9398
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator