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

Theorem isexid2 21008
Description: If  G  e.  ( Magma  i^i  ExId  ), then it has a left and right identity element that belongs to the range of the operation. (Contributed by FL, 12-Dec-2009.) (Revised by Mario Carneiro, 22-Dec-2013.) (New usage is discouraged.)
Hypothesis
Ref Expression
isexid2.1  |-  X  =  ran  G
Assertion
Ref Expression
isexid2  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  E. u  e.  X  A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x ) )
Distinct variable groups:    u, G, x    u, X, x

Proof of Theorem isexid2
StepHypRef Expression
1 isexid2.1 . 2  |-  X  =  ran  G
2 rngopid 21006 . . . . 5  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  ran  G  =  dom  dom  G )
3 elin 3371 . . . . . . 7  |-  ( G  e.  ( Magma  i^i  ExId  )  <-> 
( G  e.  Magma  /\  G  e.  ExId  )
)
4 eqid 2296 . . . . . . . . . . 11  |-  dom  dom  G  =  dom  dom  G
54isexid 21000 . . . . . . . . . 10  |-  ( G  e.  ExId  ->  ( G  e.  ExId  <->  E. u  e.  dom  dom 
G A. x  e. 
dom  dom  G ( ( u G x )  =  x  /\  (
x G u )  =  x ) ) )
65ibi 232 . . . . . . . . 9  |-  ( G  e.  ExId  ->  E. u  e.  dom  dom  G A. x  e.  dom  dom  G
( ( u G x )  =  x  /\  ( x G u )  =  x ) )
76a1d 22 . . . . . . . 8  |-  ( G  e.  ExId  ->  ( X  =  dom  dom  G  ->  E. u  e.  dom  dom 
G A. x  e. 
dom  dom  G ( ( u G x )  =  x  /\  (
x G u )  =  x ) ) )
87adantl 452 . . . . . . 7  |-  ( ( G  e.  Magma  /\  G  e.  ExId  )  ->  ( X  =  dom  dom  G  ->  E. u  e.  dom  dom 
G A. x  e. 
dom  dom  G ( ( u G x )  =  x  /\  (
x G u )  =  x ) ) )
93, 8sylbi 187 . . . . . 6  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  ( X  =  dom  dom  G  ->  E. u  e.  dom  dom  G A. x  e.  dom  dom 
G ( ( u G x )  =  x  /\  ( x G u )  =  x ) ) )
10 eqeq2 2305 . . . . . . 7  |-  ( ran 
G  =  dom  dom  G  ->  ( X  =  ran  G  <->  X  =  dom  dom  G ) )
11 raleq 2749 . . . . . . . 8  |-  ( ran 
G  =  dom  dom  G  ->  ( A. x  e.  ran  G ( ( u G x )  =  x  /\  (
x G u )  =  x )  <->  A. x  e.  dom  dom  G (
( u G x )  =  x  /\  ( x G u )  =  x ) ) )
1211rexeqbi1dv 2758 . . . . . . 7  |-  ( ran 
G  =  dom  dom  G  ->  ( E. u  e.  ran  G A. x  e.  ran  G ( ( u G x )  =  x  /\  (
x G u )  =  x )  <->  E. u  e.  dom  dom  G A. x  e.  dom  dom  G
( ( u G x )  =  x  /\  ( x G u )  =  x ) ) )
1310, 12imbi12d 311 . . . . . 6  |-  ( ran 
G  =  dom  dom  G  ->  ( ( X  =  ran  G  ->  E. u  e.  ran  G A. x  e.  ran  G ( ( u G x )  =  x  /\  ( x G u )  =  x ) )  <->  ( X  =  dom  dom  G  ->  E. u  e.  dom  dom  G A. x  e.  dom  dom 
G ( ( u G x )  =  x  /\  ( x G u )  =  x ) ) ) )
149, 13syl5ibr 212 . . . . 5  |-  ( ran 
G  =  dom  dom  G  ->  ( G  e.  ( Magma  i^i  ExId  )  ->  ( X  =  ran  G  ->  E. u  e.  ran  G A. x  e.  ran  G ( ( u G x )  =  x  /\  ( x G u )  =  x ) ) ) )
152, 14mpcom 32 . . . 4  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  ( X  =  ran  G  ->  E. u  e.  ran  G A. x  e.  ran  G ( ( u G x )  =  x  /\  (
x G u )  =  x ) ) )
1615com12 27 . . 3  |-  ( X  =  ran  G  -> 
( G  e.  (
Magma  i^i  ExId  )  ->  E. u  e.  ran  G A. x  e.  ran  G ( ( u G x )  =  x  /\  ( x G u )  =  x ) ) )
17 raleq 2749 . . . 4  |-  ( X  =  ran  G  -> 
( A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x )  <->  A. x  e.  ran  G ( ( u G x )  =  x  /\  (
x G u )  =  x ) ) )
1817rexeqbi1dv 2758 . . 3  |-  ( X  =  ran  G  -> 
( E. u  e.  X  A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x )  <->  E. u  e.  ran  G A. x  e.  ran  G ( ( u G x )  =  x  /\  (
x G u )  =  x ) ) )
1916, 18sylibrd 225 . 2  |-  ( X  =  ran  G  -> 
( G  e.  (
Magma  i^i  ExId  )  ->  E. u  e.  X  A. x  e.  X  (
( u G x )  =  x  /\  ( x G u )  =  x ) ) )
201, 19ax-mp 8 1  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  E. u  e.  X  A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1632    e. wcel 1696   A.wral 2556   E.wrex 2557    i^i cin 3164   dom cdm 4705   ran crn 4706  (class class class)co 5874    ExId cexid 20997   Magmacmagm 21001
This theorem is referenced by:  exidu1  21009  bsmgrli  25443
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-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-exid 20998  df-mgm 21002
  Copyright terms: Public domain W3C validator