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

Theorem grporcan 27695
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 2802 . . . . . . . 8 (GId‘𝐺) = (GId‘𝐺)
31, 2grpoidinv2 27692 . . . . . . 7 ((𝐺 ∈ GrpOp ∧ 𝐶𝑋) → ((((GId‘𝐺)𝐺𝐶) = 𝐶 ∧ (𝐶𝐺(GId‘𝐺)) = 𝐶) ∧ ∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺))))
4 simpr 473 . . . . . . . . 9 (((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺)) → (𝐶𝐺𝑦) = (GId‘𝐺))
54reximi 3194 . . . . . . . 8 (∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺)) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
65adantl 469 . . . . . . 7 (((((GId‘𝐺)𝐺𝐶) = 𝐶 ∧ (𝐶𝐺(GId‘𝐺)) = 𝐶) ∧ ∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺))) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
73, 6syl 17 . . . . . 6 ((𝐺 ∈ GrpOp ∧ 𝐶𝑋) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
87ad2ant2rl 746 . . . . 5 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
9 oveq1 6875 . . . . . . . . . . . 12 ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → ((𝐴𝐺𝐶)𝐺𝑦) = ((𝐵𝐺𝐶)𝐺𝑦))
109ad2antll 711 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐴𝐺𝐶)𝐺𝑦) = ((𝐵𝐺𝐶)𝐺𝑦))
111grpoass 27680 . . . . . . . . . . . . . 14 ((𝐺 ∈ GrpOp ∧ (𝐴𝑋𝐶𝑋𝑦𝑋)) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
12113anassrs 1462 . . . . . . . . . . . . 13 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ 𝐶𝑋) ∧ 𝑦𝑋) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
1312adantlrl 702 . . . . . . . . . . . 12 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
1413adantrr 699 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
151grpoass 27680 . . . . . . . . . . . . . . 15 ((𝐺 ∈ GrpOp ∧ (𝐵𝑋𝐶𝑋𝑦𝑋)) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
16153exp2 1456 . . . . . . . . . . . . . 14 (𝐺 ∈ GrpOp → (𝐵𝑋 → (𝐶𝑋 → (𝑦𝑋 → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦))))))
1716imp42 415 . . . . . . . . . . . . 13 (((𝐺 ∈ GrpOp ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
1817adantllr 701 . . . . . . . . . . . 12 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
1918adantrr 699 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
2010, 14, 193eqtr3d 2844 . . . . . . . . . 10 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(𝐶𝐺𝑦)))
2120adantrrl 706 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(𝐶𝐺𝑦)))
22 oveq2 6876 . . . . . . . . . . 11 ((𝐶𝐺𝑦) = (GId‘𝐺) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
2322ad2antrl 710 . . . . . . . . . 10 ((𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
2423adantl 469 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
25 oveq2 6876 . . . . . . . . . . 11 ((𝐶𝐺𝑦) = (GId‘𝐺) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2625ad2antrl 710 . . . . . . . . . 10 ((𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2726adantl 469 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2821, 24, 273eqtr3d 2844 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(GId‘𝐺)) = (𝐵𝐺(GId‘𝐺)))
291, 2grporid 27694 . . . . . . . . 9 ((𝐺 ∈ GrpOp ∧ 𝐴𝑋) → (𝐴𝐺(GId‘𝐺)) = 𝐴)
3029ad2antrr 708 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(GId‘𝐺)) = 𝐴)
311, 2grporid 27694 . . . . . . . . . 10 ((𝐺 ∈ GrpOp ∧ 𝐵𝑋) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3231ad2ant2r 744 . . . . . . . . 9 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3332adantr 468 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3428, 30, 333eqtr3d 2844 . . . . . . 7 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → 𝐴 = 𝐵)
3534exp45 427 . . . . . 6 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (𝑦𝑋 → ((𝐶𝐺𝑦) = (GId‘𝐺) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵))))
3635rexlimdv 3214 . . . . 5 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵)))
378, 36mpd 15 . . . 4 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵))
38 oveq1 6875 . . . 4 (𝐴 = 𝐵 → (𝐴𝐺𝐶) = (𝐵𝐺𝐶))
3937, 38impbid1 216 . . 3 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵))
4039exp43 425 . 2 (𝐺 ∈ GrpOp → (𝐴𝑋 → (𝐵𝑋 → (𝐶𝑋 → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵)))))
41403imp2 1451 1 ((𝐺 ∈ GrpOp ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384  w3a 1100   = wceq 1637  wcel 2155  wrex 3093  ran crn 5306  cfv 6095  (class class class)co 6868  GrpOpcgr 27666  GIdcgi 27667
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2067  ax-7 2103  ax-8 2157  ax-9 2164  ax-10 2184  ax-11 2200  ax-12 2213  ax-13 2419  ax-ext 2781  ax-sep 4968  ax-nul 4977  ax-pr 5090  ax-un 7173
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2060  df-eu 2633  df-mo 2634  df-clab 2789  df-cleq 2795  df-clel 2798  df-nfc 2933  df-ral 3097  df-rex 3098  df-reu 3099  df-rab 3101  df-v 3389  df-sbc 3628  df-csb 3723  df-dif 3766  df-un 3768  df-in 3770  df-ss 3777  df-nul 4111  df-if 4274  df-sn 4365  df-pr 4367  df-op 4371  df-uni 4624  df-iun 4707  df-br 4838  df-opab 4900  df-mpt 4917  df-id 5213  df-xp 5311  df-rel 5312  df-cnv 5313  df-co 5314  df-dm 5315  df-rn 5316  df-iota 6058  df-fun 6097  df-fn 6098  df-f 6099  df-fo 6101  df-fv 6103  df-riota 6829  df-ov 6871  df-grpo 27670  df-gid 27671
This theorem is referenced by:  grpoinveu  27696  grpoid  27697  nvrcan  27801  ghomdiv  33996  rngorcan  34021  rngorz  34027
  Copyright terms: Public domain W3C validator