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

Theorem grporcan 28880
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 2738 . . . . . . . 8 (GId‘𝐺) = (GId‘𝐺)
31, 2grpoidinv2 28877 . . . . . . 7 ((𝐺 ∈ GrpOp ∧ 𝐶𝑋) → ((((GId‘𝐺)𝐺𝐶) = 𝐶 ∧ (𝐶𝐺(GId‘𝐺)) = 𝐶) ∧ ∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺))))
4 simpr 485 . . . . . . . . 9 (((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺)) → (𝐶𝐺𝑦) = (GId‘𝐺))
54reximi 3178 . . . . . . . 8 (∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺)) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
65adantl 482 . . . . . . 7 (((((GId‘𝐺)𝐺𝐶) = 𝐶 ∧ (𝐶𝐺(GId‘𝐺)) = 𝐶) ∧ ∃𝑦𝑋 ((𝑦𝐺𝐶) = (GId‘𝐺) ∧ (𝐶𝐺𝑦) = (GId‘𝐺))) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
73, 6syl 17 . . . . . 6 ((𝐺 ∈ GrpOp ∧ 𝐶𝑋) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
87ad2ant2rl 746 . . . . 5 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺))
9 oveq1 7282 . . . . . . . . . . . 12 ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → ((𝐴𝐺𝐶)𝐺𝑦) = ((𝐵𝐺𝐶)𝐺𝑦))
109ad2antll 726 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐴𝐺𝐶)𝐺𝑦) = ((𝐵𝐺𝐶)𝐺𝑦))
111grpoass 28865 . . . . . . . . . . . . . 14 ((𝐺 ∈ GrpOp ∧ (𝐴𝑋𝐶𝑋𝑦𝑋)) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
12113anassrs 1359 . . . . . . . . . . . . 13 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ 𝐶𝑋) ∧ 𝑦𝑋) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
1312adantlrl 717 . . . . . . . . . . . 12 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
1413adantrr 714 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐴𝐺𝐶)𝐺𝑦) = (𝐴𝐺(𝐶𝐺𝑦)))
151grpoass 28865 . . . . . . . . . . . . . . 15 ((𝐺 ∈ GrpOp ∧ (𝐵𝑋𝐶𝑋𝑦𝑋)) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
16153exp2 1353 . . . . . . . . . . . . . 14 (𝐺 ∈ GrpOp → (𝐵𝑋 → (𝐶𝑋 → (𝑦𝑋 → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦))))))
1716imp42 427 . . . . . . . . . . . . 13 (((𝐺 ∈ GrpOp ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
1817adantllr 716 . . . . . . . . . . . 12 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ 𝑦𝑋) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
1918adantrr 714 . . . . . . . . . . 11 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → ((𝐵𝐺𝐶)𝐺𝑦) = (𝐵𝐺(𝐶𝐺𝑦)))
2010, 14, 193eqtr3d 2786 . . . . . . . . . 10 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(𝐶𝐺𝑦)))
2120adantrrl 721 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(𝐶𝐺𝑦)))
22 oveq2 7283 . . . . . . . . . . 11 ((𝐶𝐺𝑦) = (GId‘𝐺) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
2322ad2antrl 725 . . . . . . . . . 10 ((𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
2423adantl 482 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(𝐶𝐺𝑦)) = (𝐴𝐺(GId‘𝐺)))
25 oveq2 7283 . . . . . . . . . . 11 ((𝐶𝐺𝑦) = (GId‘𝐺) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2625ad2antrl 725 . . . . . . . . . 10 ((𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶))) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2726adantl 482 . . . . . . . . 9 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐵𝐺(𝐶𝐺𝑦)) = (𝐵𝐺(GId‘𝐺)))
2821, 24, 273eqtr3d 2786 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(GId‘𝐺)) = (𝐵𝐺(GId‘𝐺)))
291, 2grporid 28879 . . . . . . . . 9 ((𝐺 ∈ GrpOp ∧ 𝐴𝑋) → (𝐴𝐺(GId‘𝐺)) = 𝐴)
3029ad2antrr 723 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐴𝐺(GId‘𝐺)) = 𝐴)
311, 2grporid 28879 . . . . . . . . . 10 ((𝐺 ∈ GrpOp ∧ 𝐵𝑋) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3231ad2ant2r 744 . . . . . . . . 9 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3332adantr 481 . . . . . . . 8 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → (𝐵𝐺(GId‘𝐺)) = 𝐵)
3428, 30, 333eqtr3d 2786 . . . . . . 7 ((((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) ∧ (𝑦𝑋 ∧ ((𝐶𝐺𝑦) = (GId‘𝐺) ∧ (𝐴𝐺𝐶) = (𝐵𝐺𝐶)))) → 𝐴 = 𝐵)
3534exp45 439 . . . . . 6 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (𝑦𝑋 → ((𝐶𝐺𝑦) = (GId‘𝐺) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵))))
3635rexlimdv 3212 . . . . 5 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → (∃𝑦𝑋 (𝐶𝐺𝑦) = (GId‘𝐺) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵)))
378, 36mpd 15 . . . 4 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) → 𝐴 = 𝐵))
38 oveq1 7282 . . . 4 (𝐴 = 𝐵 → (𝐴𝐺𝐶) = (𝐵𝐺𝐶))
3937, 38impbid1 224 . . 3 (((𝐺 ∈ GrpOp ∧ 𝐴𝑋) ∧ (𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵))
4039exp43 437 . 2 (𝐺 ∈ GrpOp → (𝐴𝑋 → (𝐵𝑋 → (𝐶𝑋 → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵)))))
41403imp2 1348 1 ((𝐺 ∈ GrpOp ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → ((𝐴𝐺𝐶) = (𝐵𝐺𝐶) ↔ 𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wrex 3065  ran crn 5590  cfv 6433  (class class class)co 7275  GrpOpcgr 28851  GIdcgi 28852
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439  df-fv 6441  df-riota 7232  df-ov 7278  df-grpo 28855  df-gid 28856
This theorem is referenced by:  grpoinveu  28881  grpoid  28882  nvrcan  28986  ghomdiv  36050  rngorcan  36075  rngorz  36081
  Copyright terms: Public domain W3C validator