MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  add4 Structured version   Visualization version   GIF version

Theorem add4 11459
Description: Rearrangement of 4 terms in a sum. (Contributed by NM, 13-Nov-1999.) (Proof shortened by Andrew Salmon, 22-Oct-2011.)
Assertion
Ref Expression
add4 (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐴 + 𝐵) + (𝐶 + 𝐷)) = ((𝐴 + 𝐶) + (𝐵 + 𝐷)))

Proof of Theorem add4
StepHypRef Expression
1 add12 11456 . . . . 5 ((𝐵 ∈ ℂ ∧ 𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ) → (𝐵 + (𝐶 + 𝐷)) = (𝐶 + (𝐵 + 𝐷)))
213expb 1118 . . . 4 ((𝐵 ∈ ℂ ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → (𝐵 + (𝐶 + 𝐷)) = (𝐶 + (𝐵 + 𝐷)))
32oveq2d 7431 . . 3 ((𝐵 ∈ ℂ ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → (𝐴 + (𝐵 + (𝐶 + 𝐷))) = (𝐴 + (𝐶 + (𝐵 + 𝐷))))
43adantll 713 . 2 (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → (𝐴 + (𝐵 + (𝐶 + 𝐷))) = (𝐴 + (𝐶 + (𝐵 + 𝐷))))
5 addcl 11215 . . 3 ((𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ) → (𝐶 + 𝐷) ∈ ℂ)
6 addass 11220 . . . 4 ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ ∧ (𝐶 + 𝐷) ∈ ℂ) → ((𝐴 + 𝐵) + (𝐶 + 𝐷)) = (𝐴 + (𝐵 + (𝐶 + 𝐷))))
763expa 1116 . . 3 (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 + 𝐷) ∈ ℂ) → ((𝐴 + 𝐵) + (𝐶 + 𝐷)) = (𝐴 + (𝐵 + (𝐶 + 𝐷))))
85, 7sylan2 592 . 2 (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐴 + 𝐵) + (𝐶 + 𝐷)) = (𝐴 + (𝐵 + (𝐶 + 𝐷))))
9 addcl 11215 . . . 4 ((𝐵 ∈ ℂ ∧ 𝐷 ∈ ℂ) → (𝐵 + 𝐷) ∈ ℂ)
10 addass 11220 . . . . 5 ((𝐴 ∈ ℂ ∧ 𝐶 ∈ ℂ ∧ (𝐵 + 𝐷) ∈ ℂ) → ((𝐴 + 𝐶) + (𝐵 + 𝐷)) = (𝐴 + (𝐶 + (𝐵 + 𝐷))))
11103expa 1116 . . . 4 (((𝐴 ∈ ℂ ∧ 𝐶 ∈ ℂ) ∧ (𝐵 + 𝐷) ∈ ℂ) → ((𝐴 + 𝐶) + (𝐵 + 𝐷)) = (𝐴 + (𝐶 + (𝐵 + 𝐷))))
129, 11sylan2 592 . . 3 (((𝐴 ∈ ℂ ∧ 𝐶 ∈ ℂ) ∧ (𝐵 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐴 + 𝐶) + (𝐵 + 𝐷)) = (𝐴 + (𝐶 + (𝐵 + 𝐷))))
1312an4s 659 . 2 (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐴 + 𝐶) + (𝐵 + 𝐷)) = (𝐴 + (𝐶 + (𝐵 + 𝐷))))
144, 8, 133eqtr4d 2778 1 (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐴 + 𝐵) + (𝐶 + 𝐷)) = ((𝐴 + 𝐶) + (𝐵 + 𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1534  wcel 2099  (class class class)co 7415  cc 11131   + caddc 11136
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2167  ax-ext 2699  ax-sep 5294  ax-nul 5301  ax-pow 5360  ax-pr 5424  ax-un 7735  ax-resscn 11190  ax-1cn 11191  ax-icn 11192  ax-addcl 11193  ax-addrcl 11194  ax-mulcl 11195  ax-mulrcl 11196  ax-mulcom 11197  ax-addass 11198  ax-mulass 11199  ax-distr 11200  ax-i2m1 11201  ax-1ne0 11202  ax-1rid 11203  ax-rnegex 11204  ax-rrecex 11205  ax-cnre 11206  ax-pre-lttri 11207  ax-pre-lttrn 11208  ax-pre-ltadd 11209
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-3or 1086  df-3an 1087  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2530  df-eu 2559  df-clab 2706  df-cleq 2720  df-clel 2806  df-nfc 2881  df-ne 2937  df-nel 3043  df-ral 3058  df-rex 3067  df-rab 3429  df-v 3472  df-sbc 3776  df-csb 3891  df-dif 3948  df-un 3950  df-in 3952  df-ss 3962  df-nul 4320  df-if 4526  df-pw 4601  df-sn 4626  df-pr 4628  df-op 4632  df-uni 4905  df-br 5144  df-opab 5206  df-mpt 5227  df-id 5571  df-po 5585  df-so 5586  df-xp 5679  df-rel 5680  df-cnv 5681  df-co 5682  df-dm 5683  df-rn 5684  df-res 5685  df-ima 5686  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7418  df-er 8719  df-en 8959  df-dom 8960  df-sdom 8961  df-pnf 11275  df-mnf 11276  df-ltxr 11278
This theorem is referenced by:  add42  11460  add4i  11463  add4d  11467  3dvds2dec  16304  opoe  16334  ptolemy  26425
  Copyright terms: Public domain W3C validator