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

Theorem grpsubsub4 18456
Description: Double group subtraction (subsub4 11111 analog). (Contributed by Mario Carneiro, 2-Dec-2014.)
Hypotheses
Ref Expression
grpsubadd.b 𝐵 = (Base‘𝐺)
grpsubadd.p + = (+g𝐺)
grpsubadd.m = (-g𝐺)
Assertion
Ref Expression
grpsubsub4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑍 + 𝑌)))

Proof of Theorem grpsubsub4
StepHypRef Expression
1 simpl 486 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝐺 ∈ Grp)
2 grpsubadd.b . . . . . . . 8 𝐵 = (Base‘𝐺)
3 grpsubadd.m . . . . . . . 8 = (-g𝐺)
42, 3grpsubcl 18443 . . . . . . 7 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → (𝑋 𝑌) ∈ 𝐵)
543adant3r3 1186 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 𝑌) ∈ 𝐵)
6 simpr3 1198 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑍𝐵)
7 grpsubadd.p . . . . . . 7 + = (+g𝐺)
82, 7, 3grpnpcan 18455 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋 𝑌) ∈ 𝐵𝑍𝐵) → (((𝑋 𝑌) 𝑍) + 𝑍) = (𝑋 𝑌))
91, 5, 6, 8syl3anc 1373 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (((𝑋 𝑌) 𝑍) + 𝑍) = (𝑋 𝑌))
109oveq1d 7228 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((((𝑋 𝑌) 𝑍) + 𝑍) + 𝑌) = ((𝑋 𝑌) + 𝑌))
112, 3grpsubcl 18443 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋 𝑌) ∈ 𝐵𝑍𝐵) → ((𝑋 𝑌) 𝑍) ∈ 𝐵)
121, 5, 6, 11syl3anc 1373 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) 𝑍) ∈ 𝐵)
13 simpr2 1197 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑌𝐵)
142, 7grpass 18374 . . . . 5 ((𝐺 ∈ Grp ∧ (((𝑋 𝑌) 𝑍) ∈ 𝐵𝑍𝐵𝑌𝐵)) → ((((𝑋 𝑌) 𝑍) + 𝑍) + 𝑌) = (((𝑋 𝑌) 𝑍) + (𝑍 + 𝑌)))
151, 12, 6, 13, 14syl13anc 1374 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((((𝑋 𝑌) 𝑍) + 𝑍) + 𝑌) = (((𝑋 𝑌) 𝑍) + (𝑍 + 𝑌)))
162, 7, 3grpnpcan 18455 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → ((𝑋 𝑌) + 𝑌) = 𝑋)
17163adant3r3 1186 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) + 𝑌) = 𝑋)
1810, 15, 173eqtr3d 2785 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (((𝑋 𝑌) 𝑍) + (𝑍 + 𝑌)) = 𝑋)
19 simpr1 1196 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑋𝐵)
202, 7grpcl 18373 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑍𝐵𝑌𝐵) → (𝑍 + 𝑌) ∈ 𝐵)
211, 6, 13, 20syl3anc 1373 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑍 + 𝑌) ∈ 𝐵)
222, 7, 3grpsubadd 18451 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵 ∧ (𝑍 + 𝑌) ∈ 𝐵 ∧ ((𝑋 𝑌) 𝑍) ∈ 𝐵)) → ((𝑋 (𝑍 + 𝑌)) = ((𝑋 𝑌) 𝑍) ↔ (((𝑋 𝑌) 𝑍) + (𝑍 + 𝑌)) = 𝑋))
231, 19, 21, 12, 22syl13anc 1374 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 (𝑍 + 𝑌)) = ((𝑋 𝑌) 𝑍) ↔ (((𝑋 𝑌) 𝑍) + (𝑍 + 𝑌)) = 𝑋))
2418, 23mpbird 260 . 2 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 (𝑍 + 𝑌)) = ((𝑋 𝑌) 𝑍))
2524eqcomd 2743 1 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑍 + 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wcel 2110  cfv 6380  (class class class)co 7213  Basecbs 16760  +gcplusg 16802  Grpcgrp 18365  -gcsg 18367
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-fv 6388  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-1st 7761  df-2nd 7762  df-0g 16946  df-mgm 18114  df-sgrp 18163  df-mnd 18174  df-grp 18368  df-minusg 18369  df-sbg 18370
This theorem is referenced by:  grppnpcan2  18457  grpnnncan2  18460  sylow3lem1  19016  subgdisj1  19081  pjthlem2  24335  ply1divex  25034
  Copyright terms: Public domain W3C validator