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

Theorem grporcan 27218
Description: Right cancellation law for groups. (Contributed by NM, 26-Oct-2006.) (New usage is discouraged.)
Hypothesis
Ref Expression
grprcan.1 𝑋 = ran 𝐺
Assertion
Ref Expression
grporcan ((𝐺 ∈ GrpOp ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵))

Proof of Theorem grporcan
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 grprcan.1 . . . . . . . 8 𝑋 = ran 𝐺
2 eqid 2621 . . . . . . . 8 (GId‘𝐺) = (GId‘𝐺)
31, 2grpoidinv2 27215 . . . . . . 7 ((𝐺 ∈ GrpOp ∧ 𝐶𝑋) → ((((GId‘𝐺)𝐺𝐶) = 𝐶 ∧ (𝐶𝐺(GId‘𝐺)) = 𝐶) ∧ ∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺))))
4 simpr 477 . . . . . . . . 9 (((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺)) → (𝐶𝐺𝑦) = (GId‘𝐺))
54reximi 3005 . . . . . . . 8 (∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺)) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
65adantl 482 . . . . . . 7 (((((GId‘𝐺)𝐺𝐶) = 𝐶 ∧ (𝐶𝐺(GId‘𝐺)) = 𝐶) ∧ ∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺))) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
73, 6syl 17 . . . . . 6 ((𝐺 ∈ GrpOp ∧ 𝐶𝑋) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
87ad2ant2rl 784 . . . . 5 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
9 oveq1 6611 . . . . . . . . . . . 12 ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → ((𝐴𝐺𝐶)𝐺𝑦) = ((𝐵𝐺𝐶)𝐺𝑦))
109ad2antll 764 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐴𝐺𝐶)𝐺𝑦) = ((𝐵𝐺𝐶)𝐺𝑦))
111grpoass 27203 . . . . . . . . . . . . . 14 ((𝐺 ∈ GrpOp ∧ (𝐴𝑋𝐶𝑋𝑦𝑋)) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
12113anassrs 1287 . . . . . . . . . . . . 13 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ 𝐶𝑋) ∧ 𝑦𝑋) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
1312adantlrl 755 . . . . . . . . . . . 12 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
1413adantrr 752 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
151grpoass 27203 . . . . . . . . . . . . . . 15 ((𝐺 ∈ GrpOp ∧ (𝐵𝑋𝐶𝑋𝑦𝑋)) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
16153exp2 1282 . . . . . . . . . . . . . 14 (𝐺 ∈ GrpOp → (𝐵𝑋 → (𝐶𝑋 → (𝑦𝑋 → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦))))))
1716imp42 619 . . . . . . . . . . . . 13 (((𝐺 ∈ GrpOp ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
1817adantllr 754 . . . . . . . . . . . 12 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
1918adantrr 752 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
2010, 14, 193eqtr3d 2663 . . . . . . . . . 10 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(𝐶𝐺𝑦)))
2120adantrrl 759 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(𝐶𝐺𝑦)))
22 oveq2 6612 . . . . . . . . . . 11 ((𝐶𝐺𝑦) = (GId‘𝐺) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
2322ad2antrl 763 . . . . . . . . . 10 ((𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
2423adantl 482 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
25 oveq2 6612 . . . . . . . . . . 11 ((𝐶𝐺𝑦) = (GId‘𝐺) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2625ad2antrl 763 . . . . . . . . . 10 ((𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2726adantl 482 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2821, 24, 273eqtr3d 2663 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(GId‘𝐺)) = (𝐵𝐺(GId‘𝐺)))
291, 2grporid 27217 . . . . . . . . 9 ((𝐺 ∈ GrpOp ∧ 𝐴𝑋) → (𝐴𝐺(GId‘𝐺)) = 𝐴)
3029ad2antrr 761 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(GId‘𝐺)) = 𝐴)
311, 2grporid 27217 . . . . . . . . . 10 ((𝐺 ∈ GrpOp ∧ 𝐵𝑋) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3231ad2ant2r 782 . . . . . . . . 9 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3332adantr 481 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3428, 30, 333eqtr3d 2663 . . . . . . 7 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → 𝐴 = 𝐵)
3534exp45 641 . . . . . 6 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (𝑦𝑋 → ((𝐶𝐺𝑦) = (GId‘𝐺) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵))))
3635rexlimdv 3023 . . . . 5 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵)))
378, 36mpd 15 . . . 4 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵))
38 oveq1 6611 . . . 4 (𝐴 = 𝐵 → (𝐴𝐺𝐶) = (𝐵𝐺𝐶))
3937, 38impbid1 215 . . 3 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵))
4039exp43 639 . 2 (𝐺 ∈ GrpOp → (𝐴𝑋 → (𝐵𝑋 → (𝐶𝑋 → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵)))))
41403imp2 1279 1 ((𝐺 ∈ GrpOp ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1987  wrex 2908  ran crn 5075  cfv 5847  (class class class)co 6604  GrpOpcgr 27189  GIdcgi 27190
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-sep 4741  ax-nul 4749  ax-pr 4867  ax-un 6902
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-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-fo 5853  df-fv 5855  df-riota 6565  df-ov 6607  df-grpo 27193  df-gid 27194
This theorem is referenced by:  grpoinveu  27219  grpoid  27220  nvrcan  27325  ghomdiv  33320  rngorcan  33345  rngorz  33351
  Copyright terms: Public domain W3C validator