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

Theorem grpridd 6303
Description: Deduce right identity from left inverse and left identity in an associative structure (such as a group). (Contributed by NM, 10-Aug-2013.) (Proof shortened by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
grprinvlem.c  |-  ( (
ph  /\  x  e.  B  /\  y  e.  B
)  ->  ( x  .+  y )  e.  B
)
grprinvlem.o  |-  ( ph  ->  O  e.  B )
grprinvlem.i  |-  ( (
ph  /\  x  e.  B )  ->  ( O  .+  x )  =  x )
grprinvlem.a  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B  /\  z  e.  B ) )  -> 
( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
grprinvlem.n  |-  ( (
ph  /\  x  e.  B )  ->  E. y  e.  B  ( y  .+  x )  =  O )
Assertion
Ref Expression
grpridd  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  O )  =  x )
Distinct variable groups:    x, y,
z, B    x, O, y, z    ph, x, y, z    x,  .+ , y, z

Proof of Theorem grpridd
Dummy variables  u  n  v  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 grprinvlem.n . . . 4  |-  ( (
ph  /\  x  e.  B )  ->  E. y  e.  B  ( y  .+  x )  =  O )
2 oveq1 6098 . . . . . 6  |-  ( y  =  n  ->  (
y  .+  x )  =  ( n  .+  x ) )
32eqeq1d 2451 . . . . 5  |-  ( y  =  n  ->  (
( y  .+  x
)  =  O  <->  ( n  .+  x )  =  O ) )
43cbvrexv 2948 . . . 4  |-  ( E. y  e.  B  ( y  .+  x )  =  O  <->  E. n  e.  B  ( n  .+  x )  =  O )
51, 4sylib 196 . . 3  |-  ( (
ph  /\  x  e.  B )  ->  E. n  e.  B  ( n  .+  x )  =  O )
6 grprinvlem.a . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B  /\  z  e.  B ) )  -> 
( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
76caovassg 6261 . . . . . . 7  |-  ( (
ph  /\  ( u  e.  B  /\  v  e.  B  /\  w  e.  B ) )  -> 
( ( u  .+  v )  .+  w
)  =  ( u 
.+  ( v  .+  w ) ) )
87adantlr 714 . . . . . 6  |-  ( ( ( ph  /\  (
x  e.  B  /\  ( n  e.  B  /\  ( n  .+  x
)  =  O ) ) )  /\  (
u  e.  B  /\  v  e.  B  /\  w  e.  B )
)  ->  ( (
u  .+  v )  .+  w )  =  ( u  .+  ( v 
.+  w ) ) )
9 simprl 755 . . . . . 6  |-  ( (
ph  /\  ( x  e.  B  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) ) )  ->  x  e.  B )
10 simprrl 763 . . . . . 6  |-  ( (
ph  /\  ( x  e.  B  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) ) )  ->  n  e.  B )
118, 9, 10, 9caovassd 6262 . . . . 5  |-  ( (
ph  /\  ( x  e.  B  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) ) )  ->  ( (
x  .+  n )  .+  x )  =  ( x  .+  ( n 
.+  x ) ) )
12 grprinvlem.c . . . . . . 7  |-  ( (
ph  /\  x  e.  B  /\  y  e.  B
)  ->  ( x  .+  y )  e.  B
)
13 grprinvlem.o . . . . . . 7  |-  ( ph  ->  O  e.  B )
14 grprinvlem.i . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  ( O  .+  x )  =  x )
15 simprrr 764 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  B  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) ) )  ->  ( n  .+  x )  =  O )
1612, 13, 14, 6, 1, 9, 10, 15grprinvd 6302 . . . . . 6  |-  ( (
ph  /\  ( x  e.  B  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) ) )  ->  ( x  .+  n )  =  O )
1716oveq1d 6106 . . . . 5  |-  ( (
ph  /\  ( x  e.  B  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) ) )  ->  ( (
x  .+  n )  .+  x )  =  ( O  .+  x ) )
1815oveq2d 6107 . . . . 5  |-  ( (
ph  /\  ( x  e.  B  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) ) )  ->  ( x  .+  ( n  .+  x
) )  =  ( x  .+  O ) )
1911, 17, 183eqtr3d 2483 . . . 4  |-  ( (
ph  /\  ( x  e.  B  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) ) )  ->  ( O  .+  x )  =  ( x  .+  O ) )
2019anassrs 648 . . 3  |-  ( ( ( ph  /\  x  e.  B )  /\  (
n  e.  B  /\  ( n  .+  x )  =  O ) )  ->  ( O  .+  x )  =  ( x  .+  O ) )
215, 20rexlimddv 2845 . 2  |-  ( (
ph  /\  x  e.  B )  ->  ( O  .+  x )  =  ( x  .+  O
) )
2221, 14eqtr3d 2477 1  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  O )  =  x )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756   E.wrex 2716  (class class class)co 6091
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2568  df-ral 2720  df-rex 2721  df-rab 2724  df-v 2974  df-dif 3331  df-un 3333  df-in 3335  df-ss 3342  df-nul 3638  df-if 3792  df-sn 3878  df-pr 3880  df-op 3884  df-uni 4092  df-br 4293  df-iota 5381  df-fv 5426  df-ov 6094
This theorem is referenced by:  isgrpde  15562
  Copyright terms: Public domain W3C validator