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

Theorem ismgm 21900
Description: The predicate "is a magma". (Contributed by FL, 2-Nov-2009.) (New usage is discouraged.)
Hypothesis
Ref Expression
ismgm.1  |-  X  =  dom  dom  G
Assertion
Ref Expression
ismgm  |-  ( G  e.  A  ->  ( G  e.  Magma  <->  G :
( X  X.  X
) --> X ) )

Proof of Theorem ismgm
Dummy variables  g 
t are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 feq1 5568 . . . . 5  |-  ( g  =  G  ->  (
g : ( t  X.  t ) --> t  <-> 
G : ( t  X.  t ) --> t ) )
21exbidv 1636 . . . 4  |-  ( g  =  G  ->  ( E. t  g :
( t  X.  t
) --> t  <->  E. t  G : ( t  X.  t ) --> t ) )
3 df-mgm 21899 . . . 4  |-  Magma  =  {
g  |  E. t 
g : ( t  X.  t ) --> t }
42, 3elab2g 3076 . . 3  |-  ( G  e.  A  ->  ( G  e.  Magma  <->  E. t  G : ( t  X.  t ) --> t ) )
5 f00 5620 . . . . . . . 8  |-  ( G : ( (/)  X.  (/) ) --> (/)  <->  ( G  =  (/)  /\  ( (/) 
X.  (/) )  =  (/) ) )
6 dmeq 5062 . . . . . . . . . 10  |-  ( G  =  (/)  ->  dom  G  =  dom  (/) )
7 dmeq 5062 . . . . . . . . . . 11  |-  ( dom 
G  =  dom  (/)  ->  dom  dom 
G  =  dom  dom  (/) )
8 dm0 5075 . . . . . . . . . . . . 13  |-  dom  (/)  =  (/)
98dmeqi 5063 . . . . . . . . . . . 12  |-  dom  dom  (/)  =  dom  (/)
109, 8eqtri 2455 . . . . . . . . . . 11  |-  dom  dom  (/)  =  (/)
117, 10syl6req 2484 . . . . . . . . . 10  |-  ( dom 
G  =  dom  (/)  ->  (/)  =  dom  dom 
G )
126, 11syl 16 . . . . . . . . 9  |-  ( G  =  (/)  ->  (/)  =  dom  dom 
G )
1312adantr 452 . . . . . . . 8  |-  ( ( G  =  (/)  /\  ( (/) 
X.  (/) )  =  (/) )  ->  (/)  =  dom  dom  G )
145, 13sylbi 188 . . . . . . 7  |-  ( G : ( (/)  X.  (/) ) --> (/)  -> 
(/)  =  dom  dom  G )
15 xpeq12 4889 . . . . . . . . . 10  |-  ( ( t  =  (/)  /\  t  =  (/) )  ->  (
t  X.  t )  =  ( (/)  X.  (/) ) )
1615anidms 627 . . . . . . . . 9  |-  ( t  =  (/)  ->  ( t  X.  t )  =  ( (/)  X.  (/) ) )
17 feq23 5571 . . . . . . . . 9  |-  ( ( ( t  X.  t
)  =  ( (/)  X.  (/) )  /\  t  =  (/) )  ->  ( G : ( t  X.  t ) --> t  <->  G :
( (/)  X.  (/) ) --> (/) ) )
1816, 17mpancom 651 . . . . . . . 8  |-  ( t  =  (/)  ->  ( G : ( t  X.  t ) --> t  <->  G :
( (/)  X.  (/) ) --> (/) ) )
19 eqeq1 2441 . . . . . . . 8  |-  ( t  =  (/)  ->  ( t  =  dom  dom  G  <->  (/)  =  dom  dom  G )
)
2018, 19imbi12d 312 . . . . . . 7  |-  ( t  =  (/)  ->  ( ( G : ( t  X.  t ) --> t  ->  t  =  dom  dom 
G )  <->  ( G : ( (/)  X.  (/) ) --> (/)  -> 
(/)  =  dom  dom  G ) ) )
2114, 20mpbiri 225 . . . . . 6  |-  ( t  =  (/)  ->  ( G : ( t  X.  t ) --> t  -> 
t  =  dom  dom  G ) )
22 fdm 5587 . . . . . . . 8  |-  ( G : ( t  X.  t ) --> t  ->  dom  G  =  ( t  X.  t ) )
23 dmeq 5062 . . . . . . . 8  |-  ( dom 
G  =  ( t  X.  t )  ->  dom  dom  G  =  dom  ( t  X.  t
) )
24 df-ne 2600 . . . . . . . . . . . 12  |-  ( t  =/=  (/)  <->  -.  t  =  (/) )
25 dmxp 5080 . . . . . . . . . . . 12  |-  ( t  =/=  (/)  ->  dom  ( t  X.  t )  =  t )
2624, 25sylbir 205 . . . . . . . . . . 11  |-  ( -.  t  =  (/)  ->  dom  ( t  X.  t
)  =  t )
2726eqeq1d 2443 . . . . . . . . . 10  |-  ( -.  t  =  (/)  ->  ( dom  ( t  X.  t
)  =  dom  dom  G  <-> 
t  =  dom  dom  G ) )
2827biimpcd 216 . . . . . . . . 9  |-  ( dom  ( t  X.  t
)  =  dom  dom  G  ->  ( -.  t  =  (/)  ->  t  =  dom  dom  G ) )
2928eqcoms 2438 . . . . . . . 8  |-  ( dom 
dom  G  =  dom  ( t  X.  t
)  ->  ( -.  t  =  (/)  ->  t  =  dom  dom  G )
)
3022, 23, 293syl 19 . . . . . . 7  |-  ( G : ( t  X.  t ) --> t  -> 
( -.  t  =  (/)  ->  t  =  dom  dom 
G ) )
3130com12 29 . . . . . 6  |-  ( -.  t  =  (/)  ->  ( G : ( t  X.  t ) --> t  -> 
t  =  dom  dom  G ) )
3221, 31pm2.61i 158 . . . . 5  |-  ( G : ( t  X.  t ) --> t  -> 
t  =  dom  dom  G )
3332pm4.71ri 615 . . . 4  |-  ( G : ( t  X.  t ) --> t  <->  ( t  =  dom  dom  G  /\  G : ( t  X.  t ) --> t ) )
3433exbii 1592 . . 3  |-  ( E. t  G : ( t  X.  t ) --> t  <->  E. t ( t  =  dom  dom  G  /\  G : ( t  X.  t ) --> t ) )
354, 34syl6bb 253 . 2  |-  ( G  e.  A  ->  ( G  e.  Magma  <->  E. t
( t  =  dom  dom 
G  /\  G :
( t  X.  t
) --> t ) ) )
36 dmexg 5122 . . 3  |-  ( G  e.  A  ->  dom  G  e.  _V )
37 dmexg 5122 . . 3  |-  ( dom 
G  e.  _V  ->  dom 
dom  G  e.  _V )
38 xpeq12 4889 . . . . . . 7  |-  ( ( t  =  dom  dom  G  /\  t  =  dom  dom 
G )  ->  (
t  X.  t )  =  ( dom  dom  G  X.  dom  dom  G
) )
3938anidms 627 . . . . . 6  |-  ( t  =  dom  dom  G  ->  ( t  X.  t
)  =  ( dom 
dom  G  X.  dom  dom  G ) )
40 feq23 5571 . . . . . 6  |-  ( ( ( t  X.  t
)  =  ( dom 
dom  G  X.  dom  dom  G )  /\  t  =  dom  dom  G )  ->  ( G : ( t  X.  t ) --> t  <->  G : ( dom 
dom  G  X.  dom  dom  G ) --> dom  dom  G ) )
4139, 40mpancom 651 . . . . 5  |-  ( t  =  dom  dom  G  ->  ( G : ( t  X.  t ) --> t  <->  G : ( dom 
dom  G  X.  dom  dom  G ) --> dom  dom  G ) )
42 ismgm.1 . . . . . . . 8  |-  X  =  dom  dom  G
4342eqcomi 2439 . . . . . . 7  |-  dom  dom  G  =  X
4443, 43xpeq12i 4892 . . . . . 6  |-  ( dom 
dom  G  X.  dom  dom  G )  =  ( X  X.  X )
4544, 43feq23i 5579 . . . . 5  |-  ( G : ( dom  dom  G  X.  dom  dom  G
) --> dom  dom  G  <->  G :
( X  X.  X
) --> X )
4641, 45syl6bb 253 . . . 4  |-  ( t  =  dom  dom  G  ->  ( G : ( t  X.  t ) --> t  <->  G : ( X  X.  X ) --> X ) )
4746ceqsexgv 3060 . . 3  |-  ( dom 
dom  G  e.  _V  ->  ( E. t ( t  =  dom  dom  G  /\  G : ( t  X.  t ) --> t )  <->  G :
( X  X.  X
) --> X ) )
4836, 37, 473syl 19 . 2  |-  ( G  e.  A  ->  ( E. t ( t  =  dom  dom  G  /\  G : ( t  X.  t ) --> t )  <-> 
G : ( X  X.  X ) --> X ) )
4935, 48bitrd 245 1  |-  ( G  e.  A  ->  ( G  e.  Magma  <->  G :
( X  X.  X
) --> X ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    /\ wa 359   E.wex 1550    = wceq 1652    e. wcel 1725    =/= wne 2598   _Vcvv 2948   (/)c0 3620    X. cxp 4868   dom cdm 4870   -->wf 5442   Magmacmagm 21898
This theorem is referenced by:  clmgm  21901  opidon  21902  issmgrp  21914
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-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-br 4205  df-opab 4259  df-id 4490  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-fun 5448  df-fn 5449  df-f 5450  df-mgm 21899
  Copyright terms: Public domain W3C validator