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

Theorem ismndd 12895
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 1206 . . . . 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 1251 . . . . . 6  |-  ( ( ( ph  /\  (
x  e.  B  /\  y  e.  B )
)  /\  z  e.  B )  ->  (
( x  .+  y
)  .+  z )  =  ( x  .+  ( y  .+  z
) ) )
98ralrimiva 2563 . . . . 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 2572 . . 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 5912 . . . . . . 7  |-  ( ph  ->  ( x  .+  y
)  =  ( x ( +g  `  G
) y ) )
1514, 12eleq12d 2260 . . . . . 6  |-  ( ph  ->  ( ( x  .+  y )  e.  B  <->  ( x ( +g  `  G
) y )  e.  ( Base `  G
) ) )
16 eqidd 2190 . . . . . . . . 9  |-  ( ph  ->  z  =  z )
1713, 14, 16oveq123d 5916 . . . . . . . 8  |-  ( ph  ->  ( ( x  .+  y )  .+  z
)  =  ( ( x ( +g  `  G
) y ) ( +g  `  G ) z ) )
18 eqidd 2190 . . . . . . . . 9  |-  ( ph  ->  x  =  x )
1913oveqd 5912 . . . . . . . . 9  |-  ( ph  ->  ( y  .+  z
)  =  ( y ( +g  `  G
) z ) )
2013, 18, 19oveq123d 5916 . . . . . . . 8  |-  ( ph  ->  ( x  .+  (
y  .+  z )
)  =  ( x ( +g  `  G
) ( y ( +g  `  G ) z ) ) )
2117, 20eqeq12d 2204 . . . . . . 7  |-  ( ph  ->  ( ( ( x 
.+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) )  <-> 
( ( x ( +g  `  G ) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G ) ( y ( +g  `  G ) z ) ) ) )
2212, 21raleqbidv 2698 . . . . . 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 2698 . . . 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 2698 . . 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 2268 . . 3  |-  ( ph  ->  .0.  e.  ( Base `  G ) )
2912eleq2d 2259 . . . . . 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 5912 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  (  .0.  ( +g  `  G ) x ) )
33 ismndd.i . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  x )
3432, 33eqtr3d 2224 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  ( +g  `  G
) x )  =  x )
3531oveqd 5912 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  ( x ( +g  `  G )  .0.  ) )
36 ismndd.j . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  x )
3735, 36eqtr3d 2224 . . . . . 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 2563 . . 3  |-  ( ph  ->  A. x  e.  (
Base `  G )
( (  .0.  ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G )  .0.  )  =  x ) )
41 oveq1 5902 . . . . . 6  |-  ( u  =  .0.  ->  (
u ( +g  `  G
) x )  =  (  .0.  ( +g  `  G ) x ) )
4241eqeq1d 2198 . . . . 5  |-  ( u  =  .0.  ->  (
( u ( +g  `  G ) x )  =  x  <->  (  .0.  ( +g  `  G ) x )  =  x ) )
4342ovanraleqv 5919 . . . 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 2856 . . 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 2189 . . 3  |-  ( Base `  G )  =  (
Base `  G )
47 eqid 2189 . . 3  |-  ( +g  `  G )  =  ( +g  `  G )
4846, 47ismnd 12877 . 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 980    = wceq 1364    e. wcel 2160   A.wral 2468   E.wrex 2469   ` cfv 5235  (class class class)co 5895   Basecbs 12511   +g cplusg 12586   Mndcmnd 12874
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 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2162  ax-14 2163  ax-ext 2171  ax-sep 4136  ax-pow 4192  ax-pr 4227  ax-un 4451  ax-cnex 7931  ax-resscn 7932  ax-1re 7934  ax-addrcl 7937
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-eu 2041  df-mo 2042  df-clab 2176  df-cleq 2182  df-clel 2185  df-nfc 2321  df-ral 2473  df-rex 2474  df-rab 2477  df-v 2754  df-sbc 2978  df-un 3148  df-in 3150  df-ss 3157  df-pw 3592  df-sn 3613  df-pr 3614  df-op 3616  df-uni 3825  df-int 3860  df-br 4019  df-opab 4080  df-mpt 4081  df-id 4311  df-xp 4650  df-rel 4651  df-cnv 4652  df-co 4653  df-dm 4654  df-rn 4655  df-res 4656  df-iota 5196  df-fun 5237  df-fn 5238  df-fv 5243  df-ov 5898  df-inn 8949  df-2 9007  df-ndx 12514  df-slot 12515  df-base 12517  df-plusg 12599  df-mgm 12829  df-sgrp 12862  df-mnd 12875
This theorem is referenced by:  issubmnd  12900  isgrpde  12964  isringd  13392  iscrngd  13393
  Copyright terms: Public domain W3C validator