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

Theorem abladdsub4 19415
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 19391 . . . 4 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
213ad2ant1 1132 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝐺 ∈ Grp)
3 simp2l 1198 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝑋𝐵)
4 simp2r 1199 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝑌𝐵)
5 ablsubadd.b . . . . 5 𝐵 = (Base‘𝐺)
6 ablsubadd.p . . . . 5 + = (+g𝐺)
75, 6grpcl 18585 . . . 4 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → (𝑋 + 𝑌) ∈ 𝐵)
82, 3, 4, 7syl3anc 1370 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑋 + 𝑌) ∈ 𝐵)
9 simp3l 1200 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝑍𝐵)
10 simp3r 1201 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝑊𝐵)
115, 6grpcl 18585 . . . 4 ((𝐺 ∈ Grp ∧ 𝑍𝐵𝑊𝐵) → (𝑍 + 𝑊) ∈ 𝐵)
122, 9, 10, 11syl3anc 1370 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑍 + 𝑊) ∈ 𝐵)
135, 6grpcl 18585 . . . 4 ((𝐺 ∈ Grp ∧ 𝑍𝐵𝑌𝐵) → (𝑍 + 𝑌) ∈ 𝐵)
142, 9, 4, 13syl3anc 1370 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑍 + 𝑌) ∈ 𝐵)
15 ablsubadd.m . . . 4 = (-g𝐺)
165, 15grpsubrcan 18656 . . 3 ((𝐺 ∈ Grp ∧ ((𝑋 + 𝑌) ∈ 𝐵 ∧ (𝑍 + 𝑊) ∈ 𝐵 ∧ (𝑍 + 𝑌) ∈ 𝐵)) → (((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑍 + 𝑊) (𝑍 + 𝑌)) ↔ (𝑋 + 𝑌) = (𝑍 + 𝑊)))
172, 8, 12, 14, 16syl13anc 1371 . 2 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑍 + 𝑊) (𝑍 + 𝑌)) ↔ (𝑋 + 𝑌) = (𝑍 + 𝑊)))
18 simp1 1135 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → 𝐺 ∈ Abel)
195, 6, 15ablsub4 19414 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑌𝐵)) → ((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑋 𝑍) + (𝑌 𝑌)))
2018, 3, 4, 9, 4, 19syl122anc 1378 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑋 𝑍) + (𝑌 𝑌)))
21 eqid 2738 . . . . . . 7 (0g𝐺) = (0g𝐺)
225, 21, 15grpsubid 18659 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑌𝐵) → (𝑌 𝑌) = (0g𝐺))
232, 4, 22syl2anc 584 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑌 𝑌) = (0g𝐺))
2423oveq2d 7291 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 𝑍) + (𝑌 𝑌)) = ((𝑋 𝑍) + (0g𝐺)))
255, 15grpsubcl 18655 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑍𝐵) → (𝑋 𝑍) ∈ 𝐵)
262, 3, 9, 25syl3anc 1370 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑋 𝑍) ∈ 𝐵)
275, 6, 21grprid 18610 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋 𝑍) ∈ 𝐵) → ((𝑋 𝑍) + (0g𝐺)) = (𝑋 𝑍))
282, 26, 27syl2anc 584 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 𝑍) + (0g𝐺)) = (𝑋 𝑍))
2920, 24, 283eqtrd 2782 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 + 𝑌) (𝑍 + 𝑌)) = (𝑋 𝑍))
305, 6, 15ablsub4 19414 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑍𝐵𝑊𝐵) ∧ (𝑍𝐵𝑌𝐵)) → ((𝑍 + 𝑊) (𝑍 + 𝑌)) = ((𝑍 𝑍) + (𝑊 𝑌)))
3118, 9, 10, 9, 4, 30syl122anc 1378 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑍 + 𝑊) (𝑍 + 𝑌)) = ((𝑍 𝑍) + (𝑊 𝑌)))
325, 21, 15grpsubid 18659 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑍𝐵) → (𝑍 𝑍) = (0g𝐺))
332, 9, 32syl2anc 584 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑍 𝑍) = (0g𝐺))
3433oveq1d 7290 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑍 𝑍) + (𝑊 𝑌)) = ((0g𝐺) + (𝑊 𝑌)))
355, 15grpsubcl 18655 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑊𝐵𝑌𝐵) → (𝑊 𝑌) ∈ 𝐵)
362, 10, 4, 35syl3anc 1370 . . . . 5 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (𝑊 𝑌) ∈ 𝐵)
375, 6, 21grplid 18609 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑊 𝑌) ∈ 𝐵) → ((0g𝐺) + (𝑊 𝑌)) = (𝑊 𝑌))
382, 36, 37syl2anc 584 . . . 4 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((0g𝐺) + (𝑊 𝑌)) = (𝑊 𝑌))
3931, 34, 383eqtrd 2782 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑍 + 𝑊) (𝑍 + 𝑌)) = (𝑊 𝑌))
4029, 39eqeq12d 2754 . 2 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → (((𝑋 + 𝑌) (𝑍 + 𝑌)) = ((𝑍 + 𝑊) (𝑍 + 𝑌)) ↔ (𝑋 𝑍) = (𝑊 𝑌)))
4117, 40bitr3d 280 1 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑍𝐵𝑊𝐵)) → ((𝑋 + 𝑌) = (𝑍 + 𝑊) ↔ (𝑋 𝑍) = (𝑊 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  cfv 6433  (class class class)co 7275  Basecbs 16912  +gcplusg 16962  0gc0g 17150  Grpcgrp 18577  -gcsg 18579  Abelcabl 19387
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-0g 17152  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-grp 18580  df-minusg 18581  df-sbg 18582  df-cmn 19388  df-abl 19389
This theorem is referenced by:  lmodvaddsub4  20175
  Copyright terms: Public domain W3C validator