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

Theorem grporcan 20904
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 2296 . . . . . . . 8  |-  (GId `  G )  =  (GId
`  G )
31, 2grpoidinv2 20901 . . . . . . 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 447 . . . . . . . . 9  |-  ( ( ( y G C )  =  (GId `  G )  /\  ( C G y )  =  (GId `  G )
)  ->  ( C G y )  =  (GId `  G )
)
54reximi 2663 . . . . . . . 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 452 . . . . . . 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 15 . . . . . 6  |-  ( ( G  e.  GrpOp  /\  C  e.  X )  ->  E. y  e.  X  ( C G y )  =  (GId `  G )
)
87ad2ant2rl 729 . . . . 5  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  ->  E. y  e.  X  ( C G y )  =  (GId `  G
) )
9 oveq1 5881 . . . . . . . . . . . 12  |-  ( ( A G C )  =  ( B G C )  ->  (
( A G C ) G y )  =  ( ( B G C ) G y ) )
109ad2antll 709 . . . . . . . . . . 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 20886 . . . . . . . . . . . . . . 15  |-  ( ( G  e.  GrpOp  /\  ( A  e.  X  /\  C  e.  X  /\  y  e.  X )
)  ->  ( ( A G C ) G y )  =  ( A G ( C G y ) ) )
12113exp2 1169 . . . . . . . . . . . . . 14  |-  ( G  e.  GrpOp  ->  ( A  e.  X  ->  ( C  e.  X  ->  (
y  e.  X  -> 
( ( A G C ) G y )  =  ( A G ( C G y ) ) ) ) ) )
1312imp41 576 . . . . . . . . . . . . 13  |-  ( ( ( ( G  e. 
GrpOp  /\  A  e.  X
)  /\  C  e.  X )  /\  y  e.  X )  ->  (
( A G C ) G y )  =  ( A G ( C G y ) ) )
1413adantlrl 700 . . . . . . . . . . . 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 ) ) )
1514adantrr 697 . . . . . . . . . . 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 ) ) )
161grpoass 20886 . . . . . . . . . . . . . . 15  |-  ( ( G  e.  GrpOp  /\  ( B  e.  X  /\  C  e.  X  /\  y  e.  X )
)  ->  ( ( B G C ) G y )  =  ( B G ( C G y ) ) )
17163exp2 1169 . . . . . . . . . . . . . 14  |-  ( G  e.  GrpOp  ->  ( B  e.  X  ->  ( C  e.  X  ->  (
y  e.  X  -> 
( ( B G C ) G y )  =  ( B G ( C G y ) ) ) ) ) )
1817imp42 577 . . . . . . . . . . . . 13  |-  ( ( ( G  e.  GrpOp  /\  ( B  e.  X  /\  C  e.  X
) )  /\  y  e.  X )  ->  (
( B G C ) G y )  =  ( B G ( C G y ) ) )
1918adantllr 699 . . . . . . . . . . . 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 ) ) )
2019adantrr 697 . . . . . . . . . . 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 ) ) )
2110, 15, 203eqtr3d 2336 . . . . . . . . . 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 ) ) )
2221adantrrl 704 . . . . . . . . 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 ) ) )
23 oveq2 5882 . . . . . . . . . . 11  |-  ( ( C G y )  =  (GId `  G
)  ->  ( A G ( C G y ) )  =  ( A G (GId
`  G ) ) )
2423ad2antrl 708 . . . . . . . . . 10  |-  ( ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) )  ->  ( A G ( C G y ) )  =  ( A G (GId `  G ) ) )
2524adantl 452 . . . . . . . . 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 ) ) )
26 oveq2 5882 . . . . . . . . . . 11  |-  ( ( C G y )  =  (GId `  G
)  ->  ( B G ( C G y ) )  =  ( B G (GId
`  G ) ) )
2726ad2antrl 708 . . . . . . . . . 10  |-  ( ( y  e.  X  /\  ( ( C G y )  =  (GId
`  G )  /\  ( A G C )  =  ( B G C ) ) )  ->  ( B G ( C G y ) )  =  ( B G (GId `  G ) ) )
2827adantl 452 . . . . . . . . 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 ) ) )
2922, 25, 283eqtr3d 2336 . . . . . . . 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
) ) )
301, 2grporid 20903 . . . . . . . . 9  |-  ( ( G  e.  GrpOp  /\  A  e.  X )  ->  ( A G (GId `  G
) )  =  A )
3130ad2antrr 706 . . . . . . . 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 )
321, 2grporid 20903 . . . . . . . . . 10  |-  ( ( G  e.  GrpOp  /\  B  e.  X )  ->  ( B G (GId `  G
) )  =  B )
3332ad2ant2r 727 . . . . . . . . 9  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  -> 
( B G (GId
`  G ) )  =  B )
3433adantr 451 . . . . . . . 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 )
3529, 31, 343eqtr3d 2336 . . . . . . 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 )
3635exp45 597 . . . . . 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 ) ) ) )
3736rexlimdv 2679 . . . . 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 ) ) )
388, 37mpd 14 . . . 4  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  -> 
( ( A G C )  =  ( B G C )  ->  A  =  B ) )
39 oveq1 5881 . . . 4  |-  ( A  =  B  ->  ( A G C )  =  ( B G C ) )
4038, 39impbid1 194 . . 3  |-  ( ( ( G  e.  GrpOp  /\  A  e.  X )  /\  ( B  e.  X  /\  C  e.  X ) )  -> 
( ( A G C )  =  ( B G C )  <-> 
A  =  B ) )
4140exp43 595 . 2  |-  ( G  e.  GrpOp  ->  ( A  e.  X  ->  ( B  e.  X  ->  ( C  e.  X  ->  ( ( A G C )  =  ( B G C )  <->  A  =  B ) ) ) ) )
42413imp2 1166 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 176    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696   E.wrex 2557   ran crn 4706   ` cfv 5271  (class class class)co 5874   GrpOpcgr 20869  GIdcgi 20870
This theorem is referenced by:  grpoinveu  20905  grpoid  20906  grpodiveq  20939  rngorcan  21079  rngorz  21085  vcrcan  21136  nvrcan  21197  grpodrcan  25478  trooo  25497  rltrooo  25518  vecrcan  25578  ghomdiv  26677
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-reu 2563  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-fo 5277  df-fv 5279  df-ov 5877  df-riota 6320  df-grpo 20874  df-gid 20875
  Copyright terms: Public domain W3C validator