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

Theorem cmnpropd 15098
Description: If two structures have the same group components (properties), one is a commutative monoid iff the other one is. (Contributed by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
ablpropd.1  |-  ( ph  ->  B  =  ( Base `  K ) )
ablpropd.2  |-  ( ph  ->  B  =  ( Base `  L ) )
ablpropd.3  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B ) )  -> 
( x ( +g  `  K ) y )  =  ( x ( +g  `  L ) y ) )
Assertion
Ref Expression
cmnpropd  |-  ( ph  ->  ( K  e. CMnd  <->  L  e. CMnd ) )
Distinct variable groups:    x, y, B    x, K, y    x, L, y    ph, x, y

Proof of Theorem cmnpropd
Dummy variables  v  u are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ablpropd.1 . . . 4  |-  ( ph  ->  B  =  ( Base `  K ) )
2 ablpropd.2 . . . 4  |-  ( ph  ->  B  =  ( Base `  L ) )
3 ablpropd.3 . . . 4  |-  ( (
ph  /\  ( x  e.  B  /\  y  e.  B ) )  -> 
( x ( +g  `  K ) y )  =  ( x ( +g  `  L ) y ) )
41, 2, 3mndpropd 14398 . . 3  |-  ( ph  ->  ( K  e.  Mnd  <->  L  e.  Mnd ) )
53proplem 13592 . . . . . 6  |-  ( (
ph  /\  ( u  e.  B  /\  v  e.  B ) )  -> 
( u ( +g  `  K ) v )  =  ( u ( +g  `  L ) v ) )
63proplem 13592 . . . . . . 7  |-  ( (
ph  /\  ( v  e.  B  /\  u  e.  B ) )  -> 
( v ( +g  `  K ) u )  =  ( v ( +g  `  L ) u ) )
76ancom2s 777 . . . . . 6  |-  ( (
ph  /\  ( u  e.  B  /\  v  e.  B ) )  -> 
( v ( +g  `  K ) u )  =  ( v ( +g  `  L ) u ) )
85, 7eqeq12d 2297 . . . . 5  |-  ( (
ph  /\  ( u  e.  B  /\  v  e.  B ) )  -> 
( ( u ( +g  `  K ) v )  =  ( v ( +g  `  K
) u )  <->  ( u
( +g  `  L ) v )  =  ( v ( +g  `  L
) u ) ) )
982ralbidva 2583 . . . 4  |-  ( ph  ->  ( A. u  e.  B  A. v  e.  B  ( u ( +g  `  K ) v )  =  ( v ( +g  `  K
) u )  <->  A. u  e.  B  A. v  e.  B  ( u
( +g  `  L ) v )  =  ( v ( +g  `  L
) u ) ) )
101raleqdv 2742 . . . . 5  |-  ( ph  ->  ( A. v  e.  B  ( u ( +g  `  K ) v )  =  ( v ( +g  `  K
) u )  <->  A. v  e.  ( Base `  K
) ( u ( +g  `  K ) v )  =  ( v ( +g  `  K
) u ) ) )
111, 10raleqbidv 2748 . . . 4  |-  ( ph  ->  ( A. u  e.  B  A. v  e.  B  ( u ( +g  `  K ) v )  =  ( v ( +g  `  K
) u )  <->  A. u  e.  ( Base `  K
) A. v  e.  ( Base `  K
) ( u ( +g  `  K ) v )  =  ( v ( +g  `  K
) u ) ) )
122raleqdv 2742 . . . . 5  |-  ( ph  ->  ( A. v  e.  B  ( u ( +g  `  L ) v )  =  ( v ( +g  `  L
) u )  <->  A. v  e.  ( Base `  L
) ( u ( +g  `  L ) v )  =  ( v ( +g  `  L
) u ) ) )
132, 12raleqbidv 2748 . . . 4  |-  ( ph  ->  ( A. u  e.  B  A. v  e.  B  ( u ( +g  `  L ) v )  =  ( v ( +g  `  L
) u )  <->  A. u  e.  ( Base `  L
) A. v  e.  ( Base `  L
) ( u ( +g  `  L ) v )  =  ( v ( +g  `  L
) u ) ) )
149, 11, 133bitr3d 274 . . 3  |-  ( ph  ->  ( A. u  e.  ( Base `  K
) A. v  e.  ( Base `  K
) ( u ( +g  `  K ) v )  =  ( v ( +g  `  K
) u )  <->  A. u  e.  ( Base `  L
) A. v  e.  ( Base `  L
) ( u ( +g  `  L ) v )  =  ( v ( +g  `  L
) u ) ) )
154, 14anbi12d 691 . 2  |-  ( ph  ->  ( ( K  e. 
Mnd  /\  A. u  e.  ( Base `  K
) A. v  e.  ( Base `  K
) ( u ( +g  `  K ) v )  =  ( v ( +g  `  K
) u ) )  <-> 
( L  e.  Mnd  /\ 
A. u  e.  (
Base `  L ) A. v  e.  ( Base `  L ) ( u ( +g  `  L
) v )  =  ( v ( +g  `  L ) u ) ) ) )
16 eqid 2283 . . 3  |-  ( Base `  K )  =  (
Base `  K )
17 eqid 2283 . . 3  |-  ( +g  `  K )  =  ( +g  `  K )
1816, 17iscmn 15096 . 2  |-  ( K  e. CMnd 
<->  ( K  e.  Mnd  /\ 
A. u  e.  (
Base `  K ) A. v  e.  ( Base `  K ) ( u ( +g  `  K
) v )  =  ( v ( +g  `  K ) u ) ) )
19 eqid 2283 . . 3  |-  ( Base `  L )  =  (
Base `  L )
20 eqid 2283 . . 3  |-  ( +g  `  L )  =  ( +g  `  L )
2119, 20iscmn 15096 . 2  |-  ( L  e. CMnd 
<->  ( L  e.  Mnd  /\ 
A. u  e.  (
Base `  L ) A. v  e.  ( Base `  L ) ( u ( +g  `  L
) v )  =  ( v ( +g  `  L ) u ) ) )
2215, 18, 213bitr4g 279 1  |-  ( ph  ->  ( K  e. CMnd  <->  L  e. CMnd ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684   A.wral 2543   ` cfv 5255  (class class class)co 5858   Basecbs 13148   +g cplusg 13208   Mndcmnd 14361  CMndccmn 15089
This theorem is referenced by:  ablpropd  15099  crngpropd  15373  prdscrngd  15396
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  df-cmn 15091
  Copyright terms: Public domain W3C validator