MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  sgrpass Structured version   Visualization version   GIF version

Theorem sgrpass 18296
Description: A semigroup operation is associative. (Contributed by FL, 2-Nov-2009.) (Revised by AV, 30-Jan-2020.)
Hypotheses
Ref Expression
sgrpass.b 𝐵 = (Base‘𝐺)
sgrpass.o = (+g𝐺)
Assertion
Ref Expression
sgrpass ((𝐺 ∈ Smgrp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍)))

Proof of Theorem sgrpass
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sgrpass.b . . . 4 𝐵 = (Base‘𝐺)
2 sgrpass.o . . . 4 = (+g𝐺)
31, 2issgrp 18291 . . 3 (𝐺 ∈ Smgrp ↔ (𝐺 ∈ Mgm ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧))))
4 oveq1 7262 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 𝑦) = (𝑋 𝑦))
54oveq1d 7270 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 𝑦) 𝑧) = ((𝑋 𝑦) 𝑧))
6 oveq1 7262 . . . . . 6 (𝑥 = 𝑋 → (𝑥 (𝑦 𝑧)) = (𝑋 (𝑦 𝑧)))
75, 6eqeq12d 2754 . . . . 5 (𝑥 = 𝑋 → (((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
8 oveq2 7263 . . . . . . 7 (𝑦 = 𝑌 → (𝑋 𝑦) = (𝑋 𝑌))
98oveq1d 7270 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 𝑦) 𝑧) = ((𝑋 𝑌) 𝑧))
10 oveq1 7262 . . . . . . 7 (𝑦 = 𝑌 → (𝑦 𝑧) = (𝑌 𝑧))
1110oveq2d 7271 . . . . . 6 (𝑦 = 𝑌 → (𝑋 (𝑦 𝑧)) = (𝑋 (𝑌 𝑧)))
129, 11eqeq12d 2754 . . . . 5 (𝑦 = 𝑌 → (((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
13 oveq2 7263 . . . . . 6 (𝑧 = 𝑍 → ((𝑋 𝑌) 𝑧) = ((𝑋 𝑌) 𝑍))
14 oveq2 7263 . . . . . . 7 (𝑧 = 𝑍 → (𝑌 𝑧) = (𝑌 𝑍))
1514oveq2d 7271 . . . . . 6 (𝑧 = 𝑍 → (𝑋 (𝑌 𝑧)) = (𝑋 (𝑌 𝑍)))
1613, 15eqeq12d 2754 . . . . 5 (𝑧 = 𝑍 → (((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)) ↔ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
177, 12, 16rspc3v 3565 . . . 4 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
1817com12 32 . . 3 (∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) → ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
193, 18simplbiim 504 . 2 (𝐺 ∈ Smgrp → ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
2019imp 406 1 ((𝐺 ∈ Smgrp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  cfv 6418  (class class class)co 7255  Basecbs 16840  +gcplusg 16888  Mgmcmgm 18239  Smgrpcsgrp 18289
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-nul 5225
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-ov 7258  df-sgrp 18290
This theorem is referenced by:  mndass  18309  gsumsgrpccat  18393  dfgrp2  18519  dfgrp3lem  18588  dfgrp3e  18590  mulgnndir  18647
  Copyright terms: Public domain W3C validator