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

Theorem ismndd 13018
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 2567 . . . . 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 2576 . . 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 5935 . . . . . . 7  |-  ( ph  ->  ( x  .+  y
)  =  ( x ( +g  `  G
) y ) )
1514, 12eleq12d 2264 . . . . . 6  |-  ( ph  ->  ( ( x  .+  y )  e.  B  <->  ( x ( +g  `  G
) y )  e.  ( Base `  G
) ) )
16 eqidd 2194 . . . . . . . . 9  |-  ( ph  ->  z  =  z )
1713, 14, 16oveq123d 5939 . . . . . . . 8  |-  ( ph  ->  ( ( x  .+  y )  .+  z
)  =  ( ( x ( +g  `  G
) y ) ( +g  `  G ) z ) )
18 eqidd 2194 . . . . . . . . 9  |-  ( ph  ->  x  =  x )
1913oveqd 5935 . . . . . . . . 9  |-  ( ph  ->  ( y  .+  z
)  =  ( y ( +g  `  G
) z ) )
2013, 18, 19oveq123d 5939 . . . . . . . 8  |-  ( ph  ->  ( x  .+  (
y  .+  z )
)  =  ( x ( +g  `  G
) ( y ( +g  `  G ) z ) ) )
2117, 20eqeq12d 2208 . . . . . . 7  |-  ( ph  ->  ( ( ( x 
.+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) )  <-> 
( ( x ( +g  `  G ) y ) ( +g  `  G ) z )  =  ( x ( +g  `  G ) ( y ( +g  `  G ) z ) ) ) )
2212, 21raleqbidv 2706 . . . . . 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 2706 . . . 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 2706 . . 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 2272 . . 3  |-  ( ph  ->  .0.  e.  ( Base `  G ) )
2912eleq2d 2263 . . . . . 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 5935 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  (  .0.  ( +g  `  G ) x ) )
33 ismndd.i . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  .+  x )  =  x )
3432, 33eqtr3d 2228 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  (  .0.  ( +g  `  G
) x )  =  x )
3531oveqd 5935 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  ( x ( +g  `  G )  .0.  ) )
36 ismndd.j . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
x  .+  .0.  )  =  x )
3735, 36eqtr3d 2228 . . . . . 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 2567 . . 3  |-  ( ph  ->  A. x  e.  (
Base `  G )
( (  .0.  ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G )  .0.  )  =  x ) )
41 oveq1 5925 . . . . . 6  |-  ( u  =  .0.  ->  (
u ( +g  `  G
) x )  =  (  .0.  ( +g  `  G ) x ) )
4241eqeq1d 2202 . . . . 5  |-  ( u  =  .0.  ->  (
( u ( +g  `  G ) x )  =  x  <->  (  .0.  ( +g  `  G ) x )  =  x ) )
4342ovanraleqv 5942 . . . 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 2864 . . 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 2193 . . 3  |-  ( Base `  G )  =  (
Base `  G )
47 eqid 2193 . . 3  |-  ( +g  `  G )  =  ( +g  `  G )
4846, 47ismnd 13000 . 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 2164   A.wral 2472   E.wrex 2473   ` cfv 5254  (class class class)co 5918   Basecbs 12618   +g cplusg 12695   Mndcmnd 12997
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 2166  ax-14 2167  ax-ext 2175  ax-sep 4147  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-cnex 7963  ax-resscn 7964  ax-1re 7966  ax-addrcl 7969
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ral 2477  df-rex 2478  df-rab 2481  df-v 2762  df-sbc 2986  df-un 3157  df-in 3159  df-ss 3166  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-br 4030  df-opab 4091  df-mpt 4092  df-id 4324  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-rn 4670  df-res 4671  df-iota 5215  df-fun 5256  df-fn 5257  df-fv 5262  df-ov 5921  df-inn 8983  df-2 9041  df-ndx 12621  df-slot 12622  df-base 12624  df-plusg 12708  df-mgm 12939  df-sgrp 12985  df-mnd 12998
This theorem is referenced by:  issubmnd  13023  isgrpde  13094  isringd  13537  iscrngd  13538
  Copyright terms: Public domain W3C validator