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

Theorem mnd12g 14377
Description: Commutative/associative law for monoids, with an explicit commutativity hypothesis. (Contributed by Mario Carneiro, 21-Apr-2016.)
Hypotheses
Ref Expression
mndlem1.b  |-  B  =  ( Base `  G
)
mndlem1.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 )
mnd12g.5  |-  ( ph  ->  ( X  .+  Y
)  =  ( Y 
.+  X ) )
Assertion
Ref Expression
mnd12g  |-  ( ph  ->  ( X  .+  ( Y  .+  Z ) )  =  ( Y  .+  ( X  .+  Z ) ) )

Proof of Theorem mnd12g
StepHypRef Expression
1 mnd12g.5 . . 3  |-  ( ph  ->  ( X  .+  Y
)  =  ( Y 
.+  X ) )
21oveq1d 5873 . 2  |-  ( ph  ->  ( ( X  .+  Y )  .+  Z
)  =  ( ( Y  .+  X ) 
.+  Z ) )
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 mndlem1.b . . . 4  |-  B  =  ( Base `  G
)
8 mndlem1.p . . . 4  |-  .+  =  ( +g  `  G )
97, 8mndass 14373 . . 3  |-  ( ( G  e.  Mnd  /\  ( X  e.  B  /\  Y  e.  B  /\  Z  e.  B
) )  ->  (
( X  .+  Y
)  .+  Z )  =  ( X  .+  ( Y  .+  Z ) ) )
103, 4, 5, 6, 9syl13anc 1184 . 2  |-  ( ph  ->  ( ( X  .+  Y )  .+  Z
)  =  ( X 
.+  ( Y  .+  Z ) ) )
117, 8mndass 14373 . . 3  |-  ( ( G  e.  Mnd  /\  ( Y  e.  B  /\  X  e.  B  /\  Z  e.  B
) )  ->  (
( Y  .+  X
)  .+  Z )  =  ( Y  .+  ( X  .+  Z ) ) )
123, 5, 4, 6, 11syl13anc 1184 . 2  |-  ( ph  ->  ( ( Y  .+  X )  .+  Z
)  =  ( Y 
.+  ( X  .+  Z ) ) )
132, 10, 123eqtr3d 2323 1  |-  ( ph  ->  ( X  .+  ( Y  .+  Z ) )  =  ( Y  .+  ( X  .+  Z ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1623    e. wcel 1684   ` cfv 5255  (class class class)co 5858   Basecbs 13148   +g cplusg 13208   Mndcmnd 14361
This theorem is referenced by:  mnd4g  14378  cmn12  15109
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-nul 4149  ax-pow 4188
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-iota 5219  df-fv 5263  df-ov 5861  df-mnd 14367
  Copyright terms: Public domain W3C validator