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

Theorem mgm2nsgrplem3 18559
Description: Lemma 3 for mgm2nsgrp 18561. (Contributed by AV, 28-Jan-2020.)
Hypotheses
Ref Expression
mgm2nsgrp.s 𝑆 = {𝐴, 𝐵}
mgm2nsgrp.b (Base‘𝑀) = 𝑆
mgm2nsgrp.o (+g𝑀) = (𝑥𝑆, 𝑦𝑆 ↦ if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴))
mgm2nsgrp.p = (+g𝑀)
Assertion
Ref Expression
mgm2nsgrplem3 ((𝐴𝑉𝐵𝑊) → (𝐴 (𝐴 𝐵)) = 𝐵)
Distinct variable groups:   𝑥,𝑆,𝑦   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑥,𝑀   𝑥, ,𝑦
Allowed substitution hints:   𝑀(𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem mgm2nsgrplem3
StepHypRef Expression
1 prid1g 4696 . . 3 (𝐴𝑉𝐴 ∈ {𝐴, 𝐵})
2 mgm2nsgrp.s . . 3 𝑆 = {𝐴, 𝐵}
31, 2eleqtrrdi 2850 . 2 (𝐴𝑉𝐴𝑆)
4 prid2g 4697 . . 3 (𝐵𝑊𝐵 ∈ {𝐴, 𝐵})
54, 2eleqtrrdi 2850 . 2 (𝐵𝑊𝐵𝑆)
6 mgm2nsgrp.p . . . . 5 = (+g𝑀)
7 mgm2nsgrp.o . . . . 5 (+g𝑀) = (𝑥𝑆, 𝑦𝑆 ↦ if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴))
86, 7eqtri 2766 . . . 4 = (𝑥𝑆, 𝑦𝑆 ↦ if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴))
98a1i 11 . . 3 ((𝐴𝑆𝐵𝑆) → = (𝑥𝑆, 𝑦𝑆 ↦ if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴)))
10 simprl 768 . . . . 5 (((𝐴𝑆𝐵𝑆) ∧ (𝑥 = 𝐴𝑦 = (𝐴 𝐵))) → 𝑥 = 𝐴)
11 simpr 485 . . . . . 6 ((𝑥 = 𝐴𝑦 = (𝐴 𝐵)) → 𝑦 = (𝐴 𝐵))
12 ifeq1 4463 . . . . . . . . . . 11 (𝐵 = 𝐴 → if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴) = if((𝑥 = 𝐴𝑦 = 𝐴), 𝐴, 𝐴))
13 ifid 4499 . . . . . . . . . . 11 if((𝑥 = 𝐴𝑦 = 𝐴), 𝐴, 𝐴) = 𝐴
1412, 13eqtrdi 2794 . . . . . . . . . 10 (𝐵 = 𝐴 → if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴) = 𝐴)
1514a1d 25 . . . . . . . . 9 (𝐵 = 𝐴 → ((𝑥 = 𝐴𝑦 = 𝐵) → if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴) = 𝐴))
16 eqeq1 2742 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝐵 → (𝑦 = 𝐴𝐵 = 𝐴))
1716biimpcd 248 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → (𝑦 = 𝐵𝐵 = 𝐴))
1817adantl 482 . . . . . . . . . . . . . . 15 ((𝑥 = 𝐴𝑦 = 𝐴) → (𝑦 = 𝐵𝐵 = 𝐴))
1918com12 32 . . . . . . . . . . . . . 14 (𝑦 = 𝐵 → ((𝑥 = 𝐴𝑦 = 𝐴) → 𝐵 = 𝐴))
2019adantl 482 . . . . . . . . . . . . 13 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥 = 𝐴𝑦 = 𝐴) → 𝐵 = 𝐴))
2120con3d 152 . . . . . . . . . . . 12 ((𝑥 = 𝐴𝑦 = 𝐵) → (¬ 𝐵 = 𝐴 → ¬ (𝑥 = 𝐴𝑦 = 𝐴)))
2221impcom 408 . . . . . . . . . . 11 ((¬ 𝐵 = 𝐴 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ¬ (𝑥 = 𝐴𝑦 = 𝐴))
2322iffalsed 4470 . . . . . . . . . 10 ((¬ 𝐵 = 𝐴 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴) = 𝐴)
2423ex 413 . . . . . . . . 9 𝐵 = 𝐴 → ((𝑥 = 𝐴𝑦 = 𝐵) → if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴) = 𝐴))
2515, 24pm2.61i 182 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴) = 𝐴)
2625adantl 482 . . . . . . 7 (((𝐴𝑆𝐵𝑆) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴) = 𝐴)
27 simpl 483 . . . . . . 7 ((𝐴𝑆𝐵𝑆) → 𝐴𝑆)
28 simpr 485 . . . . . . 7 ((𝐴𝑆𝐵𝑆) → 𝐵𝑆)
299, 26, 27, 28, 27ovmpod 7425 . . . . . 6 ((𝐴𝑆𝐵𝑆) → (𝐴 𝐵) = 𝐴)
3011, 29sylan9eqr 2800 . . . . 5 (((𝐴𝑆𝐵𝑆) ∧ (𝑥 = 𝐴𝑦 = (𝐴 𝐵))) → 𝑦 = 𝐴)
3110, 30jca 512 . . . 4 (((𝐴𝑆𝐵𝑆) ∧ (𝑥 = 𝐴𝑦 = (𝐴 𝐵))) → (𝑥 = 𝐴𝑦 = 𝐴))
3231iftrued 4467 . . 3 (((𝐴𝑆𝐵𝑆) ∧ (𝑥 = 𝐴𝑦 = (𝐴 𝐵))) → if((𝑥 = 𝐴𝑦 = 𝐴), 𝐵, 𝐴) = 𝐵)
3329, 27eqeltrd 2839 . . 3 ((𝐴𝑆𝐵𝑆) → (𝐴 𝐵) ∈ 𝑆)
349, 32, 27, 33, 28ovmpod 7425 . 2 ((𝐴𝑆𝐵𝑆) → (𝐴 (𝐴 𝐵)) = 𝐵)
353, 5, 34syl2an 596 1 ((𝐴𝑉𝐵𝑊) → (𝐴 (𝐴 𝐵)) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1539  wcel 2106  ifcif 4459  {cpr 4563  cfv 6433  (class class class)co 7275  cmpo 7277  Basecbs 16912  +gcplusg 16962
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-10 2137  ax-11 2154  ax-12 2171  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-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  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-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280
This theorem is referenced by:  mgm2nsgrplem4  18560
  Copyright terms: Public domain W3C validator