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

Theorem addcom 8952
Description: Addition commutes. This used to be one of our complex number axioms, until it was found to be dependent on the others. Based on ideas by Eric Schmidt. (Contributed by Scott Fenton, 3-Jan-2013.)
Assertion
Ref Expression
addcom  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  B
)  =  ( B  +  A ) )

Proof of Theorem addcom
StepHypRef Expression
1 ax-1cn 8749 . . . . . . . . 9  |-  1  e.  CC
21a1i 12 . . . . . . . 8  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  1  e.  CC )
32, 2addcld 8808 . . . . . . 7  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( 1  +  1 )  e.  CC )
4 simpl 445 . . . . . . 7  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  A  e.  CC )
5 simpr 449 . . . . . . 7  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  B  e.  CC )
63, 4, 5adddid 8813 . . . . . 6  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( 1  +  1 )  x.  ( A  +  B )
)  =  ( ( ( 1  +  1 )  x.  A )  +  ( ( 1  +  1 )  x.  B ) ) )
74, 5addcld 8808 . . . . . . 7  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  B
)  e.  CC )
8 1p1times 8937 . . . . . . 7  |-  ( ( A  +  B )  e.  CC  ->  (
( 1  +  1 )  x.  ( A  +  B ) )  =  ( ( A  +  B )  +  ( A  +  B
) ) )
97, 8syl 17 . . . . . 6  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( 1  +  1 )  x.  ( A  +  B )
)  =  ( ( A  +  B )  +  ( A  +  B ) ) )
10 1p1times 8937 . . . . . . 7  |-  ( A  e.  CC  ->  (
( 1  +  1 )  x.  A )  =  ( A  +  A ) )
11 1p1times 8937 . . . . . . 7  |-  ( B  e.  CC  ->  (
( 1  +  1 )  x.  B )  =  ( B  +  B ) )
1210, 11oveqan12d 5797 . . . . . 6  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( ( 1  +  1 )  x.  A )  +  ( ( 1  +  1 )  x.  B ) )  =  ( ( A  +  A )  +  ( B  +  B ) ) )
136, 9, 123eqtr3rd 2297 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  A )  +  ( B  +  B ) )  =  ( ( A  +  B )  +  ( A  +  B ) ) )
144, 4addcld 8808 . . . . . 6  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  A
)  e.  CC )
1514, 5, 5addassd 8811 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( ( A  +  A )  +  B )  +  B
)  =  ( ( A  +  A )  +  ( B  +  B ) ) )
167, 4, 5addassd 8811 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( ( A  +  B )  +  A )  +  B
)  =  ( ( A  +  B )  +  ( A  +  B ) ) )
1713, 15, 163eqtr4d 2298 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( ( A  +  A )  +  B )  +  B
)  =  ( ( ( A  +  B
)  +  A )  +  B ) )
1814, 5addcld 8808 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  A )  +  B
)  e.  CC )
197, 4addcld 8808 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  B )  +  A
)  e.  CC )
20 addcan2 8951 . . . . 5  |-  ( ( ( ( A  +  A )  +  B
)  e.  CC  /\  ( ( A  +  B )  +  A
)  e.  CC  /\  B  e.  CC )  ->  ( ( ( ( A  +  A )  +  B )  +  B )  =  ( ( ( A  +  B )  +  A
)  +  B )  <-> 
( ( A  +  A )  +  B
)  =  ( ( A  +  B )  +  A ) ) )
2118, 19, 5, 20syl3anc 1187 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( ( ( A  +  A )  +  B )  +  B )  =  ( ( ( A  +  B )  +  A
)  +  B )  <-> 
( ( A  +  A )  +  B
)  =  ( ( A  +  B )  +  A ) ) )
2217, 21mpbid 203 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  A )  +  B
)  =  ( ( A  +  B )  +  A ) )
234, 4, 5addassd 8811 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  A )  +  B
)  =  ( A  +  ( A  +  B ) ) )
244, 5, 4addassd 8811 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  B )  +  A
)  =  ( A  +  ( B  +  A ) ) )
2522, 23, 243eqtr3d 2296 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  ( A  +  B ) )  =  ( A  +  ( B  +  A ) ) )
265, 4addcld 8808 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( B  +  A
)  e.  CC )
27 addcan 8950 . . 3  |-  ( ( A  e.  CC  /\  ( A  +  B
)  e.  CC  /\  ( B  +  A
)  e.  CC )  ->  ( ( A  +  ( A  +  B ) )  =  ( A  +  ( B  +  A ) )  <->  ( A  +  B )  =  ( B  +  A ) ) )
284, 7, 26, 27syl3anc 1187 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  ( A  +  B
) )  =  ( A  +  ( B  +  A ) )  <-> 
( A  +  B
)  =  ( B  +  A ) ) )
2925, 28mpbid 203 1  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  B
)  =  ( B  +  A ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    <-> wb 178    /\ wa 360    = wceq 1619    e. wcel 1621  (class class class)co 5778   CCcc 8689   1c1 8692    + caddc 8694    x. cmul 8696
This theorem is referenced by:  addcomi  8957  add12  8979  add32  8980  add42  8982  subsub23  9010  pncan2  9012  addsub  9016  addsub12  9018  addsubeq4  9020  sub32  9035  pnpcan2  9041  ppncan  9043  sub4  9046  negsubdi2  9060  ltaddsub2  9203  leaddsub2  9205  leltadd  9212  ltaddpos2  9219  addge02  9239  conjmul  9431  recp1lt1  9608  recreclt  9609  avgle1  9904  avgle2  9905  avgle  9906  nn0nnaddcl  9949  xaddcom  10517  fzen  10763  fzshftral  10821  flzadd  10903  nn0ennn  10993  seradd  11040  bernneq2  11180  hashfz  11332  revccat  11435  shftval2  11521  shftval4  11523  crim  11551  absmax  11764  climshft2  12007  summolem3  12138  binom1dif  12242  isumshft  12246  arisum  12266  mertenslem1  12288  addcos  12402  demoivreALT  12429  dvdsaddr  12516  divalglem4  12543  divalgb  12551  gcdaddm  12656  hashdvds  12791  phiprmpw  12792  pythagtriplem2  12818  mulgnndir  14537  cnaddablx  15106  cnaddabl  15107  zaddablx  15108  cncrng  16343  ioo2bl  18247  icopnfcnv  18388  uniioombllem3  18888  fta1glem1  19499  plyremlem  19632  fta1lem  19635  vieta1lem1  19638  vieta1lem2  19639  aaliou3lem2  19671  dvradcnv  19745  pserdv2  19754  reeff1olem  19770  ptolemy  19812  logcnlem4  19940  cxpsqr  19998  atandm2  20121  atandm4  20123  atanlogsublem  20159  2efiatan  20162  dvatan  20179  birthdaylem2  20195  emcllem2  20238  fsumharmonic  20253  wilthlem1  20254  wilthlem2  20255  basellem8  20273  1sgmprm  20386  perfectlem2  20417  pntibndlem1  20686  pntibndlem2  20688  pntlemd  20691  pntlemc  20692  cnaddablo  20963  addinv  20965  cdj3lem3b  22966  bpolydiflem  24150  addcomv  25008  eldioph2lem1  26192  addcomgi  27015  stoweidlem11  27081  stoweidlem13  27083
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 1927  ax-ext 2237  ax-sep 4101  ax-nul 4109  ax-pow 4146  ax-pr 4172  ax-un 4470  ax-resscn 8748  ax-1cn 8749  ax-icn 8750  ax-addcl 8751  ax-addrcl 8752  ax-mulcl 8753  ax-mulrcl 8754  ax-mulcom 8755  ax-addass 8756  ax-mulass 8757  ax-distr 8758  ax-i2m1 8759  ax-1ne0 8760  ax-1rid 8761  ax-rnegex 8762  ax-rrecex 8763  ax-cnre 8764  ax-pre-lttri 8765  ax-pre-lttrn 8766  ax-pre-ltadd 8767
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 1884  df-eu 2121  df-mo 2122  df-clab 2243  df-cleq 2249  df-clel 2252  df-nfc 2381  df-ne 2421  df-nel 2422  df-ral 2521  df-rex 2522  df-rab 2525  df-v 2759  df-sbc 2953  df-csb 3043  df-dif 3116  df-un 3118  df-in 3120  df-ss 3127  df-nul 3417  df-if 3526  df-pw 3587  df-sn 3606  df-pr 3607  df-op 3609  df-uni 3788  df-br 3984  df-opab 4038  df-mpt 4039  df-id 4267  df-po 4272  df-so 4273  df-xp 4661  df-rel 4662  df-cnv 4663  df-co 4664  df-dm 4665  df-rn 4666  df-res 4667  df-ima 4668  df-fun 4669  df-fn 4670  df-f 4671  df-f1 4672  df-fo 4673  df-f1o 4674  df-fv 4675  df-ov 5781  df-er 6614  df-en 6818  df-dom 6819  df-sdom 6820  df-pnf 8823  df-mnf 8824  df-ltxr 8826
  Copyright terms: Public domain W3C validator