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

Theorem cmpidelt 20996
Description: A magma right and left identity element keeps the other elements unchanged. (Contributed by FL, 12-Dec-2009.) (Revised by Mario Carneiro, 22-Dec-2013.) (New usage is discouraged.)
Hypotheses
Ref Expression
cmpidelt.1  |-  X  =  ran  G
cmpidelt.2  |-  U  =  (GId `  G )
Assertion
Ref Expression
cmpidelt  |-  ( ( G  e.  ( Magma  i^i 
ExId  )  /\  A  e.  X )  ->  (
( U G A )  =  A  /\  ( A G U )  =  A ) )

Proof of Theorem cmpidelt
Dummy variables  x  u are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cmpidelt.1 . . . . 5  |-  X  =  ran  G
2 cmpidelt.2 . . . . 5  |-  U  =  (GId `  G )
31, 2idrval 20994 . . . 4  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  U  =  (
iota_ u  e.  X A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x ) ) )
43eqcomd 2288 . . 3  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  ( iota_ u  e.  X A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x ) )  =  U )
51, 2iorlid 20995 . . . 4  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  U  e.  X
)
61exidu1 20993 . . . 4  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  E! u  e.  X  A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x ) )
7 oveq1 5865 . . . . . . . 8  |-  ( u  =  U  ->  (
u G x )  =  ( U G x ) )
87eqeq1d 2291 . . . . . . 7  |-  ( u  =  U  ->  (
( u G x )  =  x  <->  ( U G x )  =  x ) )
9 oveq2 5866 . . . . . . . 8  |-  ( u  =  U  ->  (
x G u )  =  ( x G U ) )
109eqeq1d 2291 . . . . . . 7  |-  ( u  =  U  ->  (
( x G u )  =  x  <->  ( x G U )  =  x ) )
118, 10anbi12d 691 . . . . . 6  |-  ( u  =  U  ->  (
( ( u G x )  =  x  /\  ( x G u )  =  x )  <->  ( ( U G x )  =  x  /\  ( x G U )  =  x ) ) )
1211ralbidv 2563 . . . . 5  |-  ( u  =  U  ->  ( A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x )  <->  A. x  e.  X  ( ( U G x )  =  x  /\  ( x G U )  =  x ) ) )
1312riota2 6327 . . . 4  |-  ( ( U  e.  X  /\  E! u  e.  X  A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x ) )  ->  ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G U )  =  x )  <->  ( iota_ u  e.  X A. x  e.  X  ( ( u G x )  =  x  /\  ( x G u )  =  x ) )  =  U ) )
145, 6, 13syl2anc 642 . . 3  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G U )  =  x )  <->  ( iota_ u  e.  X A. x  e.  X  ( (
u G x )  =  x  /\  (
x G u )  =  x ) )  =  U ) )
154, 14mpbird 223 . 2  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  A. x  e.  X  ( ( U G x )  =  x  /\  ( x G U )  =  x ) )
16 oveq2 5866 . . . . 5  |-  ( x  =  A  ->  ( U G x )  =  ( U G A ) )
17 id 19 . . . . 5  |-  ( x  =  A  ->  x  =  A )
1816, 17eqeq12d 2297 . . . 4  |-  ( x  =  A  ->  (
( U G x )  =  x  <->  ( U G A )  =  A ) )
19 oveq1 5865 . . . . 5  |-  ( x  =  A  ->  (
x G U )  =  ( A G U ) )
2019, 17eqeq12d 2297 . . . 4  |-  ( x  =  A  ->  (
( x G U )  =  x  <->  ( A G U )  =  A ) )
2118, 20anbi12d 691 . . 3  |-  ( x  =  A  ->  (
( ( U G x )  =  x  /\  ( x G U )  =  x )  <->  ( ( U G A )  =  A  /\  ( A G U )  =  A ) ) )
2221rspccva 2883 . 2  |-  ( ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G U )  =  x )  /\  A  e.  X )  ->  (
( U G A )  =  A  /\  ( A G U )  =  A ) )
2315, 22sylan 457 1  |-  ( ( G  e.  ( Magma  i^i 
ExId  )  /\  A  e.  X )  ->  (
( U G A )  =  A  /\  ( A G U )  =  A ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684   A.wral 2543   E!wreu 2545    i^i cin 3151   ran crn 4690   ` cfv 5255  (class class class)co 5858   iota_crio 6297  GIdcgi 20854    ExId cexid 20981   Magmacmagm 20985
This theorem is referenced by:  rngoidmlem  21090  fincmpzer  25350  glmrngo  25482  exidreslem  26567
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-fo 5261  df-fv 5263  df-ov 5861  df-riota 6304  df-gid 20859  df-exid 20982  df-mgm 20986
  Copyright terms: Public domain W3C validator