Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > addcom | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
addcom | ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + 𝐵) = (𝐵 + 𝐴)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 1cnd 10998 | . . . . . . . 8 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → 1 ∈ ℂ) | |
2 | 1, 1 | addcld 11022 | . . . . . . 7 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (1 + 1) ∈ ℂ) |
3 | simpl 482 | . . . . . . 7 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → 𝐴 ∈ ℂ) | |
4 | simpr 484 | . . . . . . 7 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → 𝐵 ∈ ℂ) | |
5 | 2, 3, 4 | adddid 11027 | . . . . . 6 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((1 + 1) · (𝐴 + 𝐵)) = (((1 + 1) · 𝐴) + ((1 + 1) · 𝐵))) |
6 | 3, 4 | addcld 11022 | . . . . . . 7 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + 𝐵) ∈ ℂ) |
7 | 1p1times 11174 | . . . . . . 7 ⊢ ((𝐴 + 𝐵) ∈ ℂ → ((1 + 1) · (𝐴 + 𝐵)) = ((𝐴 + 𝐵) + (𝐴 + 𝐵))) | |
8 | 6, 7 | syl 17 | . . . . . 6 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((1 + 1) · (𝐴 + 𝐵)) = ((𝐴 + 𝐵) + (𝐴 + 𝐵))) |
9 | 1p1times 11174 | . . . . . . 7 ⊢ (𝐴 ∈ ℂ → ((1 + 1) · 𝐴) = (𝐴 + 𝐴)) | |
10 | 1p1times 11174 | . . . . . . 7 ⊢ (𝐵 ∈ ℂ → ((1 + 1) · 𝐵) = (𝐵 + 𝐵)) | |
11 | 9, 10 | oveqan12d 7314 | . . . . . 6 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (((1 + 1) · 𝐴) + ((1 + 1) · 𝐵)) = ((𝐴 + 𝐴) + (𝐵 + 𝐵))) |
12 | 5, 8, 11 | 3eqtr3rd 2782 | . . . . 5 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐴 + 𝐴) + (𝐵 + 𝐵)) = ((𝐴 + 𝐵) + (𝐴 + 𝐵))) |
13 | 3, 3 | addcld 11022 | . . . . . 6 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + 𝐴) ∈ ℂ) |
14 | 13, 4, 4 | addassd 11025 | . . . . 5 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (((𝐴 + 𝐴) + 𝐵) + 𝐵) = ((𝐴 + 𝐴) + (𝐵 + 𝐵))) |
15 | 6, 3, 4 | addassd 11025 | . . . . 5 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (((𝐴 + 𝐵) + 𝐴) + 𝐵) = ((𝐴 + 𝐵) + (𝐴 + 𝐵))) |
16 | 12, 14, 15 | 3eqtr4d 2783 | . . . 4 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (((𝐴 + 𝐴) + 𝐵) + 𝐵) = (((𝐴 + 𝐵) + 𝐴) + 𝐵)) |
17 | 13, 4 | addcld 11022 | . . . . 5 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐴 + 𝐴) + 𝐵) ∈ ℂ) |
18 | 6, 3 | addcld 11022 | . . . . 5 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐴 + 𝐵) + 𝐴) ∈ ℂ) |
19 | addcan2 11188 | . . . . 5 ⊢ ((((𝐴 + 𝐴) + 𝐵) ∈ ℂ ∧ ((𝐴 + 𝐵) + 𝐴) ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((((𝐴 + 𝐴) + 𝐵) + 𝐵) = (((𝐴 + 𝐵) + 𝐴) + 𝐵) ↔ ((𝐴 + 𝐴) + 𝐵) = ((𝐴 + 𝐵) + 𝐴))) | |
20 | 17, 18, 4, 19 | syl3anc 1369 | . . . 4 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((((𝐴 + 𝐴) + 𝐵) + 𝐵) = (((𝐴 + 𝐵) + 𝐴) + 𝐵) ↔ ((𝐴 + 𝐴) + 𝐵) = ((𝐴 + 𝐵) + 𝐴))) |
21 | 16, 20 | mpbid 231 | . . 3 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐴 + 𝐴) + 𝐵) = ((𝐴 + 𝐵) + 𝐴)) |
22 | 3, 3, 4 | addassd 11025 | . . 3 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐴 + 𝐴) + 𝐵) = (𝐴 + (𝐴 + 𝐵))) |
23 | 3, 4, 3 | addassd 11025 | . . 3 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐴 + 𝐵) + 𝐴) = (𝐴 + (𝐵 + 𝐴))) |
24 | 21, 22, 23 | 3eqtr3d 2781 | . 2 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + (𝐴 + 𝐵)) = (𝐴 + (𝐵 + 𝐴))) |
25 | 4, 3 | addcld 11022 | . . 3 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐵 + 𝐴) ∈ ℂ) |
26 | addcan 11187 | . . 3 ⊢ ((𝐴 ∈ ℂ ∧ (𝐴 + 𝐵) ∈ ℂ ∧ (𝐵 + 𝐴) ∈ ℂ) → ((𝐴 + (𝐴 + 𝐵)) = (𝐴 + (𝐵 + 𝐴)) ↔ (𝐴 + 𝐵) = (𝐵 + 𝐴))) | |
27 | 3, 6, 25, 26 | syl3anc 1369 | . 2 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐴 + (𝐴 + 𝐵)) = (𝐴 + (𝐵 + 𝐴)) ↔ (𝐴 + 𝐵) = (𝐵 + 𝐴))) |
28 | 24, 27 | mpbid 231 | 1 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + 𝐵) = (𝐵 + 𝐴)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 395 = wceq 1537 ∈ wcel 2101 (class class class)co 7295 ℂcc 10897 1c1 10900 + caddc 10902 · cmul 10904 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1793 ax-4 1807 ax-5 1909 ax-6 1967 ax-7 2007 ax-8 2103 ax-9 2111 ax-10 2132 ax-11 2149 ax-12 2166 ax-ext 2704 ax-sep 5226 ax-nul 5233 ax-pow 5291 ax-pr 5355 ax-un 7608 ax-resscn 10956 ax-1cn 10957 ax-icn 10958 ax-addcl 10959 ax-addrcl 10960 ax-mulcl 10961 ax-mulrcl 10962 ax-mulcom 10963 ax-addass 10964 ax-mulass 10965 ax-distr 10966 ax-i2m1 10967 ax-1ne0 10968 ax-1rid 10969 ax-rnegex 10970 ax-rrecex 10971 ax-cnre 10972 ax-pre-lttri 10973 ax-pre-lttrn 10974 ax-pre-ltadd 10975 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-3or 1086 df-3an 1087 df-tru 1540 df-fal 1550 df-ex 1778 df-nf 1782 df-sb 2063 df-mo 2535 df-eu 2564 df-clab 2711 df-cleq 2725 df-clel 2811 df-nfc 2884 df-ne 2939 df-nel 3045 df-ral 3060 df-rex 3069 df-rab 3224 df-v 3436 df-sbc 3719 df-csb 3835 df-dif 3892 df-un 3894 df-in 3896 df-ss 3906 df-nul 4260 df-if 4463 df-pw 4538 df-sn 4565 df-pr 4567 df-op 4571 df-uni 4842 df-br 5078 df-opab 5140 df-mpt 5161 df-id 5491 df-po 5505 df-so 5506 df-xp 5597 df-rel 5598 df-cnv 5599 df-co 5600 df-dm 5601 df-rn 5602 df-res 5603 df-ima 5604 df-iota 6399 df-fun 6449 df-fn 6450 df-f 6451 df-f1 6452 df-fo 6453 df-f1o 6454 df-fv 6455 df-ov 7298 df-er 8518 df-en 8754 df-dom 8755 df-sdom 8756 df-pnf 11039 df-mnf 11040 df-ltxr 11042 |
This theorem is referenced by: addcomi 11194 ltaddnegr 11219 add12 11220 add32 11221 add42 11224 subsub23 11254 pncan2 11256 addsub 11260 addsub12 11262 addsubeq4 11264 sub32 11283 pnpcan2 11289 ppncan 11291 sub4 11294 negsubdi2 11308 ltaddsub2 11478 leaddsub2 11480 leltadd 11487 ltaddpos2 11494 addge02 11514 conjmul 11720 recp1lt1 11901 recreclt 11902 avgle1 12241 avgle2 12242 avgle 12243 nn0nnaddcl 12292 xaddcom 13002 fzen 13301 fzshftral 13372 fzo0addelr 13470 elfzoext 13472 flzadd 13574 addmodidr 13668 modadd2mod 13669 nn0ennn 13727 seradd 13793 bernneq2 13973 ccatrn 14322 ccatalpha 14326 revccat 14507 2cshwcom 14557 shftval2 14814 shftval4 14816 crim 14854 absmax 15069 climshft2 15319 summolem3 15454 binom1dif 15573 isumshft 15579 arisum 15600 mertenslem1 15624 bpolydiflem 15792 addcos 15911 demoivreALT 15938 dvdsaddr 16040 sumodd 16125 divalglem4 16133 divalgb 16141 gcdaddm 16260 hashdvds 16504 phiprmpw 16505 pythagtriplem2 16546 prmgaplem7 16786 mulgnndir 18760 cnaddablx 19497 cnaddabl 19498 zaddablx 19501 cncrng 20647 ioo2bl 23984 icopnfcnv 24133 uniioombllem3 24777 fta1glem1 25358 plyremlem 25492 fta1lem 25495 vieta1lem1 25498 vieta1lem2 25499 aaliou3lem2 25531 dvradcnv 25608 pserdv2 25617 reeff1olem 25633 ptolemy 25681 logcnlem4 25828 cxpsqrt 25886 atandm2 26055 atandm4 26057 atanlogsublem 26093 2efiatan 26096 dvatan 26113 birthdaylem2 26130 emcllem2 26174 fsumharmonic 26189 wilthlem1 26245 wilthlem2 26246 basellem8 26265 1sgmprm 26375 perfectlem2 26406 pntibndlem1 26765 pntibndlem2 26767 pntlemd 26770 pntlemc 26771 eucrctshift 28635 cnaddabloOLD 28971 cdj3lem3b 30830 isarchi3 31469 archiabllem2c 31477 cos2h 35796 tan2h 35797 lcmineqlem4 40066 2xp3dxp2ge1d 40188 eldioph2lem1 40605 addcomgi 42098 fz0addcom 44849 epoo 45195 perfectALTVlem2 45214 sbgoldbaltlem2 45272 |
Copyright terms: Public domain | W3C validator |