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

Theorem grpsubadd 17274
Description: Relationship between group subtraction and addition. (Contributed by NM, 31-Mar-2014.)
Hypotheses
Ref Expression
grpsubadd.b 𝐵 = (Base‘𝐺)
grpsubadd.p + = (+g𝐺)
grpsubadd.m = (-g𝐺)
Assertion
Ref Expression
grpsubadd ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) = 𝑍 ↔ (𝑍 + 𝑌) = 𝑋))

Proof of Theorem grpsubadd
StepHypRef Expression
1 grpsubadd.b . . . . . . 7 𝐵 = (Base‘𝐺)
2 grpsubadd.p . . . . . . 7 + = (+g𝐺)
3 eqid 2609 . . . . . . 7 (invg𝐺) = (invg𝐺)
4 grpsubadd.m . . . . . . 7 = (-g𝐺)
51, 2, 3, 4grpsubval 17236 . . . . . 6 ((𝑋𝐵𝑌𝐵) → (𝑋 𝑌) = (𝑋 + ((invg𝐺)‘𝑌)))
653adant3 1073 . . . . 5 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (𝑋 𝑌) = (𝑋 + ((invg𝐺)‘𝑌)))
76adantl 480 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 𝑌) = (𝑋 + ((invg𝐺)‘𝑌)))
87eqeq1d 2611 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) = 𝑍 ↔ (𝑋 + ((invg𝐺)‘𝑌)) = 𝑍))
9 simpl 471 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝐺 ∈ Grp)
10 simpr1 1059 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑋𝐵)
111, 3grpinvcl 17238 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑌𝐵) → ((invg𝐺)‘𝑌) ∈ 𝐵)
12113ad2antr2 1219 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((invg𝐺)‘𝑌) ∈ 𝐵)
131, 2grpcl 17201 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑋𝐵 ∧ ((invg𝐺)‘𝑌) ∈ 𝐵) → (𝑋 + ((invg𝐺)‘𝑌)) ∈ 𝐵)
149, 10, 12, 13syl3anc 1317 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 + ((invg𝐺)‘𝑌)) ∈ 𝐵)
15 simpr3 1061 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑍𝐵)
16 simpr2 1060 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑌𝐵)
171, 2grprcan 17226 . . . 4 ((𝐺 ∈ Grp ∧ ((𝑋 + ((invg𝐺)‘𝑌)) ∈ 𝐵𝑍𝐵𝑌𝐵)) → (((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑍 + 𝑌) ↔ (𝑋 + ((invg𝐺)‘𝑌)) = 𝑍))
189, 14, 15, 16, 17syl13anc 1319 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑍 + 𝑌) ↔ (𝑋 + ((invg𝐺)‘𝑌)) = 𝑍))
191, 2grpass 17202 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋𝐵 ∧ ((invg𝐺)‘𝑌) ∈ 𝐵𝑌𝐵)) → ((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑋 + (((invg𝐺)‘𝑌) + 𝑌)))
209, 10, 12, 16, 19syl13anc 1319 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑋 + (((invg𝐺)‘𝑌) + 𝑌)))
21 eqid 2609 . . . . . . . 8 (0g𝐺) = (0g𝐺)
221, 2, 21, 3grplinv 17239 . . . . . . 7 ((𝐺 ∈ Grp ∧ 𝑌𝐵) → (((invg𝐺)‘𝑌) + 𝑌) = (0g𝐺))
23223ad2antr2 1219 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (((invg𝐺)‘𝑌) + 𝑌) = (0g𝐺))
2423oveq2d 6542 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 + (((invg𝐺)‘𝑌) + 𝑌)) = (𝑋 + (0g𝐺)))
251, 2, 21grprid 17224 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑋𝐵) → (𝑋 + (0g𝐺)) = 𝑋)
26253ad2antr1 1218 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 + (0g𝐺)) = 𝑋)
2720, 24, 263eqtrd 2647 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = 𝑋)
2827eqeq1d 2611 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑍 + 𝑌) ↔ 𝑋 = (𝑍 + 𝑌)))
298, 18, 283bitr2d 294 . 2 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) = 𝑍𝑋 = (𝑍 + 𝑌)))
30 eqcom 2616 . 2 (𝑋 = (𝑍 + 𝑌) ↔ (𝑍 + 𝑌) = 𝑋)
3129, 30syl6bb 274 1 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) = 𝑍 ↔ (𝑍 + 𝑌) = 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382  w3a 1030   = wceq 1474  wcel 1976  cfv 5789  (class class class)co 6526  Basecbs 15643  +gcplusg 15716  0gc0g 15871  Grpcgrp 17193  invgcminusg 17194  -gcsg 17195
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-rep 4693  ax-sep 4703  ax-nul 4711  ax-pow 4763  ax-pr 4827  ax-un 6824
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-reu 2902  df-rmo 2903  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-op 4131  df-uni 4367  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-id 4942  df-xp 5033  df-rel 5034  df-cnv 5035  df-co 5036  df-dm 5037  df-rn 5038  df-res 5039  df-ima 5040  df-iota 5753  df-fun 5791  df-fn 5792  df-f 5793  df-f1 5794  df-fo 5795  df-f1o 5796  df-fv 5797  df-riota 6488  df-ov 6529  df-oprab 6530  df-mpt2 6531  df-1st 7036  df-2nd 7037  df-0g 15873  df-mgm 17013  df-sgrp 17055  df-mnd 17066  df-grp 17196  df-minusg 17197  df-sbg 17198
This theorem is referenced by:  grpsubsub4  17279  conjghm  17462  conjnmzb  17466  sylow3lem2  17814  ablsubadd  17988  ablsubsub23  18001  pgpfac1lem2  18245  pgpfac1lem4  18248  lspexch  18898  coe1subfv  19405  ipsubdir  19753  ipsubdi  19754  zlmodzxzsub  41912
  Copyright terms: Public domain W3C validator