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

Theorem mnd32g 13008
Description: Commutative/associative law for monoids, with an explicit commutativity hypothesis. (Contributed by Mario Carneiro, 21-Apr-2016.)
Hypotheses
Ref Expression
mndcl.b  |-  B  =  ( Base `  G
)
mndcl.p  |-  .+  =  ( +g  `  G )
mnd4g.1  |-  ( ph  ->  G  e.  Mnd )
mnd4g.2  |-  ( ph  ->  X  e.  B )
mnd4g.3  |-  ( ph  ->  Y  e.  B )
mnd4g.4  |-  ( ph  ->  Z  e.  B )
mnd32g.5  |-  ( ph  ->  ( Y  .+  Z
)  =  ( Z 
.+  Y ) )
Assertion
Ref Expression
mnd32g  |-  ( ph  ->  ( ( X  .+  Y )  .+  Z
)  =  ( ( X  .+  Z ) 
.+  Y ) )

Proof of Theorem mnd32g
StepHypRef Expression
1 mnd32g.5 . . 3  |-  ( ph  ->  ( Y  .+  Z
)  =  ( Z 
.+  Y ) )
21oveq2d 5934 . 2  |-  ( ph  ->  ( X  .+  ( Y  .+  Z ) )  =  ( X  .+  ( Z  .+  Y ) ) )
3 mnd4g.1 . . 3  |-  ( ph  ->  G  e.  Mnd )
4 mnd4g.2 . . 3  |-  ( ph  ->  X  e.  B )
5 mnd4g.3 . . 3  |-  ( ph  ->  Y  e.  B )
6 mnd4g.4 . . 3  |-  ( ph  ->  Z  e.  B )
7 mndcl.b . . . 4  |-  B  =  ( Base `  G
)
8 mndcl.p . . . 4  |-  .+  =  ( +g  `  G )
97, 8mndass 13005 . . 3  |-  ( ( G  e.  Mnd  /\  ( X  e.  B  /\  Y  e.  B  /\  Z  e.  B
) )  ->  (
( X  .+  Y
)  .+  Z )  =  ( X  .+  ( Y  .+  Z ) ) )
103, 4, 5, 6, 9syl13anc 1251 . 2  |-  ( ph  ->  ( ( X  .+  Y )  .+  Z
)  =  ( X 
.+  ( Y  .+  Z ) ) )
117, 8mndass 13005 . . 3  |-  ( ( G  e.  Mnd  /\  ( X  e.  B  /\  Z  e.  B  /\  Y  e.  B
) )  ->  (
( X  .+  Z
)  .+  Y )  =  ( X  .+  ( Z  .+  Y ) ) )
123, 4, 6, 5, 11syl13anc 1251 . 2  |-  ( ph  ->  ( ( X  .+  Z )  .+  Y
)  =  ( X 
.+  ( Z  .+  Y ) ) )
132, 10, 123eqtr4d 2236 1  |-  ( ph  ->  ( ( X  .+  Y )  .+  Z
)  =  ( ( X  .+  Z ) 
.+  Y ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1364    e. wcel 2164   ` 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-sgrp 12985  df-mnd 12998
This theorem is referenced by:  cmn32  13374
  Copyright terms: Public domain W3C validator