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

Theorem grpasscan2 18159
 Description: An associative cancellation law for groups. (Contributed by Paul Chapman, 17-Apr-2009.) (Revised by AV, 30-Aug-2021.)
Hypotheses
Ref Expression
grplcan.b 𝐵 = (Base‘𝐺)
grplcan.p + = (+g𝐺)
grpasscan1.n 𝑁 = (invg𝐺)
Assertion
Ref Expression
grpasscan2 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → ((𝑋 + (𝑁𝑌)) + 𝑌) = 𝑋)

Proof of Theorem grpasscan2
StepHypRef Expression
1 simp1 1133 . . 3 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → 𝐺 ∈ Grp)
2 simp2 1134 . . 3 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → 𝑋𝐵)
3 grplcan.b . . . . 5 𝐵 = (Base‘𝐺)
4 grpasscan1.n . . . . 5 𝑁 = (invg𝐺)
53, 4grpinvcl 18147 . . . 4 ((𝐺 ∈ Grp ∧ 𝑌𝐵) → (𝑁𝑌) ∈ 𝐵)
653adant2 1128 . . 3 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → (𝑁𝑌) ∈ 𝐵)
7 simp3 1135 . . 3 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → 𝑌𝐵)
8 grplcan.p . . . 4 + = (+g𝐺)
93, 8grpass 18107 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵 ∧ (𝑁𝑌) ∈ 𝐵𝑌𝐵)) → ((𝑋 + (𝑁𝑌)) + 𝑌) = (𝑋 + ((𝑁𝑌) + 𝑌)))
101, 2, 6, 7, 9syl13anc 1369 . 2 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → ((𝑋 + (𝑁𝑌)) + 𝑌) = (𝑋 + ((𝑁𝑌) + 𝑌)))
11 eqid 2798 . . . . 5 (0g𝐺) = (0g𝐺)
123, 8, 11, 4grplinv 18148 . . . 4 ((𝐺 ∈ Grp ∧ 𝑌𝐵) → ((𝑁𝑌) + 𝑌) = (0g𝐺))
13123adant2 1128 . . 3 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → ((𝑁𝑌) + 𝑌) = (0g𝐺))
1413oveq2d 7152 . 2 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → (𝑋 + ((𝑁𝑌) + 𝑌)) = (𝑋 + (0g𝐺)))
153, 8, 11grprid 18130 . . 3 ((𝐺 ∈ Grp ∧ 𝑋𝐵) → (𝑋 + (0g𝐺)) = 𝑋)
16153adant3 1129 . 2 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → (𝑋 + (0g𝐺)) = 𝑋)
1710, 14, 163eqtrd 2837 1 ((𝐺 ∈ Grp ∧ 𝑋𝐵𝑌𝐵) → ((𝑋 + (𝑁𝑌)) + 𝑌) = 𝑋)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ w3a 1084   = wceq 1538   ∈ wcel 2111  ‘cfv 6325  (class class class)co 7136  Basecbs 16478  +gcplusg 16560  0gc0g 16708  Grpcgrp 18098  invgcminusg 18099 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5168  ax-nul 5175  ax-pow 5232  ax-pr 5296  ax-un 7444 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-br 5032  df-opab 5094  df-mpt 5112  df-id 5426  df-xp 5526  df-rel 5527  df-cnv 5528  df-co 5529  df-dm 5530  df-rn 5531  df-res 5532  df-ima 5533  df-iota 6284  df-fun 6327  df-fn 6328  df-f 6329  df-fv 6333  df-riota 7094  df-ov 7139  df-0g 16710  df-mgm 17847  df-sgrp 17896  df-mnd 17907  df-grp 18101  df-minusg 18102 This theorem is referenced by:  mulgaddcomlem  18246
 Copyright terms: Public domain W3C validator