ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  grpsubadd GIF version

Theorem grpsubadd 12809
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 2171 . . . . . . 7 (invg𝐺) = (invg𝐺)
4 grpsubadd.m . . . . . . 7 = (-g𝐺)
51, 2, 3, 4grpsubval 12771 . . . . . 6 ((𝑋𝐵𝑌𝐵) → (𝑋 𝑌) = (𝑋 + ((invg𝐺)‘𝑌)))
653adant3 1013 . . . . 5 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (𝑋 𝑌) = (𝑋 + ((invg𝐺)‘𝑌)))
76adantl 275 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 𝑌) = (𝑋 + ((invg𝐺)‘𝑌)))
87eqeq1d 2180 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) = 𝑍 ↔ (𝑋 + ((invg𝐺)‘𝑌)) = 𝑍))
9 simpl 108 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝐺 ∈ Grp)
10 simpr1 999 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑋𝐵)
111, 3grpinvcl 12773 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑌𝐵) → ((invg𝐺)‘𝑌) ∈ 𝐵)
12113ad2antr2 1159 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((invg𝐺)‘𝑌) ∈ 𝐵)
131, 2grpcl 12738 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑋𝐵 ∧ ((invg𝐺)‘𝑌) ∈ 𝐵) → (𝑋 + ((invg𝐺)‘𝑌)) ∈ 𝐵)
149, 10, 12, 13syl3anc 1234 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 + ((invg𝐺)‘𝑌)) ∈ 𝐵)
15 simpr3 1001 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑍𝐵)
16 simpr2 1000 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → 𝑌𝐵)
171, 2grprcan 12762 . . . 4 ((𝐺 ∈ Grp ∧ ((𝑋 + ((invg𝐺)‘𝑌)) ∈ 𝐵𝑍𝐵𝑌𝐵)) → (((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑍 + 𝑌) ↔ (𝑋 + ((invg𝐺)‘𝑌)) = 𝑍))
189, 14, 15, 16, 17syl13anc 1236 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑍 + 𝑌) ↔ (𝑋 + ((invg𝐺)‘𝑌)) = 𝑍))
191, 2grpass 12739 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋𝐵 ∧ ((invg𝐺)‘𝑌) ∈ 𝐵𝑌𝐵)) → ((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑋 + (((invg𝐺)‘𝑌) + 𝑌)))
209, 10, 12, 16, 19syl13anc 1236 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑋 + (((invg𝐺)‘𝑌) + 𝑌)))
21 eqid 2171 . . . . . . . 8 (0g𝐺) = (0g𝐺)
221, 2, 21, 3grplinv 12774 . . . . . . 7 ((𝐺 ∈ Grp ∧ 𝑌𝐵) → (((invg𝐺)‘𝑌) + 𝑌) = (0g𝐺))
23223ad2antr2 1159 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (((invg𝐺)‘𝑌) + 𝑌) = (0g𝐺))
2423oveq2d 5873 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 + (((invg𝐺)‘𝑌) + 𝑌)) = (𝑋 + (0g𝐺)))
251, 2, 21grprid 12759 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑋𝐵) → (𝑋 + (0g𝐺)) = 𝑋)
26253ad2antr1 1158 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (𝑋 + (0g𝐺)) = 𝑋)
2720, 24, 263eqtrd 2208 . . . 4 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = 𝑋)
2827eqeq1d 2180 . . 3 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → (((𝑋 + ((invg𝐺)‘𝑌)) + 𝑌) = (𝑍 + 𝑌) ↔ 𝑋 = (𝑍 + 𝑌)))
298, 18, 283bitr2d 215 . 2 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) = 𝑍𝑋 = (𝑍 + 𝑌)))
30 eqcom 2173 . 2 (𝑋 = (𝑍 + 𝑌) ↔ (𝑍 + 𝑌) = 𝑋)
3129, 30bitrdi 195 1 ((𝐺 ∈ Grp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) = 𝑍 ↔ (𝑍 + 𝑌) = 𝑋))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 974   = wceq 1349  wcel 2142  cfv 5200  (class class class)co 5857  Basecbs 12420  +gcplusg 12484  0gc0g 12618  Grpcgrp 12730  invgcminusg 12731  -gcsg 12732
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 610  ax-in2 611  ax-io 705  ax-5 1441  ax-7 1442  ax-gen 1443  ax-ie1 1487  ax-ie2 1488  ax-8 1498  ax-10 1499  ax-11 1500  ax-i12 1501  ax-bndl 1503  ax-4 1504  ax-17 1520  ax-i9 1524  ax-ial 1528  ax-i5r 1529  ax-13 2144  ax-14 2145  ax-ext 2153  ax-coll 4105  ax-sep 4108  ax-pow 4161  ax-pr 4195  ax-un 4419  ax-setind 4522  ax-cnex 7869  ax-resscn 7870  ax-1re 7872  ax-addrcl 7875
This theorem depends on definitions:  df-bi 116  df-3an 976  df-tru 1352  df-fal 1355  df-nf 1455  df-sb 1757  df-eu 2023  df-mo 2024  df-clab 2158  df-cleq 2164  df-clel 2167  df-nfc 2302  df-ne 2342  df-ral 2454  df-rex 2455  df-reu 2456  df-rmo 2457  df-rab 2458  df-v 2733  df-sbc 2957  df-csb 3051  df-dif 3124  df-un 3126  df-in 3128  df-ss 3135  df-pw 3569  df-sn 3590  df-pr 3591  df-op 3593  df-uni 3798  df-int 3833  df-iun 3876  df-br 3991  df-opab 4052  df-mpt 4053  df-id 4279  df-xp 4618  df-rel 4619  df-cnv 4620  df-co 4621  df-dm 4622  df-rn 4623  df-res 4624  df-ima 4625  df-iota 5162  df-fun 5202  df-fn 5203  df-f 5204  df-f1 5205  df-fo 5206  df-f1o 5207  df-fv 5208  df-riota 5813  df-ov 5860  df-oprab 5861  df-mpo 5862  df-1st 6123  df-2nd 6124  df-inn 8883  df-2 8941  df-ndx 12423  df-slot 12424  df-base 12426  df-plusg 12497  df-0g 12620  df-mgm 12632  df-sgrp 12665  df-mnd 12675  df-grp 12733  df-minusg 12734  df-sbg 12735
This theorem is referenced by:  grpsubsub4  12814
  Copyright terms: Public domain W3C validator