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

Theorem ablpnpcan 18149
Description: Cancellation law for mixed addition and subtraction. (pnpcan 10267 analog.) (Contributed by NM, 29-May-2015.)
Hypotheses
Ref Expression
ablsubadd.b 𝐵 = (Base‘𝐺)
ablsubadd.p + = (+g𝐺)
ablsubadd.m = (-g𝐺)
ablsubsub.g (𝜑𝐺 ∈ Abel)
ablsubsub.x (𝜑𝑋𝐵)
ablsubsub.y (𝜑𝑌𝐵)
ablsubsub.z (𝜑𝑍𝐵)
ablpnpcan.g (𝜑𝐺 ∈ Abel)
ablpnpcan.x (𝜑𝑋𝐵)
ablpnpcan.y (𝜑𝑌𝐵)
ablpnpcan.z (𝜑𝑍𝐵)
Assertion
Ref Expression
ablpnpcan (𝜑 → ((𝑋 + 𝑌) (𝑋 + 𝑍)) = (𝑌 𝑍))

Proof of Theorem ablpnpcan
StepHypRef Expression
1 ablsubsub.g . . 3 (𝜑𝐺 ∈ Abel)
2 ablsubsub.x . . 3 (𝜑𝑋𝐵)
3 ablsubsub.y . . 3 (𝜑𝑌𝐵)
4 ablsubsub.z . . 3 (𝜑𝑍𝐵)
5 ablsubadd.b . . . 4 𝐵 = (Base‘𝐺)
6 ablsubadd.p . . . 4 + = (+g𝐺)
7 ablsubadd.m . . . 4 = (-g𝐺)
85, 6, 7ablsub4 18142 . . 3 ((𝐺 ∈ Abel ∧ (𝑋𝐵𝑌𝐵) ∧ (𝑋𝐵𝑍𝐵)) → ((𝑋 + 𝑌) (𝑋 + 𝑍)) = ((𝑋 𝑋) + (𝑌 𝑍)))
91, 2, 3, 2, 4, 8syl122anc 1332 . 2 (𝜑 → ((𝑋 + 𝑌) (𝑋 + 𝑍)) = ((𝑋 𝑋) + (𝑌 𝑍)))
10 ablgrp 18122 . . . . 5 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
111, 10syl 17 . . . 4 (𝜑𝐺 ∈ Grp)
12 eqid 2621 . . . . 5 (0g𝐺) = (0g𝐺)
135, 12, 7grpsubid 17423 . . . 4 ((𝐺 ∈ Grp ∧ 𝑋𝐵) → (𝑋 𝑋) = (0g𝐺))
1411, 2, 13syl2anc 692 . . 3 (𝜑 → (𝑋 𝑋) = (0g𝐺))
1514oveq1d 6622 . 2 (𝜑 → ((𝑋 𝑋) + (𝑌 𝑍)) = ((0g𝐺) + (𝑌 𝑍)))
165, 7grpsubcl 17419 . . . 4 ((𝐺 ∈ Grp ∧ 𝑌𝐵𝑍𝐵) → (𝑌 𝑍) ∈ 𝐵)
1711, 3, 4, 16syl3anc 1323 . . 3 (𝜑 → (𝑌 𝑍) ∈ 𝐵)
185, 6, 12grplid 17376 . . 3 ((𝐺 ∈ Grp ∧ (𝑌 𝑍) ∈ 𝐵) → ((0g𝐺) + (𝑌 𝑍)) = (𝑌 𝑍))
1911, 17, 18syl2anc 692 . 2 (𝜑 → ((0g𝐺) + (𝑌 𝑍)) = (𝑌 𝑍))
209, 15, 193eqtrd 2659 1 (𝜑 → ((𝑋 + 𝑌) (𝑋 + 𝑍)) = (𝑌 𝑍))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1480  wcel 1987  cfv 5849  (class class class)co 6607  Basecbs 15784  +gcplusg 15865  0gc0g 16024  Grpcgrp 17346  -gcsg 17348  Abelcabl 18118
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4733  ax-sep 4743  ax-nul 4751  ax-pow 4805  ax-pr 4869  ax-un 6905
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3188  df-sbc 3419  df-csb 3516  df-dif 3559  df-un 3561  df-in 3563  df-ss 3570  df-nul 3894  df-if 4061  df-pw 4134  df-sn 4151  df-pr 4153  df-op 4157  df-uni 4405  df-iun 4489  df-br 4616  df-opab 4676  df-mpt 4677  df-id 4991  df-xp 5082  df-rel 5083  df-cnv 5084  df-co 5085  df-dm 5086  df-rn 5087  df-res 5088  df-ima 5089  df-iota 5812  df-fun 5851  df-fn 5852  df-f 5853  df-f1 5854  df-fo 5855  df-f1o 5856  df-fv 5857  df-riota 6568  df-ov 6610  df-oprab 6611  df-mpt2 6612  df-1st 7116  df-2nd 7117  df-0g 16026  df-mgm 17166  df-sgrp 17208  df-mnd 17219  df-grp 17349  df-minusg 17350  df-sbg 17351  df-cmn 18119  df-abl 18120
This theorem is referenced by:  hdmaprnlem7N  36648
  Copyright terms: Public domain W3C validator