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

Theorem symggrplem 18523
Description: Lemma for symggrp 19008 and efmndsgrp 18525. Conditions for an operation to be associative. Formerly part of proof for symggrp 19008. (Contributed by AV, 28-Jan-2024.)
Hypotheses
Ref Expression
symggrplem.c ((𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
symggrplem.p ((𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) = (𝑥𝑦))
Assertion
Ref Expression
symggrplem ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 + 𝑌) + 𝑍) = (𝑋 + (𝑌 + 𝑍)))
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦   𝑦,𝑍   𝑥, + ,𝑦
Allowed substitution hint:   𝑍(𝑥)

Proof of Theorem symggrplem
StepHypRef Expression
1 coass 6169 . 2 ((𝑋𝑌) ∘ 𝑍) = (𝑋 ∘ (𝑌𝑍))
2 oveq1 7282 . . . . . 6 (𝑥 = 𝑋 → (𝑥 + 𝑦) = (𝑋 + 𝑦))
32eleq1d 2823 . . . . 5 (𝑥 = 𝑋 → ((𝑥 + 𝑦) ∈ 𝐵 ↔ (𝑋 + 𝑦) ∈ 𝐵))
4 oveq2 7283 . . . . . 6 (𝑦 = 𝑌 → (𝑋 + 𝑦) = (𝑋 + 𝑌))
54eleq1d 2823 . . . . 5 (𝑦 = 𝑌 → ((𝑋 + 𝑦) ∈ 𝐵 ↔ (𝑋 + 𝑌) ∈ 𝐵))
6 symggrplem.c . . . . 5 ((𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
73, 5, 6vtocl2ga 3514 . . . 4 ((𝑋𝐵𝑌𝐵) → (𝑋 + 𝑌) ∈ 𝐵)
8 oveq1 7282 . . . . . 6 (𝑥 = (𝑋 + 𝑌) → (𝑥 + 𝑦) = ((𝑋 + 𝑌) + 𝑦))
9 coeq1 5766 . . . . . 6 (𝑥 = (𝑋 + 𝑌) → (𝑥𝑦) = ((𝑋 + 𝑌) ∘ 𝑦))
108, 9eqeq12d 2754 . . . . 5 (𝑥 = (𝑋 + 𝑌) → ((𝑥 + 𝑦) = (𝑥𝑦) ↔ ((𝑋 + 𝑌) + 𝑦) = ((𝑋 + 𝑌) ∘ 𝑦)))
11 oveq2 7283 . . . . . 6 (𝑦 = 𝑍 → ((𝑋 + 𝑌) + 𝑦) = ((𝑋 + 𝑌) + 𝑍))
12 coeq2 5767 . . . . . 6 (𝑦 = 𝑍 → ((𝑋 + 𝑌) ∘ 𝑦) = ((𝑋 + 𝑌) ∘ 𝑍))
1311, 12eqeq12d 2754 . . . . 5 (𝑦 = 𝑍 → (((𝑋 + 𝑌) + 𝑦) = ((𝑋 + 𝑌) ∘ 𝑦) ↔ ((𝑋 + 𝑌) + 𝑍) = ((𝑋 + 𝑌) ∘ 𝑍)))
14 symggrplem.p . . . . 5 ((𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) = (𝑥𝑦))
1510, 13, 14vtocl2ga 3514 . . . 4 (((𝑋 + 𝑌) ∈ 𝐵𝑍𝐵) → ((𝑋 + 𝑌) + 𝑍) = ((𝑋 + 𝑌) ∘ 𝑍))
167, 15stoic3 1779 . . 3 ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 + 𝑌) + 𝑍) = ((𝑋 + 𝑌) ∘ 𝑍))
17 coeq1 5766 . . . . . . 7 (𝑥 = 𝑋 → (𝑥𝑦) = (𝑋𝑦))
182, 17eqeq12d 2754 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 + 𝑦) = (𝑥𝑦) ↔ (𝑋 + 𝑦) = (𝑋𝑦)))
19 coeq2 5767 . . . . . . 7 (𝑦 = 𝑌 → (𝑋𝑦) = (𝑋𝑌))
204, 19eqeq12d 2754 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 + 𝑦) = (𝑋𝑦) ↔ (𝑋 + 𝑌) = (𝑋𝑌)))
2118, 20, 14vtocl2ga 3514 . . . . 5 ((𝑋𝐵𝑌𝐵) → (𝑋 + 𝑌) = (𝑋𝑌))
22213adant3 1131 . . . 4 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (𝑋 + 𝑌) = (𝑋𝑌))
2322coeq1d 5770 . . 3 ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 + 𝑌) ∘ 𝑍) = ((𝑋𝑌) ∘ 𝑍))
2416, 23eqtrd 2778 . 2 ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 + 𝑌) + 𝑍) = ((𝑋𝑌) ∘ 𝑍))
25 simp1 1135 . . . 4 ((𝑋𝐵𝑌𝐵𝑍𝐵) → 𝑋𝐵)
26 oveq1 7282 . . . . . . 7 (𝑥 = 𝑌 → (𝑥 + 𝑦) = (𝑌 + 𝑦))
2726eleq1d 2823 . . . . . 6 (𝑥 = 𝑌 → ((𝑥 + 𝑦) ∈ 𝐵 ↔ (𝑌 + 𝑦) ∈ 𝐵))
28 oveq2 7283 . . . . . . 7 (𝑦 = 𝑍 → (𝑌 + 𝑦) = (𝑌 + 𝑍))
2928eleq1d 2823 . . . . . 6 (𝑦 = 𝑍 → ((𝑌 + 𝑦) ∈ 𝐵 ↔ (𝑌 + 𝑍) ∈ 𝐵))
3027, 29, 6vtocl2ga 3514 . . . . 5 ((𝑌𝐵𝑍𝐵) → (𝑌 + 𝑍) ∈ 𝐵)
31303adant1 1129 . . . 4 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (𝑌 + 𝑍) ∈ 𝐵)
32 oveq2 7283 . . . . . 6 (𝑦 = (𝑌 + 𝑍) → (𝑋 + 𝑦) = (𝑋 + (𝑌 + 𝑍)))
33 coeq2 5767 . . . . . 6 (𝑦 = (𝑌 + 𝑍) → (𝑋𝑦) = (𝑋 ∘ (𝑌 + 𝑍)))
3432, 33eqeq12d 2754 . . . . 5 (𝑦 = (𝑌 + 𝑍) → ((𝑋 + 𝑦) = (𝑋𝑦) ↔ (𝑋 + (𝑌 + 𝑍)) = (𝑋 ∘ (𝑌 + 𝑍))))
3518, 34, 14vtocl2ga 3514 . . . 4 ((𝑋𝐵 ∧ (𝑌 + 𝑍) ∈ 𝐵) → (𝑋 + (𝑌 + 𝑍)) = (𝑋 ∘ (𝑌 + 𝑍)))
3625, 31, 35syl2anc 584 . . 3 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (𝑋 + (𝑌 + 𝑍)) = (𝑋 ∘ (𝑌 + 𝑍)))
37 coeq1 5766 . . . . . . 7 (𝑥 = 𝑌 → (𝑥𝑦) = (𝑌𝑦))
3826, 37eqeq12d 2754 . . . . . 6 (𝑥 = 𝑌 → ((𝑥 + 𝑦) = (𝑥𝑦) ↔ (𝑌 + 𝑦) = (𝑌𝑦)))
39 coeq2 5767 . . . . . . 7 (𝑦 = 𝑍 → (𝑌𝑦) = (𝑌𝑍))
4028, 39eqeq12d 2754 . . . . . 6 (𝑦 = 𝑍 → ((𝑌 + 𝑦) = (𝑌𝑦) ↔ (𝑌 + 𝑍) = (𝑌𝑍)))
4138, 40, 14vtocl2ga 3514 . . . . 5 ((𝑌𝐵𝑍𝐵) → (𝑌 + 𝑍) = (𝑌𝑍))
42413adant1 1129 . . . 4 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (𝑌 + 𝑍) = (𝑌𝑍))
4342coeq2d 5771 . . 3 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (𝑋 ∘ (𝑌 + 𝑍)) = (𝑋 ∘ (𝑌𝑍)))
4436, 43eqtrd 2778 . 2 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (𝑋 + (𝑌 + 𝑍)) = (𝑋 ∘ (𝑌𝑍)))
451, 24, 443eqtr4a 2804 1 ((𝑋𝐵𝑌𝐵𝑍𝐵) → ((𝑋 + 𝑌) + 𝑍) = (𝑋 + (𝑌 + 𝑍)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  ccom 5593  (class class class)co 7275
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-co 5598  df-iota 6391  df-fv 6441  df-ov 7278
This theorem is referenced by:  efmndsgrp  18525  smndex1sgrp  18547  symggrp  19008
  Copyright terms: Public domain W3C validator