ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ismndd Unicode version

Theorem ismndd 12702
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 1204 . . . . 5  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B ) )  -> 
( x  .+  y
)  e.  B )
3 simpll 527 . . . . . . 7  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  ph )
4 simplrl 535 . . . . . . 7  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  x  e.  B )
5 simplrr 536 . . . . . . 7  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  y  e.  B )
6 simpr 110 . . . . . . 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 1240 . . . . . 6  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  (
( x  .+  y
)  .+  z )  =  ( x  .+  ( y  .+  z
) ) )
98ralrimiva 2548 . . . . 5  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B ) )  ->  A. z  e.  B  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
102, 9jca 306 . . . 4  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B ) )  -> 
( ( x  .+  y )  e.  B  /\  A. z  e.  B  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) ) )
1110ralrimivva 2557 . . 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 5882 . . . . . . 7  |-  ( ph  ->  ( x  .+  y
)  =  ( x ( +g  `  G
) y ) )
1514, 12eleq12d 2246 . . . . . 6  |-  ( ph  ->  ( ( x  .+  y )  e.  B  <->  ( x ( +g  `  G
) y )  e.  ( Base `  G
) ) )
16 eqidd 2176 . . . . . . . . 9  |-  ( ph  ->  z  =  z )
1713, 14, 16oveq123d 5886 . . . . . . . 8  |-  ( ph  ->  ( ( x  .+  y )  .+  z
)  =  ( ( x ( +g  `  G
) y ) ( +g  `  G ) z ) )
18 eqidd 2176 . . . . . . . . 9  |-  ( ph  ->  x  =  x )
1913oveqd 5882 . . . . . . . . 9  |-  ( ph  ->  ( y  .+  z
)  =  ( y ( +g  `  G
) z ) )
2013, 18, 19oveq123d 5886 . . . . . . . 8  |-  ( ph  ->  ( x  .+  (
y  .+  z )
)  =  ( x ( +g  `  G
) ( y ( +g  `  G ) z ) ) )
2117, 20eqeq12d 2190 . . . . . . 7  |-  ( ph  ->  ( ( ( x 
.+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) )  <-> 
( ( x ( +g  `  G ) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G ) ( y ( +g  `  G ) z ) ) ) )
2212, 21raleqbidv 2682 . . . . . 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 473 . . . . 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 2682 . . . 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 2682 . . 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 147 . 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 2254 . . 3  |-  ( ph  ->  .0.  e.  ( Base `  G ) )
2912eleq2d 2245 . . . . . 6  |-  ( ph  ->  ( x  e.  B  <->  x  e.  ( Base `  G
) ) )
3029biimpar 297 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  G )
)  ->  x  e.  B )
3113adantr 276 . . . . . . . 8  |-  ( (
ph  /\  x  e.  B )  ->  .+  =  ( +g  `  G ) )
3231oveqd 5882 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  (  .0.  ( +g  `  G ) x ) )
33 ismndd.i . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  x )
3432, 33eqtr3d 2210 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  ( +g  `  G
) x )  =  x )
3531oveqd 5882 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  ( x ( +g  `  G )  .0.  ) )
36 ismndd.j . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  x )
3735, 36eqtr3d 2210 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  (
x ( +g  `  G
)  .0.  )  =  x )
3834, 37jca 306 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  (
(  .0.  ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
)  .0.  )  =  x ) )
3930, 38syldan 282 . . . 4  |-  ( (
ph  /\  x  e.  ( Base `  G )
)  ->  ( (  .0.  ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
)  .0.  )  =  x ) )
4039ralrimiva 2548 . . 3  |-  ( ph  ->  A. x  e.  (
Base `  G )
( (  .0.  ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G )  .0.  )  =  x ) )
41 oveq1 5872 . . . . . 6  |-  ( u  =  .0.  ->  (
u ( +g  `  G
) x )  =  (  .0.  ( +g  `  G ) x ) )
4241eqeq1d 2184 . . . . 5  |-  ( u  =  .0.  ->  (
( u ( +g  `  G ) x )  =  x  <->  (  .0.  ( +g  `  G ) x )  =  x ) )
4342ovanraleqv 5889 . . . 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 ) ) )
4443rspcev 2839 . . 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 ) )
4528, 40, 44syl2anc 411 . 2  |-  ( ph  ->  E. u  e.  (
Base `  G ) A. x  e.  ( Base `  G ) ( ( u ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) u )  =  x ) )
46 eqid 2175 . . 3  |-  ( Base `  G )  =  (
Base `  G )
47 eqid 2175 . . 3  |-  ( +g  `  G )  =  ( +g  `  G )
4846, 47ismnd 12684 . 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 ) ) )
4926, 45, 48sylanbrc 417 1  |-  ( ph  ->  G  e.  Mnd )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    /\ w3a 978    = wceq 1353    e. wcel 2146   A.wral 2453   E.wrex 2454   ` cfv 5208  (class class class)co 5865   Basecbs 12427   +g cplusg 12491   Mndcmnd 12681
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 709  ax-5 1445  ax-7 1446  ax-gen 1447  ax-ie1 1491  ax-ie2 1492  ax-8 1502  ax-10 1503  ax-11 1504  ax-i12 1505  ax-bndl 1507  ax-4 1508  ax-17 1524  ax-i9 1528  ax-ial 1532  ax-i5r 1533  ax-13 2148  ax-14 2149  ax-ext 2157  ax-sep 4116  ax-pow 4169  ax-pr 4203  ax-un 4427  ax-cnex 7877  ax-resscn 7878  ax-1re 7880  ax-addrcl 7883
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-nf 1459  df-sb 1761  df-eu 2027  df-mo 2028  df-clab 2162  df-cleq 2168  df-clel 2171  df-nfc 2306  df-ral 2458  df-rex 2459  df-rab 2462  df-v 2737  df-sbc 2961  df-un 3131  df-in 3133  df-ss 3140  df-pw 3574  df-sn 3595  df-pr 3596  df-op 3598  df-uni 3806  df-int 3841  df-br 3999  df-opab 4060  df-mpt 4061  df-id 4287  df-xp 4626  df-rel 4627  df-cnv 4628  df-co 4629  df-dm 4630  df-rn 4631  df-res 4632  df-iota 5170  df-fun 5210  df-fn 5211  df-fv 5216  df-ov 5868  df-inn 8891  df-2 8949  df-ndx 12430  df-slot 12431  df-base 12433  df-plusg 12504  df-mgm 12639  df-sgrp 12672  df-mnd 12682
This theorem is referenced by:  isgrpde  12758  isringd  13012  iscrngd  13013
  Copyright terms: Public domain W3C validator