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

Theorem sgrpass 17511
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 ((𝐺 ∈ SGrp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍)))

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 17506 . . 3 (𝐺 ∈ SGrp ↔ (𝐺 ∈ Mgm ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧))))
4 oveq1 6821 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 𝑦) = (𝑋 𝑦))
54oveq1d 6829 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 𝑦) 𝑧) = ((𝑋 𝑦) 𝑧))
6 oveq1 6821 . . . . . 6 (𝑥 = 𝑋 → (𝑥 (𝑦 𝑧)) = (𝑋 (𝑦 𝑧)))
75, 6eqeq12d 2775 . . . . 5 (𝑥 = 𝑋 → (((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
8 oveq2 6822 . . . . . . 7 (𝑦 = 𝑌 → (𝑋 𝑦) = (𝑋 𝑌))
98oveq1d 6829 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 𝑦) 𝑧) = ((𝑋 𝑌) 𝑧))
10 oveq1 6821 . . . . . . 7 (𝑦 = 𝑌 → (𝑦 𝑧) = (𝑌 𝑧))
1110oveq2d 6830 . . . . . 6 (𝑦 = 𝑌 → (𝑋 (𝑦 𝑧)) = (𝑋 (𝑌 𝑧)))
129, 11eqeq12d 2775 . . . . 5 (𝑦 = 𝑌 → (((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
13 oveq2 6822 . . . . . 6 (𝑧 = 𝑍 → ((𝑋 𝑌) 𝑧) = ((𝑋 𝑌) 𝑍))
14 oveq2 6822 . . . . . . 7 (𝑧 = 𝑍 → (𝑌 𝑧) = (𝑌 𝑍))
1514oveq2d 6830 . . . . . 6 (𝑧 = 𝑍 → (𝑋 (𝑌 𝑧)) = (𝑋 (𝑌 𝑍)))
1613, 15eqeq12d 2775 . . . . 5 (𝑧 = 𝑍 → (((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)) ↔ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
177, 12, 16rspc3v 3464 . . . 4 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
1817com12 32 . . 3 (∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) → ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
193, 18simplbiim 661 . 2 (𝐺 ∈ SGrp → ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
2019imp 444 1 ((𝐺 ∈ SGrp ∧ (𝑋𝐵𝑌𝐵𝑍𝐵)) → ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  w3a 1072   = wceq 1632  wcel 2139  wral 3050  cfv 6049  (class class class)co 6814  Basecbs 16079  +gcplusg 16163  Mgmcmgm 17461  SGrpcsgrp 17504
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-nul 4941
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-br 4805  df-iota 6012  df-fv 6057  df-ov 6817  df-sgrp 17505
This theorem is referenced by:  mndass  17523  dfgrp2  17668  dfgrp3lem  17734  dfgrp3e  17736  mulgnndir  17790
  Copyright terms: Public domain W3C validator