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

Theorem isexid2 21905
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 21903 . . . . 5  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  ran  G  =  dom  dom  G )
3 elin 3522 . . . . . . 7  |-  ( G  e.  ( Magma  i^i  ExId  )  <-> 
( G  e.  Magma  /\  G  e.  ExId  )
)
4 eqid 2435 . . . . . . . . . . 11  |-  dom  dom  G  =  dom  dom  G
54isexid 21897 . . . . . . . . . 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 233 . . . . . . . . 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 23 . . . . . . . 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 453 . . . . . . 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 188 . . . . . 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 2444 . . . . . . 7  |-  ( ran 
G  =  dom  dom  G  ->  ( X  =  ran  G  <->  X  =  dom  dom  G ) )
11 raleq 2896 . . . . . . . 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 2905 . . . . . . 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 312 . . . . . 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 213 . . . . 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 34 . . . 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 29 . . 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 2896 . . . 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 2905 . . 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 226 . 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 359    = wceq 1652    e. wcel 1725   A.wral 2697   E.wrex 2698    i^i cin 3311   dom cdm 4870   ran crn 4871  (class class class)co 6073    ExId cexid 21894   Magmacmagm 21898
This theorem is referenced by:  exidu1  21906
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pr 4395  ax-un 4693
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-id 4490  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-fo 5452  df-fv 5454  df-ov 6076  df-exid 21895  df-mgm 21899
  Copyright terms: Public domain W3C validator