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

Theorem grporcan 21650
Description: Right cancellation law for groups. (Contributed by NM, 26-Oct-2006.) (New usage is discouraged.)
Hypothesis
Ref Expression
grprcan.1  |-  X  =  ran  G
Assertion
Ref Expression
grporcan  |-  ( ( G  e.  GrpOp  /\  ( A  e.  X  /\  B  e.  X  /\  C  e.  X )
)  ->  ( ( A G C )  =  ( B G C )  <->  A  =  B
) )

Proof of Theorem grporcan
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 grprcan.1 . . . . . . . 8  |-  X  =  ran  G
2 eqid 2380 . . . . . . . 8  |-  (GId `  G )  =  (GId
`  G )
31, 2grpoidinv2 21647 . . . . . . 7  |-  ( ( G  e.  GrpOp  /\  C  e.  X )  ->  (
( ( (GId `  G ) G C )  =  C  /\  ( C G (GId `  G ) )  =  C )  /\  E. y  e.  X  (
( y G C )  =  (GId `  G )  /\  ( C G y )  =  (GId `  G )
) ) )
4 simpr 448 . . . . . . . . 9  |-  ( ( ( y G C )  =  (GId `  G )  /\  ( C G y )  =  (GId `  G )
)  ->  ( C G y )  =  (GId `  G )
)
54reximi 2749 . . . . . . . 8  |-  ( E. y  e.  X  ( ( y G C )  =  (GId `  G )  /\  ( C G y )  =  (GId `  G )
)  ->  E. y  e.  X  ( C G y )  =  (GId `  G )
)
65adantl 453 . . . . . . 7  |-  ( ( ( ( (GId `  G ) G C )  =  C  /\  ( C G (GId `  G ) )  =  C )  /\  E. y  e.  X  (
( y G C )  =  (GId `  G )  /\  ( C G y )  =  (GId `  G )
) )  ->  E. y  e.  X  ( C G y )  =  (GId `  G )
)
73, 6syl 16 . . . . . 6  |-  ( ( G  e.  GrpOp  /\  C  e.  X )  ->  E. y  e.  X  ( C G y )  =  (GId `  G )
)
87ad2ant2rl 730 . . . . 5  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  ->  E. y  e.  X  ( C G y )  =  (GId `  G
) )
9 oveq1 6020 . . . . . . . . . . . 12  |-  ( ( A G C )  =  ( B G C )  ->  (
( A G C ) G y )  =  ( ( B G C ) G y ) )
109ad2antll 710 . . . . . . . . . . 11  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( A G C )  =  ( B G C ) ) )  ->  ( ( A G C ) G y )  =  ( ( B G C ) G y ) )
111grpoass 21632 . . . . . . . . . . . . . 14  |-  ( ( G  e.  GrpOp  /\  ( A  e.  X  /\  C  e.  X  /\  y  e.  X )
)  ->  ( ( A G C ) G y )  =  ( A G ( C G y ) ) )
12113anassrs 1175 . . . . . . . . . . . . 13  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  C  e.  X )  /\  y  e.  X )  ->  (
( A G C ) G y )  =  ( A G ( C G y ) ) )
1312adantlrl 701 . . . . . . . . . . . 12  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  y  e.  X )  ->  ( ( A G C ) G y )  =  ( A G ( C G y ) ) )
1413adantrr 698 . . . . . . . . . . 11  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( A G C )  =  ( B G C ) ) )  ->  ( ( A G C ) G y )  =  ( A G ( C G y ) ) )
151grpoass 21632 . . . . . . . . . . . . . . 15  |-  ( ( G  e.  GrpOp  /\  ( B  e.  X  /\  C  e.  X  /\  y  e.  X )
)  ->  ( ( B G C ) G y )  =  ( B G ( C G y ) ) )
16153exp2 1171 . . . . . . . . . . . . . 14  |-  ( G  e.  GrpOp  ->  ( B  e.  X  ->  ( C  e.  X  ->  (
y  e.  X  -> 
( ( B G C ) G y )  =  ( B G ( C G y ) ) ) ) ) )
1716imp42 578 . . . . . . . . . . . . 13  |-  ( ( ( G  e.  GrpOp  /\  ( B  e.  X  /\  C  e.  X
) )  /\  y  e.  X )  ->  (
( B G C ) G y )  =  ( B G ( C G y ) ) )
1817adantllr 700 . . . . . . . . . . . 12  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  y  e.  X )  ->  ( ( B G C ) G y )  =  ( B G ( C G y ) ) )
1918adantrr 698 . . . . . . . . . . 11  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( A G C )  =  ( B G C ) ) )  ->  ( ( B G C ) G y )  =  ( B G ( C G y ) ) )
2010, 14, 193eqtr3d 2420 . . . . . . . . . 10  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( A G C )  =  ( B G C ) ) )  ->  ( A G ( C G y ) )  =  ( B G ( C G y ) ) )
2120adantrrl 705 . . . . . . . . 9  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) ) )  ->  ( A G ( C G y ) )  =  ( B G ( C G y ) ) )
22 oveq2 6021 . . . . . . . . . . 11  |-  ( ( C G y )  =  (GId `  G
)  ->  ( A G ( C G y ) )  =  ( A G (GId
`  G ) ) )
2322ad2antrl 709 . . . . . . . . . 10  |-  ( ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) )  ->  ( A G ( C G y ) )  =  ( A G (GId `  G ) ) )
2423adantl 453 . . . . . . . . 9  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) ) )  ->  ( A G ( C G y ) )  =  ( A G (GId
`  G ) ) )
25 oveq2 6021 . . . . . . . . . . 11  |-  ( ( C G y )  =  (GId `  G
)  ->  ( B G ( C G y ) )  =  ( B G (GId
`  G ) ) )
2625ad2antrl 709 . . . . . . . . . 10  |-  ( ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) )  ->  ( B G ( C G y ) )  =  ( B G (GId `  G ) ) )
2726adantl 453 . . . . . . . . 9  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) ) )  ->  ( B G ( C G y ) )  =  ( B G (GId
`  G ) ) )
2821, 24, 273eqtr3d 2420 . . . . . . . 8  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) ) )  ->  ( A G (GId `  G )
)  =  ( B G (GId `  G
) ) )
291, 2grporid 21649 . . . . . . . . 9  |-  ( ( G  e.  GrpOp  /\  A  e.  X )  ->  ( A G (GId `  G
) )  =  A )
3029ad2antrr 707 . . . . . . . 8  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) ) )  ->  ( A G (GId `  G )
)  =  A )
311, 2grporid 21649 . . . . . . . . . 10  |-  ( ( G  e.  GrpOp  /\  B  e.  X )  ->  ( B G (GId `  G
) )  =  B )
3231ad2ant2r 728 . . . . . . . . 9  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  -> 
( B G (GId
`  G ) )  =  B )
3332adantr 452 . . . . . . . 8  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) ) )  ->  ( B G (GId `  G )
)  =  B )
3428, 30, 333eqtr3d 2420 . . . . . . 7  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  ( B  e.  X  /\  C  e.  X ) )  /\  ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) ) )  ->  A  =  B )
3534exp45 598 . . . . . 6  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  -> 
( y  e.  X  ->  ( ( C G y )  =  (GId
`  G )  -> 
( ( A G C )  =  ( B G C )  ->  A  =  B ) ) ) )
3635rexlimdv 2765 . . . . 5  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  -> 
( E. y  e.  X  ( C G y )  =  (GId
`  G )  -> 
( ( A G C )  =  ( B G C )  ->  A  =  B ) ) )
378, 36mpd 15 . . . 4  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  -> 
( ( A G C )  =  ( B G C )  ->  A  =  B ) )
38 oveq1 6020 . . . 4  |-  ( A  =  B  ->  ( A G C )  =  ( B G C ) )
3937, 38impbid1 195 . . 3  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  -> 
( ( A G C )  =  ( B G C )  <-> 
A  =  B ) )
4039exp43 596 . 2  |-  ( G  e.  GrpOp  ->  ( A  e.  X  ->  ( B  e.  X  ->  ( C  e.  X  ->  ( ( A G C )  =  ( B G C )  <->  A  =  B ) ) ) ) )
41403imp2 1168 1  |-  ( ( G  e.  GrpOp  /\  ( A  e.  X  /\  B  e.  X  /\  C  e.  X )
)  ->  ( ( A G C )  =  ( B G C )  <->  A  =  B
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1717   E.wrex 2643   ran crn 4812   ` cfv 5387  (class class class)co 6013   GrpOpcgr 21615  GIdcgi 21616
This theorem is referenced by:  grpoinveu  21651  grpoid  21652  grpodiveq  21685  rngorcan  21825  rngorz  21831  vcrcan  21884  nvrcan  21945  ghomdiv  26243
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2361  ax-sep 4264  ax-nul 4272  ax-pr 4337  ax-un 4634
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-ral 2647  df-rex 2648  df-reu 2649  df-rab 2651  df-v 2894  df-sbc 3098  df-csb 3188  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-nul 3565  df-if 3676  df-sn 3756  df-pr 3757  df-op 3759  df-uni 3951  df-iun 4030  df-br 4147  df-opab 4201  df-mpt 4202  df-id 4432  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-iota 5351  df-fun 5389  df-fn 5390  df-f 5391  df-fo 5393  df-fv 5395  df-ov 6016  df-riota 6478  df-grpo 21620  df-gid 21621
  Copyright terms: Public domain W3C validator