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

Theorem ismndd 17313
Description: Deduce a monoid from its properties. (Contributed by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
ismndd.b  |-  ( ph  ->  B  =  ( Base `  G ) )
ismndd.p  |-  ( ph  ->  .+  =  ( +g  `  G ) )
ismndd.c  |-  ( (
ph  /\  x  e.  B  /\  y  e.  B
)  ->  ( x  .+  y )  e.  B
)
ismndd.a  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B  /\  z  e.  B ) )  -> 
( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
ismndd.z  |-  ( ph  ->  .0.  e.  B )
ismndd.i  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  x )
ismndd.j  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  x )
Assertion
Ref Expression
ismndd  |-  ( ph  ->  G  e.  Mnd )
Distinct variable groups:    x, y,
z, B    x, G, y, z    ph, x, y, z    x,  .0.
Allowed substitution hints:    .+ ( x, y, z)    .0. ( y, z)

Proof of Theorem ismndd
Dummy variable  u is distinct from all other variables.
StepHypRef Expression
1 ismndd.c . . . . . 6  |-  ( (
ph  /\  x  e.  B  /\  y  e.  B
)  ->  ( x  .+  y )  e.  B
)
213expb 1266 . . . . 5  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B ) )  -> 
( x  .+  y
)  e.  B )
3 simpll 790 . . . . . . 7  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  ph )
4 simplrl 800 . . . . . . 7  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  x  e.  B )
5 simplrr 801 . . . . . . 7  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  y  e.  B )
6 simpr 477 . . . . . . 7  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  z  e.  B )
7 ismndd.a . . . . . . 7  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B  /\  z  e.  B ) )  -> 
( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
83, 4, 5, 6, 7syl13anc 1328 . . . . . 6  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  (
( x  .+  y
)  .+  z )  =  ( x  .+  ( y  .+  z
) ) )
98ralrimiva 2966 . . . . 5  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B ) )  ->  A. z  e.  B  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
102, 9jca 554 . . . 4  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B ) )  -> 
( ( x  .+  y )  e.  B  /\  A. z  e.  B  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) ) )
1110ralrimivva 2971 . . 3  |-  ( ph  ->  A. x  e.  B  A. y  e.  B  ( ( x  .+  y )  e.  B  /\  A. z  e.  B  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) ) )
12 ismndd.b . . . 4  |-  ( ph  ->  B  =  ( Base `  G ) )
13 ismndd.p . . . . . . . 8  |-  ( ph  ->  .+  =  ( +g  `  G ) )
1413oveqd 6667 . . . . . . 7  |-  ( ph  ->  ( x  .+  y
)  =  ( x ( +g  `  G
) y ) )
1514, 12eleq12d 2695 . . . . . 6  |-  ( ph  ->  ( ( x  .+  y )  e.  B  <->  ( x ( +g  `  G
) y )  e.  ( Base `  G
) ) )
16 eqidd 2623 . . . . . . . . 9  |-  ( ph  ->  z  =  z )
1713, 14, 16oveq123d 6671 . . . . . . . 8  |-  ( ph  ->  ( ( x  .+  y )  .+  z
)  =  ( ( x ( +g  `  G
) y ) ( +g  `  G ) z ) )
18 eqidd 2623 . . . . . . . . 9  |-  ( ph  ->  x  =  x )
1913oveqd 6667 . . . . . . . . 9  |-  ( ph  ->  ( y  .+  z
)  =  ( y ( +g  `  G
) z ) )
2013, 18, 19oveq123d 6671 . . . . . . . 8  |-  ( ph  ->  ( x  .+  (
y  .+  z )
)  =  ( x ( +g  `  G
) ( y ( +g  `  G ) z ) ) )
2117, 20eqeq12d 2637 . . . . . . 7  |-  ( ph  ->  ( ( ( x 
.+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) )  <-> 
( ( x ( +g  `  G ) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G ) ( y ( +g  `  G ) z ) ) ) )
2212, 21raleqbidv 3152 . . . . . 6  |-  ( ph  ->  ( A. z  e.  B  ( ( x 
.+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) )  <->  A. z  e.  ( Base `  G ) ( ( x ( +g  `  G ) y ) ( +g  `  G
) z )  =  ( x ( +g  `  G ) ( y ( +g  `  G
) z ) ) ) )
2315, 22anbi12d 747 . . . . 5  |-  ( ph  ->  ( ( ( x 
.+  y )  e.  B  /\  A. z  e.  B  ( (
x  .+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) ) )  <->  ( ( x ( +g  `  G
) y )  e.  ( Base `  G
)  /\  A. z  e.  ( Base `  G
) ( ( x ( +g  `  G
) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G
) ( y ( +g  `  G ) z ) ) ) ) )
2412, 23raleqbidv 3152 . . . 4  |-  ( ph  ->  ( A. y  e.  B  ( ( x 
.+  y )  e.  B  /\  A. z  e.  B  ( (
x  .+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) ) )  <->  A. y  e.  (
Base `  G )
( ( x ( +g  `  G ) y )  e.  (
Base `  G )  /\  A. z  e.  (
Base `  G )
( ( x ( +g  `  G ) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G ) ( y ( +g  `  G ) z ) ) ) ) )
2512, 24raleqbidv 3152 . . 3  |-  ( ph  ->  ( A. x  e.  B  A. y  e.  B  ( ( x 
.+  y )  e.  B  /\  A. z  e.  B  ( (
x  .+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) ) )  <->  A. x  e.  (
Base `  G ) A. y  e.  ( Base `  G ) ( ( x ( +g  `  G ) y )  e.  ( Base `  G
)  /\  A. z  e.  ( Base `  G
) ( ( x ( +g  `  G
) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G
) ( y ( +g  `  G ) z ) ) ) ) )
2611, 25mpbid 222 . 2  |-  ( ph  ->  A. x  e.  (
Base `  G ) A. y  e.  ( Base `  G ) ( ( x ( +g  `  G ) y )  e.  ( Base `  G
)  /\  A. z  e.  ( Base `  G
) ( ( x ( +g  `  G
) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G
) ( y ( +g  `  G ) z ) ) ) )
27 ismndd.z . . . 4  |-  ( ph  ->  .0.  e.  B )
2827, 12eleqtrd 2703 . . 3  |-  ( ph  ->  .0.  e.  ( Base `  G ) )
2912eleq2d 2687 . . . . . 6  |-  ( ph  ->  ( x  e.  B  <->  x  e.  ( Base `  G
) ) )
3029biimpar 502 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  G )
)  ->  x  e.  B )
3113adantr 481 . . . . . . . 8  |-  ( (
ph  /\  x  e.  B )  ->  .+  =  ( +g  `  G ) )
3231oveqd 6667 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  (  .0.  ( +g  `  G ) x ) )
33 ismndd.i . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  x )
3432, 33eqtr3d 2658 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  ( +g  `  G
) x )  =  x )
3531oveqd 6667 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  ( x ( +g  `  G )  .0.  ) )
36 ismndd.j . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  x )
3735, 36eqtr3d 2658 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  (
x ( +g  `  G
)  .0.  )  =  x )
3834, 37jca 554 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  (
(  .0.  ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
)  .0.  )  =  x ) )
3930, 38syldan 487 . . . 4  |-  ( (
ph  /\  x  e.  ( Base `  G )
)  ->  ( (  .0.  ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
)  .0.  )  =  x ) )
4039ralrimiva 2966 . . 3  |-  ( ph  ->  A. x  e.  (
Base `  G )
( (  .0.  ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G )  .0.  )  =  x ) )
41 oveq1 6657 . . . . . . 7  |-  ( u  =  .0.  ->  (
u ( +g  `  G
) x )  =  (  .0.  ( +g  `  G ) x ) )
4241eqeq1d 2624 . . . . . 6  |-  ( u  =  .0.  ->  (
( u ( +g  `  G ) x )  =  x  <->  (  .0.  ( +g  `  G ) x )  =  x ) )
43 oveq2 6658 . . . . . . 7  |-  ( u  =  .0.  ->  (
x ( +g  `  G
) u )  =  ( x ( +g  `  G )  .0.  )
)
4443eqeq1d 2624 . . . . . 6  |-  ( u  =  .0.  ->  (
( x ( +g  `  G ) u )  =  x  <->  ( x
( +g  `  G )  .0.  )  =  x ) )
4542, 44anbi12d 747 . . . . 5  |-  ( u  =  .0.  ->  (
( ( u ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G ) u )  =  x )  <->  ( (  .0.  ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
)  .0.  )  =  x ) ) )
4645ralbidv 2986 . . . 4  |-  ( u  =  .0.  ->  ( A. x  e.  ( Base `  G ) ( ( u ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) u )  =  x )  <->  A. x  e.  ( Base `  G
) ( (  .0.  ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
)  .0.  )  =  x ) ) )
4746rspcev 3309 . . 3  |-  ( (  .0.  e.  ( Base `  G )  /\  A. x  e.  ( Base `  G ) ( (  .0.  ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
)  .0.  )  =  x ) )  ->  E. u  e.  ( Base `  G ) A. x  e.  ( Base `  G ) ( ( u ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) u )  =  x ) )
4828, 40, 47syl2anc 693 . 2  |-  ( ph  ->  E. u  e.  (
Base `  G ) A. x  e.  ( Base `  G ) ( ( u ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) u )  =  x ) )
49 eqid 2622 . . 3  |-  ( Base `  G )  =  (
Base `  G )
50 eqid 2622 . . 3  |-  ( +g  `  G )  =  ( +g  `  G )
5149, 50ismnd 17297 . 2  |-  ( G  e.  Mnd  <->  ( A. x  e.  ( Base `  G ) A. y  e.  ( Base `  G
) ( ( x ( +g  `  G
) y )  e.  ( Base `  G
)  /\  A. z  e.  ( Base `  G
) ( ( x ( +g  `  G
) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G
) ( y ( +g  `  G ) z ) ) )  /\  E. u  e.  ( Base `  G
) A. x  e.  ( Base `  G
) ( ( u ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) u )  =  x ) ) )
5226, 48, 51sylanbrc 698 1  |-  ( ph  ->  G  e.  Mnd )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 384    /\ w3a 1037    = wceq 1483    e. wcel 1990   A.wral 2912   E.wrex 2913   ` cfv 5888  (class class class)co 6650   Basecbs 15857   +g cplusg 15941   Mndcmnd 17294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-nul 4789  ax-pow 4843
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-iota 5851  df-fv 5896  df-ov 6653  df-mgm 17242  df-sgrp 17284  df-mnd 17295
This theorem is referenced by:  issubmnd  17318  prdsmndd  17323  imasmnd2  17327  frmdmnd  17396  isgrpde  17443  oppgmnd  17784  isringd  18585  iscrngd  18586  xrsmcmn  19769  xrs1mnd  19784
  Copyright terms: Public domain W3C validator