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

Theorem abladdsub4 18265
Description: Abelian group addition/subtraction law. (Contributed by NM, 31-Mar-2014.)
Hypotheses
Ref Expression
ablsubadd.b 𝐵 = (Base‘𝐺)
ablsubadd.p + = (+g𝐺)
ablsubadd.m = (-g𝐺)
Assertion
Ref Expression
abladdsub4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 + 𝑌) = (𝑍 + 𝑊) ↔ (𝑋 𝑍) = (𝑊 𝑌)))

Proof of Theorem abladdsub4
StepHypRef Expression
1 ablgrp 18244 . . . 4 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
213ad2ant1 1102 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝐺 ∈ Grp)
3 simp2l 1107 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝑋𝐵)
4 simp2r 1108 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝑌𝐵)
5 ablsubadd.b . . . . 5 𝐵 = (Base‘𝐺)
6 ablsubadd.p . . . . 5 + = (+g𝐺)
75, 6grpcl 17477 . . . 4 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → (𝑋 + 𝑌) ∈ 𝐵)
82, 3, 4, 7syl3anc 1366 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑋 + 𝑌) ∈ 𝐵)
9 simp3l 1109 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝑍𝐵)
10 simp3r 1110 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝑊𝐵)
115, 6grpcl 17477 . . . 4 ((𝐺 ∈ Grp ∧ 𝑍𝐵𝑊𝐵) → (𝑍 + 𝑊) ∈ 𝐵)
122, 9, 10, 11syl3anc 1366 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑍 + 𝑊) ∈ 𝐵)
135, 6grpcl 17477 . . . 4 ((𝐺 ∈ Grp ∧ 𝑍𝐵𝑌𝐵) → (𝑍 + 𝑌) ∈ 𝐵)
142, 9, 4, 13syl3anc 1366 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑍 + 𝑌) ∈ 𝐵)
15 ablsubadd.m . . . 4 = (-g𝐺)
165, 15grpsubrcan 17543 . . 3 ((𝐺 ∈ Grp ∧ ((𝑋 + 𝑌) ∈ 𝐵 ∧ (𝑍 + 𝑊) ∈ 𝐵 ∧ (𝑍 + 𝑌) ∈ 𝐵)) → (((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑍 + 𝑊) (𝑍 + 𝑌)) ↔ (𝑋 + 𝑌) = (𝑍 + 𝑊)))
172, 8, 12, 14, 16syl13anc 1368 . 2 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑍 + 𝑊) (𝑍 + 𝑌)) ↔ (𝑋 + 𝑌) = (𝑍 + 𝑊)))
18 simp1 1081 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝐺 ∈ Abel)
195, 6, 15ablsub4 18264 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑌𝐵)) → ((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑋 𝑍) + (𝑌 𝑌)))
2018, 3, 4, 9, 4, 19syl122anc 1375 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑋 𝑍) + (𝑌 𝑌)))
21 eqid 2651 . . . . . . 7 (0g𝐺) = (0g𝐺)
225, 21, 15grpsubid 17546 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑌𝐵) → (𝑌 𝑌) = (0g𝐺))
232, 4, 22syl2anc 694 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑌 𝑌) = (0g𝐺))
2423oveq2d 6706 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 𝑍) + (𝑌 𝑌)) = ((𝑋 𝑍) + (0g𝐺)))
255, 15grpsubcl 17542 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑍𝐵) → (𝑋 𝑍) ∈ 𝐵)
262, 3, 9, 25syl3anc 1366 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑋 𝑍) ∈ 𝐵)
275, 6, 21grprid 17500 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋 𝑍) ∈ 𝐵) → ((𝑋 𝑍) + (0g𝐺)) = (𝑋 𝑍))
282, 26, 27syl2anc 694 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 𝑍) + (0g𝐺)) = (𝑋 𝑍))
2920, 24, 283eqtrd 2689 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 + 𝑌) (𝑍 + 𝑌)) = (𝑋 𝑍))
305, 6, 15ablsub4 18264 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑍𝐵𝑊𝐵) ∧ (𝑍𝐵𝑌𝐵)) → ((𝑍 + 𝑊) (𝑍 + 𝑌)) = ((𝑍 𝑍) + (𝑊 𝑌)))
3118, 9, 10, 9, 4, 30syl122anc 1375 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑍 + 𝑊) (𝑍 + 𝑌)) = ((𝑍 𝑍) + (𝑊 𝑌)))
325, 21, 15grpsubid 17546 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑍𝐵) → (𝑍 𝑍) = (0g𝐺))
332, 9, 32syl2anc 694 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑍 𝑍) = (0g𝐺))
3433oveq1d 6705 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑍 𝑍) + (𝑊 𝑌)) = ((0g𝐺) + (𝑊 𝑌)))
355, 15grpsubcl 17542 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑊𝐵𝑌𝐵) → (𝑊 𝑌) ∈ 𝐵)
362, 10, 4, 35syl3anc 1366 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑊 𝑌) ∈ 𝐵)
375, 6, 21grplid 17499 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑊 𝑌) ∈ 𝐵) → ((0g𝐺) + (𝑊 𝑌)) = (𝑊 𝑌))
382, 36, 37syl2anc 694 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((0g𝐺) + (𝑊 𝑌)) = (𝑊 𝑌))
3931, 34, 383eqtrd 2689 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑍 + 𝑊) (𝑍 + 𝑌)) = (𝑊 𝑌))
4029, 39eqeq12d 2666 . 2 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑍 + 𝑊) (𝑍 + 𝑌)) ↔ (𝑋 𝑍) = (𝑊 𝑌)))
4117, 40bitr3d 270 1 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 + 𝑌) = (𝑍 + 𝑊) ↔ (𝑋 𝑍) = (𝑊 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1054   = wceq 1523  wcel 2030  cfv 5926  (class class class)co 6690  Basecbs 15904  +gcplusg 15988  0gc0g 16147  Grpcgrp 17469  -gcsg 17471  Abelcabl 18240
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-1st 7210  df-2nd 7211  df-0g 16149  df-mgm 17289  df-sgrp 17331  df-mnd 17342  df-grp 17472  df-minusg 17473  df-sbg 17474  df-cmn 18241  df-abl 18242
This theorem is referenced by:  lmodvaddsub4  18963
  Copyright terms: Public domain W3C validator